On 12/2/07, Sebastian Rahtz <[log in to unmask]> wrote:
> > 1) 'ptr' to 'bibl' produces "[n]"; 'ptr' to 'biblStruct' - "Author(Date)".
> > It would be nice to be able to supply a custom label, just as it can
> > be done in DocBook using 'xreflabel' attribute.
> do you mean the word in the text, or the word in the
Something like this: if attribute 'n' on a biblStruct is set to
'Knuth92', label it with '[Knuth92]', and turn 'ptr' elements
referencing it into '[Knuth92]'. DocBook has this, so it would be nice
to have this in TEI stylesheets, but I personally do not need this
> > It would be *very* nice to be able to force the references to
> > look like "[n]" even when 'biblStruct' is used.
> doable, obviously; just that I have not catered for it yet.
In the meantime, I'll just use 'bibl', which causes the numbers to be
used for both labels and pointers.
> I am not entirely sure I see what you are doing, but
> I'd expect you to contain <bibl> or <biblStruct>
> in a <listBibl>; using <list> may produce surprising results.
I only tried 'list' as the container for bibliography because with
'listBibl' I either had no labels on the bibliography items in PDF or
no PDF at all :) Also, I noticed that the stylesheets process 'list'
with 'type="bibliography"' specially, so I decided to see how that
> > 3) When listBibl is used to contain 'bibl's, in XHTML citations are
> > labelled with numbers: "n". It would be nice to be able to label them
> > as "[n]".
> you should be able to do this in CSS. I have now
> added a CSS class to the <ol> to let you address it.
I see the class, but I do not know enough CSS to put brackets around
list labels in HTML ordered list.
Also, I think that the shape of the labels in the bibliography should
be consistent between HTML (currently 'n') and FO/PDF (currently
'[n]'), and customizable in a consistent way - through XSLT
customization (since CSS is not used for PDF generation).
> The bad news is that if you want to pick up all these changes,
> you'll have to get the XSL from Subversion on Sourceforge.
This is perfectly fine! I am using your latest code, and can confirm
the fixes. FO/PDF output is almost perfect, but there are still some
inconsistencies between HTML and FO: the "Table of Contents" title is
missing in FO, and so is the document title (in HTML it is extracted
from the header)...
> I'll be doing a new
> release before Christmas, but I don't want to do it now,
> because I am manically working to complete a PDF version
> of the Guidelines; which is involving fixes to stylesheets.
I am sure that more common code will be consolidated in the process,
giving more consistent output. And I hope to see some of the features
of the Guidelines styling in the general stylesheets - pointers from
the bibliography back into the text? bibliography sorting?
Thanks for your fast response and help!