From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97213 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Petra_Janouchov=C3=A1?= Newsgroups: gmane.comp.tex.context Subject: Bibliography sorting order by Czech alphabet in Context Date: Tue, 7 Feb 2017 21:17:03 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8956127642605668933==" X-Trace: blaine.gmane.org 1486537398 24987 195.159.176.226 (8 Feb 2017 07:03:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2017 07:03:18 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 08 08:03:10 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbMHW-0006BE-CN for gctc-ntg-context-518@m.gmane.org; Wed, 08 Feb 2017 08:03:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4B88212A00B6; Wed, 8 Feb 2017 08:02:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PHA_MIxyhUmj; Wed, 8 Feb 2017 08:02:54 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 3E96012A0010; Wed, 8 Feb 2017 08:02:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 33F3512A0040 for ; Tue, 7 Feb 2017 21:17:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bb1zODBrfdX3 for ; Tue, 7 Feb 2017 21:17:56 +0100 (CET) Original-Received: from mail-ot0-f181.google.com (mail-ot0-f181.google.com [74.125.82.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id CCBCD12A003F for ; Tue, 7 Feb 2017 21:17:45 +0100 (CET) Original-Received: by mail-ot0-f181.google.com with SMTP id 32so95292326oth.3 for ; Tue, 07 Feb 2017 12:17:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Is1Jji2bw8/n/0ikHoU6vnWAIxLaboALlA2fIgWEShA=; b=a1fQrDWXU9MinOJb76O33ZnyXnGrn6vOLSfdXrs0OPZ88VvOGXKuDhMujLYq3mF70L /waYf27zeLt95URtGkHr3LcoytdSJGpdq4PG9s9FwK6O8K/2u2Pns6scD/bbKdTd07fk j31hG+ZkTF+kMh9fc/vHJbmrlDE1hgAui7FWaK3GUTlilpreRAiOXV9VG9BQ5hC5BNjZ d7BKVHUsKyAsrWXJkOsbOHxlTOXSBBHOYSt46JgYDv6Ulp+CQFAJoPdtChRcFYvN3gBJ oLUf36jt/CnMq9iTQIrYc8giPvWVR8vDcLlZWeaecQV5SO273pXxqFDQz+LFq8SN2LLr RLRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Is1Jji2bw8/n/0ikHoU6vnWAIxLaboALlA2fIgWEShA=; b=YSpOfOWaOn82iqM2Qo0SBF8ra+fMaalgzyQrSoKC4+Ujq0fKe4YPjDCVEJgTdU5kqe PvJSqOalEViETNaRiw5wSRfeKy/ziOy9WiCdLRk+YNec4ebTf0QS08JyMuOi0mzp5Gqq XZAKG6mC76ga8pH95/HAbgDraoFqFK8LTUlMWvJqeF+zcakmN4V1gL7wpoDs9YYl9oZm PaXQw6/EI5wx/z8B427fZL4j9c3mY/TWHfLi9pr+US0BZzhOnUi4JGzDs3nYeuqWYrWW R+RyDQOe0oLoPbJrzxNYkWyL99Hb8Rp30b8h/G36gsD0wL5id/w2C9j4136nwJYQNzEl Rn5w== X-Gm-Message-State: AIkVDXJVNF1tl52od8XKinK8vgZ1aqkd7LYvwIP3GwS4FBsH8Hbjw3Puv2xGbmyyRp5elrDHlgasnn1NVxWuig== X-Received: by 10.157.63.188 with SMTP id r57mr8163037otc.78.1486498663987; Tue, 07 Feb 2017 12:17:43 -0800 (PST) Original-Received: by 10.157.58.99 with HTTP; Tue, 7 Feb 2017 12:17:03 -0800 (PST) X-Mailman-Approved-At: Wed, 08 Feb 2017 08:02:53 +0100 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:97213 Archived-At: --===============8956127642605668933== Content-Type: multipart/alternative; boundary=001a11459e14d383720547f6708b --001a11459e14d383720547f6708b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I am fairly new to the ConTeXt community and I am trying to sort bibliographical references for my thesis. I need to be able to set the sorting order of the bibliographical references by Czech alphabet (e.g., C,=C4=8C,D,....Ch,...etc.). English sorting puts Ch before C or =C4=8C, but= in Czech it needs to be after D. Any ideas? http://tex.stackexchange.com/questions/352496/bibliography-sorting-order-by= -czech-alphabet-in-context/352514#352514 Here is the minimal example \mainlanguage[cz] \usebtxdataset[bibliotest.bib] \usebtxdefinitions[apa] \unprotect %here I substitute the annoying ampersand with czech a \def\textampersand{a} \protect \setupbtx [apa:cite] [left=3D, right=3D, separator:2=3D{\btxsemicolon}, % :0 and :1 - between items of a list separator:3=3D{\btxsemicolon}, separator:4=3D{\btxsemicolon}, separator:names:2=3D{\btxcomma}, separator:names:3=3D{\btxcomma}, separator:names:4=3D{\btxcomma}, etaldisplay=3D3, etallimit=3D3 ] \starttext \cite[righttext=3D{{123},{116-156}}][Danton2004, Cicikova2011]. \cite[Cicikova2011] \cite[Chichikova1978] \startchapter[title=3DBibliografie] \placelistofpublications \stopchapter \stoptext and the database bibliotest.bib @book{Danton2004, address =3D {Oxford}, author =3D {Danton, Gocha R. and {De Angelis}, Franco}, publisher =3D {Oxford University School of Archaeology}, title =3D {{The archaeology of Greek colonisation: essays dedicated to Sir John Boardman}}, year =3D {2004} } @article{Cicikova2011, address =3D {Kazanlak}, annote =3D {PDF}, author =3D {{\v{C}}i{\v{c}}ikova, M}, pages =3D {116--121}, journal =3D {{Varia Thracica}}, title =3D {{Article Title}}, year =3D {2011} } @book{Chichikova1978, address =3D {Oxford}, author =3D {Chichikova, Maria and Dimitrov, Dimitur P. and Alexieva, Marguerite and Author, Name}, isbn =3D {0-86054-003-0}, keywords =3D {Seuthopolis,Thracians}, language =3D {eng}, publisher =3D {BAR Supplementary Series 38}, title =3D {{The Thracian city of Seuthopolis}}, year =3D {1978} } Thanks in advance, Petra --=20 *Petra Janouchov=C3=A1* Doctoral candidate of Ancient history, Faculty of Arts, Charles University in Prague https://cuni.academia.edu/PetraJanouchova petra.janouchova@gmail.com --001a11459e14d383720547f6708b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I am fairly new to th= e ConTeXt community and I am trying to sort bibliographical references for = my thesis. I need to be able to set the sorting order of the bibliographica= l references by Czech alphabet (e.g., C,=C4=8C,D,....Ch,...etc.). English s= orting puts Ch before C or =C4=8C, but in Czech it needs to be after D. Any= ideas?


