Pavel Sanda wrote:
I expect people will think this is at best ugly. I guess I'd do it by
outputting the comma BEFORE each bit...but only after testing some flag
you cant after, there's no way back :)
that tells us whether we've done the first one yet.
i was thinking about implementing some stream in-between which knows one undo
and flush.
It might help make the code a little clearer if all of this stuff were
taken out into a PDFOptions::writeLatex(odocstream &) routine that could
just be called directly here, without even checking use_hyperref. You
could do that there. And then changing all of this stuff doesn't mean
messing with BufferParams.
ok.
if i remember backref was your pet :), havent you some example doc which use it
so i could check the issue with \bibitem ?
No, sorry. I think there are two things to check: (i) try adding LyX
bibliography environments at the end of a document. I think these output
some \bibitem like stuff. If they don't add a line, that's easy to fix.
(ii) I expect most BibTeX stuff does this automatically, but that should
also be easy to check. That said, there are some bibliography packages,
I believe, that are known to be incompatible with hyperref. The big
ones, though, aren't.
Richard
--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto