masroore / fb2pdf

Automatically exported from code.google.com/p/fb2pdf
0 stars 0 forks source link

Hyperlinks in the section title seem to be an issue #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Reproducible on the attached document. One of the problem lines looks like this:

\subsection{\texorpdfstring{АЛФАВИТ\hyperlink{note78}{\underline{78}}}{А
ЛФАВИТ 78}}

The error message is not descriptive and seems to depends on the context:

! Argument of \@sect has an extra }.
<inserted text> 
                \par 
l.2070 ...78}{\underline{78}}}{АЛФАВИТ 78}}

Original issue reported on code.google.com by sudarkoff on 27 Feb 2007 at 9:18

Attachments:

GoogleCodeExporter commented 9 years ago
The source looks like this:

<subtitle>АЛФАВИТ<a type="note" l:href="#note78">78</a></subtitle>

Original comment by sudarkoff on 27 Feb 2007 at 9:19

GoogleCodeExporter commented 9 years ago
Removing \texorpdfstring doesn't help. It appears that having hyperlink (at 
least in this form) in the section title 
is not supported by pdflatex.

! Argument of \@sect has an extra }.
<inserted text> 
                \par 
l.2071 ...í–ò–¢\hyperlink{note78}{\underline{78}}}

Original comment by sudarkoff on 7 Mar 2007 at 10:54

GoogleCodeExporter commented 9 years ago

Original comment by kroko...@gmail.com on 8 Mar 2007 at 4:59

GoogleCodeExporter commented 9 years ago
workaround commited (alllowhref parameter in par())

Original comment by kroko...@gmail.com on 9 Mar 2007 at 6:35