This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Transforming SGML
- From: Josef Karthauser <joe at tao dot org dot uk>
- To: docbook at lists dot oasis-open dot org
- Date: Mon, 07 Jan 2002 19:50:08 +0000
- Subject: DOCBOOK: Transforming SGML
--LpQ9ahxlCli8rRTG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
:)
I'm developing the dbtexmath stylesheet, which allows TeX to be
inserted into <alt> elements in equations, i.e.:
<inlineequation> <alt> someequation </alt>
<graphic fileref="somefilename"/> </inlineequation>
What I'd like to do is miss the graphic out and have it
automatically inserted by the stylesheet with some relevant
filename.
I'm very very green at scheme/DSSSL so I'm a bit out of my depth, and I
was hoping that someone here might help me.
Is it possible to do this, or do I need to modify the DTD also, because
of course an <inlinequation> requires a <graphic> element.
Joe.
p.s. I was thinking of something like this for the equation name:
(list "fileref" (string-append "equation" (format-number (element-number) "1") ".png"))
--LpQ9ahxlCli8rRTG
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjw5+/AACgkQXVIcjOaxUBZK1ACg3fzi4qTcahcfBc+kk7P/T236
RZoAoOXm4A4hldqWZ09WTxe3tFAVrxFo
=0LpE
-----END PGP SIGNATURE-----
--LpQ9ahxlCli8rRTG--