ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alfredo Catalina <alfredo.catalina@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: thelabel problem
Date: Mon, 28 May 2012 17:36:43 +0200	[thread overview]
Message-ID: <CAJ0n9ee3wFFooLDq_Kb4yO0XXC0xk-4eNoohU7w=ZKcdbzzgmQ@mail.gmail.com> (raw)
In-Reply-To: <CAJ0n9edKzheEAU6QL7z019HrJUvEL6q8NgBVXLeq=jKM5CUwHA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2095 bytes --]

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.
<to be read again>
                   ;
<*> ...3u yscaled 60.09u shifted (69.85u,20.30u) ;
                                                   ;
.
system          > tex > error on line 99 in file kk2.tex: terminal: >>
picture
! Isolated expression.
<to be read again>
                   ;
<*> ...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
<inserted text> ...re.mp ; fi ; ;;;;]===], false)}

\processMPgraphic ...e ;\!!es , \MPaskedfigure )}}
                                                  \egroup \placeMPgraphic
\d...
\handleuseMPgraphic ...hics \processMPgraphic {#3}
                                                  \endgroup
\douseMPgraphic ...{\@@MPG \currentMPgraphicname }
                                                  \empty \endMPgraphicgroup
<to be read again>

l.99 \useMPgraphic{gh}

[-- Attachment #1.2: Type: text/html, Size: 2692 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2012-05-28 15:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-28 12:43 Alfredo Catalina
2012-05-28 12:51 ` luigi scarso
2012-05-28 13:35 ` Alfredo Catalina
2012-05-28 13:38   ` Hans Hagen
     [not found]     ` <CAJ0n9edKzheEAU6QL7z019HrJUvEL6q8NgBVXLeq=jKM5CUwHA@mail.gmail.com>
2012-05-28 15:36       ` Alfredo Catalina [this message]
2012-05-28 15:55         ` luigi scarso
2012-05-28 16:11         ` Alfredo Catalina
2012-05-28 18:38           ` luigi scarso
2012-05-28 13:41   ` luigi scarso
2012-05-28 18:38 Alfredo Catalina
2012-05-28 18:50 Alfredo Catalina
2012-05-28 18:54 ` Alfredo Catalina
2012-05-28 19:06   ` luigi scarso
2012-05-28 19:16     ` luigi scarso
2012-05-28 19:20   ` Alfredo Catalina
     [not found]     ` <CAG5iGsAr=AYGbwcn0osdEhCoQCAJ6ynXCEEQua_Cs6dVWfL+EQ@mail.gmail.com>
2012-05-28 21:16       ` Alfredo Catalina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ0n9ee3wFFooLDq_Kb4yO0XXC0xk-4eNoohU7w=ZKcdbzzgmQ@mail.gmail.com' \
    --to=alfredo.catalina@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).