From: Rasmus <rasmus@gmx.us>
To: _@lvh.io
Cc: emacs-orgmode@gnu.org
Subject: Re: Quotes for LaTeX export
Date: Wed, 05 Feb 2014 14:44:01 +0100 [thread overview]
Message-ID: <87lhxpznby.fsf@gmx.us> (raw)
In-Reply-To: <CAE_Hg6ZF8NvPti42r88dOkr5tD-jvim_K6tCQc5teqhgmU5aFQ@mail.gmail.com> (Laurens Van Houtven's message of "Wed, 5 Feb 2014 14:31:25 +0100")
Hi Laurens,
Laurens Van Houtven <_@lvh.io> writes:
> On Wed, Feb 5, 2014 at 1:12 PM, Rasmus <rasmus@gmx.us> wrote:
>
>> This is exactly the reasons why I don't want to use csquotes:
>>
>> \enquote{something}.
>>
>
> I'm not sure I understand. Are you suggesting the syntax is bad?
I'm suggesting it makes adds noise that makes the source even harder
to read than it is. With Emacs you could of course make it look
pretty again. . .
>> But check for instance org-latex-tables-booktabs, which makes optional
>> support for booktabs. That kind of support for csquote is of course
>> OK. One reason I'd not use this is that the quotes exported to HTML
>> and LaTeX are no longer in sync. Which is why I'd rather see
>> customization through a user smart quote alist.
>>
> Okay, that's a fair argument. It would require consistent configuration in
> more than one place, unless (I think?) Org's LaTeX export automagically
> use/configure Babel.
To use Babel add ("AUTO" "babel" nil) to org-latex-packages-alist or
-default-package-alist. AUTO is replaced with the correct language.
>> Org already has semantic quote characters, namely '"' and "'".
>
> Right: I'm talking about TeX and not org-mode there. The semantic way to
> say "this is quoted" is csquotes and \enquote.
But this is the Org-ML. I assume you're interested in using Org for
producing your tex files?
> Are those code points U+0022 QUOTATION MARK and U+0027 APOSTROPHE? (I am
> not an org-mode expert. I'm assuming org-mode does operate on code points,
> not bytes?).
On my computer I produce the quotation with S-2. On most layouts
these are the most straightforward quoting characters. If you use
smartquotes they are exported according to your language.
>> \documentclass{article}
>> \usepackage{fontspec}
>> \addfontfeatures{Mapping=}
>> \addfontfeatures{Ligatures=}
>> \begin{document}
>> ``test''
>> \end{document}
>>
>> Could you share a snip that reproduces your problem?
> That appears to compile correctly on my machine as well. Perhaps there is a
> discrepancy between how I'm building the tex file and how org is building
> the intermediary tex file. I will investigate :)
I was not able to produce non-working files via Org either. . . But I
didn't test from emacs -q.
–Rasmus
--
C is for Cookie
next prev parent reply other threads:[~2014-02-05 13:42 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 [this message]
2014-02-05 14:06 ` Laurens Van Houtven
[not found] ` <871tzh1qwf.fsf@strey.biz>
2014-02-06 11:31 ` Michael Strey
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=87lhxpznby.fsf@gmx.us \
--to=rasmus@gmx.us \
--cc=_@lvh.io \
--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).