From: "Christian" <metan0r@gmx.de>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Metapost graphics in separate file, help needed
Date: Wed, 23 Nov 2011 20:50:27 +0100 [thread overview]
Message-ID: <008e01ccaa19$285b2cf0$791186d0$@gmx.de> (raw)
In-Reply-To: <alpine.LNX.2.02.1111231431330.2229@ybpnyubfg.ybpnyqbznva>
Thanks for the suggestions so far. I' currently testing Hans' idea and it seems to be a problem with caching.
The simple file I made where I just use each graphic runs into an error, but the corresponding code (undefined control sequence '\sb') is definitely not in the current source file of the graphics.
How do I clear the cache to force recalculation of the MP-graphics?
> -----Ursprüngliche Nachricht-----
> Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im
> Auftrag von Aditya Mahajan
> Gesendet: Mittwoch, 23. November 2011 20:33
> An: mailing list for ConTeXt users
> Betreff: Re: [NTG-context] Metapost graphics in separate file, help needed
>
> >> It only works if I put the exact same MP-code between \startMPcode
> >> \stopMPcode directly in the chapter2.mkiv
> >>
> >> What is wrong here? Am I missing something? Did I get the input
> >> mechanism all wrong?
> >
> > What happens if you make a simple file with the 4 \useMPgraphics in it ..
> > does that one process? Maybe there is a problem with the graphics in
> > the sense that you cannto run them all in a row.
>
> You can also try adding
>
> begingroup;
> ....
> endgroup;
>
> inside each MP figure. I always wished that this was the default behaviour.
>
> Aditya
> __________________________________________________________
> _________________________
> 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
> __________________________________________________________
> _________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-11-23 19:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-23 18:23 Christian
2011-11-23 19:07 ` Hans Hagen
2011-11-23 19:32 ` Aditya Mahajan
2011-11-23 19:50 ` Christian [this message]
2011-11-23 23:13 ` Hans Hagen
2011-11-23 19:58 ` Hans Hagen
2011-11-23 20:18 ` Christian
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='008e01ccaa19$285b2cf0$791186d0$@gmx.de' \
--to=metan0r@gmx.de \
--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).