* TikZ module not found (TeX Live problem?)
@ 2017-06-19 0:34 Gerion Entrup
2017-06-20 9:45 ` Henri Menke
0 siblings, 1 reply; 6+ messages in thread
From: Gerion Entrup @ 2017-06-19 0:34 UTC (permalink / raw)
To: ntg-context
Good day,
I'm very new to ConTeXt, so maybe this is a fairly simple question.
I want to use TikZ in the document. The specific part of the document is:
---- snip ----
\usemodule[tikz]
\usetikzlibrary[positioning]
---- /snip -----
The problem seems to be that ConTeXt does not find the TikZ module. I use mkiv. The relevant output:
---- snip -----
% context test-document.tex
mtx-context | run 1: luatex --fmt="/home/gerion/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="test-document" --lua="/home/gerion/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./test-document.tex" --c:input="./test-document.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version 1.0.4 (TeX Live 2017)
system commands enabled.
open source > 1 > 1 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2017.6.11 int: english/english
system > 'cont-new.mkiv' loaded
open source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
close source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
system > files > jobname 'test-document', input './test-document', result 'test-document'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > 2 > 3 > /home/gerion/sourcecode/grisu/test-document/test-document.tex
colors > 'rgb' color space is supported
colors > 'cmyk' color space is supported
resolvers > modules > 'tikz' is not found
tex error > tex error on line 6 in file /home/gerion/sourcecode/test-document/test-document.tex: ! Undefined control sequence
<recently read> \usetikzlibrary
l.6 \usetikzlibrary
[positioning]
1 \mainlanguage[de]
2
3 \setupcolors[state=start]
4
5 \usemodule[tikz]
6 >> \usetikzlibrary[positioning]
7
----- /snip -----
Using TikZ within LaTeX is no problem in this distribution. Is this a problem of TeX Live (or the distribution packaging)?
I've looked in the installed files of texlive-context and other modules are installed, even modules that require TikZ (eg. gantt).
Thanks in advance,
Gerion
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TikZ module not found (TeX Live problem?)
2017-06-19 0:34 TikZ module not found (TeX Live problem?) Gerion Entrup
@ 2017-06-20 9:45 ` Henri Menke
2017-06-20 11:25 ` Gerion Entrup
0 siblings, 1 reply; 6+ messages in thread
From: Henri Menke @ 2017-06-20 9:45 UTC (permalink / raw)
To: ntg-context
On Mon, 2017-06-19 at 02:34 +0200, Gerion Entrup wrote:
> Good day,
>
> I'm very new to ConTeXt, so maybe this is a fairly simple question.
>
> I want to use TikZ in the document. The specific part of the document is:
> ---- snip ----
> \usemodule[tikz]
> \usetikzlibrary[positioning]
> ---- /snip -----
>
> The problem seems to be that ConTeXt does not find the TikZ module. I use mkiv. The relevant
> output:
> ---- snip -----
> % context test-document.tex
>
> mtx-context | run 1: luatex --fmt="/home/gerion/.texlive/texmf-var/luatex-
> cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="test-document"
> --lua="/home/gerion/.texlive/texmf-var/luatex-
> cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line
> --c:currentrun=1 --c:fulljobname="./test-document.tex" --c:input="./test-document.tex" --
> c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
> This is LuaTeX, Version 1.0.4 (TeX Live 2017)
> system commands enabled.
> open source > 1 > 1 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
>
> ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2017.6.11 int: english/english
>
> system > 'cont-new.mkiv' loaded
> open source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> close source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> system > files > jobname 'test-document', input './test-document', result 'test-document'
> fonts > latin modern fonts are not preloaded
> languages > language 'en' is active
> open source > 2 > 3 > /home/gerion/sourcecode/grisu/test-document/test-document.tex
> colors > 'rgb' color space is supported
> colors > 'cmyk' color space is supported
> resolvers > modules > 'tikz' is not found
>
> tex error > tex error on line 6 in file /home/gerion/sourcecode/test-document/test-
> document.tex: ! Undefined control sequence
>
> <recently read> \usetikzlibrary
>
> l.6 \usetikzlibrary
> [positioning]
>
> 1 \mainlanguage[de]
> 2
> 3 \setupcolors[state=start]
> 4
> 5 \usemodule[tikz]
> 6 >> \usetikzlibrary[positioning]
> 7
> ----- /snip -----
>
> Using TikZ within LaTeX is no problem in this distribution. Is this a problem of TeX Live (or the
> distribution packaging)?
> I've looked in the installed files of texlive-context and other modules are installed, even
> modules that require TikZ (eg. gantt).
With TL 2017 the following example works as without problems. Post a minimal example to reproduce
your problem, otherwise we can't help you. Also, your problem suggests a faulty TL installation.
\usemodule[tikz]
\usetikzlibrary[positioning]
\starttext
\tikz\node{Hello World!};
\stoptext
> Thanks in advance,
> Gerion
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TikZ module not found (TeX Live problem?)
2017-06-20 9:45 ` Henri Menke
@ 2017-06-20 11:25 ` Gerion Entrup
2017-06-20 14:15 ` Gerion Entrup
0 siblings, 1 reply; 6+ messages in thread
From: Gerion Entrup @ 2017-06-20 11:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am Dienstag, 20. Juni 2017, 11:45:19 CEST schrieb Henri Menke:
> On Mon, 2017-06-19 at 02:34 +0200, Gerion Entrup wrote:
> > Good day,
> >
> > I'm very new to ConTeXt, so maybe this is a fairly simple question.
> >
> > I want to use TikZ in the document. The specific part of the document is:
> > ---- snip ----
> > \usemodule[tikz]
> > \usetikzlibrary[positioning]
> > ---- /snip -----
> >
> > The problem seems to be that ConTeXt does not find the TikZ module. I use mkiv. The relevant
> > output:
> > ---- snip -----
> > % context test-document.tex
> >
> > mtx-context | run 1: luatex --fmt="/home/gerion/.texlive/texmf-var/luatex-
> > cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="test-document"
> > --lua="/home/gerion/.texlive/texmf-var/luatex-
> > cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line
> > --c:currentrun=1 --c:fulljobname="./test-document.tex" --c:input="./test-document.tex" --
> > c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
> > This is LuaTeX, Version 1.0.4 (TeX Live 2017)
> > system commands enabled.
> > open source > 1 > 1 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
> >
> > ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2017.6.11 int: english/english
> >
> > system > 'cont-new.mkiv' loaded
> > open source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> > close source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> > system > files > jobname 'test-document', input './test-document', result 'test-document'
> > fonts > latin modern fonts are not preloaded
> > languages > language 'en' is active
> > open source > 2 > 3 > /home/gerion/sourcecode/grisu/test-document/test-document.tex
> > colors > 'rgb' color space is supported
> > colors > 'cmyk' color space is supported
> > resolvers > modules > 'tikz' is not found
> >
> > tex error > tex error on line 6 in file /home/gerion/sourcecode/test-document/test-
> > document.tex: ! Undefined control sequence
> >
> > <recently read> \usetikzlibrary
> >
> > l.6 \usetikzlibrary
> > [positioning]
> >
> > 1 \mainlanguage[de]
> > 2
> > 3 \setupcolors[state=start]
> > 4
> > 5 \usemodule[tikz]
> > 6 >> \usetikzlibrary[positioning]
> > 7
> > ----- /snip -----
> >
> > Using TikZ within LaTeX is no problem in this distribution. Is this a problem of TeX Live (or the
> > distribution packaging)?
> > I've looked in the installed files of texlive-context and other modules are installed, even
> > modules that require TikZ (eg. gantt).
>
> With TL 2017 the following example works as without problems. Post a minimal example to reproduce
> your problem, otherwise we can't help you. Also, your problem suggests a faulty TL installation.
>
> \usemodule[tikz]
> \usetikzlibrary[positioning]
>
> \starttext
>
> \tikz\node{Hello World!};
>
> \stoptext
Thanks so far. This exact example leads to the same error:
------- snip ------
% context test.tex
mtx-context | run 1: luatex --fmt="/home/gerion/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="test" --lua="/home/gerion/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./test.tex" --c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version 1.0.4 (TeX Live 2017)
system commands enabled.
open source > 1 > 1 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2017.6.11 int: english/english
system > 'cont-new.mkiv' loaded
open source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
close source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
system > files > jobname 'test', input './test', result 'test'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > 2 > 3 > /home/gerion/sourcecode/context-test/test.tex
resolvers > modules > 'tikz' is not found
tex error > tex error on line 2 in file /home/gerion/sourcecode/context-test/test.tex: ! Undefined control sequence
<recently read> \usetikzlibrary
l.2 \usetikzlibrary
[positioning]
1 \usemodule[tikz]
2 >> \usetikzlibrary[positioning]
3
4 \starttext
5
6 \tikz\node{Hello World!};
7
8 \stoptext
9
------------ /snip --------
I ran "mtxrun --generate" before using context. Is there anything else I
can do (run another command etc.)? Otherwise I'll file a bug in my
distribution (I use Gentoo).
Do you know a way to quickfix it?
Gerion
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TikZ module not found (TeX Live problem?)
2017-06-20 11:25 ` Gerion Entrup
@ 2017-06-20 14:15 ` Gerion Entrup
2017-06-20 19:32 ` Hans Hagen
2017-06-21 12:46 ` Gerion Entrup
0 siblings, 2 replies; 6+ messages in thread
From: Gerion Entrup @ 2017-06-20 14:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am Dienstag, 20. Juni 2017, 13:25:42 CEST schrieb Gerion Entrup:
> Am Dienstag, 20. Juni 2017, 11:45:19 CEST schrieb Henri Menke:
> > On Mon, 2017-06-19 at 02:34 +0200, Gerion Entrup wrote:
> > > Good day,
> > >
> > > I'm very new to ConTeXt, so maybe this is a fairly simple question.
> > >
> > > I want to use TikZ in the document. The specific part of the document is:
> > > ---- snip ----
> > > \usemodule[tikz]
> > > \usetikzlibrary[positioning]
> > > ---- /snip -----
> > >
> > > The problem seems to be that ConTeXt does not find the TikZ module. I use mkiv. The relevant
> > > output:
> > > ---- snip -----
> > > % context test-document.tex
> > >
> > > mtx-context | run 1: luatex --fmt="/home/gerion/.texlive/texmf-var/luatex-
> > > cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="test-document"
> > > --lua="/home/gerion/.texlive/texmf-var/luatex-
> > > cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line
> > > --c:currentrun=1 --c:fulljobname="./test-document.tex" --c:input="./test-document.tex" --
> > > c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
> > > This is LuaTeX, Version 1.0.4 (TeX Live 2017)
> > > system commands enabled.
> > > open source > 1 > 1 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
> > >
> > > ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2017.6.11 int: english/english
> > >
> > > system > 'cont-new.mkiv' loaded
> > > open source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> > > close source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> > > system > files > jobname 'test-document', input './test-document', result 'test-document'
> > > fonts > latin modern fonts are not preloaded
> > > languages > language 'en' is active
> > > open source > 2 > 3 > /home/gerion/sourcecode/grisu/test-document/test-document.tex
> > > colors > 'rgb' color space is supported
> > > colors > 'cmyk' color space is supported
> > > resolvers > modules > 'tikz' is not found
> > >
> > > tex error > tex error on line 6 in file /home/gerion/sourcecode/test-document/test-
> > > document.tex: ! Undefined control sequence
> > >
> > > <recently read> \usetikzlibrary
> > >
> > > l.6 \usetikzlibrary
> > > [positioning]
> > >
> > > 1 \mainlanguage[de]
> > > 2
> > > 3 \setupcolors[state=start]
> > > 4
> > > 5 \usemodule[tikz]
> > > 6 >> \usetikzlibrary[positioning]
> > > 7
> > > ----- /snip -----
> > >
> > > Using TikZ within LaTeX is no problem in this distribution. Is this a problem of TeX Live (or the
> > > distribution packaging)?
> > > I've looked in the installed files of texlive-context and other modules are installed, even
> > > modules that require TikZ (eg. gantt).
> >
> > With TL 2017 the following example works as without problems. Post a minimal example to reproduce
> > your problem, otherwise we can't help you. Also, your problem suggests a faulty TL installation.
> >
> > \usemodule[tikz]
> > \usetikzlibrary[positioning]
> >
> > \starttext
> >
> > \tikz\node{Hello World!};
> >
> > \stoptext
> Thanks so far. This exact example leads to the same error:
> ------- snip ------
> % context test.tex
>
> mtx-context | run 1: luatex --fmt="/home/gerion/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="test" --lua="/home/gerion/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./test.tex" --c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
> This is LuaTeX, Version 1.0.4 (TeX Live 2017)
> system commands enabled.
> open source > 1 > 1 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
>
> ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2017.6.11 int: english/english
>
> system > 'cont-new.mkiv' loaded
> open source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> close source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> system > files > jobname 'test', input './test', result 'test'
> fonts > latin modern fonts are not preloaded
> languages > language 'en' is active
> open source > 2 > 3 > /home/gerion/sourcecode/context-test/test.tex
> resolvers > modules > 'tikz' is not found
>
> tex error > tex error on line 2 in file /home/gerion/sourcecode/context-test/test.tex: ! Undefined control sequence
>
> <recently read> \usetikzlibrary
>
> l.2 \usetikzlibrary
> [positioning]
>
> 1 \usemodule[tikz]
> 2 >> \usetikzlibrary[positioning]
> 3
> 4 \starttext
> 5
> 6 \tikz\node{Hello World!};
> 7
> 8 \stoptext
> 9
> ------------ /snip --------
>
> I ran "mtxrun --generate" before using context. Is there anything else I
> can do (run another command etc.)? Otherwise I'll file a bug in my
> distribution (I use Gentoo).
> Do you know a way to quickfix it?
Update: The entire pgf folder in the third party module folder is missing
in my distribution package. Copying the folder from a fresh Texlive
installation does not work. I've filed a bug in my distribution. The
problem seems to be there.
Gerion
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TikZ module not found (TeX Live problem?)
2017-06-20 14:15 ` Gerion Entrup
@ 2017-06-20 19:32 ` Hans Hagen
2017-06-21 12:46 ` Gerion Entrup
1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2017-06-20 19:32 UTC (permalink / raw)
To: ntg-context
On 6/20/2017 4:15 PM, Gerion Entrup wrote:
> Am Dienstag, 20. Juni 2017, 13:25:42 CEST schrieb Gerion Entrup:
>> Am Dienstag, 20. Juni 2017, 11:45:19 CEST schrieb Henri Menke:
>>> On Mon, 2017-06-19 at 02:34 +0200, Gerion Entrup wrote:
>>>> Good day,
>>>>
>>>> I'm very new to ConTeXt, so maybe this is a fairly simple question.
>>>>
>>>> I want to use TikZ in the document. The specific part of the document is:
>>>> ---- snip ----
>>>> \usemodule[tikz]
>>>> \usetikzlibrary[positioning]
>>>> ---- /snip -----
>>>>
>>>> The problem seems to be that ConTeXt does not find the TikZ module. I use mkiv. The relevant
>>>> output:
>>>> ---- snip -----
>>>> % context test-document.tex
>>>>
>>>> mtx-context | run 1: luatex --fmt="/home/gerion/.texlive/texmf-var/luatex-
>>>> cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="test-document"
>>>> --lua="/home/gerion/.texlive/texmf-var/luatex-
>>>> cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line
>>>> --c:currentrun=1 --c:fulljobname="./test-document.tex" --c:input="./test-document.tex" --
>>>> c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
>>>> This is LuaTeX, Version 1.0.4 (TeX Live 2017)
>>>> system commands enabled.
>>>> open source > 1 > 1 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
>>>>
>>>> ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2017.6.11 int: english/english
>>>>
>>>> system > 'cont-new.mkiv' loaded
>>>> open source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
>>>> close source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
>>>> system > files > jobname 'test-document', input './test-document', result 'test-document'
>>>> fonts > latin modern fonts are not preloaded
>>>> languages > language 'en' is active
>>>> open source > 2 > 3 > /home/gerion/sourcecode/grisu/test-document/test-document.tex
>>>> colors > 'rgb' color space is supported
>>>> colors > 'cmyk' color space is supported
>>>> resolvers > modules > 'tikz' is not found
>>>>
>>>> tex error > tex error on line 6 in file /home/gerion/sourcecode/test-document/test-
>>>> document.tex: ! Undefined control sequence
>>>>
>>>> <recently read> \usetikzlibrary
>>>>
>>>> l.6 \usetikzlibrary
>>>> [positioning]
>>>>
>>>> 1 \mainlanguage[de]
>>>> 2
>>>> 3 \setupcolors[state=start]
>>>> 4
>>>> 5 \usemodule[tikz]
>>>> 6 >> \usetikzlibrary[positioning]
>>>> 7
>>>> ----- /snip -----
>>>>
>>>> Using TikZ within LaTeX is no problem in this distribution. Is this a problem of TeX Live (or the
>>>> distribution packaging)?
>>>> I've looked in the installed files of texlive-context and other modules are installed, even
>>>> modules that require TikZ (eg. gantt).
>>>
>>> With TL 2017 the following example works as without problems. Post a minimal example to reproduce
>>> your problem, otherwise we can't help you. Also, your problem suggests a faulty TL installation.
>>>
>>> \usemodule[tikz]
>>> \usetikzlibrary[positioning]
>>>
>>> \starttext
>>>
>>> \tikz\node{Hello World!};
>>>
>>> \stoptext
>> Thanks so far. This exact example leads to the same error:
>> ------- snip ------
>> % context test.tex
>>
>> mtx-context | run 1: luatex --fmt="/home/gerion/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="test" --lua="/home/gerion/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./test.tex" --c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
>> This is LuaTeX, Version 1.0.4 (TeX Live 2017)
>> system commands enabled.
>> open source > 1 > 1 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
>>
>> ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2017.6.11 int: english/english
>>
>> system > 'cont-new.mkiv' loaded
>> open source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
>> close source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
>> system > files > jobname 'test', input './test', result 'test'
>> fonts > latin modern fonts are not preloaded
>> languages > language 'en' is active
>> open source > 2 > 3 > /home/gerion/sourcecode/context-test/test.tex
>> resolvers > modules > 'tikz' is not found
>>
>> tex error > tex error on line 2 in file /home/gerion/sourcecode/context-test/test.tex: ! Undefined control sequence
>>
>> <recently read> \usetikzlibrary
>>
>> l.2 \usetikzlibrary
>> [positioning]
>>
>> 1 \usemodule[tikz]
>> 2 >> \usetikzlibrary[positioning]
>> 3
>> 4 \starttext
>> 5
>> 6 \tikz\node{Hello World!};
>> 7
>> 8 \stoptext
>> 9
>> ------------ /snip --------
>>
>> I ran "mtxrun --generate" before using context. Is there anything else I
>> can do (run another command etc.)? Otherwise I'll file a bug in my
>> distribution (I use Gentoo).
>> Do you know a way to quickfix it?
>
> Update: The entire pgf folder in the third party module folder is missing
> in my distribution package. Copying the folder from a fresh Texlive
> installation does not work. I've filed a bug in my distribution. The
> problem seems to be there.
you probably need to install context from the garden with
--modules=all
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TikZ module not found (TeX Live problem?)
2017-06-20 14:15 ` Gerion Entrup
2017-06-20 19:32 ` Hans Hagen
@ 2017-06-21 12:46 ` Gerion Entrup
1 sibling, 0 replies; 6+ messages in thread
From: Gerion Entrup @ 2017-06-21 12:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am Dienstag, 20. Juni 2017, 16:15:59 CEST schrieb Gerion Entrup:
> Am Dienstag, 20. Juni 2017, 13:25:42 CEST schrieb Gerion Entrup:
> > Am Dienstag, 20. Juni 2017, 11:45:19 CEST schrieb Henri Menke:
> > > On Mon, 2017-06-19 at 02:34 +0200, Gerion Entrup wrote:
> > > > Good day,
> > > >
> > > > I'm very new to ConTeXt, so maybe this is a fairly simple question.
> > > >
> > > > I want to use TikZ in the document. The specific part of the document is:
> > > > ---- snip ----
> > > > \usemodule[tikz]
> > > > \usetikzlibrary[positioning]
> > > > ---- /snip -----
> > > >
> > > > The problem seems to be that ConTeXt does not find the TikZ module. I use mkiv. The relevant
> > > > output:
> > > > ---- snip -----
> > > > % context test-document.tex
> > > >
> > > > mtx-context | run 1: luatex --fmt="/home/gerion/.texlive/texmf-var/luatex-
> > > > cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="test-document"
> > > > --lua="/home/gerion/.texlive/texmf-var/luatex-
> > > > cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line
> > > > --c:currentrun=1 --c:fulljobname="./test-document.tex" --c:input="./test-document.tex" --
> > > > c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
> > > > This is LuaTeX, Version 1.0.4 (TeX Live 2017)
> > > > system commands enabled.
> > > > open source > 1 > 1 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
> > > >
> > > > ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2017.6.11 int: english/english
> > > >
> > > > system > 'cont-new.mkiv' loaded
> > > > open source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> > > > close source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> > > > system > files > jobname 'test-document', input './test-document', result 'test-document'
> > > > fonts > latin modern fonts are not preloaded
> > > > languages > language 'en' is active
> > > > open source > 2 > 3 > /home/gerion/sourcecode/grisu/test-document/test-document.tex
> > > > colors > 'rgb' color space is supported
> > > > colors > 'cmyk' color space is supported
> > > > resolvers > modules > 'tikz' is not found
> > > >
> > > > tex error > tex error on line 6 in file /home/gerion/sourcecode/test-document/test-
> > > > document.tex: ! Undefined control sequence
> > > >
> > > > <recently read> \usetikzlibrary
> > > >
> > > > l.6 \usetikzlibrary
> > > > [positioning]
> > > >
> > > > 1 \mainlanguage[de]
> > > > 2
> > > > 3 \setupcolors[state=start]
> > > > 4
> > > > 5 \usemodule[tikz]
> > > > 6 >> \usetikzlibrary[positioning]
> > > > 7
> > > > ----- /snip -----
> > > >
> > > > Using TikZ within LaTeX is no problem in this distribution. Is this a problem of TeX Live (or the
> > > > distribution packaging)?
> > > > I've looked in the installed files of texlive-context and other modules are installed, even
> > > > modules that require TikZ (eg. gantt).
> > >
> > > With TL 2017 the following example works as without problems. Post a minimal example to reproduce
> > > your problem, otherwise we can't help you. Also, your problem suggests a faulty TL installation.
> > >
> > > \usemodule[tikz]
> > > \usetikzlibrary[positioning]
> > >
> > > \starttext
> > >
> > > \tikz\node{Hello World!};
> > >
> > > \stoptext
> > Thanks so far. This exact example leads to the same error:
> > ------- snip ------
> > % context test.tex
> >
> > mtx-context | run 1: luatex --fmt="/home/gerion/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="test" --lua="/home/gerion/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./test.tex" --c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
> > This is LuaTeX, Version 1.0.4 (TeX Live 2017)
> > system commands enabled.
> > open source > 1 > 1 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
> >
> > ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2017.6.11 int: english/english
> >
> > system > 'cont-new.mkiv' loaded
> > open source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> > close source > 2 > 2 > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> > system > files > jobname 'test', input './test', result 'test'
> > fonts > latin modern fonts are not preloaded
> > languages > language 'en' is active
> > open source > 2 > 3 > /home/gerion/sourcecode/context-test/test.tex
> > resolvers > modules > 'tikz' is not found
> >
> > tex error > tex error on line 2 in file /home/gerion/sourcecode/context-test/test.tex: ! Undefined control sequence
> >
> > <recently read> \usetikzlibrary
> >
> > l.2 \usetikzlibrary
> > [positioning]
> >
> > 1 \usemodule[tikz]
> > 2 >> \usetikzlibrary[positioning]
> > 3
> > 4 \starttext
> > 5
> > 6 \tikz\node{Hello World!};
> > 7
> > 8 \stoptext
> > 9
> > ------------ /snip --------
> >
> > I ran "mtxrun --generate" before using context. Is there anything else I
> > can do (run another command etc.)? Otherwise I'll file a bug in my
> > distribution (I use Gentoo).
> > Do you know a way to quickfix it?
>
> Update: The entire pgf folder in the third party module folder is missing
> in my distribution package. Copying the folder from a fresh Texlive
> installation does not work. I've filed a bug in my distribution. The
> problem seems to be there.
The bug was fixed. It works now.
Thank you anyway.
Gerion
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-06-21 12:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-19 0:34 TikZ module not found (TeX Live problem?) Gerion Entrup
2017-06-20 9:45 ` Henri Menke
2017-06-20 11:25 ` Gerion Entrup
2017-06-20 14:15 ` Gerion Entrup
2017-06-20 19:32 ` Hans Hagen
2017-06-21 12:46 ` Gerion Entrup
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).