Here is the minimal example

\mainlanguage[cz= ]

\usebtxdataset[bibliotest.bib]
\usebtx= definitions[apa]

\unprotect %here I substitute the= annoying ampersand with czech a
\def\textampersand{a}
= \protect


=C2=A0\setupbtx
= =C2=A0[apa:cite]
=C2=A0[left=3D,
=C2=A0 right=3D,
=
separator:2=3D{\btxsemicolon}, % :0 and :1 - between items of a list
separator:3=3D{\btxsemicolon},
separator:4=3D{\btxsemico= lon},
separator:names:2=3D{\btxcomma},
separator:names:= 3=3D{\btxcomma},
separator:names:4=3D{\btxcomma}, =C2=A0=C2=A0
etaldisplay=3D3,
etallimit=3D3
]

=


\starttext

\cite[righttext=3D{{123},{116-156}}][Danton2004, Cicikova2011].

\cite[Cicikova2011]

\cite[Chichiko= va1978]

\startchapter[title=3DBibliografie]
<= div>\placelistofpublications
\stopchapter
\stoptext

and the database bibliotest.bib

<= div>@book{Danton2004,
address =3D {Oxford},
author =3D = {Danton, Gocha R. and {De Angelis}, Franco},
publisher =3D {Oxfor= d University School of Archaeology},
title =3D {{The archaeology = of Greek colonisation: essays dedicated to Sir John Boardman}},
y= ear =3D {2004}
=C2=A0}

@article{Cicikova= 2011,
address =3D {Kazanlak},
annote =3D {PDF},
author =3D {{\v{C}}i{\v{c}}ikova, M},
pages =3D {116--121},
journal =3D {{Varia Thracica}},
title =3D {{Article Title= }},
year =3D {2011}
}

@book{Ch= ichikova1978,
address =3D {Oxford},
author =3D {Chichik= ova, Maria and Dimitrov, Dimitur P. and Alexieva, Marguerite and Author, Na= me},
isbn =3D {0-86054-003-0},
keywords =3D {Seuthopoli= s,Thracians},
language =3D {eng},
publisher =3D {BAR Su= pplementary Series 38},
title =3D {{The Thracian city of Seuthopo= lis}},
year =3D {1978}
}

Thank= s in advance,

Petra

--
Petra Janouchov=C3=A1Doctoral candidate of Ancient history,=C2=A0
Faculty of Arts, = Charles University in Prague

--001a11459e14d383720547f6708b-- --===============8956127642605668933== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8956127642605668933==--