From: David O'Toole <dto@gnu.org>
To: emacs-orgmode@gnu.org
Subject: publishing e-scripts with org-publish.el
Date: Sat, 29 Apr 2006 17:21:57 -0400 [thread overview]
Message-ID: <m3k698dqmi.fsf@gnu.org> (raw)
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
reply other threads:[~2006-04-29 21:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3k698dqmi.fsf@gnu.org \
--to=dto@gnu.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).