emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* latex export: document fails to compile
@ 2012-10-16 19:42 asdfsadfmcxdfsa
  2012-10-17 12:05 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: asdfsadfmcxdfsa @ 2012-10-16 19:42 UTC (permalink / raw)
  To: emacs-orgmode

create a new empty org-mode file containing this text

* test
$\text{asdf}$

export to latex, build pdf from tex

error

ERROR: Undefined control sequence.

--- TeX said ---
<recently read> \text 
                      
l.38 $\text
           {asdf}$
--- HELP ---
TeX encountered an unknown command name. You probably misspelled the
name. If this message occurs when a LaTeX command is being processed,
the command is probably in the wrong place---for example, the error
can be produced by an \item command that's not inside a list-making
environment. The error can also be caused by a missing \documentclass
command.

This is a bug?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: latex export: document fails to compile
  2012-10-16 19:42 latex export: document fails to compile asdfsadfmcxdfsa
@ 2012-10-17 12:05 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2012-10-17 12:05 UTC (permalink / raw)
  To: asdfsadfmcxdfsa; +Cc: emacs-orgmode

Hello,

asdfsadfmcxdfsa@Safe-mail.net writes:

> create a new empty org-mode file containing this text
>
> * test
> $\text{asdf}$
>
> export to latex, build pdf from tex
>
> error
>
> ERROR: Undefined control sequence.
>
> --- TeX said ---
> <recently read> \text 
>                       
> l.38 $\text
>            {asdf}$

IIRC, \text command is defined in amsmath package. Do you require it in
your header?


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-17 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-16 19:42 latex export: document fails to compile asdfsadfmcxdfsa
2012-10-17 12:05 ` Nicolas Goaziou

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).