From: ch.emacs--- via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: emacs-orgmode@gnu.org
Subject: [BUG] Smart quotes do not work in export when language is en-gb
Date: Fri, 10 Feb 2023 02:03:17 +0000 [thread overview]
Message-ID: <57926160-ccde-328f-d148-bd0967cf9bda@purelymail.com> (raw)
Hello,
When exporting a document to LaTeX with smart quotes enabled, I found
that this had been ignored (e.g. "hello" vs ``hello'' in the output). I
had the document language set to en-gb, which it seems disables smart
quotes, as there is no corresponding entry in org-export-smart-quotes
alist. This is inconsistent with org-latex-language-alist, which
correctly handles the en-gb case for babel and polyglossia.
I did find some old discussion on the ML about how the algorithm may
have to be adjusted to accommodate “British style” quoting (single outer
and double inner quotes) but failing a consensus on that (I am British
but personally do not use that style), I think it at least makes sense
to replicate the en(-us) behaviour.
As far as I can tell, this applies to en-au and en-nz too.
Corin Hoad
Emacs : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.36, cairo version 1.16.0)
Package: Org mode version 9.6 (9.6-??-bed47b4 @
/home/corin/.emacs.d/.local/straight/build-28.2/org/)
next reply other threads:[~2023-02-11 7:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-10 2:03 ch.emacs--- via General discussions about Org-mode. [this message]
2023-02-11 10:41 ` [BUG] Smart quotes do not work in export when language is en-gb Ihor Radchenko
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=57926160-ccde-328f-d148-bd0967cf9bda@purelymail.com \
--to=emacs-orgmode@gnu.org \
--cc=ch.emacs@themaw.xyz \
/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.