Question
Hi,
I am using the BibtexPlugin. If I don't use the default style, then sorting does not work any more (with the default style, everything works fine).
Any idea what I can do?
Thanks
Environment
--
TWikiGuest - 22 Aug 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
The plugin assumes that if a style other than
bibtool is used, then the
ordering is set by the BibTeX style. To change this behavior, you can
break apart the code block that spans L608-L614 in BibtexPlugin.pm.
e.g. Add the following lines to the block:
L608: } else {
L609: $bibtex2HtmlArgs .= ' -dl --use-keys ';
+ }
+ {
L610: $bibtex2HtmlArgs .= '-a ' if $theSort =~ /^(author|name)$/;
L611: $bibtex2HtmlArgs .= '-d ' if $theSort =~ /^(date|year)$/;
L612: $bibtex2HtmlArgs .= '-u ' if $theSort !~ /^(author|name|date|year)$/;
L613: $bibtex2HtmlArgs .= '-r ' if $theReverse eq 'on';
L614: }
I'll try to make the sorting behavior more logical in the next release.
--
ScottHoge - 23 Aug 2006
Thank you very much for this fast answer! It's working fine now.
--
TWikiGuest - 23 Aug 2006