[BIB] Extra space before surname
Hello, I just noticed that there is an extra space before the surname if there is no "von" part. My setup: \def\bracketed#1{[#1]} \usemodule[bib] \setupbibtex[database={mrabbrev,bezier}] \setuppublications[numbering=yes, sorttype=cite, criterium=all, numbercommand=\bracketed, refcommand=num] \setupcite[num][left={\start\bf[},right={]\stop}]
Giuseppe Bilotta wrote:
Hello,
I just noticed that there is an extra space before the surname if there is no "von" part.
Sounds like a familiar bug. Please try this (and let me know if it works or not): \usemodule[bib] % % next 3 lines hopefully fix a bug % \let\bibdoif \doifnotemptyvalue \let\bibdoifnot \doifemptyvalue \def\bibdoifelse#1#2#3{\doifemptyvalueelse{#1}{#3}{#2}} Taco
Tuesday, September 13, 2005 Taco Hoekwater wrote:
Giuseppe Bilotta wrote:
Hello,
I just noticed that there is an extra space before the surname if there is no "von" part.
Sounds like a familiar bug. Please try this (and let me know if it works or not):
\usemodule[bib] % % next 3 lines hopefully fix a bug % \let\bibdoif \doifnotemptyvalue \let\bibdoifnot \doifemptyvalue \def\bibdoifelse#1#2#3{\doifemptyvalueelse{#1}{#3}{#2}}
Looks like something else is needed: title : - \headtext {pubs} (./bez-art.tuo ! Missing \endcsname inserted. <to be read again> \penalty \nonbreakablespace ->\penalty \!!tenthousand \ <argument> P.~ E. \bibdoif #1->\@EA \ifx \csname #1 \endcsname \empty \expandafter \gobbleonear... \invertedshortauthor ...c!juniorsep }\bibdoif {#4} {#4\unskip } \@@ar@@1 ...author\the \scratchcounter \endcsname \ifnum \etallimitcounter <... ... l.105 ...ion {bezier93}}{2::0:0:9:0:0:0:0::20}{20}
Giuseppe Bilotta wrote:
Tuesday, September 13, 2005 Taco Hoekwater wrote:
Giuseppe Bilotta wrote:
Hello,
I just noticed that there is an extra space before the surname if there is no "von" part.
Sounds like a familiar bug. Please try this (and let me know if it works or not):
\usemodule[bib] % % next 3 lines hopefully fix a bug % \let\bibdoif \doifnotemptyvalue \let\bibdoifnot \doifemptyvalue \def\bibdoifelse#1#2#3{\doifemptyvalueelse{#1}{#3}{#2}}
Looks like something else is needed:
Yeah, that's wrong all right. :-( How is this? \def\invertedshortauthor#1#2#3#4#5% {\doifnotempty{#2}{#2\bibalternative\c!vonsep}% #3\bibalternative\c!surnamesep \doifnotempty{#5}{#5\bibalternative\c!juniorsep}% \doifnotempty{#4}{#4\unskip}} (we slowly are getting to the point where it is easier on you to send me the actual document and a list of errors in t-bib :)) Taco
Tuesday, September 13, 2005 Taco Hoekwater wrote:
\def\invertedshortauthor#1#2#3#4#5% {\doifnotempty{#2}{#2\bibalternative\c!vonsep}% #3\bibalternative\c!surnamesep \doifnotempty{#5}{#5\bibalternative\c!juniorsep}% \doifnotempty{#4}{#4\unskip}}
No luck ... subject : - \headtext {pubs} (./bez-art.tuo ! Missing \endcsname inserted. <to be read again> \vtop \bottomaccent #1#2#3#4#5->\dontleavehmode \vtop {\forgetall \baselineskip \z... \dohandleaccent ...acterencoding #1\endcsname {#2} \fi \fi \fi \invertedshortauthor ...nsep}#3\bibalternative \c !surnamesep \doifnotempty ... \@@ar@@1 ...author\the \scratchcounter \endcsname \ifnum \etallimitcounter <... \redoloop ->\expandrecursecontent \endofloop ... l.159 ...ion {bezier93}}{2::0:0:7:1:0:0:0::25}{25}
(we slowly are getting to the point where it is easier on you to send me the actual document and a list of errors in t-bib :))
Can do that, if you want :) -- Giuseppe "Oblomov" Bilotta
Giuseppe Bilotta wrote:
Tuesday, September 13, 2005 Taco Hoekwater wrote:
\def\invertedshortauthor#1#2#3#4#5% {\doifnotempty{#2}{#2\bibalternative\c!vonsep}% #3\bibalternative\c!surnamesep \doifnotempty{#5}{#5\bibalternative\c!juniorsep}% \doifnotempty{#4}{#4\unskip}}
No luck ...
oh, I'm sorry. Wrap the definition in \unprotect ... \protect, please.
(we slowly are getting to the point where it is easier on you to send me the actual document and a list of errors in t-bib :))
Can do that, if you want :)
If this doesn't work, ok? Taco
participants (2)
-
Giuseppe Bilotta
-
Taco Hoekwater