emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Bastien <bzg@altern.org>
Cc: Emacs Org mode <emacs-orgmode@gnu.org>,
	Jambunathan K <kjambunathan@gmail.com>
Subject: Re: Quotes not being converted correctly for LaTeX export
Date: Fri, 08 Mar 2013 22:28:17 +0100	[thread overview]
Message-ID: <877glh1szy.fsf@gmail.com> (raw)
In-Reply-To: <87d2v9zr02.fsf@bzg.ath.cx> (Bastien's message of "Fri, 08 Mar 2013 19:27:25 +0100")

Hello,

Bastien <bzg@altern.org> writes:

> There is still something wrong here: if french users use
> (setq org-export-smart-quotes-alist t) and do not use
> \usepackage[french]{babel}, the quotes will not be very
> smart, they will disappear.
>
> I suggest having an option for the babel package: when
> a string (equal org-latex-use-package-babel "french"), it
> will trigger the insertion of \usepackage[french]{babel}
> in the header.  When an alist, it will trigger the insertion
> of \usepackage... depending on the current language.
>
> I think {babel} is common enough to deserve its own option,
> but maybe I'm overrating its use.
>
> Nicolas, what do you think?

Latex back-end already takes care of setting the correct Babel language
according to LANGUAGE keyword.

The only problem is when user doesn't load Babel at all, but still wants
to use smart quotes. Is it meaningful? Even if it is, I suspect it is
quite rare. So, dropping a note in `org-export-with-smart-quotes'
docstring would be enough.

As you probably know, I'm not a big fan of package autoloading.


Regards,

-- 
Nicolas Goaziou

  parent reply	other threads:[~2013-03-08 21:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08 17:27 Quotes not being converted correctly for LaTeX export Suvayu Ali
2013-03-08 17:33 ` Jambunathan K
2013-03-08 17:46   ` Suvayu Ali
2013-03-08 17:55     ` Jambunathan K
2013-03-08 18:02       ` Suvayu Ali
2013-03-08 18:14         ` Jambunathan K
2013-03-08 18:27           ` Bastien
2013-03-08 18:33             ` Jambunathan K
2013-03-08 18:51               ` Bastien
2013-03-08 19:07                 ` Jambunathan K
2013-03-08 21:28             ` Nicolas Goaziou [this message]
2013-03-08 22:21               ` Suvayu Ali
2013-03-08 22:45                 ` Nicolas Goaziou
2013-03-09  9:39                   ` Bastien
2013-04-16  9:45                     ` Bastien
2013-03-09  9:40               ` Bastien
2013-03-09 15:03                 ` Nicolas Goaziou

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=877glh1szy.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.com \
    /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).