ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Subject: Re: transparent metafun colors turn nearly black
Date: Sat, 23 Sep 2006 18:59:30 +0100	[thread overview]
Message-ID: <E1GRBmk-0005wF-00@skye.ra.phy.cam.ac.uk> (raw)
In-Reply-To: Your message of "Sat, 23 Sep 2006 19:28:52 +0200." <45156ED4.2030209@gmx.net>

> Maybe you also need
> \runMPTEXgraphicstrue (enabled in my cont-sys.tex)?

I just enabled that in cont-sys.rme, and I put it in the test file for
good measure.

> your example works here (beta 17.09.). I also tried your example at
> contextgarden (same beta) and it worked too (using Firefox).

Thanks for checking it both ways.  Now I'm really puzzled because I
also use Firefox (on Linux).  I just ran the file below at
contextgarden (same one as before but with the MPTEX addition), and it
gives 'undefined' in a square where the figure should be.  And on my
Ubuntu laptop with context 2006.08.08 it gives a large black circle.
I also tried the old perl texexec in case that helped but no luck.

The texexec log on contextgarden looks okay.  It generates
texexec-mpgraph.1 and embeds one figure, so I'm guessing the figure is
generated and inserted.  So I don't understand why the generated PDF
file is not right.  To make sure it wasn't a caching problem, I added
a bit of text to the end, to see whether the new PDF file had it (it
did).

\runMPgraphicstrue
\runMPTEXgraphicstrue
\setupcolors[state=start]
\starttext
\startreusableMPgraphic{a}
fill fullcircle scaled 10cm withcolor transparent(1,0.5,green) ;
\stopreusableMPgraphic

\placefigure[force,none]{}{\reuseMPgraphic{a}}
\stoptext

-Sanjoy

  reply	other threads:[~2006-09-23 17:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-23 15:02 Sanjoy Mahajan
2006-09-23 17:28 ` Peter Rolf
2006-09-23 17:59   ` Sanjoy Mahajan [this message]
2006-09-23 18:22     ` Peter Rolf
2006-09-23 20:00       ` Taco Hoekwater
2006-09-24  3:20         ` Sanjoy Mahajan
2006-09-25  7:52           ` Mojca Miklavec
2006-09-25 10:58             ` Sanjoy Mahajan
2006-09-29  8:54               ` Patrick Gundlach

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=E1GRBmk-0005wF-00@skye.ra.phy.cam.ac.uk \
    --to=sanjoy@mrao.cam.ac.uk \
    --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).