all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Including source code *from* a file in #+BEGIN_SRC blocks
@ 2011-12-11  5:56 Sankalp
  2011-12-11  6:53 ` Puneeth Chaganti
  2011-12-11 16:00 ` Eric Schulte
  0 siblings, 2 replies; 6+ messages in thread
From: Sankalp @ 2011-12-11  5:56 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

Hi,
I've been using org mode's #+BEGIN_SRC ... <code> #+END_SRC feature to
display source code.

I was wondering if there's a way to include code from an external file.
Like the *\lstinputlisting* feature in the LaTeX *listings* package.

I have a source code file that keeps getting modified, and each time I
publish my project to the web (htmlize), I'd like to have the latest
version of it in my source code block instead of having to copy-paste its
contents each time.

-------
Sankalp

[-- Attachment #2: Type: text/html, Size: 1280 bytes --]

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

end of thread, other threads:[~2011-12-11 19:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-11  5:56 Including source code *from* a file in #+BEGIN_SRC blocks Sankalp
2011-12-11  6:53 ` Puneeth Chaganti
2011-12-11 16:00 ` Eric Schulte
2011-12-11 17:08   ` Sankalp
2011-12-11 19:22   ` Nick Dokos
2011-12-11 19:25     ` Eric Schulte

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.