ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Possibly bug in ConTexT with TikZ
@ 2013-10-10  8:33 Xan
  2013-10-10  8:48 ` Hans Hagen
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Xan @ 2013-10-10  8:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I have this error:

))
structure       > sectioning > title @ level 2 : 0.0 -> Funció quadràtica
structure       > sectioning > section @ level 3 : 0.0.1 -> Seccions còniques
structure       > sectioning > section @ level 3 : 0.0.2 -> Construcció geomètrica d'una paràbola
structure       > sectioning > subsection @ level 4 : 0.0.2.1 -> Definició
! Undefined control sequence.

system          > tex > error on line 57 in file /home/xan/SYNC/cepasud-raw-mercurial/classe/ESPA4/planificació/Tema1-Funció-quadràtica/97-Quadràtica-a-la-realitat.conTeXt: Undefined control sequence ...

47     {\framed[frame=off]{
48     \starttikzpicture[domain=(-1):1, scale=4, smooth,decoration={
49       markings,% switch on markings
50       mark=% actually add a mark
51       between positions 0 and 1 step 0.5
52       with
53       {
54        \draw[color=gray] (0,-2pt) -- (0,2pt);
55       }
56     }]
57 >>  \coordinate (F) at (0,0.25);
58     \draw[very thick] (-2.2,-0.25) -- (2.2,-0.25) node[right] {$r$};
59     \draw[color=blue, very thick] plot (\x,{(\x)^2});
60     
61     \foreach \x in {1,0.5,0.75}
62     {
63        \draw[very thick,color=green, loosely dashed,postaction={decorate}] (\x, -0.25) -- (\x , {(\x)^2});
64        \draw[very thick,color=green, loosely dashed,postaction={decorate}] (\x , {(\x)^2}) -- (F);
65     }
66     \filldraw[color=red] (F) circle (0.5pt);
67     \draw (F) node[anchor=north] {$F$};


\tikz@nlt ^^@-\pgfapproximatenonlineartranslation 
                                                
\tikz@fig@continue ...e@transformations \tikz@nlt 
                                                  \setbox \tikz@whichbox =\h...
<to be read again> 
;
l.57 \coordinate (F) at (0,0.25);
                               
? 


with this code:


% Paràbola amb Focus = (0,0.25) i Directriu (x,-0.25)
\placefigure[here]
[taula:construcció-paràbola-1]
{Paràbola amb directriu $r$ i focus $F$}
{\framed[frame=off]{
\starttikzpicture[domain=(-1):1, scale=4, smooth,decoration={
  markings,% switch on markings
  mark=% actually add a mark
  between positions 0 and 1 step 0.5
  with
  {
   \draw[color=gray] (0,-2pt) -- (0,2pt);
  }
}]
\coordinate (F) at (0,0.25);
\draw[very thick] (-2.2,-0.25) -- (2.2,-0.25) node[right] {$r$};
\draw[color=blue, very thick] plot (\x,{(\x)^2});

\foreach \x in {1,0.5,0.75}
{
   \draw[very thick,color=green, loosely dashed,postaction={decorate}] (\x, -0.25) -- (\x , {(\x)^2});
   \draw[very thick,color=green, loosely dashed,postaction={decorate}] (\x , {(\x)^2}) -- (F);
}
\filldraw[color=red] (F) circle (0.5pt);
\draw (F) node[anchor=north] {$F$};
\stoptikzpicture}}



this happens when I updated to the latest version:
$ sh ./first-setup.sh --context=beta --modules=all --engine=luatex

What happens there?

Thanks,
Xan
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-10-13 12:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-10  8:33 Possibly bug in ConTexT with TikZ Xan
2013-10-10  8:48 ` Hans Hagen
2013-10-10  8:57 ` Marco Patzer
2013-10-10 11:09 ` Xan
2013-10-10 11:34   ` Marco Patzer
2013-10-10 11:42   ` Xan
2013-10-10 12:46     ` Marco Patzer
2013-10-11  7:51   ` Xan
2013-10-11  7:55     ` Xan
2013-10-13 12:01       ` Keith J. Schultz
2013-10-11  8:07   ` Keith J. Schultz

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).