emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alain.Cochard@unistra.fr
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Mistake in LaTeX syntax not detected, strange pdf generated
Date: Tue, 29 Nov 2022 11:28:36 +0100	[thread overview]
Message-ID: <25477.57044.35186.766042@gargle.gargle.HOWL> (raw)


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	other threads:[~2022-11-29 10:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-29 10:28 Alain.Cochard [this message]
2022-11-29 10:40 ` Mistake in LaTeX syntax not detected, strange pdf generated Fraga, Eric
2022-11-29 11:11   ` Alain.Cochard
2022-11-29 11:16     ` Fraga, Eric
2022-11-29 11:33       ` Alain.Cochard
2022-11-29 11:51         ` Alain.Cochard
2022-11-29 12:20           ` Dominik Schrempf
2022-11-29 12:54             ` Immanuel Litzroth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25477.57044.35186.766042@gargle.gargle.HOWL \
    --to=alain.cochard@unistra.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).