From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86455 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: structure Mk II vs IV Date: Tue, 25 Feb 2014 23:23:46 +0100 Message-ID: <74465F9A-4C6B-4684-8E9E-7A1CFEACF3CD@gmail.com> References: <67C07A91-694A-4460-8576-BFD13506AD74@di.unito.it> <843C26A5-26C7-4386-8128-030F8C83343E@di.unito.it> <43293AD1-3CB8-4FDB-AE1C-155A406BDE18@di.unito.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1393367036 6401 80.91.229.3 (25 Feb 2014 22:23:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Feb 2014 22:23:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 25 23:24:06 2014 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 1WIQQ2-0003RB-AZ for gctc-ntg-context-518@m.gmane.org; Tue, 25 Feb 2014 23:24:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 96AC4101F6; Tue, 25 Feb 2014 23:24:05 +0100 (CET) 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 V2u67ZokM83U; Tue, 25 Feb 2014 23:24:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 331BB101F0; Tue, 25 Feb 2014 23:24:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 74D40101F0 for ; Tue, 25 Feb 2014 23:24:02 +0100 (CET) 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 I32pwYhyGVuC for ; Tue, 25 Feb 2014 23:23:59 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 7CAA8101E1 for ; Tue, 25 Feb 2014 23:23:49 +0100 (CET) Original-Received: from mail-ea0-x230.google.com (mail-ea0-x230.google.com [IPv6:2a00:1450:4013:c01::230]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1PMNmR2010200 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 25 Feb 2014 23:23:48 +0100 Original-Received: by mail-ea0-f176.google.com with SMTP id b10so409501eae.21 for ; Tue, 25 Feb 2014 14:23:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=hBVmIsIFZe9PHOdS9OBQiq6jnbRyHyVWM+YeYhT18WA=; b=dd//5i8Ws/MDQZmaxlBeC1UHfLa59SdNV6b4zmkXxz26s+yNhkcR1AjiVeGsEnwEgp +mD/RslsI+DOR2iBCtE/P7077yt5gz7vG+U4TuxJTIM8NBiIrGz+dCVksDEYKIl1YBpF zujP+d1YOfXiLJU8lSZ0z81rFgNLPfpTJW2SVqP1mhduW/jt2zf3r88dInJf8mrv99Mi GBOEdXVWu9wr7CbYltkI0XYTxE6+Yy0/KgRTG5Ni7At4QoZaUcMRoE9JE6skw5tV1st5 Tb197Yq9MWFCfq2niKpvrKJZZW0zA6prJ5hudpOObaR9XCmtVu1Wp/c6SLfnaHDfSOyA Qw7w== X-Received: by 10.205.41.202 with SMTP id tv10mr4379bkb.41.1393367028478; Tue, 25 Feb 2014 14:23:48 -0800 (PST) Original-Received: from keima.localdomain (x2f2231d.dyn.telefonica.de. [2.242.35.29]) by mx.google.com with ESMTPSA id mc2sm19994379bkb.12.2014.02.25.14.23.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 14:23:47 -0800 (PST) In-Reply-To: <43293AD1-3CB8-4FDB-AE1C-155A406BDE18@di.unito.it> X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::230; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TLuKnMW9 - b56e95cf5d70 - 20140225 (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:86455 Archived-At: Am 25.02.2014 um 17:03 schrieb Andrea Valle : > OK, I think I tracked it down > = > this works: > = > \setuphead[chapter] > [style=3D\ss\tfc, before=3D{\blank[1cm]\startframedtext[width=3Dlocal, fo= regroundcolor=3Dblack, background=3Dcolor, backgroundcolor=3DbgGrey1, frame= color=3DbgGrey2,offset=3D0.25cm, > rulethickness=3D0.05cm, frame=3Doff, topframe=3Don, bottomframe=3Don]\cr= lf},after=3D{\stopframedtext\blank[4cm]}] > = > = > but these two raises the error: > = > \setuphead[section][style=3D\ss\tfb, before=3D{\startframedtext[frame=3Do= ff]\color[cirmaGrey]}, after=3D{\color[cirmaBlue]\textrule \color[fontColor= ]\stopframedtext}] > = > \setuphead[subsection][style=3D\ss\tfb,before=3D{\startframedtext[frame= =3Doff]\color[cirmaGrey]}, after=3D{\color[cirmaOrange]\textrule\color[font= Color]\stopframedtext}] In MkIV Hans has made changes on the \color command which does no expect a = argument and only \color[]{} is valid but you use \color without the text. To fill the missing argument = context uses now the following command after \color or in some cases intern= al macros. Another thing which doesn=92t work in MkIV are these lines: \definetypeface[tSCIRMA][rm][Xserif][Palatino] \definetypeface[tSCIRMA][tt][Xmono][LM Typewriter Regular] \definetypeface[tSCIRMA][ss][Xsans][Optima] The problem here are the Xserif etc. typescript which work only with XeTeX = but MkIV provides its own commands to select system fonts. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________