From mboxrd@z Thu Jan 1 00:00:00 1970 From: David O'Toole Subject: publishing e-scripts with org-publish.el Date: Sat, 29 Apr 2006 17:21:57 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZwt9-0005c2-1E for emacs-orgmode@gnu.org; Sat, 29 Apr 2006 17:22:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZwt7-0005bO-E3 for emacs-orgmode@gnu.org; Sat, 29 Apr 2006 17:22:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZwt7-0005bL-6g for emacs-orgmode@gnu.org; Sat, 29 Apr 2006 17:22:01 -0400 Received: from [66.249.82.207] (helo=xproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FZwwY-0006ny-O3 for emacs-orgmode@gnu.org; Sat, 29 Apr 2006 17:25:34 -0400 Received: by xproxy.gmail.com with SMTP id s13so1652789wxc for ; Sat, 29 Apr 2006 14:22:00 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I've added preliminary support for publishing e-scripts with org-publish.el. What are e-scripts? >From my webpage: "plain-text documents that contain commentary, executable emacs lisp hyperlinks, and specially marked segments of executable shell script code, meant to be triggered one at a time by the user (possibly after some customization." E-scripts are processed by eev-mode (http://angg.twu.net/#eev ) But anyway, the code is at: http://dto.freeshell.org/e/org-publish-escript.el It's still quite preliminary, and I'm not sure if any of you actually use eev-mode :-) but I find eev-mode quite useful and plan to share my knowledge about many tasks using e-scripts. eev-mode is a sort of IDE and front-end to the shell. org-publish-escript-to-html is a pluggable publishing function for org-publish, I intend to create a library of such functions to render many types of input files as smart HTML, so that people who write in diverse formats can publish their files as a coherent site. Note, this plugin publishes both the original source .e file, and the marked up .e.html file (and inserts a header with link to the original) so that people can download the raw non-html file. Example output of my org-publish-escript.el http://dto.freeshell.org/e/emacs.e.html http://dto.freeshell.org/e/dvd.e.html Oh, if you don't like the colors, you can set the :style keyword in your org-publish-project-alist. '("escripts" . (:base-directory "~/e/" :base-extension "e" :publishing-directory "/ssh:dto@tty.freeshell.org:~/html/e/" :publishing-function org-publish-escript-to-html)))) So, has anyone tried out org-publish? -- Dave O'Toole dto@gnu.org