From: Cedric Mauclair <cedric.mauclair@gmail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConText, TikZ and definecolor: undefined control sequence
Date: Thu, 28 Oct 2010 14:14:41 +0200 [thread overview]
Message-ID: <AANLkTin3vhqkM2+Zd0mCHH51JuTpCYPm7XkYM2g=M9u4@mail.gmail.com> (raw)
In-Reply-To: <4CC96291.9010508@wxs.nl>
Sadly no. I once tried to modify it to make it work and I ended up
with what I proposed. Not very nice, but worked for me.
Thanks for your solution.
-- Cédric
On Thu, Oct 28, 2010 at 13:46, Hans Hagen <pragma@wxs.nl> wrote:
>
> \ifdefined\PDFcolor \else
>
> \ctxlua{function lpdf.pdfcolor(attribute) context(lpdf.color(1,attribute))
> end}
>
> \def\PDFcolor#1{\ctxlua{lpdf.pdfcolor(\thecolorattribute{#1})}}
>
> \fi
>
___________________________________________________________________________________
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:[~2010-10-28 12:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-26 10:20 Michael Murphy
2010-10-27 12:49 ` Cedric Mauclair
2010-10-27 17:18 ` Marius
2010-10-27 20:08 ` Michael Murphy
2010-10-28 7:54 ` Cedric Mauclair
2010-10-28 8:24 ` Cedric Mauclair
2010-10-28 11:47 ` Hans Hagen
2010-10-28 11:46 ` Hans Hagen
2010-10-28 12:14 ` Cedric Mauclair [this message]
2010-10-28 9:44 ` Marius
2010-11-11 11:07 ` Tikz figures not centred Michael Murphy
2010-11-11 11:14 ` Vedran Miletić
2010-11-11 16:18 ` Michael Murphy
2010-11-11 19:34 ` Aditya Mahajan
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='AANLkTin3vhqkM2+Zd0mCHH51JuTpCYPm7XkYM2g=M9u4@mail.gmail.com' \
--to=cedric.mauclair@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).