emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Stefan Nobis <stefan-ml@snobis.de>
Cc: Frederik <freak.fred@gmail.com>,
	nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: LaTex export: How to use `csquotes' and `\enquote{}'
Date: Thu, 07 Jul 2011 11:10:25 -0400	[thread overview]
Message-ID: <17965.1310051425@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Stefan Nobis <stefan-ml@snobis.de> of "Thu, 07 Jul 2011 10:02:09 +0200." <m1r562plha.fsf@nobis-it.eu>

Stefan Nobis <stefan-ml@snobis.de> wrote:

> Nick Dokos <nicholas.dokos@hp.com> writes:
> > Here are some points to keep in mind while working on a patch:
> > o csquotes.sty is part of the texlive-latex-extra package on Ubuntu
> >   (and probably something similar on other Linux distros and
> >   possibly MacOS X - hunoz about Windoz?)
> On MacOS the MacTeX distribution is quite common and in this case a
> complete TeXLive (including csquotes) is installed.
> On Windows MikTeX is probably the defacto standard and IIRC it
> supports installing packages on demand (I'm not sure wether csquotes
> is included in the basic installation, but on the other hand I would
> assume that a complete installation is not uncommen).

OK, that's good.

> But another suggestion:
> Always use \enquote for quotations in the exported text. In the
> preambel of the document either include csquotes or provide a simple
> macro enquote like the very simple
>   \newcommand{\enquote}[1]{``#1''}
> Maybe a bit more hackery might be needed for some special cases, but
> with this approach it would be quite easy to change quotations styles
> later on.

Not too thrilled about this: the current handling for the bare-bones
default case works OK and it could be easily extended to handle the csquotes

I'd worry a bit about adding the newcommand in the preamble during org
processing: what would happen if I tried to use csquotes then? Would I
get a conflict? Would I have unpredictable situations where sometimes
I'd get the bare-bones definition and sometimes the csquotes one? All of
these can be answered of course, but the point is that you can't leave
it to accident.

> BTW: IMHO babel and csquotes should be considered standard packages
> for all non-US texts (and even for US texts they have some
> advantages).



  reply	other threads:[~2011-07-07 15:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-04 16:54 LaTex export: How to use `csquotes' and `\enquote{}' Frederik
2011-07-04 23:06 ` Thomas S. Dye
2011-07-05 20:26   ` Frederik
2011-07-05 22:56     ` Thomas S. Dye
2011-07-06  6:22       ` Frederik
2011-07-06 14:48         ` Frederik
2011-07-06 16:37           ` Thomas S. Dye
2011-07-06 20:20             ` Nick Dokos
2011-07-07  8:02               ` Stefan Nobis
2011-07-07 15:10                 ` Nick Dokos [this message]
2011-07-07 17:22                   ` Stefan Nobis
2011-07-07 19:11               ` Frederik
2011-07-07 22:07                 ` Thomas S. Dye
2011-07-07 22:53                   ` Nick Dokos
2011-07-07 23:06                     ` Thomas S. Dye
2011-07-08  2:09                       ` Nick Dokos
2011-07-08  6:07                         ` Thomas S. Dye
2011-07-08  6:46                           ` Nick Dokos
2011-07-08  6:58                             ` Bastien
2011-07-08 15:49                         ` Frederik
2011-07-08 16:13                           ` Thomas S. Dye

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:

  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=17965.1310051425@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=freak.fred@gmail.com \
    --cc=stefan-ml@snobis.de \


* 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


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).