Re: Asciidoc -> docbook -> PDF tooling

Randall Wood <[email protected]> Tue, 9 Nov 2021 16:14:15 -0500
Newsgroups gmane.text.docbook.apps
Message-ID <[email protected]>

> On Nov 9, 2021, at 09:57, Eric Streit <[email protected]> wrote:
> 
> hi
> 
> yes, it was the idea.
> 
> https://karinavarela.me/2020/05/06/converting-asciidoc-to-markdown/

This looses a lot as Markdown does not include a number of features of asciidoc (like admonitions).

> Taking a look at it, there is also asciidoctorPDF (number different versions) to get a pdf directly from asciidoc.
> 
> https://github.com/asciidoctor/asciidoctor-pdf
> 
> https://awesomeopensource.com/projects/asciidoc/asciidoctor-converter?mode=

This is the first tool I tried, it is missing a lot of formatting capabilities that FOP and Latex have, but with FOP appearing to be all but abandoned (and me having some problems with it), I’m looking at a replacement for it. So maybe the question I should have asked is:

Is a docbook->html->pdf toolchain recommended over a docbook->latex->pdf toolchain?

Is there some tooling that is definitely recommended over others for either of those chains?

> Eric
> 
> 
> Le 09/11/2021 à 13:18, Randall Wood a écrit :
>>> On Nov 9, 2021, at 07:08, Eric Streit <[email protected]> wrote:
>>> 
>>> hi,
>>> 
>>> did you try "pandoc" ?
>> Pandoc can’t read asciidoc, so I rejected that tool. Are you suggesting I should manually chain a AsciiDoc -> docbook process with Pandoc for docbook -> PDF?
>>> Eric
>>> 
>>> Le 09/11/2021 à 13:01, Randall Wood a écrit :
>>>> I am working on an AsciiDoc -> DocBook -> PDF toolchain for an open source project (so all tooling must be freely available) because the direct AsciiDoc -> PDF toolchain is inadequate for our purposes.
>>>> I currently have a java/maven-based AsciiDoc -> DocBook -> FOP -> PDF chain within the docbkx-maven-plugin, but would like any suggestions that appear to be better maintained and are cross platform.
>>>> Randall Wood
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]