emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Feature request: org-export-format-source-code-or-example and


From: Nicolas Girard
Subject: [Orgmode] Feature request: org-export-format-source-code-or-example and srcname
Date: Wed, 2 Dec 2009 18:41:40 +0100

Hi,
when using the listings LaTeX package, it would be very useful if the
value of srcname was added to the output. For instance,

#+srcname: my_code_chunk
#+begin_src latex :results latex :exports code :tangle no
\usepackage{fontspec,xunicode,xltxtra}
#+end_src

would give:

\lstset{language=TeX}[caption={my\_code\_chunk}]
\begin{lstlisting}
\usepackage{fontspec,xunicode,xltxtra}
\end{lstlisting}

(note the added "[caption={my\_code\_chunk}]")

Cheers,
Nicolas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]