From: Jambunathan K <kjambunathan@gmail.com>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: Emacs Org mode <emacs-orgmode@gnu.org>
Subject: Re: Quotes not being converted correctly for LaTeX export
Date: Fri, 08 Mar 2013 23:44:48 +0530 [thread overview]
Message-ID: <877glhn4h3.fsf@gmail.com> (raw)
In-Reply-To: <20130308180240.GK13199@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Fri, 8 Mar 2013 19:02:40 +0100")
Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> Hi,
>
> On Fri, Mar 08, 2013 at 11:25:25PM +0530, Jambunathan K wrote:
>> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
>> > On Fri, Mar 08, 2013 at 11:03:39PM +0530, Jambunathan K wrote:
>
> [...]
>
>> >>
>> >> #+OPTIONS: ':t
>> >>
>> >> ,----[ C-h v org-export-with-smart-quotes RET ]
>> >
>> > [...]
>> >
>> > Thanks for pointing this out, but I still think this is a bug for LaTeX
>> > export. Quoting as ".." produces incorrect output in LaTeX, the correct
>> > forms are `..' or ``..''. This is even more important if you are
>> > writing in a language that uses umlauts, and the situation can get
>> > confusing as the character " is used to specify umlauts.
>> >
>> > This is worth a thought since the old exporter did it right without any
>> > special settings.
>>
>> I get GRAVE ACCENT and APOSTROPHE. You are requesting the exact same
>> chars. I am copy pasting from my latex buffer here.
>>
>> ``Orange box''
>> `Orange box'
>
> Sorry I think you misunderstood me. What I meant was following your
> suggestion fixes the issue for me. However I'm raising the question if
> having to explicitly set the "':t" option to get ``..'' as output is a
> reasonable expectation for LaTeX export since the default is actually
> incorrect LaTeX.
You should have simply stated.
It works. Can we have the default setting changed?
instead of "Thanks ... but" which I parse as "Thanks ... but it doesn't
work".
Install a filter function for options
(add-to-list 'org-export-filter-options-functions 'org-latex-options-function)
(defun org-latex-options-function (info backend)
(when (eq backend 'latex)
(plist-put info :with-smart-quotes t)))
If the above snippet doesn't work you can search the mailing list for
Nicolas recipe.
> I hope I was clear this time around.
>
> Cheers,
next prev parent reply other threads:[~2013-03-08 18:15 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 [this message]
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
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=877glhn4h3.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=fatkasuvayu+linux@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).