|
@@ -9253,23 +9253,14 @@ look like the fontified Emacs buffer@footnote{This works automatically for
|
|
|
the HTML backend (it requires version 1.34 of the @file{htmlize.el} package,
|
|
|
which is distributed with Org). Fontified code chunks in @LaTeX{} can be
|
|
|
achieved using either the listings or the
|
|
|
-@url{http://code.google.com/p/minted, minted,} package. To use listings, turn
|
|
|
-on the variable @code{org-export-latex-listings} and ensure that the listings
|
|
|
-package is included by the @LaTeX{} header (e.g.@: by configuring
|
|
|
-@code{org-export-latex-packages-alist}). See the listings documentation for
|
|
|
-configuration options, including obtaining colored output. For minted it is
|
|
|
-necessary to install the program @url{http://pygments.org, pygments}, in
|
|
|
-addition to setting @code{org-export-latex-minted}, ensuring that the minted
|
|
|
-package is included by the @LaTeX{} header, and ensuring that the
|
|
|
-@code{-shell-escape} option is passed to @file{pdflatex} (see
|
|
|
-@code{org-latex-to-pdf-process}). See the documentation of the variables
|
|
|
-@code{org-export-latex-listings} and @code{org-export-latex-minted} for
|
|
|
-further details.}. This is done with the @samp{src} block, where you also
|
|
|
-need to specify the name of the major mode that should be used to fontify the
|
|
|
-example@footnote{Code in @samp{src} blocks may also be evaluated either
|
|
|
-interactively or on export. See @pxref{Working With Source Code} for more
|
|
|
-information on evaluating code blocks.}, see @ref{Easy Templates} for
|
|
|
-shortcuts to easily insert code blocks.
|
|
|
+@url{http://code.google.com/p/minted, minted,} package. Refer to
|
|
|
+@code{org-export-latex-listings} documentation for details.}. This is done
|
|
|
+with the @samp{src} block, where you also need to specify the name of the
|
|
|
+major mode that should be used to fontify the example@footnote{Code in
|
|
|
+@samp{src} blocks may also be evaluated either interactively or on export.
|
|
|
+See @pxref{Working With Source Code} for more information on evaluating code
|
|
|
+blocks.}, see @ref{Easy Templates} for shortcuts to easily insert code
|
|
|
+blocks.
|
|
|
@cindex #+BEGIN_SRC
|
|
|
|
|
|
@example
|