> 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 ? pavel