emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Feature request: org-export-format-source-code-or-example and srcname
@ 2009-12-02 17:41 Nicolas Girard
  2009-12-02 20:23 ` [babel] " Eric Schulte
  2009-12-17  7:40 ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Nicolas Girard @ 2009-12-02 17:41 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-01-05 15:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-02 17:41 Feature request: org-export-format-source-code-or-example and srcname Nicolas Girard
2009-12-02 20:23 ` [babel] " Eric Schulte
2009-12-17  7:40 ` Carsten Dominik
2009-12-17  9:17   ` Sébastien Vauban
2010-01-05 15:56     ` Eric Schulte

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).