Joel wrote:
WRT the horizontal rule question: have you searched for <hr/> in the DocBook XSLT code?
I am why I got no answers. You guys are probably very busy. Anyway, I'll really appreciate any hints on where I can find the answers to these questions (esp. questions 4, 5 and 6). Thanks again.
3) The generated html files are a bit (to say the least) messy and heard to read. Is it possible to either 1) generate more tidy html, or 2) use tidy in the tool chain after generating html?
1) is a question for XSLT experts
Depends what you mean. You can select the XML output to be indented - I think using:
<xsl:output type = "html" indent = "yes" .../>
(consult the XSL:T specification at www.w3.org for exact usage). Do you mean in terms of closing tags (the output should be XML readable)? Or the use of redundant nesting of div/span tags? Or the use of older markup (e.g. <b>) instead of using CSS (<span style = "font-weight: bold;">)?
5) Why is: <emphasis role="underline">underline</emphasis> not rendered correctly? See http://tinyurl.com/5otwq under FontStyles.
DocBook uses the "role" attribute to set the class of the element it generates. For example, you can do:
<programlisting role = "cpp-code">...</programlisting> <programlisting role = "fortran-code">...</programlisting>
and map the different colouring schemes in the CSS accordingly:
.cpp-code .keyword { color: red; font-weight: bold; }
.fortran-code .keyword { color: blue; font-weight: bold; }Regards, Reece
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Boost-docs mailing list [EMAIL PROTECTED] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
