[tex4ht] add metadata to docbook

Matteo Gamboz gamboz at medialab.sissa.it
Tue Apr 2 16:48:21 CEST 2013

Hi all,
  I'm trying to add some metadata to a docbook xml.

I'd like to map some simple macros like "\keywords{k}" to xml fragments
such as:

To do this I use a simple package that defines and uses a new macro
"\keywords" in a way similar to "\author" or "\title" in the

However I'm confused about how to best configure this.

I tried with a .cfg file and a .4ht file, but I can't get the value of
the keyword in the final xml or I hit errors that I don't fully

The best solution that I've got is with the attached files and with
the command line

$ htlatex x bbb,docbook-mml

(I'm using texlive 2012 just updated)

I'm new to tex4ht, could someone point me in the right direction?
Thanks a lot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metadata.tar.gz
Type: application/octet-stream
Size: 653 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20130402/f148a388/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://tug.org/pipermail/tex4ht/attachments/20130402/f148a388/attachment.bin>

More information about the tex4ht mailing list