On 29 June 2015 at 01:17, Jacques Nilo <[email protected]> wrote: > Hi Lex > > On Sunday, June 28, 2015 at 1:15:05 PM UTC+2, Lex Trotman wrote: >> >> Yes the docbook: >> >> <link linkend="xxSection1">Section 1</link> >> <xref linkend="xxSection1"/></simpara> >> >> looks like a bug, I wonder why nobody has ever noticed before. > > > Sometimes you need the innocent view of a newbie :-) > >> >> Possibly knowing they are going to have the xref generated by PDF most >> PDF users had no caption or everyone uses << >>. >> >> Generated pull request #80 with a proposed fix, any chance of you trying >> it? > > > OK I found your patch in Github and modified my docbook45.conf file > accordingly. No more duplicate xref in my pdf ! > > Many thanks for fixing that so quickly !!! > > A last little remaining problem though : in the pdf generated file > (master.pdf attached) the link leads to the first line of the first > paragraph of the targeted section and not - as it does with the -a html5 web > site and as it should - to the targeted section label. > > I tried to open the pdf file with both Adobe Reader XL under windows and > Linux Evince to see if it could be related to the reader but got the same > result with both. Therefore I suspect this problem is related to the way the > pdf is generated.
If the anchor is on the right place in the docbook then yes its the PDF generation. > > A last question (trying to minimise the significant conversion work ahead of > me...) : is it possible to use a section label as a tag for xref ? > i.e. if I have : > > === Section 1 See http://asciidoc.org/userguide.html#_sections 8.4.2 Cheers Lex > > can I some how use the "Section 1" as a reference in xref ? > > Cheers > Jacques > > > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
