From: "luigi scarso" <luigi.scarso@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: mkiv, luatex and tikz
Date: Sat, 25 Oct 2008 09:18:37 +0200 [thread overview]
Message-ID: <fe8d59da0810250018h423e7325k8a4740e3f54142ca@mail.gmail.com> (raw)
In-Reply-To: <fe8d59da0810241533v7896a589ra0df6009498af02c@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1741 bytes --]
On Sat, Oct 25, 2008 at 12:33 AM, luigi scarso <luigi.scarso@gmail.com>wrote:
>
>
> On Fri, Oct 24, 2008 at 11:17 PM, Alan BRASLAU <alan.braslau@cea.fr>wrote:
>
>> Tikz seems to be broken under luatex.
>> As is, compiling something as simple as
>> \usemodule[tikz]
>> \starttext
>> Hello, world!
>> \stoptext
>> gives errors.
>>
>
>
>
%%
%%colors fixed by Akira Kakuto
%%
\usemodule[tikz]
\setupcolors[state=start]
\starttext
Hello, world!
\blank
\begingroup
\tikz \draw[thick,rounded corners=8pt]
(0,0) -- (0,2) -- (1,3.25) -- (2,2) -- (2,0) -- (0,2) -- (2,2) -- (0,0) --
(2,0);
\endgroup
\starttikzpicture
\draw[fill=yellow] (0,0) -- (60:.75cm) arc (60:180:.75cm);
\draw(120:0.4cm) node {$\alpha$};
\draw[fill=green!30] (0,0) -- (right:.75cm) arc (0:60:.75cm);
\draw(30:0.5cm) node {$\beta$};
\startscope[shift={(60:2cm)}]
\draw[fill=green!30] (0,0) -- (180:.75cm) arc (180:240:.75cm);
\draw (30:-0.5cm) node {$\gamma$};
\draw[fill=yellow] (0,0) -- (240:.75cm) arc (240:360:.75cm);
\draw (-60:0.4cm) node {$\delta$};
\stopscope
\startscope[thick]
\draw (60:-1cm) node[fill=white] {$E$} -- (60:3cm) node[fill=white]
{$F$};
\draw[red] (-2,0) node[left] {$A$} -- (3,0)
node[right]{$B$};
\draw[blue,shift={(60:2cm)}] (-3,0) node[left] {$C$} -- (2,0)
node[right]{$D$};
\draw[shift={(60:1cm)},xshift=4cm]
node [right,text width=6cm,rounded corners,fill=red!20,inner sep=1ex]
{
When we assume that \color[red]{$AB$} and \color[blue]{$CD$} are
parallel, i.\,e., {\color[red]{$AB$}} {$|$} \color[blue]{$CD$},
then $\alpha = \delta$ and $\beta = \gamma$.
};
\stopscope
\stoptikzpicture
\stoptext
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 2958 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-10-25 7:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-23 15:40 Textbackground with leftframe holzminister
2008-10-24 21:17 ` mkiv, luatex and tikz Alan BRASLAU
2008-10-24 22:33 ` luigi scarso
2008-10-25 7:18 ` luigi scarso [this message]
2008-10-26 13:48 ` Mojca Miklavec
2008-10-26 22:45 ` Mojca Miklavec
[not found] ` <200810261045.19152.alan.braslau@cea.fr>
[not found] ` <6faad9f00810260346o5eb5893w378c2b72639b15b@mail.gmail.com>
2008-10-26 15:24 ` tikz and metapost Alan BRASLAU
2008-10-26 16:15 ` Jean Magnan de Bornier
2008-10-28 9:01 ` Mojca Miklavec
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=fe8d59da0810250018h423e7325k8a4740e3f54142ca@mail.gmail.com \
--to=luigi.scarso@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).