On 13/02/11 08:00, Gary F. wrote:
I've got a Makefile that produces a .pdf file from an asciidoc text file in two steps: $ make -n a2x -v -d article test-page-break.txt dblatex --pdf -P latex.output.revhistory=0 -P doc.collab.show=0 test- page-break.xml
The dblatex command is redundant, you're running it twice (once from a2x, once from the command-line) you could use:
a2x --dblatex-opts="-P latex.output.revhistory=0 -P doc.collab.show=0" test-page-break.txt
Cheers, Stuart
This worked with the version asciidoc 8.4.5, but the newer version removes the .xml file unless the "-k" (keep) switch. Unfortunately, the -k switch isn't supported in the older versions of a2x, so this can't be blindly added to make file. Is there a better way to accomplish this two step generation of the .pdf that will ensure that the .xml file is not removed?
-- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
