[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Quotes not being converted correctly for LaTeX export
From: |
Jambunathan K |
Subject: |
Re: [O] Quotes not being converted correctly for LaTeX export |
Date: |
Fri, 08 Mar 2013 23:44:48 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Suvayu Ali <address@hidden> writes:
> Hi,
>
> On Fri, Mar 08, 2013 at 11:25:25PM +0530, Jambunathan K wrote:
>> Suvayu Ali <address@hidden> 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,
- [O] Quotes not being converted correctly for LaTeX export, Suvayu Ali, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export, Jambunathan K, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export, Suvayu Ali, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export, Jambunathan K, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export, Suvayu Ali, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export,
Jambunathan K <=
- Re: [O] Quotes not being converted correctly for LaTeX export, Bastien, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export, Jambunathan K, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export, Bastien, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export, Jambunathan K, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export, Nicolas Goaziou, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export, Suvayu Ali, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export, Nicolas Goaziou, 2013/03/08
- Re: [O] Quotes not being converted correctly for LaTeX export, Bastien, 2013/03/09
- Re: [O] Quotes not being converted correctly for LaTeX export, Bastien, 2013/03/09
- Re: [O] Quotes not being converted correctly for LaTeX export, Nicolas Goaziou, 2013/03/09