Re: Mistake in LaTeX syntax not detected, strange pdf generated

2022-11-29 Thread Immanuel Litzroth
Same problem here -- seeing mistakes in latex/pdf generation. i On Tue, Nov 29, 2022 at 1:27 PM Dominik Schrempf wrote: > > Hi! > > I wanted to chime in here, because sometimes I do have a similar > problem. > > Whenever I export to LaTeX + PDF, it is pretty difficult to see if the > compilation

Re: Mistake in LaTeX syntax not detected, strange pdf generated

2022-11-29 Thread Dominik Schrempf
Hi! I wanted to chime in here, because sometimes I do have a similar problem. Whenever I export to LaTeX + PDF, it is pretty difficult to see if the compilation actually worked (or not). This is, because the compilation happens asynchronously, and so, the message about the compilation results in

Re: Mistake in LaTeX syntax not detected, strange pdf generated

2022-11-29 Thread Alain . Cochard
alain.coch...@unistra.fr writes on Tue 29 Nov 2022 12:33: > I would expect that the mistake be reported in the *Org PDF LaTeX > Output* Compilation buffer. So far, what I saw in that buffer was > essentially what shows up when I run 'pdflatex org_generated_file.tex' > from a terminal. Not th

Re: Mistake in LaTeX syntax not detected, strange pdf generated

2022-11-29 Thread Alain . Cochard
Fraga, Eric writes on Tue 29 Nov 2022 11:16: > I think having the expectation that org will parse within LaTeX > blocks may be a little unrealistic. Org, no, but (pdf)latex yes. > But, also, what should it do? I would expect that the mistake be reported in the *Org PDF LaTeX Output* Compilat

Re: Mistake in LaTeX syntax not detected, strange pdf generated

2022-11-29 Thread Fraga, Eric
On Tuesday, 29 Nov 2022 at 12:11, alain.coch...@unistra.fr wrote: > Yes. My point was that Org did not spot this mistake and generates > something ridiculous. Ah, okay. I think having the expectation that org will parse within LaTeX blocks may be a little unrealistic. But, also, what should it

Re: Mistake in LaTeX syntax not detected, strange pdf generated

2022-11-29 Thread Alain . Cochard
Fraga, Eric writes on Tue 29 Nov 2022 10:40: > You cannot use a subscript within \text{}. Yes. My point was that Org did not spot this mistake and generates something ridiculous. -- EOST (École et Observatoire des Sciences de la Terre) ITE (Institut Terre & Environnement) | alain.coch...@un

Re: Mistake in LaTeX syntax not detected, strange pdf generated

2022-11-29 Thread Fraga, Eric
On Tuesday, 29 Nov 2022 at 11:28, alain.coch...@unistra.fr wrote: >#+begin_export latex >\[ > \text{a_b} >\] >#+end_export You cannot use a subscript within \text{}. Try \text{a}_{\text{b}} instead? -- : Eric S Fraga, with org release_9.5.5-1068-gbd4681 in Emacs 29.0.50

Mistake in LaTeX syntax not detected, strange pdf generated

2022-11-29 Thread Alain . Cochard
I have file debug3.org which contains only * strange #+begin_export latex \[ \text{a_b} \] #+end_export Upon latex export (C-c C-e l o) the generated pdf shows a sequence of 4 "a subscript b" in a row (with 3 font sizes). Result observed with various Org versions includin