This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Underscore in titles and hyperref package
- To: robert at cogent dot ca
- Subject: Re: DOCBOOK-APPS: Underscore in titles and hyperref package
- From: ekkehard dot goerlach at pharma dot novartis dot com
- Date: Thu, 14 Jun 2001 15:12:55 +0200
- Cc: docbook-apps at lists dot oasis-open dot org
Hi,
Bob McIlvride <robert@cogent.ca> wrote:
>> This works for me using jade 1.2.1, so it looks like an openjade bug!
>> "_" is correct in the TOC and in the chapter title itself.
>> The resulting TeX-code assuming a chapter title of "Ch_01":
>>
>> ...
>> Ch\char95{}01\endNode{}
>> ...
>It works for us using OpenJade 1.3, so I don't think it's an OpenJade
>bug. With a chapter title of "This _ is here" we tex output:
>{title-sosofo-mode}}This \char95{} is here\endNode{}\endSeq{}
That is even here the case:
From
<article>
<title>Article_title</title>
<section>
<title>Chap with_Underscore</title>
<para>Some text</para>
</section>
</article>
I get
[...]
{1}}1. \Node%
{\def\Element%
{3}\def\ProcessingMode%
{title-sosofo-mode}}Chap with\char95{}Underscore\endNode{}
\def\HeadingText{%
1. Chap with_Underscore}%
\endHeadPar{}\endSeq{}\Node%
{\def\Element%
{3}}\endNode{}\Node%
[...]
But the _ in \HeadingText offends pdfjadetex. If I remove that pdf is
generated. The underscore in the article title does not harm.
Hmmm...
Ekkehard