This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Underscore in titles and hyperref package




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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]