Re: Bug: unexpected behavior of nesting braces when exporting to LaTeX

2021-08-23 Thread Nicolas Goaziou
Hello, Chlo De writes: > I use Org-mode to take notes. I found that when there are nesting braces > inside \emph{ }, \textit{ }, etc. the output is unexpected. The following org > text > > \emph{{n+1}-a} > \textit{a{b}c} > > will be translated as LaTeX expressions > > \emph\{\{n+1\}-a\} > \tex

Re: Bug: unexpected behavior of nesting braces when exporting to LaTeX

2021-08-22 Thread Jeremie Juste
Hello Yue, Posting your mail below back to the list where you have a better chance of getting the right explanation. I totally understand that many times copy directly latex chunk is a nice feature org-mode offers. >From your example below, exporting the following script to latex would work ok in

Re: Bug: unexpected behavior of nesting braces when exporting to LaTeX

2021-08-22 Thread Jeremie Juste
Hello Yue, On Friday, 20 Aug 2021 at 00:45, Chlo De wrote: > \emph{{n+1}-a} > \textit{a{b}c} > > will be translated as LaTeX expressions > > \emph\{\{n+1\}-a\} > \textit\{a\{b\}c\} I'm not sure it is a bug. Could you specify what do you expect in these cases? Note that there are native org-

Bug: unexpected behavior of nesting braces when exporting to LaTeX

2021-08-21 Thread Chlo De
Hello, I use Org-mode to take notes. I found that when there are nesting braces inside \emph{ }, \textit{ }, etc. the output is unexpected. The following org text \emph{{n+1}-a} \textit{a{b}c} will be translated as LaTeX expressions \emph\{\{n+1\}-a\} \textit\{a\{b\}c\} Can this be fixed? Bes