Login  Register

Re: Flexibility of PDF Output and Hyphenation

Posted by mojavelinux on Apr 16, 2019; 5:49pm
URL: https://discuss.asciidoctor.org/Flexibility-of-PDF-Output-and-Hyphenation-tp5303p6850.html

The equivalent to a2x for Asciidoctor is fopub.

https://github.com/asciidoctor/asciidoctor-fopub

Keep in mind that while it's more current than a2x, it's also community supported.

Best,

-Dan

On Tue, Apr 16, 2019 at 11:45 AM thierrybo [via Asciidoctor :: Discussion] <[hidden email]> wrote:
mojavelinux wrote
You're correct that AsciidocFX is a editor / frontend for Asciidoctor.
While we're excited about it's growth, you'll always get the best
publishing experience using the Asciidoctor tools directly (esp as they
continue to evolve themselves). That's true of any abstraction you
introduce.

The official tool in Asciidoctor for converting to PDF is Asciidoctor PDF.
Hi, sorry to dig up an old post. I am currently  discovering/learning asciidoc, asciidoctor, asciidoctor-pdf and I wonder about your sentence on asciidoctor PDF being the official tool for converting pdf files.

I understand it is easier to use asciidoctor-pdf, but as far as I am concerned there is also the a2x tool in asciidoctor.  It does all the grunt work associated with generating and sequencing the toolchain commands and managing intermediate and output files. So once you installed dependencies (for Debian):
#apt install docbook-xsl asciidoc-dblatex fop xsltproc

It is as easy to type:

a2x -f pdf file.adoc

as

asciidoctor-pdf file.adoc

what interests me the most is which one will be the easier to customize PDF output. For now I don't know which way to choose, seeing the default different outputs:
basic-example_a2x.pdf
basic-example__ascidoctor-pdf.pdf
basic-example__asciidocFX.pdf


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Flexibility-of-PDF-Output-and-Hyphenation-tp5303p6849.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux