emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Dynamicaly #+INCLUDE files


From: Mehul Sanghvi
Subject: [O] Dynamicaly #+INCLUDE files
Date: Tue, 12 Aug 2014 01:05:54 -0400


I have a directory which has multiple sub-directories.  The sub-directories contain files, some of which I want included into my org file when I export it for publishing to HTML
using C-c C-e P p to publish.

Rather than manually adding the files I want to an Org file, Is there a way to dynamically
include the files and have them processed by the publishing exporter ?  Something 
along the lines of:

      for file in *.c *.cpp *.m *.java *.lisp
      do
         echo #+INCLUDE the file
      done

Is there a way to do what I'm looking for ? 


--
Mehul N. Sanghvi
email: address@hidden

reply via email to

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