From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/110661 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Questions for eTABLE Date: Mon, 22 Feb 2021 20:09:36 +0100 Message-ID: References: <5191250b-f28e-48a9-d949-7e8d032610de@leliseron.org> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6340151804985683888==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18248"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.46 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 22 20:09:58 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 1lEGaj-0004ch-V4 for gctc-ntg-context-518@m.gmane-mx.org; Mon, 22 Feb 2021 20:09:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9673A280B39; Mon, 22 Feb 2021 20:09:40 +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 GQFlOTPq3PfS; Mon, 22 Feb 2021 20:09:38 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E438C280B4C; Mon, 22 Feb 2021 20:09:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B5427280B4C for ; Mon, 22 Feb 2021 20:09:37 +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 lg4GXoJauH4l for ; Mon, 22 Feb 2021 20:09:36 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.53; helo=mail-wr1-f53.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Original-Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id D610E280B39 for ; Mon, 22 Feb 2021 20:09:36 +0100 (CET) Original-Received: by mail-wr1-f53.google.com with SMTP id r3so8582914wro.9 for ; Mon, 22 Feb 2021 11:09:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=cI9eX/7CQF7KVzf1r8j64iu0I148nE8tt/q95t4pZcs=; b=ZMH/cPYhPnhgHZ3kPrVBbU5M9em2M2njmwnFUYve1oPKnevvgqtaGRuH9Xk3hzLCrY r2dSY7DEchcozObYZ9RZB08zZ5p7dGr+sMK0OJJIFJavGl3Lj/Ax4GUUSfBPG/IsYuFb /G8qFMZTSfbNapykrZ0bcyKMeQEPyncGqpkBI27EMxgb2g3QHvLKeTMYM/80Iw/etooG NXwqLKywj5rnM2Sh+mHRRzR+lfT8DRfNEBx8usPVirBcys6FGQ5tCYt3POu3cKnWliPo GVOBWWgfgxNXrhEzDJhqzmKhtPcqjFifxpUHJCcirMSXoIGAx0PIFbK9VMRvNRQaQQeh xCcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=cI9eX/7CQF7KVzf1r8j64iu0I148nE8tt/q95t4pZcs=; b=KRTGoaXCHB97S17x6N6+ka5g4/2qY4jrJx3phpU2NfNdDxJ/p1+ye+matWy154fyTa nXbLLWWSn6w8LlSYy8IuuTlW+wq8VD5lncL4puftQxLryyO8YmmriklY2My6aOPyUMhF c79B+X9vjFs5j2CDujGwsKTesyHx3/4XKmAYKvkQdJ6PYIiXnZDJOV63Uab1vmhNicPF RZZjOL4QjGxmPnraqNvIcadgfbDrGerpKKi7961qe/DYbN3pMqQQTNJVhNSR0x4M7hf7 rKMGR24RyKTKbN6D6tX0WCM7+Zf/E8Nsu/B/6h7JynUiGsiRJ62wSIQOtTYoH27uzTnR U/fQ== X-Gm-Message-State: AOAM532su81/sMh0kCl5/24/Tdnavc7xQCWB8NhnhKGLo6ApEu3BI3fN vYffRqhKxFmtupoLsRb5qUFI2k/uev8= X-Google-Smtp-Source: ABdhPJwK35dG+7AqqQEYpr5AW+J84eYPBfX8de1mbK7kB3tIqXFU/UA2f0szhpZX6PRXomU2GcN8Xw== X-Received: by 2002:adf:fac7:: with SMTP id a7mr22132627wrs.206.1614020976546; Mon, 22 Feb 2021 11:09:36 -0800 (PST) Original-Received: from [192.168.1.4] (dynamic-077-002-064-133.77.2.pool.telefonica.de. [77.2.64.133]) by smtp.gmail.com with ESMTPSA id l7sm30659714wrn.11.2021.02.22.11.09.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Feb 2021 11:09:35 -0800 (PST) In-Reply-To: <5191250b-f28e-48a9-d949-7e8d032610de@leliseron.org> Content-Language: en-US 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:110661 Archived-At: This is a multi-part message in MIME format. --===============6340151804985683888== Content-Type: multipart/alternative; boundary="------------5B616E232738C31F8BFE37A0" Content-Language: en-US This is a multi-part message in MIME format. --------------5B616E232738C31F8BFE37A0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Alain Delmotte schrieb am 22.02.2021 um 19:58: > > Hi! > > I have the following program: > > ------------------------ > > \definecolor [tableheader] [x=00ADEF] > > \setupbodyfont[dejavu,10pt,ss] > > % setups and example thanks to Wolfgang Schuster > > \startsetups[tablesettings] > > \setupTABLE[start][framecolor=gray,loffset=.5ex,roffset=.5ex] > > \setupTABLE[row][first][background=color,backgroundcolor=tableheader,foregroundcolor=white] > > \setupTABLE[first][first][corner=08] > > \setupTABLE[last][first][corner=05] > > \setupTABLE[first][last][corner=07] > > \setupTABLE[last][last][corner=06] > > \stopsetups > > \starttext > > {\bf Singular} > > \setupTABLE[c][1,2,3][width=5cm] > > \placetable[none][]{}{ > > \bTABLE[setups=tablesettings] > > \bTR \bTH Pronoun \eTH \bTH Particle \eTH \bTH Noun \eTH \eTR > > \bTR \bTH Mimi/Wewe/Yeye \eTH \bTH ni \eTH \bTH Mtanzania/Mmarekani > /Mkenya \eTH \eTR > > \bTR \bTH {\sl I/You/He or She} \eTH \bTH {\sl am/are/is} \eTH \bTH > {\sl (a/an) Tanzanian/American/Kenyan} \eTH \eTR > > \bTR \bTH Mimi/Wewe/Yeye \eTH \bTH si\eTH \bTH Mtanzania/Mmarekani > /Mkenya \eTH \eTR > > \bTR \bTH {\sl I/You/He or She} \eTH \bTH {\sl am/are/is not} \eTH > \bTH {\sl (a/an) Tanzanian/American /Kenyan} \eTH \eTR > > \eTABLE > > } > > \input zapf > > \stoptext > > ------------------------ > > I do not understand why the lines in Swahilli are in bold? > Use \bTD ... \eTD for the cells. The \bTH ... \eTH pair is for header lines and changes the style to bold. > If for the table I use \setupTABLE[c]1,2,3][width= 5cm, align=left] > the texts are aligned to the right, if I say align=right they are to > the left. OK to have left alignment the align instruction is not > necessary, but for right? https://wiki.contextgarden.net/Right_and_left Wolfgang --------------5B616E232738C31F8BFE37A0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Alain Delmotte schrieb am 22.02.2021 um 19:58:

Hi!

I have the following program:

------------------------

\definecolor [tableheader] [x=00ADEF]

\setupbodyfont[dejavu,10pt,ss]

% setups and example thanks to Wolfgang Schuster

\startsetups[tablesettings]

\setupTABLE[start][framecolor=gray,loffset=.5ex,roffset=.5ex]

\setupTABLE[row][first][background=color,backgroundcolor=tableheader,foregroundcolor=white]

\setupTABLE[first][first][corner=08]

\setupTABLE[last][first][corner=05]

\setupTABLE[first][last][corner=07]

\setupTABLE[last][last][corner=06]

\stopsetups

\starttext

{\bf Singular}

\setupTABLE[c][1,2,3][width=5cm]

\placetable[none][]{}{

\bTABLE[setups=tablesettings]

\bTR \bTH Pronoun \eTH \bTH Particle \eTH \bTH Noun \eTH \eTR

\bTR \bTH Mimi/Wewe/Yeye \eTH \bTH ni \eTH \bTH Mtanzania/Mmarekani /Mkenya \eTH \eTR

\bTR \bTH {\sl I/You/He or She} \eTH \bTH {\sl am/are/is} \eTH \bTH {\sl (a/an) Tanzanian/American/Kenyan} \eTH \eTR

\bTR \bTH Mimi/Wewe/Yeye \eTH \bTH si\eTH \bTH Mtanzania/Mmarekani /Mkenya \eTH \eTR

\bTR \bTH {\sl I/You/He or She} \eTH \bTH {\sl am/are/is not} \eTH \bTH {\sl (a/an) Tanzanian/American /Kenyan} \eTH \eTR

\eTABLE

}

\input zapf

\stoptext

------------------------

I do not understand why the lines in Swahilli are in bold?


Use \bTD ... \eTD for the cells. The \bTH ... \eTH pair is for header lines and changes the style to bold.

If for the table I use \setupTABLE[c]1,2,3][width= 5cm, align=left] the texts are aligned to the right, if I say align=right they are to the left. OK to have left alignment the align instruction is not necessary, but for right?

https://wiki.contextgarden.net/Right_and_left

Wolfgang

--------------5B616E232738C31F8BFE37A0-- --===============6340151804985683888== 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== --===============6340151804985683888==--