Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks

2011-12-11 Thread Eric Schulte
Nick Dokos writes: > Eric Schulte wrote: > >> Sankalp writes: >> >> > Hi, >> > I've been using org mode's #+BEGIN_SRC ... #+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 i

Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks

2011-12-11 Thread Nick Dokos
Eric Schulte wrote: > Sankalp writes: > > > Hi, > > I've been using org mode's #+BEGIN_SRC ... #+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.

Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks

2011-12-11 Thread Sankalp
On 11 December 2011 21:30, Eric Schulte wrote: > Sankalp writes: > > > Hi, > > I've been using org mode's #+BEGIN_SRC ... #+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

Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks

2011-12-11 Thread Eric Schulte
Sankalp writes: > Hi, > I've been using org mode's #+BEGIN_SRC ... #+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. > You could write a code block which

Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks

2011-12-10 Thread Puneeth Chaganti
On 12/11/11, Sankalp wrote: > Hi, > I've been using org mode's #+BEGIN_SRC ... #+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. You could use the #+INCLUD

[O] Including source code *from* a file in #+BEGIN_SRC blocks

2011-12-10 Thread Sankalp
Hi, I've been using org mode's #+BEGIN_SRC ... #+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 ti