emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Uwe Ziegenhagen <ziegenhagen@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Finer control over LaTeX export
Date: Tue, 31 Dec 2013 17:00:34 +0100	[thread overview]
Message-ID: <87fvp9dn8d.fsf@gmail.com> (raw)
In-Reply-To: <loom.20131231T155755-692@post.gmane.org> (Uwe Ziegenhagen's message of "Tue, 31 Dec 2013 15:02:06 +0000 (UTC)")

Hello,

Uwe Ziegenhagen <ziegenhagen@gmail.com> writes:


[...]

> These get exported to 
>
> \#+begin$_{\text{src}}$ python :results output
> print(1+2+3+4+5+6+7+8+9+11)
> \#+end$_{\text{src}}$ python

This is wrong. You ended your block with

  #+end_src python

but it should be

  #+end_src

> The whole verbatim stuff is "okay", I'd like to replace that with the
> listings package, but the 
>
> \#+begin$_{\text{src}}$ python :results output
> print(1+2+3+4+5+6+7+8+9+11)
> \#+end$_{\text{src}}$ python

> requires amsmath just for the \text command, so this is also something I
> want to change. Can anyone point me to the correct way of changing it.

Note that without \text command, you can't get subscript and superscript
to work (see `org-latex-default-packages-alist').


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2013-12-31 16:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-31 15:02 Finer control over LaTeX export Uwe Ziegenhagen
2013-12-31 16:00 ` Nicolas Goaziou [this message]
2013-12-31 16:38 ` Nick Dokos

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=87fvp9dn8d.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ziegenhagen@gmail.com \
    /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).