ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bib module in ConTeXt MKIV - first cite problem
@ 2009-10-07 10:49 Bernhard Rosensteiner
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Rosensteiner @ 2009-10-07 10:49 UTC (permalink / raw)
  To: ntg-context

Hello all,

following minimal example:

\usemodule[bib]
\setupbibtex[database=Grundexkursionen]
\setupheadtext[de][pubs=Literaturverzeichnis]
\setuppublications[alternative=apa-de,  numbering=yes, autohang=yes,  
refcommand=author]
\unprotect\def\scAuthorname#1#2#3#4#5%
    {\bibdoif{#2}{#2\bibalternative\c!vonsep}%
     \sc{#3}\bibalternative\c!surnamesep\tf
     \bibdoif{#5}{#5\bibalternative\c!juniorsep}%
     \bibdoif{#4}{#4\unskip}}
\protect
\def\textcite#1{\sc\cite[authoryear][#1]\tf}
\def\ccite#1{\cite[authoryears][#1]}
\setuppublicationlist[artauthor=\scAuthorname, author=\scAuthorname]

\starttext

That´s a literature test \ccite{Burrows:2003rm}. Another literature  
test \textcite{Pareyvogel}. And the last literature test \ccite 
{Burrows:2003rm}. That´s all.


\completepublications[criterium=all]
\stoptext

when I do it with ConTeXt MKII all is ok, but in ConTeXt MKIV the  
first \cite (in my example \ccite) always breaks the line after the  
first left delimiter (when i use refcommand "authorstyles"). Is this a  
bug? Are there any workarounds? refcommand=num and refcommand=key don 
´t break the lines  but all others do. Thanks for help.

Bernhard Rosensteiner
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* bib module in ConTeXt MKIV - first cite problem
@ 2009-10-07 14:34 Bernhard Rosensteiner
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Rosensteiner @ 2009-10-07 14:34 UTC (permalink / raw)
  To: ntg-context

Hello all,

following minimal example:

\usemodule[bib]
\setupbibtex[database=Grundexkursionen]
\setupheadtext[de][pubs=Literaturverzeichnis]
\setuppublications[alternative=apa-de,  numbering=yes, autohang=yes,  
refcommand=author]
\unprotect\def\scAuthorname#1#2#3#4#5%
   {\bibdoif{#2}{#2\bibalternative\c!vonsep}%
    \sc{#3}\bibalternative\c!surnamesep\tf
    \bibdoif{#5}{#5\bibalternative\c!juniorsep}%
    \bibdoif{#4}{#4\unskip}}
\protect
\def\textcite#1{\sc\cite[authoryear][#1]\tf}
\def\ccite#1{\cite[authoryears][#1]}
\setuppublicationlist[artauthor=\scAuthorname, author=\scAuthorname]

\starttext

That´s a literature test \ccite{Burrows:2003rm}. Another literature  
test \textcite{Pareyvogel}. And the last literature test \ccite 
{Burrows:2003rm}. That´s all.


\completepublications[criterium=all]
\stoptext

when I do it with ConTeXt MKII all is ok, but in ConTeXt MKIV the  
first \cite (in my example \ccite) always breaks the line after the  
first left delimiter (when i use refcommand "authorstyles"). Is this a  
bug? Are there any workarounds? refcommand=num and refcommand=key don 
´t break the lines  but all others do. Thanks for help.

Bernhard Rosensteiner
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-07 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-07 10:49 bib module in ConTeXt MKIV - first cite problem Bernhard Rosensteiner
2009-10-07 14:34 Bernhard Rosensteiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).