From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id DB01726A4D for ; Sat, 25 May 2024 08:41:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 622B0484401 for ; Sat, 25 May 2024 08:41:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id He1ah1yjPaAt for ; Sat, 25 May 2024 08:41:19 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id E66C6484258 for ; Sat, 25 May 2024 08:41:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7BF78480D0D for ; Sat, 25 May 2024 08:40:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RUOgpPcMn_lZ for ; Sat, 25 May 2024 08:40:57 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 45D22480C14 for ; Sat, 25 May 2024 08:40:57 +0200 (CEST) MIME-Version: 1.0 From: seyal.zavira@gmail.com To: ntg-context@ntg.nl Date: Sat, 25 May 2024 06:40:57 -0000 Message-ID: <171661925727.1997.4781357823497414215@cgl.ntg.nl> In-Reply-To: <06f1229c-9888-b87e-a539-5c2a42481518@gmail.com> References: <06f1229c-9888-b87e-a539-5c2a42481518@gmail.com> User-Agent: HyperKitty on http://mailman.ntg.nl/ Message-ID-Hash: JMJK2RDVQMA5BSAMRKVEQFVBIDD5HL2E X-Message-ID-Hash: JMJK2RDVQMA5BSAMRKVEQFVBIDD5HL2E X-MailFrom: seyal.zavira@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: simplify side by side Poems List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Thanks so much i also could define poem structure like this: Using table method: \protected\def\PoemStart#1\PoemStop {\bTABLE[setups=tablepoem]#1\eTABLE} \protected\def\Beyt#1 {\bTR #1 \eTR} \protected\def\Misra#1 {\bTD #1 \eTD} \starttext \PoemStart \Beyt{\Misra{the first sentence} \Misra{the second sentence}} \Beyt{\Misra{the third sentence} \Misra{the fourth sentence}} \PoemStop \stoptext also it can be done with itemize(easier but less flexible): \defineitemgroup[Mypoem] \setupitemgroup[Mypoem][horizontal,two] \protected\def\PoemStart#1\PoemStop {\startitemgroup[Mypoem]#1\stopitemgroup} \protected\def\Misra#1 {\startitem#1\stopitem} \starttext \PoemStart \Misra{the first sentence} \Misra{the second sentence} \Misra{the third sentence} \Misra{the fourth sentence} \PoemStop \stoptext there is also another method by using buffers and lua code (part of the answer to my question on the stack site). ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________