Hi
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
Is there anyone besides Nicolas what would like to see the source name in the exported listing?
Is that something that should be done in org-babel, or in the normal export stuff?
- Carsten On Dec 2, 2009, at 6:41 PM, Nicolas Girard wrote:
_______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode