From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93758 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: two issues with xtables Date: Tue, 16 Feb 2016 21:07:20 +0100 Message-ID: <56C38178.30808@gmail.com> References: <56C37476.3060109@gmx.es> <56C376E6.5010505@gmail.com> <56C37FA2.2010905@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8258204429866345369==" X-Trace: ger.gmane.org 1455653283 3350 80.91.229.3 (16 Feb 2016 20:08:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2016 20:08:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 16 21:07:52 2016 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aVluZ-0001e9-Qi for gctc-ntg-context-518@m.gmane.org; Tue, 16 Feb 2016 21:07:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 952476821; Tue, 16 Feb 2016 21:07:35 +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 Sr7-scVY_mKX; Tue, 16 Feb 2016 21:07:34 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id DB71569F6; Tue, 16 Feb 2016 21:07:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C34236966 for ; Tue, 16 Feb 2016 21:07:33 +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 cajyYXnoTz2v for ; Tue, 16 Feb 2016 21:07:33 +0100 (CET) Original-Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) (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 46B846821 for ; Tue, 16 Feb 2016 21:07:23 +0100 (CET) Original-Received: by mail-wm0-f48.google.com with SMTP id c200so180166549wme.0 for ; Tue, 16 Feb 2016 12:07:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=b87v2cvWodcFAVWbu707wUPMR4lQ1QUfy6qRkL79D88=; b=EAqpCix3ZU+cnSfHpfpnOrpcsaGrdhc2dIoyC0+394sXgudj9rLS4zUS2WnFwZnriz 6wzPEMXtXls+WAEkcAsROpWfbOkt/flwg0khbyqlq+rWmZaDHNA4r06qJXTpMsiZsXwz A8ckbU6NEnFE3/V5FnTNSWIxZTX98Igat13sE9usDbanzr9ndHvRdl3Viw+ao+RCMH9E MKxZid10oZXIVEl8bZ96k3QAdpDY8cxwLRbC6JBxJkrbps+Ki52w6oTfHCSGlDeyBrnI joeC5iWK5CDNG3zaZHQDgWyOrs1a4YPE40UyTfIeXBdYKRU5TY5rEFwdg9ZpRFQLhRbG 6NhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=b87v2cvWodcFAVWbu707wUPMR4lQ1QUfy6qRkL79D88=; b=ZMsyBsAIS6KyJLJIf0uPfSlmxa0usgqeYpGeMzqAsvo8pFjn2D6hE7iL+JsNNM0ny/ AniNVvNgZZgo+AvXknCCfAtTAaNcbgRYn5N8438JQl8YPSYZdUK+EwVlQB9P1zr82j3k PqioxY4UFMoysOdjFuTluaMokLjlUn/LFu0314Dj7y02fnt+NSbswLXg4xmklRj+EDY9 PAkILJVjuz7zucb4KmDvO1Nqeq8ss+ho+3/8GP9Ao2TwNQYuLhBlbp/qn1IW/XGSCd0T H+DLt1eY5uLtfxJSVkHOtObTbZRGCT2dbLAgzYw9uw5r2qSPMqx8zO7sttFbAwZFTB4z pmLQ== X-Gm-Message-State: AG10YOT8Sv5CXLbEhbGzAxeNIMn06NkQN9rbFQc9nE+iCdRPn1Bwk9zUMzNaILtg4fHY1Q== X-Received: by 10.28.223.8 with SMTP id w8mr22140571wmg.54.1455653243003; Tue, 16 Feb 2016 12:07:23 -0800 (PST) Original-Received: from keima.localdomain (x2f2693e.dyn.telefonica.de. [2.242.105.62]) by smtp.gmail.com with ESMTPSA id b203sm21954972wmh.8.2016.02.16.12.07.22 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Feb 2016 12:07:22 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <56C37FA2.2010905@gmx.es> 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:93758 Archived-At: This is a multi-part message in MIME format. --===============8258204429866345369== Content-Type: multipart/alternative; boundary="------------030504040703010900090906" This is a multi-part message in MIME format. --------------030504040703010900090906 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Pablo Rodriguez > 16. Februar 2016 um 20:59 > On 02/16/2016 08:22 PM, Wolfgang Schuster wrote: >>> Pablo Rodriguez 16. Februar 2016 um 20:11 >>> [...] >>> Well, I thought location would center the table. Before and after (wi= th >>> \startalign) crash compilation. Aligning the whole table doesn=E2=80=99= t seem to >>> make any difference. Sorry, but how can I center the table and not it= s >>> contents? >> Use >> >> \startlinealignment[middle] >> or >> \startplacetable[location=3D{force,none}] > > Many thanks for your reply, Wolfgang. > > Only the second option works with the real table. The first one crashes > compilation. > >>> The second issue is about rulethickness: would it be possible to spec= ify >>> different dimensions for each frame (top, bottom, left, right)? >> Disable the normal frame and use a metapost background with >> different values for all borders. > > MetaPost is unknown to me. How would it be with this minimal sample? There is a second method which let you create your own argument for the=20 leftframe, rightframe etc. keys. \installleftframerenderer=20 {small}{\blackrule[height=3D\overlayheight,width=3D1\linewidth]} \installleftframerenderer{medium}{\blackrule[height=3D\overlayheight,widt= h=3D2\linewidth]} \installleftframerenderer =20 {big}{\blackrule[height=3D\overlayheight,width=3D3\linewidth]} \starttext \framed{Text} \framed[leftframe=3Dsmall]{Text} \framed[leftframe=3Dmedium]{Text} \framed[leftframe=3Dbig]{Text} \stoptext Wolfgang --------------030504040703010900090906 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
16= .=20 Februar 2016 um 20:59
On 02/16/2016=
 08:22 PM, Wolfgang Schuster wrote:
=
Pablo Rodriguez 16. Februar 2016 um 20:11
[...]
Well, I thought location would center the table. Before and after (with
\startalign) crash compilation. Aligning the whole table doesn=E2=80=99t =
seem to
make any difference. Sorry, but how can I center the table and not its
contents?
Use

\startlinealignment[middle]
or
\startplacetable[location=3D{force,none}]

Many thanks for your reply, Wolfgang.

Only the second option works with the real table. The first one crashes
compilation.

=
The second issue is about rulethickness: would it be possible to specify
different dimensions for each frame (top, bottom, left, right)?
Disable the normal frame and use a meta=
post background with
different values for all borders.

MetaPost is unknown to me. How would it be with this minimal sample?
There is a second method which let you create your own argument for the=20 leftframe,
rightframe etc. keys.

\installleftframerenderer=20 {small}{\blackrule[height=3D\overlayheight,width=3D1\linewidth]}
\installleftframerenderer{medium}{\blackrule[height=3D\overlayheight,widt= h=3D2\linewidth]}
\installleftframerenderer=C2=A0=C2=A0=20 {big}{\blackrule[height=3D\overlayheight,width=3D3\linewidth]}

\starttext

\framed{Text}

\framed[leftframe=3Dsmall]{Text}

\framed[leftframe=3Dmedium]{Text}

\framed[leftframe=3Dbig]{Text}

\stoptext

Wolfgang
--------------030504040703010900090906-- --===============8258204429866345369== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============8258204429866345369==--