[Vim-latex-devel] Re: tex-refs project and xml to vim-help conversion
Brought to you by:
srinathava,
tmaas
From: Michael W. <mw...@mi...> - 2003-02-01 12:49:37
|
* Srinath Avadhanula <sr...@fa...> [030131 18:58]: > Thats what it looked like :) A question: How hard is it to tweak the xsl > stylesheets for html non-chunked so that instead of generating sections > like: > > <h1 class=section><a name="#section-tag">Overview</h1> > > it will do something like: > > <table> > <tr><td colspan=2>=====================================================================</td></tr> > <tr><td>Section name</td><td align=right>*section-tag*</td></tr> > </table> This might need some complicate customization, but I can ask for some help in the DocBook-Apps ML. Could you please test before, whether this output would produce the wanted TXT output if dumped with lynx/w3m? ... > Its just that supporting each tag becomes more and more work... Well, we > could always just get the text data from all unsupported tags... Dunno > how good an idea that is though.... Might even be better just completely > ignoring unsupported tags. You cannto just ignore unknown tags, otherwise you'll loose content! Imagine a peace of source like: <para> foo foo foo foo <emphasis>bar bar</emphasis> foo foo foo</para> If you completely ignore the contents of the <emphasis> tag, then you'll loose the information inside the tag. Just copy the text content of any unknown tag to the output file and don't do any sepcial treatment for this tag. Michael -- mw...@mi... http://www.miwie.org mw...@mi... |