On Mon, 2008-09-22 at 08:52 +0100, Pablo Barrera wrote: > On 20/09/2008, at 0:34:26, Thorsten Scherler wrote: ... > > You want the link contract that you described above to be included > > in a > > tei document? Is the above link html specific, or could you directly > > reuse it? > > > > I want to have the option to create this "references" section in any > kind of output document, mainly html, pdf and tei.
Each output format has his specific markup, meaning one has to implement this reference in each one of them. Maybe it makes sense to split the code of extracting the reference and then adding format specific markup. The part of extracting the reference seems to go best into the core to reuse it globally. ... > >> I am > >> going to try to modify document-2-tei xsl to add the links at the end > >> of the document when using a tei output instead of a html output. > > > > Please (if possible) implement the functionality in a seperate xsl > > that > > you then include in the doc-2-tei. This way it will be easy to use > > it as > > well in a tei contract if you decide to enable the dispatcher in tei. > > > > > So, if I have understand it correctly, we'll have the functionality in > two different places, won't we? Yes in skins and dispatcher, but reusing the same stylesheet. > I will try to get the dispatcher > working looking to the files you suggested. I personally have never worked with tei and I am not sure whether the dispatcher makes sense for tei. Maybe Ross can comment on this. salu2 > Regards, > > Pablo > > -- > Pablo Barrera > http://gsyc.es/~barrera/ > -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions