On 26 May 2011 15:47, Gary Funck <[email protected]> wrote: > On 05/26/11 13:56:14, Lex Trotman wrote: >> Hi Gary, you don't say what your backend is. > > Hi, Lex. The ultimate target formats are PDF and HTML. > My prerference is to find a path through dblatex. > > This Docbook thread, summarizes the issue, and > offers a suggestion, similar to the suggestions you > have offered, I think. > http://www.cygwin.com/ml/docbook/2005-01/msg00091.html
Bobs suggested xsl looks good, though he doesn't address the issue of getting the paragraph number into the reference. And also generating fo only works for FOP not dblatex. Dblatex xsl generates tex which is then cleaned up IIUC with Python code (basically mystery magic unless you read the code) and passed to the latex chain. > It refers to this page as an exemplar: > http://journals.chester.iucr.org/iucr-top/cif/spec/version1.1/cifsemantics.html > > FYI, I found a few attempts at adding paragraph number in Latex. > http://stackoverflow.com/questions/543208/how-can-one-number-paragraphs-in-latex > http://stackoverflow.com/questions/543208/how-can-one-number-paragraphs-in-latex > http://www.ub-filosofie.ro/~solcan/wt/gnu/n/np.html > http://sarovar.org/projects/parano/ > (un?)fortunately I'm latexophobic so I can't comment on any of these suggestions. Having spent many years wrestling with aerospace specs and regulations I understand your problem. Stop Press - I have just (re)discovered asciidoc counters. see attached asciidoc source, local docbook45.conf and the resulting pdf and xhtml Cheers Lex -- 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.
test ---- :paracounter: 1 para [[ref_this]] para para para reference to para <<ref_this>> para
docbook45.conf
Description: Binary data
para.pdf
Description: Adobe PDF document
