From: Michael Strey <mstrey@strey.biz>
To: Emacs-orgmode@gnu.org
Subject: Re: Quotes for LaTeX export
Date: Thu, 06 Feb 2014 12:31:40 +0100 [thread overview]
Message-ID: <87vbwszdcz.fsf@strey.biz> (raw)
In-Reply-To: <871tzh1qwf.fsf@strey.biz>
Hi Laurens,
_@lvh.io writes:
[...]
> The preferred way to do that these days is, in the preamble:
>
> \usepackage{csquotes}
>
> ... and then later:
>
> \enquote{something}
>
> I think it would make sense to support this for org, and perhaps eventually
> make it default behavior. FWIW: I had no idea about this until it bit me
> when my LaTeX document suddenly had bogus quotes in it.
IMHO, it would be nice to have a customizable
org-export-user-smart-quote-alist as already mentioned by Rasmus. This
would give the maximal flexibility to comply with this wish and similar wishes.
BUT in this concrete case, the problem can be tackled from the LaTeX
side as well. Section 10.8 of the documentation of the csquote package
shows a way for documents with only one language:
\documentclass{...}
\usepackage[german]{babel}
\usepackage[babel=once]{csquotes}
\defineshorthand{"`}{\openautoquote}
\defineshorthand{"'}{\closeautoquote}
Best regards
--
Michael Strey
http://www.strey.biz
prev parent reply other threads:[~2014-02-06 11:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-04 20:44 Quotes for LaTeX export Laurens Van Houtven
2014-02-04 21:42 ` Rasmus
2014-02-04 22:05 ` Nick Dokos
2014-02-05 7:46 ` Bastien
2014-02-05 11:30 ` Laurens Van Houtven
2014-02-05 13:37 ` Nicolas Goaziou
2014-02-05 14:05 ` Laurens Van Houtven
2014-02-05 14:31 ` Nicolas Goaziou
2014-02-05 11:30 ` Laurens Van Houtven
2014-02-05 12:12 ` Rasmus
2014-02-05 13:31 ` Laurens Van Houtven
2014-02-05 13:44 ` Rasmus
2014-02-05 14:06 ` Laurens Van Houtven
[not found] ` <871tzh1qwf.fsf@strey.biz>
2014-02-06 11:31 ` Michael Strey [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vbwszdcz.fsf@strey.biz \
--to=mstrey@strey.biz \
--cc=Emacs-orgmode@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).