emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pinard@iro.umontreal.ca (François Pinard)
To: emacs-orgmode@gnu.org
Subject: About the Org documentation for minted
Date: Wed, 04 Jan 2012 22:53:06 -0500	[thread overview]
Message-ID: <87mxa2yfdp.fsf@iro.umontreal.ca> (raw)

Hi again!

In org-latex.el, function org-export-as-pdf is said to "automatically
add -shell-escape when needed", and apparently it does.

The org-export-latex-listings variable says: "In addition, it is
necessary to install pygments (http://pygments.org), and to configure
the variable `org-latex-to-pdf-process' so that the -shell-escape option
is passed to pdflatex."

The last part of this statement is likely superfluous because of
org-export-as-pdf, isn't it?  If yes, let me suggest it is removed, so
we are relieved from configuring the edition of org-latex-to-pdf-process
in our ~/.emacs files.

If I remove that edition and leave org-latex-to-pdf-process in ~/.emacs,
command "C-c C-e d" still gives a fontified, colored source code in the
genrated PDF.

François

             reply	other threads:[~2012-01-05  3:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-05  3:53 François Pinard [this message]
2012-01-05  4:33 ` About the Org documentation for minted François Pinard
2012-01-05  7:14 ` 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=87mxa2yfdp.fsf@iro.umontreal.ca \
    --to=pinard@iro.umontreal.ca \
    --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).