

\usemodule[bib]

% data

\startpublication[k=article-full,t=article,
  a={{Aamport},{}},y=1986,
  n=1,s=AAAA86]
  \lang{english} % needed!
  \artauthor[]{Leslie~A.}[L.~A.]{}{Aamport}
  \artauthor[]{Leslie~A.}[L.~A.]{}{Aamport}
  \artauthor[]{Leslie~A.}[L.~A.]{}{Aamport}
  \artauthor[]{Leslie~A.}[L.~A.]{}{Aamport}
  \pubyear{1986}
  \arttitle{The gnats and gnus document preparation system}
  \journal{\mbox{G-Animal's} Journal}
  \volume{41}
  \issue{7}
  \pages{73--83}
  \month{7}
  \note{This is a full ARTICLE entry}
\stoppublication

\startpublication[k=c-article-full,t=article,
  a={{姓名一},{}},y=1986,
  n=2,s=XXXX86]
  \lang{chinese}
  \artauthor[]{}[]{}{姓名一}
  \artauthor[]{}[]{}{姓名二}
  \artauthor[]{}[]{}{姓名三}
  \artauthor[]{}[]{}{姓名四}
  \pubyear{1986}
  \arttitle{一篇文章的名字}
  \journal{一本杂志的名字}
  \volume{41}
  \issue{7}
  \pages{73--82}
  \month{7}
  \note{This is a full ARTICLE entry}
\stoppublication

% example bibl changes

\setupcite
       [authoryears]
       [andtext={\labeltext{and}},
        otherstext={\labeltext{etal}}]

\setuppublicationlist
   [lastnamesep={\labeltext{and}},
    finalnamesep={\labeltext{and}}]

% example labeltext definitions

\setuplabeltext[en][etal={ et al.},and={ and }]
\setuplabeltext[cn][etal={等},and={和}]

% new \encite command

 \def\encite[#1]{{\mainlanguage[en]\cite[#1]}}

% link 'chinese' to 'cn' and 'english' to 'en'

\setbiblanguage{chinese}{cn}
\setbiblanguage{english}{en}

% redefine \lang

\unprotect
  \def\lang#1%
   {\def\biblanguage{#1}%
    \ifcsname \??pb @lang@#1\endcsname
        \expanded{\mainlanguage[\getvalue{\??pb @lang@#1}]}%
        \expanded{\language[\getvalue{\??pb @lang@#1}]}%
     \fi \ignorespaces}
   \protect


% typescript stuff follows

\definefontfeature
  [chinese-traditional-hw]
  [mode=node,script=hang,lang=zht,hwid=yes]

\definefontsynonym
  [ChineseSampleHW]
  [adobemingstd-light*chinese-traditional-hw]

\starttypescript [serif] [adobeming] [name]
    \usetypescript[fallback:serif]
    \definefontsynonym [Serif]           [ChineseSampleHW]
    \definefontsynonym [SerifBold]       [ChineseSampleHW]
    \definefontsynonym [SerifItalic]     [ChineseSampleHW]
    \definefontsynonym [SerifBoldItalic] [ChineseSampleHW]
\stoptypescript

\starttypescript [adobeming]
    \definetypeface [adobeming] [rm] [serif] [adobeming]  [default]
    \definetypeface [adobeming] [tt] [mono]  [modern]    [default]
    \definetypeface [adobeming] [ss] [sans]  [modern]    [default]
    \definetypeface [adobeming] [mm] [math]  [lmvirtual] [default]
\stoptypescript

\usetypescript[adobeming]

\setupbodyfont[adobeming]

\mainlanguage[cn]

\starttext

English Bibliography \encite[article-full].

中文文献 \cite[c-article-full]。

\completepublications[criterium=all]

\stoptext
