help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDF bookmarks and special insertions & characters


From: Sebastian Urban
Subject: PDF bookmarks and special insertions & characters
Date: Fri, 8 May 2020 19:09:45 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

Hello once again,

I hope this is my last trouble, at least for few weeks.  But, to the
point.

1.  In my "test" texi file there is a line:
   @chapter ``Some text'' and the rest of the @TeX{} text

The point is, when I export file to PDF (texi2pdf --tidy test.texi,
with @documentencoding UTF-8), the bookmark that is created (PDF
bookmarks) has ``Some text'', while I was hoping for “Some text”
(curved quotes).

I can "fix" it like this:
   @chapter “Some text” ....

("fix" in this case means getting "Some text" in the bookmarks, which
is at least ASCII style quoting convention, i.e. it's better)

but is there any way to stick to the ``..'' convention?

2.  Related to the previous, also about PDF bookmarks.

It's about this @TeX{} special insertion in the line above.  PDF
bookmarks are showing me "... rest of the TeX{} text", while I was
expecting "... rest of the TeX text" - I'm writing about ASCII TeX,
not symbol/glyph.

Again, I was able to fix it like this:
   @chapter ... rest of the @w{@TeX} text

but HTML export ends with error, that says something about "expected {}".


S. U.

P.S.  Test code if needed:

\input texinfo
@settitle Sample Manual 1.0
@documentencoding UTF-8

@contents

@menu
* First Chapter::    The first chapter is the
                     only chapter in this sample.
@end menu

@node First Chapter
@chapter ``Some text'' and the rest of the @TeX{} text

This is the first chapter.

@bye



reply via email to

[Prev in Thread] Current Thread [Next in Thread]