From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Sebastian Urban Newsgroups: gmane.emacs.bugs Subject: bug#41117: "Cut and paste" section name in bookmarks (PDF, Emacs manual) Date: Thu, 14 May 2020 18:51:06 +0200 Message-ID: References: <834ksslbey.fsf@gnu.org> <83h7wrk5vd.fsf@gnu.org> <837dxnj6tv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="24327"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: 41117@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 14 18:52:17 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZH5j-0006Ay-UJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 May 2020 18:52:15 +0200 Original-Received: from localhost ([::1]:43278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZH5j-0008NK-1T for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 May 2020 12:52:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZH5W-0008LI-9k for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 12:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51302) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZH5W-0005QH-09 for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 12:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZH5V-0001CH-VR for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 12:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sebastian Urban Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 May 2020 16:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41117 X-GNU-PR-Package: emacs Original-Received: via spool by 41117-submit@debbugs.gnu.org id=B41117.15894750714536 (code B ref 41117); Thu, 14 May 2020 16:52:01 +0000 Original-Received: (at 41117) by debbugs.gnu.org; 14 May 2020 16:51:11 +0000 Original-Received: from localhost ([127.0.0.1]:34615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZH4h-0001B6-0a for submit@debbugs.gnu.org; Thu, 14 May 2020 12:51:11 -0400 Original-Received: from mail-lj1-f180.google.com ([209.85.208.180]:43101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZH4f-0001Af-MA for 41117@debbugs.gnu.org; Thu, 14 May 2020 12:51:10 -0400 Original-Received: by mail-lj1-f180.google.com with SMTP id l19so4266781lje.10 for <41117@debbugs.gnu.org>; Thu, 14 May 2020 09:51:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=zAYm8y4HlWamLNemSbSkXh0N1GWybAzqFcVPB3683M8=; b=dqOlHY6BPXCnpsbVrAbErGbb0iAPDVezUoQynAonWDTmVD3VWHZNhruj4g6Fp6WQYS +UqUWkmUAIjQ3aB6TNWNFaDa+t9/DL1es3K/faY8NIet+AT6237a6dFHk9AvBbQUf5WJ 1bRabbUkDFH1Kr8d6KCrR1/+zM/Sk3/vKV/WHnqrv4leJX9v6216TwXu63cRJBKIkniw rvUzZrd9vdHfeOzrnZsY7GOMdbylubHSn08WTAWqZZokuWnLAueJRNc9+Ft7mnbd8QsJ uzfO566PPQyn8lpbNPoE9cU9oINVCb4vg4Rayg/qEzrGgtAm5FTlHV/w1Q9Bu2mZhVKC iDGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=zAYm8y4HlWamLNemSbSkXh0N1GWybAzqFcVPB3683M8=; b=kSZcNbehi8aUE1DbG3w2OLG3jQPfT3Hs5bz5zyVhEBFrmn7RZ9/rsVDyPVMpih415v zBxC4yx1kEbJz8isGH8zrJ/LEAlqqBVz7HfxcfFchqLMHPpLV0HoDPAIuYMqweAaPFFW DsRG7W7B0o5PV+NHDo7sk4qcp0iK+f2uXPotuF8mWe5Kje+85TEUCB+6qtr1Bpp7qMJv UDYTik3yrBSsP15tGgcxFVFwjmUBkVNMtPDZOxTFTEbC8kZxZx1pzafPYaiWu01AKj5E C2B/li2JyK7XFqdU7+BtJTriSGK2TPmemIdDM3/AV9vwtwSGCUkkxcFmfuPEqESDdR+C nMhQ== X-Gm-Message-State: AOAM532pzU5aZZcL2hmZzimPX3P1/U5Gb+kG50Ye/VrX0/3YtOsLnvmO hKFYYY6HL+pKfx7OoFD+CenNx/e54FI= X-Google-Smtp-Source: ABdhPJzUkG572YBtcJKKt8SRCUuuKZ9E6o/FIsU8P6dV7CIrTJmS6N7xkwDrVLdsBVDQeTvrW1eTwg== X-Received: by 2002:a2e:860d:: with SMTP id a13mr3537722lji.60.1589475063253; Thu, 14 May 2020 09:51:03 -0700 (PDT) Original-Received: from [192.168.1.100] (ip-89-161-2-137.tel.tkb.net.pl. [89.161.2.137]) by smtp.gmail.com with ESMTPSA id l25sm2104982lfh.71.2020.05.14.09.51.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 May 2020 09:51:02 -0700 (PDT) In-Reply-To: <837dxnj6tv.fsf@gnu.org> Content-Language: en-GB X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180221 Archived-At: 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.