From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97216 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Petra_Janouchov=C3=A1?= Newsgroups: gmane.comp.tex.context Subject: Re: Bibliography sorting order by Czech alphabet in Context Date: Wed, 8 Feb 2017 18:49:09 +0100 Message-ID: References: <20170208090858.06758393@zoo.hsd1.co.comcast.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8024887867807413840==" X-Trace: blaine.gmane.org 1486576229 18427 195.159.176.226 (8 Feb 2017 17:50:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2017 17:50:29 +0000 (UTC) To: Alan Braslau , pragma@wxs.nl, ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 08 18:50:24 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 1cbWNq-0004Ox-IE for gctc-ntg-context-518@m.gmane.org; Wed, 08 Feb 2017 18:50:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CF77A10154D; Wed, 8 Feb 2017 18:50:06 +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 idmJvTHTMG_p; Wed, 8 Feb 2017 18:50:05 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 56ABB101550; Wed, 8 Feb 2017 18:50:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7739310154E for ; Wed, 8 Feb 2017 18:50:04 +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 jBxUw3dZ3xQy for ; Wed, 8 Feb 2017 18:50:02 +0100 (CET) Original-Received: from mail-ot0-f171.google.com (mail-ot0-f171.google.com [74.125.82.171]) (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 42DDF10154D for ; Wed, 8 Feb 2017 18:49:51 +0100 (CET) Original-Received: by mail-ot0-f171.google.com with SMTP id f9so118585376otd.1 for ; Wed, 08 Feb 2017 09:49:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ydBWt0384p4ZEfHtUWwHkUf1oEQFhT//tzFgEDb+x4U=; b=kDhzLIEGPZe+FTxA9R0SNRkvzoDHWmxXQ6DSePq6je6giNi10qSKn8R7tnuiw6kWs5 P9fKzRqZLKfKbwR9amevSWw8MRfP6fyJICLxPsFyN2O7vr4hF0dSzZ4p7HvX6VWkwFq1 S8fYxe1PRfKG9QzrlIDQMpSE4gsvLSSDycoj1GbrOLH+4WWVv2K5PZfSrGSDZLAJi/3P Umah2O6HjS0XhfhD28zHwJ6hA6nnVqRzDyb4wHl5Fue2isM4OK4MwX9bQGOh43dTOqgv OrTBM2VmyZep3TiXKci+Sa07d/lR7VQC9ipGUzUbwKKAAKv3d0p/OlJP/cC4MJ4EQloi lz8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ydBWt0384p4ZEfHtUWwHkUf1oEQFhT//tzFgEDb+x4U=; b=meADz8zDCS5PX7CfaL+O+vESDZigkg0MAtPiW/PbfNYNEHhbdpbh6RItcoOJnbLT6A kXKkRkwxsiShIeJz2t2TxGHPysynVXNohsf0GTU9VdMNUSQRrej5wNb3ena3LV6qnqpS KWnqLeBC5+YihvKMkArN/B0r9DsWAmDxX2jdCFxKYioUSEGbow9i5j6dggYOjcxnGN8b 19R2beUGTwE0NGCmCcD/Q5Q8aVs4wNHkG1jmeBuTe4OTUi45R3gPyIXzQt4adxrXFfhu jvTUaWYIrI84PHuaDAUHu1/57ftBoFTFfQPh9wogVmyGkZFzrcmXny39B5F68oSIsrb2 ioqg== X-Gm-Message-State: AMke39n1hClnbV+yKA0HYSb2UgvJ/nkV9oKKxR4PlnWj0HFxG+kbftWjlEsq2WY1TBgcvUhV1H8/3jgmY5IGGw== X-Received: by 10.157.48.47 with SMTP id d44mr13094187otc.111.1486576190117; Wed, 08 Feb 2017 09:49:50 -0800 (PST) Original-Received: by 10.157.58.99 with HTTP; Wed, 8 Feb 2017 09:49:09 -0800 (PST) In-Reply-To: <20170208090858.06758393@zoo.hsd1.co.comcast.net> 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:97216 Archived-At: --===============8024887867807413840== Content-Type: multipart/alternative; boundary=001a113709debe5d060548087dc7 --001a113709debe5d060548087dc7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Alan, I have tried the solution you have suggested, nevertheless it does not affect the position of letter 'Ch' in the list of publications. Setting the \mainlanguage[cz] affects for example format of \date, but not the alphabetical order of bibliography. I have tried switching to other languages like fr, de, nl and none of them had any effect on the sorting. Commands \setupdelimitedtext[language=3Dcz] and \setupbtxdataset [language=3Dcz] do not have any effect either. Is there any way how to change the alphabet sequence of specific language, in this case of Czech? It seems like Ch is hardcoded to preceed C and =C4=8C. I suspect this may b= e also the case of other alphabets. Thank you, Petra On 8 February 2017 at 17:08, Alan Braslau wrote: > Hello, > > I believed that the sorting order follows the current active language > (\mainlanguage[cz]). > > You might want to try > \setupbtxdataset [language=3Dcz] > but I have never used this (I believe that it sets the default language > for entries lacking a language=3D field). > > > Sorting can be controlled as follows: > \startsection [title=3DBibliografie] > \setupdelimitedtext [language=3Dcz] > \placelistofpublications > \stopsection > > This is useful for multilingual documents. > > Other settings for \setupdelimitedtext [language=3D...] are > (the default, use the current active language) > local (respect the local language directives, i.e. the bibtex entry > field language=3D) > global (impose the main document language) > en, de, nl, ... > > > Alan > > > On Tue, 7 Feb 2017 21:17:03 +0100 > Petra Janouchov=C3=A1 wrote: > > > 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 > > > > > > -- > Alan Braslau > CEA DSM-IRAMIS-SPEC > CNRS UMR 3680 > Orme des Merisiers > 91191 Gif-sur-Yvette cedex FRANCE > tel: +33 1 69 08 73 15 > fax: +33 1 69 08 87 86 > mailto:alan.braslau@cea.fr > --=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 --001a113709debe5d060548087dc7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Alan,

