Re: [docbook-apps] Asciidoc -> docbook -> PDF tooling

2021-11-10 Thread Michael Maxwell

Probably not the solution you're looking for, but we have used dblatex
   http://dblatex.sourceforge.net
(not to be confused with the older db2latex).  For our use 
case--grammars of foreign languages, with mixed languages and scripts 
(Arabic, Bengali, Thaana)--it was probably the only solution.  But if 
you're not familiar with LaTeX, tweaking it might be a steep learning curve.


On 11/9/2021 7:01 AM, Randall Wood wrote:

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--

Mike Maxwell
"Digital objects last forever--or five years,
whichever comes first."  --Jeff Rothenberg

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



Re: [docbook-apps] Asciidoc -> docbook -> PDF tooling

2021-11-10 Thread Stefan Knorr
Hi.

Randall:
> 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.

We are using DAPS (https://github.com/opensuse/daps). It's essentially
using the same chain you are using though: AsciiDoctor, DocBook XSL,
FOP.
It's also not exactly cross-platform, it's quite explicitly Linux-only.
(We use Docker containers to help with cross-platformness though.)


O/n 10/11/2021 09.18, Peter Eisentraut wro/te:
> On 09.11.21 22:14, Randall Wood wrote:
>> 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.
> 
> FOP looks reasonably maintained to me.  There is a release about once a year: 
> http://xmlgraphics.apache.org/fop/changes.html

It is not abandoned but FOP it is a project with few commits and really
does have certain issues. In our case, certain fonts and font weights
create issues for us, as do a few other layouting quirks around
monospace and such.

-- 
Stefan Knorr, technical writer

SUSE Software Solutions Germany GmbH: Maxfeldstraße 5 / 90409 Nürnberg/
Germany. HRB 36809, Amtsgericht Nürnberg. Gf. Ivo Totev.


OpenPGP_signature
Description: OpenPGP digital signature


Re: [docbook-apps] Asciidoc -> docbook -> PDF tooling

2021-11-10 Thread Peter Eisentraut



On 09.11.21 22:14, Randall Wood wrote:

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.


FOP looks reasonably maintained to me.  There is a release about once a 
year: http://xmlgraphics.apache.org/fop/changes.html


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



Re: [docbook-apps] Asciidoc -> docbook -> PDF tooling

2021-11-09 Thread Randall Wood



> On Nov 9, 2021, at 09:57, Eric Streit  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  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: docbook-apps-unsubscr...@lists.oasis-open.org
 For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



[docbook-apps] Asciidoc -> docbook -> PDF tooling

2021-11-09 Thread Randall Wood
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: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org