[tei-council] Stylesheets (wasRe: "Getting Started": a couple of questions)

Peter Boot pboot at xs4all.nl
Tue Nov 25 15:56:11 EST 2008


David Sewell schreef:
> The issue is that <egXML> is transformed into <div class="pre">.
> In tei.css, div.pre just inherits white-space handling (so that it wraps
> whitespace). tei-print.css has white-space styling that produces correct
> results.
> 
> Sebastian, is there any reason why
> 
>   white-space: pre;
> 
> shouldn't be added to the rule set for div.pre in any CSS stylesheet
> that has one?

But this problem may be my fault. I tried to generate html using the 
standard stylesheets, but (if I remember correctly) they did not include 
the tagdocs.xsl stylesheet. When I included tagdocs.xsl other things 
went wrong. I therefore copied the egxml template from tagdoxs.xsl, and 
also included verbatim.xsl to get the xml elements in the examples to 
render, and that got us where we are now. I tried various other 
stylesheets, to no avail.

So I guess the question to Sebastian should be: could you advise on how 
to transform this type of document? Or perhaps better: would you be 
willing to set up a transformation which regularly transforms 
gettingstarted.xml and puts the output on a tei server somewhere (rather 
than on my server)?

Thanks,
Peter


More information about the tei-council mailing list