ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <hansm@science.uva.nl>
Subject: Re: followup metapost textext?
Date: Thu, 22 Dec 2005 23:05:04 +0100	[thread overview]
Message-ID: <90BFF6E7-DF4E-4C31-9A9D-1DB20226C81B@science.uva.nl> (raw)
In-Reply-To: <43AA5A94.7050609@elvenkind.com>

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

I finally managed to contrive two simple examples, one that works  
here and one that doesn't.

The next code typeset with texexec --pdf with lines commented OUT  
does work:

\setupcolors[state=start]
\usetypescript[luc]\setupbodyfont[luc,10pt]
\startMPenvironment
	\usetypescript[luc]
	\setupbodyfont[luc,10pt]
\stopMPenvironment

\definecolor[gray][s=.825]
\definecolor[yellow][r=.625,g=.625]
\setupMPpage[offset=1pt,background=color,backgroundcolor=gray]

\startuseMPgraphic{standalone}
	draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0);
	label (textext("cornerstone"), (10,5)) rotated 45 withcolor \MPcolor 
{yellow};
\stopuseMPgraphic

\starttext
%%%%%%%%%%\startMPpage
	\includeMPgraphic{standalone}
%%%%%%%%%%\stopMPpage
\stoptext

When I remove the %'s it does not work.
The first below is the wrong one, showing unknown, the second one  
correctly shows the word cornerstone.
Is the conclusion correct that it could be something with \startMPpage?

yours sincerely,
dr. H. van der Meer


[-- Attachment #2: bad.pdf --]
[-- Type: application/pdf, Size: 8272 bytes --]

[-- Attachment #3: Type: text/plain, Size: 24 bytes --]

  <= bad and good =>




[-- Attachment #4: good.pdf --]
[-- Type: application/pdf, Size: 8717 bytes --]

[-- Attachment #5: Type: text/plain, Size: 947 bytes --]


On Dec 22, 2005, at 8:49, Taco Hoekwater wrote:

> Hans van der Meer wrote:
>> Followup to my previous post (see below)
>> I executed the code on the "live tex site" and, mirabile dictu,  
>> there it works.
>> The difference I can see is a much older pdfetex (Version  
>> 3.141592-1.21a-2.2 (Web2C 7.5.4)) on the live site, whereas I have  
>> a newer one (Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)).
>> Could that be the problem or must I dig deeper?
>
> It is not likely that this is the problem, unless you have
> 'stray' pdfetex executables floating around (with different
> version numbers) in other folders.
>
> It is more likely there is some interference with your pre-existing
> teTeX 3, but without the actual output and log files I do not know
> what to suggest as next step.
>
> Taco
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context


[-- Attachment #6: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  parent reply	other threads:[~2005-12-22 22:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-21 18:01 Hans van der Meer
2005-12-22  7:49 ` Taco Hoekwater
2005-12-22 17:11   ` Hans van der Meer
2005-12-22 22:05   ` Hans van der Meer [this message]
2005-12-22 22:22     ` Hans Hagen
2005-12-22 22:49       ` Hans van der Meer
2005-12-22 23:05         ` Taco Hoekwater
2005-12-22 23:26     ` Hans Hagen

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=90BFF6E7-DF4E-4C31-9A9D-1DB20226C81B@science.uva.nl \
    --to=hansm@science.uva.nl \
    --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).