Re: [O] Quotes not being converted correctly for LaTeX export

2013-04-16 Thread Bastien
Hi Nicolas, Bastien b...@altern.org writes: It makes sense indeed. latex back-end will use, by default, smart quotes. We should turn this on by default unless we have a mechanism to fix the LaTeX headers, if needed. The default behavior now is wrong: for example, if I use quotes in a

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-09 Thread Bastien
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: It makes sense indeed. latex back-end will use, by default, smart quotes. We should turn this on by default unless we have a mechanism to fix the LaTeX headers, if needed. The default behavior now is wrong: for example, if I use quotes

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-09 Thread Bastien
Nicolas Goaziou n.goaz...@gmail.com writes: The only problem is when user doesn't load Babel at all, but still wants to use smart quotes. Is it meaningful? It is not meaningful but it is now the default, this is what needs to be fixed. Either by not using smart-quotes by default, or by

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-09 Thread Nicolas Goaziou
Hello, Bastien b...@altern.org writes: Nicolas Goaziou n.goaz...@gmail.com writes: The only problem is when user doesn't load Babel at all, but still wants to use smart quotes. Is it meaningful? It is not meaningful but it is now the default, Actually, as Suvayu Ali suggested, it is

[O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Suvayu Ali
Hi, It seems double and single quotes are not being exported properly for LaTeX export. In a minimal Org instance, the following * Test Orange box 'Orange box' is exported as \section[Testing]{Testing} \label{sec-1} Orange box 'Orange box' whereas I would expect the following

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Jambunathan K
Suvayu Ali fatkasuvayu+li...@gmail.com writes: Hi, It seems double and single quotes are not being exported properly for LaTeX export. In a minimal Org instance, the following * Test Orange box 'Orange box' is exported as \section[Testing]{Testing} \label{sec-1} Orange

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Suvayu Ali
Hi Jambunathan and others, On Fri, Mar 08, 2013 at 11:03:39PM +0530, Jambunathan K wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: It seems double and single quotes are not being exported properly for LaTeX export. In a minimal Org instance, the following * Test Orange box

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Jambunathan K
Suvayu Ali fatkasuvayu+li...@gmail.com writes: Hi Jambunathan and others, On Fri, Mar 08, 2013 at 11:03:39PM +0530, Jambunathan K wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: It seems double and single quotes are not being exported properly for LaTeX export. In a minimal Org

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Suvayu Ali
Hi, On Fri, Mar 08, 2013 at 11:25:25PM +0530, Jambunathan K wrote: Suvayu Ali fatkasuvayu+li...@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

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Jambunathan K
Suvayu Ali fatkasuvayu+li...@gmail.com writes: Hi, On Fri, Mar 08, 2013 at 11:25:25PM +0530, Jambunathan K wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Fri, Mar 08, 2013 at 11:03:39PM +0530, Jambunathan K wrote: [...] #+OPTIONS: ':t ,[ C-h v

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Bastien
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

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Jambunathan K
Bastien b...@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

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Jambunathan K
Bastien b...@altern.org writes: Jambunathan K kjambunat...@gmail.com writes: Use #+LANGUAGE How does it solve the problem I'm pointing? So you didn't want this? \og Orange box\fg{} \og Orange box\fg{}

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Nicolas Goaziou
Hello, Bastien b...@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

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Suvayu Ali
Hi Nicolas, On Fri, Mar 08, 2013 at 10:28:17PM +0100, Nicolas Goaziou wrote: 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'

Re: [O] Quotes not being converted correctly for LaTeX export

2013-03-08 Thread Nicolas Goaziou
Hello, Suvayu Ali fatkasuvayu+li...@gmail.com writes: I'm not exactly sure what you mean here. All my documents are in English, so I rarely use babel. But I do want my quotes to look correct. So I use ``..'' instead of ... The old LaTeX exporter used to translate .. to ``..'' by default,