From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113540 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier via ntg-context Newsgroups: gmane.comp.tex.context Subject: Have a cell span multiple columns with tabulate Date: Sat, 27 Nov 2021 12:25:57 +0000 Message-ID: <958cafa77cb7451fa260a3198c6e83c4@unibe.ch> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2951016256074161422==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22452"; mail-complaints-to="usenet@ciao.gmane.io" Cc: denis.maier@unibe.ch To: Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 27 13:26:34 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 1mqwmn-0005hT-PV for gctc-ntg-context-518@m.gmane-mx.org; Sat, 27 Nov 2021 13:26:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id ADA5D28966C; Sat, 27 Nov 2021 13:26:05 +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 aAnf4KJpl_Zu; Sat, 27 Nov 2021 13:26:03 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3F411289545; Sat, 27 Nov 2021 13:26:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6E2F42891F9 for ; Sat, 27 Nov 2021 13:26:01 +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 mGHg3Kisqupg for ; Sat, 27 Nov 2021 13:26:00 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=130.92.0.83; helo=mailhub-lb2.unibe.ch; envelope-from=denis.maier@unibe.ch; receiver= Original-Received: from mailhub-lb2.unibe.ch (mailhub-lb2.unibe.ch [130.92.0.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 39CE02890D2 for ; Sat, 27 Nov 2021 13:25:59 +0100 (CET) X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-01.campus.unibe.ch [130.92.13.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb2.unibe.ch (Postfix) with ESMTPS id 73F6350007D for ; Sat, 27 Nov 2021 13:25:58 +0100 (CET) Thread-Topic: Have a cell span multiple columns with tabulate Thread-Index: Adfjh94bE/sP6/qtRF2kmpfU8wOQpQ== Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [172.18.72.2] 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:113540 Archived-At: --===============2951016256074161422== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_958cafa77cb7451fa260a3198c6e83c4unibech_" --_000_958cafa77cb7451fa260a3198c6e83c4unibech_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I'm using tabulate for parallel texts (source and translation next to each = other). The top of each table should consist of only one cell covering both= columns with centered content. Is that possible? A HTML equivalent will look roughly like this:
Manuscript XY
Some text in Greek or Hebrew or whatever This is the translation
With ConteXt I'd like to do something like this \starttabulate[|p(1.2cm)|p(1.2cm)|] \NC Manuscript XY \NR \NC Some text in Greek or Hebrew or whatever \NC This is the translation \NC \NR \stoptabulate This compiles (interestingly?), but the cells at the top aren't merged. Any ideas ? I know that natural tables offer more in this regard, but those seem not to= be so well suited for parallel texts. Denis --_000_958cafa77cb7451fa260a3198c6e83c4unibech_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m using tabulate for pa= rallel texts (source and translation next to each other). The top of each t= able should consist of only one cell covering both columns with centered co= ntent. Is that possible?

 

A HTML equivalent will look rou= ghly like this:

 

<table>=

  <tr>

    <th colsp= an=3D"2">Manuscript XY </th>

  </tr><= /o:p>

  <tr>

    <td>Some text in Greek or H= ebrew or whatever</td>

    <td>This is the translation= </td>

  </tr>

</table>

 

With ConteXt I’d like to do something like thi= s

 

\starttabulate[|p(1.2cm)|p(1.2c= m)|]

  \NC Manuscript XY \NR

  \NC  Some text in G= reek or Hebrew or whatever

  \NC  This is t= he translation \NC \NR         = ;            &n= bsp;            = ;           

\stoptabulate=

 

This compiles (interestingly?),= but the cells at the top aren’t merged.

 

Any ideas ?

 

I know that natural tables offe= r more in this regard, but those seem not to be so well suited for parallel= texts.

 

Denis

--_000_958cafa77cb7451fa260a3198c6e83c4unibech_-- --===============2951016256074161422== 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== --===============2951016256074161422==--