Hi, sorry if this is yet another bib question: the "authornum" cite style is a recent addition. It doesn't accept all the setup functions that other styles (such as "authornum") do. The one thing I miss most ATM is the "andtext" option between a publication with several authors. It takes the form Author1,Author2 (just a comma, no space; this can be configured in authornum). I tried adapting the code in bibl-tra.mkiv l. 1506-1515, but failed miserably. Would it be possible to add the configurable andtext to authornum? Thanks, and best Thomas
Thomas A. Schmitz wrote:
Hi,
sorry if this is yet another bib question: the "authornum" cite style is a recent addition. It doesn't accept all the setup functions that other styles (such as "authornum") do. The one thing I miss most ATM is the "andtext" option between a publication with several authors. It takes the form Author1,Author2 (just a comma, no space; this can be configured in authornum). I tried adapting the code in bibl-tra.mkiv l. 1506-1515, but failed miserably. Would it be possible to add the configurable andtext to authornum?
Hm, can you try this redefinition? \unprotect \def\bibinsertrefsep {\ifconditional\firstbibrefsep \setfalse\firstbibrefsep \else \ifnum\recurselevel=\bibitemcounter\relax \bibalternative\c!lastpubsep \else \bibalternative\c!pubsep \fi \fi} \protect
On Feb 12, 2010, at 1:38 PM, Taco Hoekwater wrote:
Hm, can you try this redefinition?
\unprotect \def\bibinsertrefsep {\ifconditional\firstbibrefsep \setfalse\firstbibrefsep \else \ifnum\recurselevel=\bibitemcounter\relax \bibalternative\c!lastpubsep \else \bibalternative\c!pubsep \fi \fi} \protect
Thanks Taco - that doesn't it yet. Maybe a small text file can help? All best Thomas \unprotect \def\bibinsertrefsep {\ifconditional\firstbibrefsep \setfalse\firstbibrefsep \else \ifnum\recurselevel=\bibitemcounter\relax \bibalternative\c!lastpubsep \else \bibalternative\c!pubsep \fi \fi} \protect \setuppublications[state=start, sorttype=bbl, refcommand=authornum, numbering=yes] \setupcite [authornum] [pubsep={, }, andtext={ !!!! }, namesep={ //// }, lastpubsep={ XXXX }, compress=no, inbetween={ ???? }, left={[[[}, right={)))}] \startpublication[k=gowpagegp,t=book, a={{Gow},{Page}},y=1968, n=5,s=GP68] \author[]{A.~S.~F.}[A.~S.~F.]{}{Gow} \author[]{Denys}[D.]{}{Page} \pubyear{1968} \title{The Greek Anthology{\em , 2} The Garland of Philip} \city{Cambridge (Engl.)} \pubname{Cambridge UP} \stoppublication \setuppublicationlist[samplesize={VSdK90},totalnumber=1] \starttext \cite[gowpagegp] \page \placepublications[criterium=all] \stoptext
Hi, Attached is a fairly elaborate patch and test file, please try. If you are happy with it, it can probably go to the core (with a similar patch for bibl-tra.mkii). Besides the \cite[authornum] case, it also adds 'lastpubsep' support to the 'short forms', like \cite[num] and \cite[short]. Best wishes, Taco
On Feb 12, 2010, at 4:10 PM, Taco Hoekwater wrote:
Hi,
Attached is a fairly elaborate patch and test file, please try.
If you are happy with it, it can probably go to the core (with a similar patch for bibl-tra.mkii). Besides the \cite[authornum] case, it also adds 'lastpubsep' support to the 'short forms', like \cite[num] and \cite[short].
Best wishes, Taco
Hi Taco, first tests both with small test files and the real-world that I'm currently typesetting are successful: looks like your patch works! Would be wonderful if this could go to the core. Thanks so much! All best Thomas
participants (2)
-
Taco Hoekwater
-
Thomas A. Schmitz