I have tried the solution y= ou have suggested, nevertheless it does not affect the position of letter &= #39;Ch' in the list of publications.=C2=A0

Set= ting the \mainlanguage[cz] affects for example format of \date, but not the= alphabetical order of bibliography. I have tried switching to other langua= ges like fr, de, nl and none of them had any effect on the sorting.

Commands \setupdelimitedtext[language=3Dcz] and=C2=A0\setupbtxdataset [language=3Dcz] do not have a= ny effect either.


Is the= re any way how to change the alphabet sequence of specific language, in thi= s case of Czech?=C2=A0
It seems like Ch is hardcoded to preceed C= and =C4=8C. I suspect this may be also the case of other alphabets.
<= div>
Thank you,

Petra

On 8 February 2017 a= t 17:08, Alan Braslau <alan.braslau@cea.fr> wrote:
Hello,

I believed that the sorting order follows the current active language
(\mainlanguage[cz]).

You might want to try
\setupbtxdataset [language=3Dcz]
but I have never used this (I believe that it sets the default language
for entries lacking a language=3D field).


Sorting can be controlled as follows:
\startsection [title=3DBibliografie]
=C2=A0 \setupdelimitedtext [language=3Dcz]
=C2=A0 \placelistofpublications
\stopsection

This is useful for multilingual documents.

Other settings for \setupdelimitedtext [language=3D...] are
<blank> (the default, use the current active language)
local=C2=A0 =C2=A0(respect the local language directives, i.e. the bibtex e= ntry
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0field language=3D)
global=C2=A0 (impose the main document language)
en, de, nl, ...


Alan


On Tue, 7 Feb 2017 21:17:03 +0100
Petra Janouchov=C3=A1 <pet= ra.janouchova@gmail.com> wrote:

> 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/bibl= iography-sorting-order-by-czech-alphabet-in-context/352514#3= 52514
>
> 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
>
>
>=C2=A0 \setupbtx
>=C2=A0 [apa:cite]
>=C2=A0 [left=3D,
>=C2=A0 =C2=A0right=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}
>=C2=A0 }
>
> @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
>



--
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS UMR 3680
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: += 33 1 69 08 73 15
fax: += 33 1 69 08 87 86
mailto:alan.braslau@cea.fr



--
Petra Janouchov=C3=A1
Doctoral candidate of Ancient hi= story,=C2=A0
Faculty of Arts, Charles University in Prague
<= div>
--001a113709debe5d060548087dc7-- --===============8024887867807413840== 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 --===============8024887867807413840==--