emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mistake in LaTeX syntax not detected, strange pdf generated


From: Alain . Cochard
Subject: Mistake in LaTeX syntax not detected, strange pdf generated
Date: Tue, 29 Nov 2022 11:28:36 +0100

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 including

Org mode version 9.4.4 (release_9.4.4 @
/usr/share/emacs/27.2/lisp/org/)

with 'emacs -Q'.

NB: If I run pdflatex on the .tex created:

   pdflatex debug3.tex

I get

   ! Missing $ inserted.
   <inserted text> 
                   $
   l.31   \text{a_b}

and no pdf is generated.

-- 
EOST (École et Observatoire des Sciences de la Terre) 
ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 110]  | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France     | [ slot available for rent ]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]