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

2013-04-16 Thread Bastien
Hi Nicolas, Bastien 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 document

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

2013-03-09 Thread Nicolas Goaziou
Hello, Bastien writes: > Nicolas Goaziou 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 meaningful only in the default

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

2013-03-09 Thread Bastien
Nicolas Goaziou 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 letting the user what t

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

2013-03-09 Thread Bastien
Hi Nicolas, Nicolas Goaziou 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 document with

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

2013-03-08 Thread Nicolas Goaziou
Hello, Suvayu Ali 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, which the new one d

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' > d

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

2013-03-08 Thread Nicolas Goaziou
Hello, Bastien 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 writes: > Jambunathan K 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 Bastien
Jambunathan K writes: > Use #+LANGUAGE How does it solve the problem I'm pointing? -- Bastien

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

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

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 "fre

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

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

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 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 ou

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

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

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 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" > > 'Orang

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

2013-03-08 Thread Jambunathan K
Suvayu Ali 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 box" > 'O

[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 followin