[NTG-context] Possibly bug in ConTexT with TikZ

Xan dxpublica at telefonica.net
Thu Oct 10 13:42:16 CEST 2013


> On 2013–10–10 Xan wrote:
> 
> > Minimal example:
> > 
> > % Regime
> > \enableregime[utf]
> 
> Not required if you use MkIV
> 
> > does not work.
> 
> It works here with 2013.10.09 10:36 using MkIV and MkII. At least I
> don't get an error and a PDF with a few green blots is created.
> What's the error message you get for that minimal example? Are you
> running MkII or MkIV?
> 

MKIV (read above)

[xan at rulot proves-context]$ context prova.tex 

mtx-context     | run 1: luatex --fmt="/usr/local/bin/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="prova" --lua="/usr/local/bin/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./prova.tex" --c:input="./prova.tex" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627) 
 \write18 enabled.
(/usr/local/bin/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.10.09 10:36 MKIV beta  fmt: 2013.10.10  int: english/english

system          > 'cont-new.mkiv' loaded
(/usr/local/bin/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
system          > files > jobname 'prova', input './prova', result 'prova'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
(/home/xan/fems/proves-context/prova.tex
resolvers       > modules > 'tikz' is loaded
(/usr/local/bin/context/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex
loading         > ConTeXt User Module / tikz
(/usr/local/bin/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgf.tex
loading         > ConTeXt User Module / pgf
(/usr/local/bin/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgfcor.tex
loading         > ConTeXt User Module / pgfcor
(/usr/local/bin/context/tex/texmf-modules/tex/context/pgf/systemlayer/t-pgfsys.tex
loading         > ConTeXt User Module / pgfsys
(/usr/local/bin/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
loading         > ConTeXt User Module / pgfrcs
(/usr/local/bin/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex
loading         > ConTeXt User Module / pgfmodules
) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex)) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys.code.tex (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex)) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgf.cfg) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-pdftex.def (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)) (prova.pgf)) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsysprotocol.code!
 .tex)) (/
usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcore.code.tex (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmath.code.tex (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathcalc.code.tex (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathutil.code.tex
fonts           > beware: no fonts are loaded yet, using 'lm mono' in box
) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathparser.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.code.tex (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.random.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.base.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.round.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics.code.tex))) (/usr/local/bin/!
 context/t
ex/texmf-modules/tex/generic/pgf/math/pgfmathfloat.code.tex)) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorequick.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf!
 /basiclay
er/pgfcorearrows.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex)) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex))) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmoduleshapes.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmoduleplot.code.tex)) (/usr/local/bin/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgffor.tex
loading         > ConTeXt User Module / pgffor
(/usr/local/bin/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
loading         > ConTeXt User Module / pgfrcs
) (/usr/local/bin/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfkey.tex
loading         > ConTeXt User Module / pgfkey
(/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex)) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/utilities/pgffor.code.tex (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/math/pgfmath.code.tex))) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/libraries/pgflibraryplothandlers.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmodulematrix.code.tex) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex))) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.code.tex (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmoduledecorations.code.tex)) (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.markin!
 gs.code.t
ex (/usr/local/bin/context/tex/texmf-modules/tex/generic/pgf/libraries/decorations/pgflibrarydecorations.markings.code.tex)){/usr/local/bin/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
fonts           > typescripts > unknown library 'loc'
{/usr/local/bin/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/local/bin/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > 'fallback modern rm 12pt' is loaded
! Undefined control sequence.

system          > tex > error on line 28 in file /home/xan/fems/proves-context/prova.tex: Undefined control sequence ...

18       \starttikzpicture
19         [decoration={
20            markings,
21            mark=
22            between positions 0 and 1 step 0.5
23            with {
24             \draw (0,-2pt) -- (0,2pt);
25            }
26          }
27     ]
28 >>      \coordinate (F) at (0,0);
29         \draw[very thick,color=green, loosely dashed,postaction={decorate}] (0,1) -- (F);
30       \stoptikzpicture
31     \stoptext
32     
33     \stoptext
34     


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

mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /usr/local/bin/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.009 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 76 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 337 modules (0.228 sec), 69 tables (0.006 sec), 406 chunks (0.234 sec)
mkiv lua stats  > cleaned up reserved nodes: 39 nodes, 10 lists of 454
mkiv lua stats  > node memory usage: 15 glue, 24 attribute, 19 glue_spec, 8 attribute_list, 2 temp, 1 open, 3 dir, 5 pdf_literal
mkiv lua stats  > node list callback tasks: 6 unique task lists, 1 instances (re)created, 1 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded tex modules: 1 requested, all found (*-tikz)
mkiv lua stats  > loaded patterns: ca::53 en::2, load time: 0.000
mkiv lua stats  > jobdata time: 0.000 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: 3644 direct, 35423 indirect, 39067 total
mkiv lua stats  > randomizer: resumed with value 0.083770013453332
mkiv lua stats  > result saved in file: prova.pdf, compresslevel 3, objectcompreslevel 3
mkiv lua stats  > loaded fonts: 3 files: latinmodern-math.otf, lmmono10-regular.otf, lmroman12-regular.otf
mkiv lua stats  > fonts load time: 0.262 seconds 
mkiv lua stats  > metapost font generation: 0 glyphs, 0.000 seconds runtime
mkiv lua stats  > metapost font loading: 0.000 seconds, 0 instances
mkiv lua stats  > luatex banner: this is luatex, version beta-0.76.0-2013040516  (tex live 2013/dev)(rev 4627)
mkiv lua stats  > control sequences: 47525 of 65536 + 100000
mkiv lua stats  > current memory usage: 26 MB (ctx: 25 MB)
mkiv lua stats  > runtime: 3.110 seconds

mtx-context     | fatal error: return code: 1[xan at rulot proves-context]$ \footnote{La generatriu del con és l'aresta del con. El con es pot  al girar la recta generatriu sobre una altra recta (l'eix del con)}
bash: hi ha un error inesperat de sintaxi prop del senyal ')'

> > Without \coordinate it works. What fails?
> 
> If you remove \coordinate it should fail actually, since the
> coordinate for (F) is unknown. Or did you mean you replaced (F) with
> a coordinate like (0,2)?
> 

I defined (F) previosly

> Marco

Thanks,


More information about the ntg-context mailing list