New Muse tags: "include" and "markup"

Michael Olson <[email protected]> Mon, 29 May 2006 18:39:41 -0400
Newsgroups gmane.emacs.wiki.general
Message-ID <[email protected]>
I've now implemented <include> and <markup> tags in Muse.  The
documentation for both is included below.

<include>: Include the named file at the current location during
publishing.

  <include file=\"...\">

Files are marked up according to the Muse publishing rules.  If
you want no markup to be performed, either add
<example>..</example> inside the source file or use the
following invocation.

  <include file=\"...\" markup=\"nil\">

The `markup' attribute controls how this section is marked up. If
non-nil, it should be the name of a function to call after
inserting the file with the buffer narrowed to the section
inserted.  Note that no further marking-up will be performed on
this region.

<markup>: Run an Emacs Lisp function on the region delimted by this
tag.

  <markup function=\"...\">

The optional `function' attribute controls how this section is
marked up.  If used, it should be the name of a function to call
with the buffer narrowed to the delimited region.  Note that no
further marking-up will be performed on this region.

If `function' is ommitted, use the standard Muse markup function.
This is useful for marking up content in headers and footers.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Project involvement: Emacs, Muse, Planner, ERC, EMMS

_______________________________________________
emacs-wiki-discuss mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss
signature.asc (application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEe3gw+1Ho2POo0xkRAsPGAJ44+DghV/GR+tIqjcMKuNlZqVSc3wCdExws
GGRXFAoQxLehlpRsO8m4wAY=
=Ls8f
-----END PGP SIGNATURE-----