From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80435 Path: news.gmane.org!not-for-mail From: Devendra Ghate Newsgroups: gmane.comp.tex.context Subject: \thinrule in \margintext doesn't work Date: Thu, 24 Jan 2013 14:56:45 +0530 Message-ID: <5100FE55.1030008@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0530088580==" X-Trace: ger.gmane.org 1359019619 14828 80.91.229.3 (24 Jan 2013 09:26:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jan 2013 09:26:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 24 10:27:18 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TyJ5Z-0004fg-TT for gctc-ntg-context-518@m.gmane.org; Thu, 24 Jan 2013 10:27:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63B121021D; Thu, 24 Jan 2013 10:27:00 +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 ov3MW5U0joEg; Thu, 24 Jan 2013 10:26:54 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8AA30101FC; Thu, 24 Jan 2013 10:26:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AD720101FC for ; Thu, 24 Jan 2013 10:26:53 +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 QfvtkWckMAi9 for ; Thu, 24 Jan 2013 10:26:52 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id DE899101E3 for ; Thu, 24 Jan 2013 10:26:52 +0100 (CET) Original-Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0O9Qnjb022391 for ; Thu, 24 Jan 2013 10:26:50 +0100 Original-Received: by mail-pb0-f53.google.com with SMTP id un1so4651713pbc.26 for ; Thu, 24 Jan 2013 01:26:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=CJBABol4IJoaTsi1K1CuIoGBVjZh7Dke2/Uw8NGyUrA=; b=o7PNZB3GRGVhxn8KoGBefriD9p5pOg46LPCSgtrg33wuMRLoslDrzmhb657wHA3FLg 5BRTswu5W1TAemoktW2xN16DON9m0c9Hh8JdI6hclVVMo/7xYpLvL2nqUWmipU1Sg4i5 YqNd6qbE/gqbQRD+AvIApZyzTftwx9gOb7arSSb9lfdVI5z4bouPJ+Tb7mX6EUoCOBDH z7pKPfKjb2R1g5TRhE3Uy+AVDJ9Nd+SWZrnZ5rcsyxMnnl1Ujd1i2OF9ZvY5iGb8VBxX UiyIpSPYrmvWy4hXgfmO0rzMZQEKMmL54AgLhhbvbG5Nuoovq8+vh4vdqET2Fxs2Dmtf 9pTg== X-Received: by 10.69.0.74 with SMTP id aw10mr3078537pbd.87.1359019609423; Thu, 24 Jan 2013 01:26:49 -0800 (PST) Original-Received: from [61.11.102.153] ([61.11.102.153]) by mx.google.com with ESMTPS id c2sm15350520pay.34.2013.01.24.01.26.47 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jan 2013 01:26:48 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.160.53; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03IPJqOvL - 67fad40e5de6 - 20130124 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:80435 Archived-At: This is a multi-part message in MIME format. --===============0530088580== Content-Type: multipart/alternative; boundary="------------020204030108040504000500" This is a multi-part message in MIME format. --------------020204030108040504000500 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit If \thinrule is used in \margintext, context gives error. \hairline works fine. *Details:* ConTeXt ver: 2013.01.10 01:04 MKIV fmt: 2013.1.13 *Error Message:* ! Undefined control sequence. system > tex > error on line 2 in file a.tex: Undefined control sequence ... 1 \starttext 2 >> \margintext{\thinrule A margintext with thinrule.} 3 %\margintext{\hairline A margintext with hairline.} 4 \stoptext 5 \thinrule ->\strut \bgroup \edef \p_height {\directthinrulesparameter \c!hei... \thinrule A margintext with thinrule. \doifelsenothing #1->\edef \m_syst_string_one {#1 }\ifx \m_syst_string_one \e... \typo_margins_data_yes_indeed ...felsenothing {#3} \donefalse \donetrue \ifdo... l.2 ...text{\thinrule A margintext with thinrule.} **MWE** \starttext %\margintext{\thinrule A margintext with thinrule.} \margintext{\hairline A margintext with hairline.} \stoptext --------------020204030108040504000500 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit If \thinrule is used in \margintext, context gives error. \hairline works fine.


Details: ConTeXt  ver: 2013.01.10 01:04 MKIV  fmt: 2013.1.13

Error Message:
! Undefined control sequence.

system          > tex > error on line 2 in file a.tex: Undefined control sequence ...

1     \starttext
2 >>  \margintext{\thinrule A margintext with thinrule.}
3     %\margintext{\hairline A margintext with hairline.}
4     \stoptext
5    


\thinrule ->\strut \bgroup \edef \p_height
                                           {\directthinrulesparameter \c!hei...
<argument> \thinrule
                     A margintext with thinrule.
\doifelsenothing #1->\edef \m_syst_string_one {#1
                                                 }\ifx \m_syst_string_one \e...
\typo_margins_data_yes_indeed ...felsenothing {#3}
                                                  \donefalse \donetrue \ifdo...
l.2 ...text{\thinrule A margintext with thinrule.}


*MWE*

\starttext   
%\margintext{\thinrule A margintext with thinrule.}        
\margintext{\hairline A margintext with hairline.}         
\stoptext
--------------020204030108040504000500-- --===============0530088580== 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 ___________________________________________________________________________________ --===============0530088580==--