From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84009 Path: news.gmane.org!not-for-mail From: Christian Prim Newsgroups: gmane.comp.tex.context Subject: question concerning \setupalign \setuptolerance Date: Fri, 30 Aug 2013 14:23:31 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1165148384==" X-Trace: ger.gmane.org 1377865447 30313 80.91.229.3 (30 Aug 2013 12:24:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Aug 2013 12:24:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 30 14:24:11 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VFNkH-00057p-TB for gctc-ntg-context-518@m.gmane.org; Fri, 30 Aug 2013 14:24:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1B38810228; Fri, 30 Aug 2013 14:22:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wqx0vBYFyzDk; Fri, 30 Aug 2013 14:22:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2DF7A1021F; Fri, 30 Aug 2013 14:22:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 44C961021F for ; Fri, 30 Aug 2013 14:22:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XDQhx5mHtp3h for ; Fri, 30 Aug 2013 14:22:09 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 5D3141021E for ; Fri, 30 Aug 2013 14:22:09 +0200 (CEST) Original-Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r7UCNVvT022819 for ; Fri, 30 Aug 2013 14:23:31 +0200 Original-Received: by mail-lb0-f169.google.com with SMTP id z5so1130680lbh.0 for ; Fri, 30 Aug 2013 05:23:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=tffgRgz+yFu0muUOaVjlDDHFQE+V3TCdSE4//mGd/K4=; b=WVaxFfsaYCeP/HglM1L6ZTH82tdNkTox8AL5sEjTMXREdMbl3pGe/5+WwtKz0btsGX grLBjtbSH+qHiWC6P8Z0rieomgBdX459lqo5+VWUqAdSzMdGy0LeG7/2rfIdWz5sNCsX q6lbgj6Wh8R6YeirQ6zIIoRLJP+pSt5vZt8O88/g1DzDX/31pZx1Q8ySU0hh7mChIpSP uuGdaIzYTwgInhdtJzX0lKE8onVRbcxXbWzSZ/BAshrRypE/KmIkHVM65XBHPgzaJ4yT W9fAP6y6h0LN3/w5Z6cWyUECTuDWeeWBeeHIFm+vCimpmHl9vNL4e9TEQkaK0QKViTXt wgaQ== X-Received: by 10.152.7.100 with SMTP id i4mr1300502laa.35.1377865411154; Fri, 30 Aug 2013 05:23:31 -0700 (PDT) Original-Received: by 10.112.181.1 with HTTP; Fri, 30 Aug 2013 05:23:31 -0700 (PDT) X-Google-Sender-Auth: DfFTZv24oHzVmgUX0NUn3o1hqXQ X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c04::229; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Kj0nvGG - 0bd36b672d4f - 20130830 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84009 Archived-At: --===============1165148384== Content-Type: multipart/alternative; boundary=001a11c27d826155f904e5294a7e --001a11c27d826155f904e5294a7e Content-Type: text/plain; charset=ISO-8859-1 Dear list is there a way to \setupalign and \setuptolerance globaly? In tabulate- or frameenvironement for example they are reseted. MWE: \definefontfeature[default][default][expansion=quality,protrusion=quality] \usetypescript[palatino] \setupbodyfont[palatino,11pt] \setupbodyfontenvironment[default][em=italic] \setupalign[hz,hanging] \setuptolerance[horizontal,stretch] \starttext \subject{Normal Text} align working, tolerance working. \input knuth \subject{Table} Table resets align/tolerance: \starttabulate \NC aling/tolerance not working \NC \input knuth \NC\NR \NC align/tolerance working \NC \setupalign[hz,hanging] \setuptolerance[horizontal,stretch] \input knuth \NC\NR \stoptabulate \subject{Frame} Framedtext resets align/tolerance: \startframedtext[width=0.6\textwidth] aling/tolerance not working \input tufte \stopframedtext \startframedtext[width=0.6\textwidth] \setupalign[hz,hanging] \setuptolerance[horizontal,stretch] aling/tolerance working \input tufte \stopframedtext \stoptext Thanks! Christian --001a11c27d826155f904e5294a7e Content-Type: text/html; charset=ISO-8859-1
Dear list

is there a way to \setupalign and \setuptolerance globaly?

In tabulate- or frameenvironement for example they are reseted.

MWE:
\definefontfeature[default][default][expansion=quality,protrusion=quality]
\usetypescript[palatino]
\setupbodyfont[palatino,11pt]
\setupbodyfontenvironment[default][em=italic]
\setupalign[hz,hanging]
\setuptolerance[horizontal,stretch]

\starttext
\subject{Normal Text}
align working, tolerance working.

\input knuth

\subject{Table}
Table resets align/tolerance:
\starttabulate
\NC aling/tolerance not working \NC \input knuth \NC\NR
\NC align/tolerance working \NC \setupalign[hz,hanging]
\setuptolerance[horizontal,stretch] \input knuth \NC\NR
\stoptabulate

\subject{Frame}
Framedtext resets align/tolerance:
\startframedtext[width=0.6\textwidth]
aling/tolerance not working

\input tufte
\stopframedtext

\startframedtext[width=0.6\textwidth]
\setupalign[hz,hanging]
\setuptolerance[horizontal,stretch]
aling/tolerance working

\input tufte
\stopframedtext

\stoptext


Thanks!

Christian
--001a11c27d826155f904e5294a7e-- --===============1165148384== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1165148384==--