From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76473 Path: news.gmane.org!not-for-mail From: Alfredo Catalina Newsgroups: gmane.comp.tex.context Subject: Re: thelabel problem Date: Mon, 28 May 2012 17:36:43 +0200 Message-ID: References: <4FC37FE4.5060104@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1837527001==" X-Trace: dough.gmane.org 1338219412 26723 80.91.229.3 (28 May 2012 15:36:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 May 2012 15:36:52 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon May 28 17:36:51 2012 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 1SZ202-0005dO-Uu for gctc-ntg-context-518@m.gmane.org; Mon, 28 May 2012 17:36:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 99F05101E2; Mon, 28 May 2012 17:36:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TZbqvRxv-9qb; Mon, 28 May 2012 17:36:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0F6A3101DF; Mon, 28 May 2012 17:36:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90F8A101DF for ; Mon, 28 May 2012 17:36:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fNgn-S6lP3Vv for ; Mon, 28 May 2012 17:36:46 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 43643101DD for ; Mon, 28 May 2012 17:36:46 +0200 (CEST) Original-Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4SFai1g006273 for ; Mon, 28 May 2012 17:36:45 +0200 Original-Received: by obbwd18 with SMTP id wd18so7833375obb.14 for ; Mon, 28 May 2012 08:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VWcE1mxclzcDjdwtvMUq36cny6CphvtOWUlb20fwUT4=; b=eCYkIei+HshMEVq2w5r9yqFAQGz3NRm2cOXyJGSpn0+WtEa75AKGXFxUMWnacDc7DY hK4ddqzhwGJ+Gy7UUjtUDYB8ByE9JAEjmS1MbTLWk9bHZOT4B1C5XHu2lkH0GWu5uCsr 0u75cMEH1nsWAIxLh0emBKtlwrtkZXz7krB4dMoozP+2DvETdQo6wrCuGLQ7+XcaybB6 GXI8Y7mN1n41yaLjLExHpAYF5i5fIGIc5QQBnTtitBPdimr6Qhqp5Zt2EHCFjp/lEx6x +H3MXS2ee1NrIAQ+vo6AfDrxhZXnapppzq3MGlgM4BdebZF0bBTPH+YetOGQXuzIXiyI 4cjQ== Original-Received: by 10.182.36.102 with SMTP id p6mr8128577obj.77.1338219403999; Mon, 28 May 2012 08:36:43 -0700 (PDT) Original-Received: by 10.76.153.40 with HTTP; Mon, 28 May 2012 08:36:43 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.169; 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: 0RHfrAIPb - 478b0982c7c3 - 20120528 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:76473 Archived-At: --===============1837527001== Content-Type: multipart/alternative; boundary=f46d0445179534f8f304c11a7c4c --f46d0445179534f8f304c11a7c4c Content-Type: text/plain; charset=ISO-8859-1 Thank you. I check it, and you are right. I forgot to include the definitions when I cut and paste that part of the code. I thought the problem was related to the btex command, but it's not. The first line is: u=1.000mm; linecap:=butt; linejoin:=mitered; path pp; picture pic; labeloffset:=0; I compared it with your code. The "numeric u;" definition is missing in my file. I have included it and now it works!! It's really weird since I compiled it in 2009 and it worked as is. I still have the pdf output file...?? Finally I have a problem in this line: externalfigure "aciddrops1.png" xscaled 80.13u yscaled 60.09u shifted (69.85u,20.30u) ; Then I got: terminal: >> picture ! Isolated expression. ; <*> ...3u yscaled 60.09u shifted (69.85u,20.30u) ; ; . system > tex > error on line 99 in file kk2.tex: terminal: >> picture ! Isolated expression. ; <*> ...3u yscaled 60.09u shifted (69.85u,20.30u) ; ; ... 89 fill pp--cycle withcolor (0.000,0.000,0.000); 90 pp:=(150.24u,73.96u)--(152.93u,72.91u)--(153.10u,74.30u)--(150.24u,73.96u); 91 draw pp--cycle withpen pencircle scaled 0.30mm withcolor (0.000,0.000,0.000); 92 93 setbounds currentpicture to (67.85u,18.30u)--(197.56u,18.30u)--(197.56u,102.23u)--(67.85u,102.23u)--cycle; 94 95 externalfigure "aciddrops1.png" xscaled 80.13u yscaled 60.09u shifted (69.85u,20.30u) ; 96 97 \stopuseMPgraphic 98 99 >> \useMPgraphic{gh} 100 101 \stoptext 102 ...re.mp ; fi ; ;;;;]===], false)} \processMPgraphic ...e ;\!!es , \MPaskedfigure )}} \egroup \placeMPgraphic \d... \handleuseMPgraphic ...hics \processMPgraphic {#3} \endgroup \douseMPgraphic ...{\@@MPG \currentMPgraphicname } \empty \endMPgraphicgroup l.99 \useMPgraphic{gh} --f46d0445179534f8f304c11a7c4c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thank you. I check it, and you are right. I forgot to include the defi= nitions when I cut and paste that part of the code. I thought the problem w= as related to the btex command, but it's not.
=A0
The first line is:
=A0
u=3D1.000mm; linecap:=3Dbutt; li= nejoin:=3Dmitered; path pp; picture pic; labeloffset:=3D0;
=A0
I compared it with your code. The "numeric u;" definition= is missing in my file. I have included it and now it=A0works!!=A0=A0
=A0
It's really weird since I compiled it in 2009 and it= worked as is. I still have the pdf output file...??
=A0
Finally I have a problem in this line:
=A0
externalfi= gure "aciddrops1.png" xscaled 80.13u yscaled 60.09u shifted (69.8= 5u,20.30u) ;
=A0
Then I got:
=A0
=A0terminal: >>= ; picture
! Isolated expression.
<to be read again>
=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ;
<*> ...3u yscal= ed 60.09u shifted (69.85u,20.30u) ;
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= ;
.
system=A0=A0=A0=A0=A0=A0=A0=A0=A0 > tex > er= ror on line 99 in file kk2.tex: terminal: >> picture
! Isolated ex= pression.
<to be read again>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ;
<*> ...3u= yscaled 60.09u shifted (69.85u,20.30u) ;
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ;
=A0...
= =A089=A0=A0=A0=A0 fill pp--cycle withcolor (0.000,0.000,0.000);
=A090=A0= =A0=A0=A0 pp:=3D(150.24u,73.96u)--(152.93u,72.91u)--(153.10u,74.30u)--(150.= 24u,73.96u);
=A091=A0=A0=A0=A0 draw pp--cycle withpen pencircle scaled 0.30mm withcolor = (0.000,0.000,0.000);
=A092=A0=A0=A0=A0
=A093=A0=A0=A0=A0 setbounds c= urrentpicture to (67.85u,18.30u)--(197.56u,18.30u)--(197.56u,102.23u)--(67.= 85u,102.23u)--cycle;
=A094=A0=A0=A0=A0
=A095=A0=A0=A0=A0 externalfigure "aciddrops1.png" xscaled 80.13u = yscaled 60.09u shifted (69.85u,20.30u) ;
=A096=A0=A0=A0=A0
=A097=A0= =A0=A0=A0 \stopuseMPgraphic
=A098=A0=A0=A0=A0
=A099 >>=A0 \use= MPgraphic{gh}
100=A0=A0=A0=A0
101=A0=A0=A0=A0 \stoptext
102=A0=A0=A0=A0
<inserted text> ...re.mp ; fi ; ;;;;]=3D=3D=3D], false)}
=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
\processMPgraphic ...e ;\= !!es , \MPaskedfigure )}}
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 \egroup \placeMPgraphic \d...
\handleuseMPgraphic ...hics \processMPgraphic {#3}
=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 \endgroup
\douseMPg= raphic ...{\@@MPG \currentMPgraphicname }
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 \empty \endMPgraphicgroup
<to be read again>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0
l.99 \useMPgraphic{gh}
=A0
--f46d0445179534f8f304c11a7c4c-- --===============1837527001== 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 ___________________________________________________________________________________ --===============1837527001==--