Hi P.O.,

great that you are also looking into this!

On 03.11.2019 23:22, P.O. Jonsson wrote:
> Hi Gil, nice to hear from you.
>
> I am shadowing your efforts on the Mac, I assume you are on Windows.
>
> I could install Pandoc and BasicTex (Latex on Mac) using Homebrew and render 
> the initial test
> cases as set out in the getting started part you proposed.
>
> I could move on to render PDF, XML, HTML versions of the smaller documents, I 
> used RxMath as my
> example. Standing in the main directory this was my command:
>
> *pandoc oorexx5/rxmath/en-US/*.xml -f docbook -s -o rxmath.pdf*
>
> Problem 1: The rendering does not look near as nice as  the expected results. 
> I expect this is
> because I cannot make Pandoc understand how to use the DTD file.
>
> Problem 2: The svg images (Scalable Vector Graphics, I had to look i up :-) ) 
> can not be rendered
> directly by Latex, a filter is needed. I have installed Inkscape and XQuartz 
> and can look at the
> files but do not know (yet) the correct way to get it into the pipeline.
>
> I stumbled on what appears to be a good page for further studies, it 
> explicitly discusses working
> with DocBook with Pandoc, maybe it helps.
>
> https://www.peterlavin.com/articles/pandoc.html
>
> I will let you know if I can get further, in any case it seems to be the 
> right way to go. I have
> enclosed the (appaling) first try, you can compare with the original to.

Also, https://pandoc.org/MANUAL.html may be helpful. E.g. it documents the flag 
"--toc" (short for
"--table-of-contents") for generating a table of contents.

---rony

_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to