Re: Re: Problems with LaTeX export for $x\text{foo $x$}$-like construts?

2022-12-31 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> This is to be expected because of how Org parser works. > > In my experience, this also applies for some situations while creating > listings. > My question is if there would be space for a `:raw t` in the > `#+begin_export latex` to produce a _verbatim_ c

Re: Re: Problems with LaTeX export for $x\text{foo $x$}$-like construts?

2022-12-30 Thread Pedro Andres Aranda Gutierrez
> From: Ihor Radchenko > To: alain.coch...@unistra.fr > Cc: emacs-orgmode@gnu.org > Subject: Re: Problems with LaTeX export for $x\text{foo $x$}$-like > construts? > Message-ID: <87wn6av84v.fsf@localhost> > Content-Type: text/plain > > alain.coch...@unis

Re: Problems with LaTeX export for $x\text{foo $x$}$-like construts?

2022-12-29 Thread Ihor Radchenko
Ihor Radchenko writes: > Unfortunately, I do not see an easy solution without hitting parser > performance. Our general approach is to avoid forward-parsing as much as > possible with an exception to paired brackets (because Elisp allows > parsing paired brackets fast using C-level code). However

Re: Problems with LaTeX export for $x\text{foo $x$}$-like construts?

2022-12-29 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > (I don't understand why you quoted the part of my message related to > things which work as expected, though.) (because I skipped them mentally :]) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Suppor

Re: Problems with LaTeX export for $x\text{foo $x$}$-like construts?

2022-12-29 Thread Alain . Cochard
Ihor Radchenko writes on Thu 29 Dec 2022 10:04: > This is to be expected because [...] Thanks for taking the time to explain. (I don't understand why you quoted the part of my message related to things which work as expected, though.) -- EOST (École et Observatoire des Sciences de la Terre)

Re: Problems with LaTeX export for $x\text{foo $x$}$-like construts?

2022-12-29 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > Version used: release_9.6-149-g554935 > > With an org file containing only > >#+begin_export latex >$x \text{foo $y$}$ > >\(x \text{foo \(y\)}\) > >$x \text{foo \(y\)}$ > >\(x \text{foo $y$}\) >#+end_export > > the pdf generated upon late

Problems with LaTeX export for $x\text{foo $x$}$-like construts?

2022-12-28 Thread Alain . Cochard
Version used: release_9.6-149-g554935 With an org file containing only #+begin_export latex $x \text{foo $y$}$ \(x \text{foo \(y\)}\) $x \text{foo \(y\)}$ \(x \text{foo $y$}\) #+end_export the pdf generated upon latex export gives as expected, i.e., with 'x' and 'y' in ma