This is my bibliography set up \usemodule[bib] \setupbibtex[database={mrabbrev,bezier}] \setuppublications[numbering=yes, sorttype=cite, numbercommand=\bracketed, refcommand=num] I would have liked the in-text bibtex refs to come out in bold, so I tried: \setupcite[num][before={\start\bf},after={\stop}] but this isn't working. I'm pretty sure I'm missing something obvious here ... While we're at it, the reference compression method is a little too aggressive: I have a \cite[onething,another] and it gives me [1--2] in text ... in this case [1,2] would be better, IMO. Compression is good if you have three or more consecutive refs. BTW, how do I add the whole database to the reference list? -- Giuseppe "Oblomov" Bilotta
Giuseppe Bilotta wrote:
I would have liked the in-text bibtex refs to come out in bold, so I tried:
\setupcite[num][before={\start\bf},after={\stop}]
\setupcite[num][left={[\start\bf},right={\stop]}]
BTW, how do I add the whole database to the reference list?
Do you mean \setuppublications[criterium=all] (to print all the publications in the database, even the uncited ones) or perhaps \setupbibtex[database=filename]? Mojca
Tuesday, September 13, 2005 Mojca Miklavec wrote:
Giuseppe Bilotta wrote:
I would have liked the in-text bibtex refs to come out in bold, so I tried:
\setupcite[num][before={\start\bf},after={\stop}]
\setupcite[num][left={[\start\bf},right={\stop]}]
Aha! Left and right, not before and after.
BTW, how do I add the whole database to the reference list?
Do you mean \setuppublications[criterium=all] (to print all the publications in the database, even the uncited ones) or perhaps \setupbibtex[database=filename]?
criterium=all, thanks. -- Giuseppe "Oblomov" Bilotta
Giuseppe Bilotta wrote:
While we're at it, the reference compression method is a little too aggressive: I have a \cite[onething,another] and it gives me [1--2] in text ... in this case [1,2] would be better, IMO. Compression is good if you have three or more consecutive refs.
The actual compression of the numbers is done by a macro written by Hans (syst-new.tex) and I don't quite understand how it works, but ... please try this patch: \unprotect \def\doverysimplebibnumref#1#2% {\refsep \ifcase#1\relax ??\else \def\tempa{#2}% \ifx\empty\tempa#1\else \ifnum#1<\numexpr#2-1\relax #1\bibalternative\c!inbetween#2% \else #1\refsep#2% \fi \fi \fi} \protect That should keep on working even if/after Hans' macro is changed sometime in the future. Greetings, Taco
Tuesday, September 13, 2005 Taco Hoekwater wrote:
The actual compression of the numbers is done by a macro written by Hans (syst-new.tex) and I don't quite understand how it works, but ... please try this patch:
\unprotect \def\doverysimplebibnumref#1#2% {\refsep \ifcase#1\relax ??\else \def\tempa{#2}% \ifx\empty\tempa#1\else \ifnum#1<\numexpr#2-1\relax #1\bibalternative\c!inbetween#2% \else #1\refsep#2% \fi \fi \fi} \protect
That should keep on working even if/after Hans' macro is changed sometime in the future.
Works all right, thanks. -- Giuseppe "Oblomov" Bilotta
participants (3)
-
Giuseppe Bilotta
-
Mojca Miklavec
-
Taco Hoekwater