From: Sebastian Urban <mrsebastianurban@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 41117@debbugs.gnu.org
Subject: bug#41117: "Cut and paste" section name in bookmarks (PDF, Emacs manual)
Date: Thu, 14 May 2020 18:51:06 +0200 [thread overview]
Message-ID: <dab0123a-5164-3463-589e-42f1594d6f63@gmail.com> (raw)
In-Reply-To: <837dxnj6tv.fsf@gnu.org>
Alright, back from Texinfo.
Thread link:
https://lists.gnu.org/archive/html/help-texinfo/2020-05/msg00031.html
Here is the important part:
>> 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?
>
> It would have to be implemented. The problem is that the PDF format
> uses UTF-16 internally for the bookmarks, so using curly quotes here is
> quite difficult. Hence we are stuck with ASCII in the bookmarks. I
> guess that " is better than `` but this may also be difficult to
> implement. `` is a ligature in the fonts used that is a curvy double
> quote but the PDF bookmarks are completely separate - you'd need to
> change the two tokens `` to something else somehow.
And few days later:
> I'm not planning on working on this soon. It would be messy to
implement
> and quotation marks in chapter titles are rare anyway.
So... can't we have one exception? As I wrote, it's in @section, so
it could be special case - one special case.
S. U.
next prev parent reply other threads:[~2020-05-14 16:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-06 23:33 bug#41117: "Cut and paste" section name in bookmarks (PDF, Emacs manual) Sebastian Urban
2020-05-07 2:35 ` Eli Zaretskii
2020-05-07 17:28 ` Sebastian Urban
2020-05-07 17:32 ` Eli Zaretskii
2020-05-07 19:31 ` Sebastian Urban
2020-05-08 6:09 ` Eli Zaretskii
2020-05-14 16:51 ` Sebastian Urban [this message]
2020-05-14 17:30 ` Eli Zaretskii
2020-05-14 19:05 ` Sebastian Urban
2020-09-02 15:19 ` Stefan Kangas
2020-05-09 3:51 ` Richard Stallman
2020-05-08 2:51 ` Richard Stallman
2020-05-08 15:32 ` Sebastian Urban
2020-05-09 3:54 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dab0123a-5164-3463-589e-42f1594d6f63@gmail.com \
--to=mrsebastianurban@gmail.com \
--cc=41117@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.