15 May
2008
15 May
'08
1:07 p.m.
On Thu, May 15, 2008 at 1:33 PM, Jelle Huisman
Hi again,
I'm working on my xhtml file again but somehow I don't get it... Consider this bit of xml:
<body class="dicBody"> <div class="letHead"> <div class="letter">A a</div>
I want to pickup the "A a"-bit and put it in a \chapter. I tried a good number of variations like this:
\defineXMLargument [div] \chapter{\XMLpar{div}{class="letter"}{}}
but this does not work. Any hints to solve (and understand!) this would be appreciated! Thanks,
You're misusing the div element for something it is not meant, could you use h1 ... elements in your html and map them to ConTeXt's own header commands. Wolfgang