From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112176 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: languages Date: Sun, 18 Jul 2021 16:39:08 +0200 Message-ID: <3DC2AB5C-197E-495F-A74C-1D04BD576A83@ziggo.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Content-Type: multipart/mixed; boundary="===============9077662014955842414==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34175"; mail-complaints-to="usenet@ciao.gmane.io" To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 18 16:39:41 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m57xE-0008ft-R1 for gctc-ntg-context-518@m.gmane-mx.org; Sun, 18 Jul 2021 16:39:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D8C05285D8E; Sun, 18 Jul 2021 16:39:13 +0200 (CEST) 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 peH6R3WFHw6Q; Sun, 18 Jul 2021 16:39:12 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 78400285D90; Sun, 18 Jul 2021 16:39:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2D705285D8E for ; Sun, 18 Jul 2021 16:39:10 +0200 (CEST) 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 xJjizSv1cl0j for ; Sun, 18 Jul 2021 16:39:09 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.54.42.167; helo=smtpq4.tb.mail.iss.as9143.net; envelope-from=havdmeer@ziggo.nl; receiver= Original-Received: from smtpq4.tb.mail.iss.as9143.net (smtpq4.tb.mail.iss.as9143.net [212.54.42.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3AD4C7CB for ; Sun, 18 Jul 2021 16:39:08 +0200 (CEST) Original-Received: from [212.54.42.105] (helo=smtp1.tb.mail.iss.as9143.net) by smtpq4.tb.mail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m57wi-0007qW-Md for ntg-context@ntg.nl; Sun, 18 Jul 2021 16:39:08 +0200 Original-Received: from [192.168.178.20] ([84.106.134.200]) by smtp1.tb.mail.iss.as9143.net with ESMTPA id 57wimsZ3JJeOE57wimF2ZW; Sun, 18 Jul 2021 16:39:08 +0200 X-Env-Mailfrom: havdmeer@ziggo.nl X-Env-Rcptto: ntg-context@ntg.nl X-SourceIP: 84.106.134.200 X-CNFS-Analysis: v=2.4 cv=aNOTFZxm c=1 sm=1 tr=0 ts=60f43d0c cx=a_exe a=wCstmS+ZHA3zSJXjQC+ubA==:117 a=wCstmS+ZHA3zSJXjQC+ubA==:17 a=bN20tSQczRbEphUrQowA:9 a=CjuIK1q_8ugA:10 a=hJdcIqJTb4dJ_Ono:21 a=_W_S_7VecoQA:10 X-Authenticated-Sender: havdmeer@ziggo.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ziggo.nl; s=202002corplgsmtpnl; t=1626619148; bh=SBEkoNuMnJTwMbovluGAjM8NOeIay8vVEWVO75AYOAc=; h=From:Subject:Date:To; b=Vo3UWzgqaZi1wSkyF37ri95JKqRdeC1OvbbuKmjfAnhErmYDaDeGjoFuDMbXuRBmd 25BAyH5eeVcRQrS6eN2IrON6hRoEaoLQtaXSOu351LiVL+2jC7W4JAyZCS3d9A4dNi 0dJAiAKsLAISgQvQ2ViMo9jYVqY+SjPTIBURR4nLSl3keXSdTxGsOpvKhx58Ae9aM9 zBSWbL+F6o+dqlt84AjQcqB2ctqVfJUSfWg4XCY19efbefTEGH/Fdb+Y8H3hIuBA9L bIhTkGMoYrZsLFu3CZcg17yJwvWIwx/O5s0naoXKws4FCGKEBTv3+kHZ9sXIIhYsWP 9bS8SN/p9s7yg== X-Mailer: Apple Mail (2.3608.120.23.2.7) X-CMAE-Envelope: MS4xfAEH+HZ4AAzg53PyeC0btpQokLE1kSNq7dOas70bhUtSwsohhDBG7pOpSqTqL3vQW4HGBliivl7aRzRH3NczSOrMY/am85hVHCJYKHmgg66zQWxs/bcd kkHztiXqACAgTGYw3ryCJ11jzDzU+1GYhUZvNbVWY2ZmHrPQ3IGvbaQbJ7gH6IMoniPVhtYt/6xLWw== X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:112176 Archived-At: --===============9077662014955842414== Content-Type: multipart/alternative; boundary="Apple-Mail=_821950D9-96B1-40B7-8891-21A8FE596CA9" --Apple-Mail=_821950D9-96B1-40B7-8891-21A8FE596CA9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Here is something I think that should be added to the documentation. In the ConTeXt garden (page Command/mainlanguage) the description is: mainlanguage Set the language of auto-generated language elements, like = the title of the table of contents or the appendix. On the Command/language page: Change the hyphenation rules, quotation marks, all that sort of thing, = to that of a different language. (The default language is English.) Testing showed that \mainlanguage sets both \currentlanguage and = \currentmainlanguage to the same value, while \language sets = \currentlanguage only. My suggestion is to add info to this behaviour to the mainlanguage page, = reflecting the fact that \mainlanguage does set both \currentlanguage = and \currentmainlanguage.Which is not apparent from the current = documentation.=20 Another solution would be to separate \language and \mainlanguage = completely. An option I would prefer for clarity, because now the order = of calling \language and \mainlanguage makes a difference. dr. Hans van der Meer --Apple-Mail=_821950D9-96B1-40B7-8891-21A8FE596CA9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Here = is something I think that should be added to the documentation.

In the ConTeXt = garden (page Command/mainlanguage) the description is:

mainlanguage Set the language of = auto-generated language elements, like the title of the table of = contents or the appendix.

On the = Command/language page:

Change the = hyphenation rules, quotation marks, all that sort of thing, to that of a = different language. (The default language is English.)

Testing showed that = \mainlanguage sets both \currentlanguage and \currentmainlanguage to the = same value, while \language sets \currentlanguage only.

My suggestion is to add = info to this behaviour to the mainlanguage page, reflecting the fact = that \mainlanguage does set both \currentlanguage and = \currentmainlanguage.Which is not apparent from the current = documentation. 

Another solution would be to separate \language and = \mainlanguage completely. An option I would prefer for clarity, because = now the order of calling \language and \mainlanguage makes a = difference.

dr. = Hans van der Meer


= --Apple-Mail=_821950D9-96B1-40B7-8891-21A8FE596CA9-- --===============9077662014955842414== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============9077662014955842414==--