ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] TiKz with LMTX
       [not found] <1949632129.10002246.1685869873625.ref@mail.yahoo.com>
@ 2023-06-04  9:11 ` Jigé via ntg-context
  2023-06-04 14:44   ` Hans Hagen via ntg-context
  2023-06-05 17:40   ` Aditya Mahajan via ntg-context
  0 siblings, 2 replies; 24+ messages in thread
From: Jigé via ntg-context @ 2023-06-04  9:11 UTC (permalink / raw)
  To: Mailing List for ConTeXt Users; +Cc: Jigé

Hi all.

I'm trying to use TiKz inside ConTeXt. It has not been working for some time...

I checked the messages from last month on the mailing list (late april, early may). Il didn't quit actually understand what was going on but I read that some files had to be updated. Maybe as a workaround, while waiting for a new LMTX format? Users reported it to work after some file updates.

So, because I was using a TeXlive package on Gnu/Archlinux, which might be updated only after a few months or a year, I followed the wiki and did a personal fresh install like this :

$ mkdir ~/.local/share/context
$ cd ~/.local/share/context
$ wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip
$ unzip context-linux-64.zip
$ sh install.sh
$ rm context-linux-64.zip
$ cd ~/.local/share/context/tex
$ mtxrun --script install-modules --list
$ mtxrun --script install-modules --install tikz
(And for good measure, I later did `mtxrun --script install-modules --install all`)

$ cd my-working-directory
$ vi some-sample-context-file.tex
$ export PATH=/home/myname/.local/share/context/tex/texmf-linux-64/bin:$PATH
$ context some-sample-context-file.tex

Did I miss anything? It works just fine.


But with a TiKz picture included, a very simple one like this:
\usemodule[tikz]
\starttext
We are working on
\starttikzpicture
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\stoptikzpicture.
\stoptext

It doesn't compile. The output begins with:

resolvers       | formats | executing runner 'run luametatex format': 
[...]

and ends with:

[...]
open source     > level 4, order 11, name 'pgf.cfg'
close source    > level 4, order 11, name 'pgf.cfg'
Driver file for pgf: pgfsys-luatex.def

tex error       > tex error on line 1757 in file pgfsys.code.tex: Package pgf Error: Driver file ``pgfsys-luatex.def'' not found.

<macro> \pgfutil@packageerror
    #1#2#3->\errhelp {#3}\errmessage {Package #1 Error: #2}
<macro> \pgfutil@IfFileExists
    #1#2#3->\openin \pgfutil@inputcheck =#1 \ifeof \pgfutil@inputcheck #3
    \relax \else #2\relax \fi \closein \pgfutil@inputcheck
<line 6.1757>
      \pgferror{Driver file ``\pgfsysdriver'' not found.}}

<empty file>
This error message was generated by an \errmessage command, so I can't give any
explicit help. Pretend that you're Hercule Poirot: Examine all clues, and deduce
the truth by order and method.
mtx-context     | fatal error: return code: 1


The PATH is set correctly, this is not the output from using the regular TeXlive package which uses luatex, terminates because it doesn't understand \pgfsetxvec{\pgfpoint{1cm}{0cm}} and makes no reference to Hercule Poirot.

I ingenuously tried to explicitly set some formats in the file ~/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgf.cfg but with no success.

Is it related to this issue: https://github.com/pgf-tikz/pgf/issues/990 ?

Thanks in advance!...

Best regards
Jean-Guillaume
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-04  9:11 ` [NTG-context] TiKz with LMTX Jigé via ntg-context
@ 2023-06-04 14:44   ` Hans Hagen via ntg-context
  2023-06-04 15:10     ` Floris van Manen via ntg-context
  2023-06-05 17:40   ` Aditya Mahajan via ntg-context
  1 sibling, 1 reply; 24+ messages in thread
From: Hans Hagen via ntg-context @ 2023-06-04 14:44 UTC (permalink / raw)
  To: Jigé via ntg-context; +Cc: Hans Hagen

On 6/4/2023 11:11 AM, Jigé via ntg-context wrote:
> Hi all.
> 
> I'm trying to use TiKz inside ConTeXt. It has not been working for some time...
> 
> I checked the messages from last month on the mailing list (late april, early may). Il didn't quit actually understand what was going on but I read that some files had to be updated. Maybe as a workaround, while waiting for a new LMTX format? Users reported it to work after some file updates.
> 
> So, because I was using a TeXlive package on Gnu/Archlinux, which might be updated only after a few months or a year, I followed the wiki and did a personal fresh install like this :
> 
> $ mkdir ~/.local/share/context
> $ cd ~/.local/share/context
> $ wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip
> $ unzip context-linux-64.zip
> $ sh install.sh
> $ rm context-linux-64.zip
> $ cd ~/.local/share/context/tex
> $ mtxrun --script install-modules --list
> $ mtxrun --script install-modules --install tikz
> (And for good measure, I later did `mtxrun --script install-modules --install all`)
> 
> $ cd my-working-directory
> $ vi some-sample-context-file.tex
> $ export PATH=/home/myname/.local/share/context/tex/texmf-linux-64/bin:$PATH
> $ context some-sample-context-file.tex
> 
> Did I miss anything? It works just fine.
> 
> 
> But with a TiKz picture included, a very simple one like this:
> \usemodule[tikz]
> \starttext
> We are working on
> \starttikzpicture
> \draw (-1.5,0) -- (1.5,0);
> \draw (0,-1.5) -- (0,1.5);
> \stoptikzpicture.
> \stoptext
> 
> It doesn't compile. The output begins with:
> 
> resolvers       | formats | executing runner 'run luametatex format':
> [...]
> 
> and ends with:
> 
> [...]
> open source     > level 4, order 11, name 'pgf.cfg'
> close source    > level 4, order 11, name 'pgf.cfg'
> Driver file for pgf: pgfsys-luatex.def
> 
> tex error       > tex error on line 1757 in file pgfsys.code.tex: Package pgf Error: Driver file ``pgfsys-luatex.def'' not found.

what if you run "mtxrun --generate" beforehand?

is that file somewhere in the tree?

it works here

> <macro> \pgfutil@packageerror
>      #1#2#3->\errhelp {#3}\errmessage {Package #1 Error: #2}
> <macro> \pgfutil@IfFileExists
>      #1#2#3->\openin \pgfutil@inputcheck =#1 \ifeof \pgfutil@inputcheck #3
>      \relax \else #2\relax \fi \closein \pgfutil@inputcheck
> <line 6.1757>
>        \pgferror{Driver file ``\pgfsysdriver'' not found.}}
> 
> <empty file>
> This error message was generated by an \errmessage command, so I can't give any
> explicit help. Pretend that you're Hercule Poirot: Examine all clues, and deduce
> the truth by order and method.
> mtx-context     | fatal error: return code: 1
> 
> 
> The PATH is set correctly, this is not the output from using the regular TeXlive package which uses luatex, terminates because it doesn't understand \pgfsetxvec{\pgfpoint{1cm}{0cm}} and makes no reference to Hercule Poirot.
> 
> I ingenuously tried to explicitly set some formats in the file ~/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgf.cfg but with no success.
> 
> Is it related to this issue: https://github.com/pgf-tikz/pgf/issues/990 ?
> 
> Thanks in advance!...
> 
> Best regards
> Jean-Guillaume
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________

-- 

-----------------------------------------------------------------
                                           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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-04 14:44   ` Hans Hagen via ntg-context
@ 2023-06-04 15:10     ` Floris van Manen via ntg-context
  2023-06-04 16:18       ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 24+ messages in thread
From: Floris van Manen via ntg-context @ 2023-06-04 15:10 UTC (permalink / raw)
  To: ntg-context; +Cc: Floris van Manen



On 04/06/2023 16:44, Hans Hagen via ntg-context wrote:
> what if you run "mtxrun --generate" beforehand?
> 
> is that file somewhere in the tree?
> 
> it works here

i tried it here as well, does not work.




$ context tk-tst.tex

resolvers       | formats | executing runner 'run luametatex format': 
/home/vm/context/tex/texmf-linux-64/bin/luametatex 
--jobname="./tk-tst.tex" --socket --shell-escape 
--fmt=/home/vm/luametatex-cache/context/formats/luametatex/cont-en.fmt 
--lua=/home/vm/luametatex-cache/context/formats/luametatex/cont-en.lui 
--c:currentrun=1 --c:fulljobname="./tk-tst.tex" --c:input="./tk-tst.tex" 
--c:kindofrun=1 --c:maxnofruns=9 
--c:texmfbinpath="/home/vm/context/tex/texmf-linux-64/bin"
system          >
system          > ConTeXt  ver: 2023.06.01 09:42 LMTX  fmt: 2023.6.4 
int: english/english
system          >
system          > 'cont-new.mkxl' loaded
open source     > level 1, order 1, name 
'/home/vm/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 1, order 1, name 
'/home/vm/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system          > files > jobname './tk-tst', input './tk-tst.tex', 
result './tk-tst'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 2, name './tk-tst.tex'
modules         > 'tikz' is loaded
open source     > level 2, order 3, name 
'/home/vm/context/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl'
open source     > level 3, order 4, name 'pgfutil-common.tex'
close source    > level 3, order 4, name 'pgfutil-common.tex'
open source     > level 3, order 5, name 'pgfutil-context.def'
close source    > level 3, order 5, name 'pgfutil-context.def'
open source     > level 3, order 6, name 'pgfrcs.code.tex'
open source     > level 4, order 7, name 'pgf.revision.tex'
close source    > level 4, order 7, name 'pgf.revision.tex'
close source    > level 3, order 7, name 'pgfrcs.code.tex'
open source     > level 3, order 8, name 'pgfsys.code.tex'
open source     > level 4, order 9, name 'pgfkeys.code.tex'
open source     > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex'
close source    > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex'
close source    > level 4, order 10, name 'pgfkeys.code.tex'
cld             > stack >
cld             > stack > use : slot = context.functions.register(f)
cld             > stack > and : context.functions.unregister(slot)
cld             > stack >
open source     > level 4, order 11, name 'pgf.cfg'
close source    > level 4, order 11, name 'pgf.cfg'
Driver file for pgf: pgfsys-luatex.def

! Package pgf Error: Driver file ``pgfsys-luatex.def'' not found..
<macro> \pgfutil@packageerror
     #1#2#3->\errhelp {#3}\errmessage {Package #1 Error: #2}
<macro> \pgfutil@IfFileExists
     #1#2#3->\openin \pgfutil@inputcheck =#1 \ifeof \pgfutil@inputcheck #3
     \relax \else #2\relax \fi \closein \pgfutil@inputcheck
<line 6.1757>
       \pgferror{Driver file ``\pgfsysdriver'' not found.}}

open source     > level 4, order 12, name 'tk-tst.pgf'
close source    > level 4, order 12, name 'tk-tst.pgf'
close source    > level 3, order 12, name 'pgfsys.code.tex'
open source     > level 3, order 13, name 'pgfkeys.code.tex'
close source    > level 3, order 13, name 'pgfkeys.code.tex'
open source     > level 3, order 14, name 'pgfsyssoftpath.code.tex'
close source    > level 3, order 14, name 'pgfsyssoftpath.code.tex'
open source     > level 3, order 15, name 'pgfsysprotocol.code.tex'
close source    > level 3, order 15, name 'pgfsysprotocol.code.tex'
open source     > level 3, order 16, name 'pgfcore.code.tex'
open source     > level 4, order 17, name 'pgfmath.code.tex'
open source     > level 5, order 18, name 'pgfmathutil.code.tex'
close source    > level 5, order 18, name 'pgfmathutil.code.tex'
open source     > level 5, order 19, name 'pgfmathparser.code.tex'
close source    > level 5, order 19, name 'pgfmathparser.code.tex'
open source     > level 5, order 20, name 'pgfmathfunctions.code.tex'
close source    > level 5, order 20, name 'pgfmathfunctions.code.tex'
open source     > level 5, order 21, name 'pgfmathfunctions.basic.code.tex'
close source    > level 5, order 21, name 'pgfmathfunctions.basic.code.tex'
open source     > level 5, order 22, name 
'pgfmathfunctions.trigonometric.code.tex'
close source    > level 5, order 22, name 
'pgfmathfunctions.trigonometric.code.tex'
open source     > level 5, order 23, name 'pgfmathfunctions.random.code.tex'
close source    > level 5, order 23, name 'pgfmathfunctions.random.code.tex'
open source     > level 5, order 24, name 
'pgfmathfunctions.comparison.code.tex'
close source    > level 5, order 24, name 
'pgfmathfunctions.comparison.code.tex'
open source     > level 5, order 25, name 'pgfmathfunctions.base.code.tex'
close source    > level 5, order 25, name 'pgfmathfunctions.base.code.tex'
open source     > level 5, order 26, name 'pgfmathfunctions.round.code.tex'
close source    > level 5, order 26, name 'pgfmathfunctions.round.code.tex'
open source     > level 5, order 27, name 'pgfmathfunctions.misc.code.tex'
close source    > level 5, order 27, name 'pgfmathfunctions.misc.code.tex'
open source     > level 5, order 28, name 
'pgfmathfunctions.integerarithmetics.code.tex'
close source    > level 5, order 28, name 
'pgfmathfunctions.integerarithmetics.code.tex'
open source     > level 5, order 29, name 'pgfmathcalc.code.tex'
close source    > level 5, order 29, name 'pgfmathcalc.code.tex'
open source     > level 5, order 30, name 'pgfmathfloat.code.tex'
close source    > level 5, order 30, name 'pgfmathfloat.code.tex'
close source    > level 4, order 30, name 'pgfmath.code.tex'
open source     > level 4, order 31, name 'pgfint.code.tex'
close source    > level 4, order 31, name 'pgfint.code.tex'
open source     > level 4, order 32, name 'pgfcorepoints.code.tex'
close source    > level 4, order 32, name 'pgfcorepoints.code.tex'
open source     > level 4, order 33, name 'pgfcorepathconstruct.code.tex'
close source    > level 4, order 33, name 'pgfcorepathconstruct.code.tex'
open source     > level 4, order 34, name 'pgfcorepathusage.code.tex'
close source    > level 4, order 34, name 'pgfcorepathusage.code.tex'
open source     > level 4, order 35, name 'pgfcorescopes.code.tex'
close source    > level 4, order 35, name 'pgfcorescopes.code.tex'
open source     > level 4, order 36, name 'pgfcoregraphicstate.code.tex'
close source    > level 4, order 36, name 'pgfcoregraphicstate.code.tex'
open source     > level 4, order 37, name 'pgfcoretransformations.code.tex'
close source    > level 4, order 37, name 'pgfcoretransformations.code.tex'
open source     > level 4, order 38, name 'pgfcorequick.code.tex'
close source    > level 4, order 38, name 'pgfcorequick.code.tex'
open source     > level 4, order 39, name 'pgfcoreobjects.code.tex'
close source    > level 4, order 39, name 'pgfcoreobjects.code.tex'
open source     > level 4, order 40, name 'pgfcorepathprocessing.code.tex'
close source    > level 4, order 40, name 'pgfcorepathprocessing.code.tex'
open source     > level 4, order 41, name 'pgfcorearrows.code.tex'
close source    > level 4, order 41, name 'pgfcorearrows.code.tex'
open source     > level 4, order 42, name 'pgfcoreshade.code.tex'
close source    > level 4, order 42, name 'pgfcoreshade.code.tex'
open source     > level 4, order 43, name 'pgfcoreimage.code.tex'
close source    > level 4, order 43, name 'pgfcoreimage.code.tex'
open source     > level 4, order 44, name 'pgfcoreexternal.code.tex'
close source    > level 4, order 44, name 'pgfcoreexternal.code.tex'
open source     > level 4, order 45, name 'pgfcorelayers.code.tex'
close source    > level 4, order 45, name 'pgfcorelayers.code.tex'
open source     > level 4, order 46, name 'pgfcoretransparency.code.tex'
close source    > level 4, order 46, name 'pgfcoretransparency.code.tex'
open source     > level 4, order 47, name 'pgfcorepatterns.code.tex'
close source    > level 4, order 47, name 'pgfcorepatterns.code.tex'
open source     > level 4, order 48, name 'pgfcorerdf.code.tex'
close source    > level 4, order 48, name 'pgfcorerdf.code.tex'
close source    > level 3, order 48, name 'pgfcore.code.tex'
open source     > level 3, order 49, name 'pgffor.code.tex'
close source    > level 3, order 49, name 'pgffor.code.tex'
open source     > level 3, order 50, name 'pgfmoduleplot.code.tex'
close source    > level 3, order 50, name 'pgfmoduleplot.code.tex'
open source     > level 3, order 51, name 'tikz.code.tex'
open source     > level 4, order 52, name 'pgflibraryplothandlers.code.tex'
close source    > level 4, order 52, name 'pgflibraryplothandlers.code.tex'
open source     > level 4, order 53, name 'pgfmodulematrix.code.tex'
open source     > level 5, order 54, name 'pgfmoduleshapes.code.tex'
close source    > level 5, order 54, name 'pgfmoduleshapes.code.tex'
close source    > level 4, order 54, name 'pgfmodulematrix.code.tex'
open source     > level 4, order 55, name 'tikzlibrarytopaths.code.tex'
close source    > level 4, order 55, name 'tikzlibrarytopaths.code.tex'
close source    > level 3, order 55, name 'tikz.code.tex'
open source     > level 3, order 56, name 'pgfmoduleplot.code.tex'
close source    > level 3, order 56, name 'pgfmoduleplot.code.tex'
open source     > level 3, order 57, name 'pgfmoduledecorations.code.tex'
close source    > level 3, order 57, name 'pgfmoduledecorations.code.tex'
close source    > level 2, order 57, name 
'/home/vm/context/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern rm 12pt' is loaded
Package pgf: Warning! Your graphic driver pgfsys-luatex.def does not 
support scoping. This warning is given only once.

Package pgf: Warning! Your graphic driver pgfsys-luatex.def does not 
support color. This warning is given only once.

Package pgf: Warning! Your graphic driver pgfsys-luatex.def does not 
support setting the line width. This warning is given only once.

Package pgf: Warning! Your graphic driver pgfsys-luatex.def does not 
support path constructions. This warning is given only once.

Package pgf: Warning! Your graphic driver pgfsys-luatex.def does not 
support path usage. This warning is given only once.

backend         > xmp > using file 
'/home/vm/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 1, order 57, name './tk-tst.tex'
mkiv lua stats  > used config file:
mkiv lua stats  > used cache path: /home/vm/luametatex-cache/context
mkiv lua stats  > resource resolver: loadtime 0.024 seconds, 1 scans 
with scantime 0.023 seconds, 0 shared scans, 65 found files, scanned 
paths: /home/vm/context
mkiv lua stats  > stored bytecode data: 511 modules (0.163 sec), 105 
tables (0.008 sec), 616 chunks (0.172 sec)
mkiv lua stats  > traced context: maxstack: 1705, freed: 0, unreachable: 
1705
mkiv lua stats  > cleaned up reserved nodes: 73 nodes, 7 lists of 447
mkiv lua stats  > node memory usage: 9 attribute, 1 glue, 121 gluespec, 
3 kern, 645 mathspec, 2 penalty, 2 temp
mkiv lua stats  > node list callback tasks: 16 unique task lists, 10 
instances (re)created, 58 calls
mkiv lua stats  > used backend: pdf
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: file: 38002, saved: 7910, direct: 6, 
function: 1096, value: 7, message: 0, bytecode: 616, late 0, total: 
47637 (0 per page)
mkiv lua stats  > randomizer: initialized with value 0.44522839325031
mkiv lua stats  > loaded tex modules: 1 requested, all found (*-tikz)
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf, 
lmroman10-regular.otf
mkiv lua stats  > font engine: otf 3.133, afm 1.513, tfm 1.000, 7 
instances, 3 shared in backend, 3 common vectors, 0 common hashes, load 
time 0.155 seconds
mkiv lua stats  > math tweaking time: 0.049 seconds, 12 math goodie tables
mkiv lua stats  > font embedding time: 0.001 seconds, 1 fonts
mkiv lua stats  > result saved in file: tk-tst.pdf, compresslevel 1, 
objectcompresslevel 3
mkiv lua stats  > positions: 4 collected, 0 deltas, 0 shared partials, 0 
partial entries
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: 
texmf-linux-64
mkiv lua stats  > used engine: luametatex version: 2.1009, functionality 
level: 20230531, format id: 692, compiler: gcc
mkiv lua stats  > tex properties: 806397 hash slots used of 2097152, 
60098 control sequences, approximate memory usage: 41 MB
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 64 MB, 
ctx: 61 MB, max: 61 MB, symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.462 seconds, 1 processed pages, 1 shipped 
pages, 2.165 pages/second
mtx-context     | fatal error: return code: 1

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-04 15:10     ` Floris van Manen via ntg-context
@ 2023-06-04 16:18       ` Hans Hagen via ntg-context
  2023-06-04 21:58         ` Floris van Manen via ntg-context
  0 siblings, 1 reply; 24+ messages in thread
From: Hans Hagen via ntg-context @ 2023-06-04 16:18 UTC (permalink / raw)
  To: Floris van Manen via ntg-context; +Cc: Hans Hagen

On 6/4/2023 5:10 PM, Floris van Manen via ntg-context wrote:
> 
> 
> On 04/06/2023 16:44, Hans Hagen via ntg-context wrote:
>> what if you run "mtxrun --generate" beforehand?
>>
>> is that file somewhere in the tree?
>>
>> it works here
> 
> i tried it here as well, does not work.
can you try with

  -- "source/generic/**",

in

   mtx-install-imp-tikz.lua

(comment line 25)

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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-04 16:18       ` Hans Hagen via ntg-context
@ 2023-06-04 21:58         ` Floris van Manen via ntg-context
  2023-06-05  5:43           ` Mikael Sundqvist via ntg-context
  0 siblings, 1 reply; 24+ messages in thread
From: Floris van Manen via ntg-context @ 2023-06-04 21:58 UTC (permalink / raw)
  To: ntg-context; +Cc: Floris van Manen



On 04/06/2023 18:18, Hans Hagen via ntg-context wrote:
> can you try with
> 
>   -- "source/generic/**",
> 
> in
> 
>    mtx-install-imp-tikz.lua
> 
> (comment line 25)


does not make a difference here.

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-04 21:58         ` Floris van Manen via ntg-context
@ 2023-06-05  5:43           ` Mikael Sundqvist via ntg-context
  2023-06-05  8:35             ` vm via ntg-context
  0 siblings, 1 reply; 24+ messages in thread
From: Mikael Sundqvist via ntg-context @ 2023-06-05  5:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mikael Sundqvist

Hi Floris,

On Sun, Jun 4, 2023 at 11:59 PM Floris van Manen via ntg-context
<ntg-context@ntg.nl> wrote:
>
>
>
> On 04/06/2023 18:18, Hans Hagen via ntg-context wrote:
> > can you try with
> >
> >   -- "source/generic/**",
> >
> > in
> >
> >    mtx-install-imp-tikz.lua
> >
> > (comment line 25)
>
>
> does not make a difference here.

For whatever it is worth, I just tried to install tikz with

mtxrun --script install-modules --install tikz

and then your example in your first mail did compile here (and gave a
cross, and that looks right from the source).

/Mikael
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-05  5:43           ` Mikael Sundqvist via ntg-context
@ 2023-06-05  8:35             ` vm via ntg-context
  0 siblings, 0 replies; 24+ messages in thread
From: vm via ntg-context @ 2023-06-05  8:35 UTC (permalink / raw)
  To: ntg-context; +Cc: vm



On 05/06/2023 07:43, Mikael Sundqvist via ntg-context wrote:

> For whatever it is worth, I just tried to install tikz with
> 
> mtxrun --script install-modules --install tikz
> 
> and then your example in your first mail did compile here (and gave a
> cross, and that looks right from the source).

did exctly the same steps, but still get the fatal error code 1



Driver file for pgf: pgfsys-luatex.def

! Package pgf Error: Driver file ``pgfsys-luatex.def'' not found..
<macro> \pgfutil@packageerror
     #1#2#3->\errhelp {#3}\errmessage {Package #1 Error: #2}
<macro> \pgfutil@IfFileExists
     #1#2#3->\openin \pgfutil@inputcheck =#1 \ifeof \pgfutil@inputcheck #3
     \relax \else #2\relax \fi \closein \pgfutil@inputcheck
<line 6.1757>
       \pgferror{Driver file ``\pgfsysdriver'' not found.}}


.F
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-04  9:11 ` [NTG-context] TiKz with LMTX Jigé via ntg-context
  2023-06-04 14:44   ` Hans Hagen via ntg-context
@ 2023-06-05 17:40   ` Aditya Mahajan via ntg-context
  2023-06-06  2:32     ` Aditya Mahajan via ntg-context
  1 sibling, 1 reply; 24+ messages in thread
From: Aditya Mahajan via ntg-context @ 2023-06-05 17:40 UTC (permalink / raw)
  To: Jigé via ntg-context; +Cc: Aditya Mahajan

[-- Attachment #1: Type: text/plain, Size: 842 bytes --]

On Sun, 4 Jun 2023, Jigé via ntg-context wrote:


> $ mkdir ~/.local/share/context
> $ cd ~/.local/share/context
> $ wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip
> $ unzip context-linux-64.zip
> $ sh install.sh
> $ rm context-linux-64.zip
> $ cd ~/.local/share/context/tex
> $ mtxrun --script install-modules --list
> $ mtxrun --script install-modules --install tikz
> (And for good measure, I later did `mtxrun --script install-modules --install all`)
> 
> $ cd my-working-directory
> $ vi some-sample-context-file.tex
> $ export PATH=/home/myname/.local/share/context/tex/texmf-linux-64/bin:$PATH
> $ context some-sample-context-file.tex
> 
> Did I miss anything? It works just fine.

On a new machine and pgfsys-luatex.def is missing for me as well. I'll try to check what is going on. 

Aditya

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-05 17:40   ` Aditya Mahajan via ntg-context
@ 2023-06-06  2:32     ` Aditya Mahajan via ntg-context
  0 siblings, 0 replies; 24+ messages in thread
From: Aditya Mahajan via ntg-context @ 2023-06-06  2:32 UTC (permalink / raw)
  To: Aditya Mahajan via ntg-context; +Cc: Aditya Mahajan

[-- Attachment #1: Type: text/plain, Size: 1587 bytes --]

On Mon, 5 Jun 2023, Aditya Mahajan via ntg-context wrote:

> On Sun, 4 Jun 2023, Jigé via ntg-context wrote:
> 
> 
> > $ mkdir ~/.local/share/context
> > $ cd ~/.local/share/context
> > $ wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip
> > $ unzip context-linux-64.zip
> > $ sh install.sh
> > $ rm context-linux-64.zip
> > $ cd ~/.local/share/context/tex
> > $ mtxrun --script install-modules --list
> > $ mtxrun --script install-modules --install tikz
> > (And for good measure, I later did `mtxrun --script install-modules --install all`)
> > 
> > $ cd my-working-directory
> > $ vi some-sample-context-file.tex
> > $ export PATH=/home/myname/.local/share/context/tex/texmf-linux-64/bin:$PATH
> > $ context some-sample-context-file.tex
> > 
> > Did I miss anything? It works just fine.
> 
> On a new machine and pgfsys-luatex.def is missing for me as well. I'll try to check what is going on. 

This was a bit crazy to track down. Here is the fix: 

In line 180 of mtx-install-modules.lua, comment the line

        or find(n,"luatex")

Otherwise, the file 

    tex/generic/pgf/systemlayer/pgfsys-luatex.def

is not extracted from the tikz.zip! 

I don't know why OP and I (both on archlinux) were the only ones who had pgfsys-luatex.def missing. Everyone should have been affected by this. 

Aditya


PS: Also on line 103, it may be a good idea to change the curl call to 

    curl --ssl --location

mirros.ctan.org will also do a HTTP 302 redirect and without the --location flag, curl will not follow the redirect. 

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-12 16:49     ` Carlos via ntg-context
@ 2023-06-12 16:59       ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 24+ messages in thread
From: Hans Hagen via ntg-context @ 2023-06-12 16:59 UTC (permalink / raw)
  To: Carlos via ntg-context; +Cc: Hans Hagen

On 6/12/2023 6:49 PM, Carlos via ntg-context wrote:
> On Thu, Jun 08, 2023 at 11:57:36PM -0400, Aditya Mahajan via ntg-context wrote:
>> On Thu, 8 Jun 2023, Jigé via ntg-context wrote:
>>
>>>   Thanks a lot Aditya.
>>>
>>> The very simple TikZ example with the cross works.
>>> The more complex example with the trigonometric circle from the pgf manual,
>>> quoted in https://wiki.contextgarden.net/TikZ , does not compile
>>> unless you also comment out
>>>   or find(n,"pdftex")
>>> in line 181 of the mtx-install-modules.lua file
>>> before doing mtxrun --script install-modules --install tikz
>>> but I could guess that from a:
>>>   Driver file ``pgfsys-pdftex.def'' not found..
>>> message
>>
>> Ah so tikz uses both drivers.
>>
>> @Hans, so the validate function should be:
>>
>> local function validate(n)
>>      return not (
>>             find(n,"latex")
> 
> what's the point of latex there?
> 
>>       -- or find(n,"lualatex")
> 
> or for that matter this one lualatex too
> 
>>          or find(n,"plain")
>>          or find(n,"optex")
>>       -- or find(n,"luatex")
>>       -- or find(n,"pdftex")
>>      )
>> end

just getting rid of files we don't need

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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-09  3:57   ` Aditya Mahajan via ntg-context
  2023-06-09  6:13     ` Hans Hagen via ntg-context
@ 2023-06-12 16:49     ` Carlos via ntg-context
  2023-06-12 16:59       ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 24+ messages in thread
From: Carlos via ntg-context @ 2023-06-12 16:49 UTC (permalink / raw)
  To: ntg-context; +Cc: Carlos

On Thu, Jun 08, 2023 at 11:57:36PM -0400, Aditya Mahajan via ntg-context wrote:
> On Thu, 8 Jun 2023, Jigé via ntg-context wrote:
> 
> >  Thanks a lot Aditya.
> > 
> > The very simple TikZ example with the cross works.
> > The more complex example with the trigonometric circle from the pgf manual,
> > quoted in https://wiki.contextgarden.net/TikZ , does not compile
> > unless you also comment out
> >  or find(n,"pdftex")
> > in line 181 of the mtx-install-modules.lua file
> > before doing mtxrun --script install-modules --install tikz
> > but I could guess that from a:
> >  Driver file ``pgfsys-pdftex.def'' not found..
> > message
> 
> Ah so tikz uses both drivers. 
> 
> @Hans, so the validate function should be:
> 
> local function validate(n)
>     return not (
>            find(n,"latex")

what's the point of latex there? 

>      -- or find(n,"lualatex")

or for that matter this one lualatex too 

>         or find(n,"plain")
>         or find(n,"optex")
>      -- or find(n,"luatex")
>      -- or find(n,"pdftex")
>     )
> end
> 
> 
> Aditya

Through rsync only and by default without mtx-install-modules script,
obviously, it'll simply fall back loading by pgfsys-pdftex

so you'd be better off by just having 

local function validate(n)
    return not (
           find(n,"latex")
     	or find(n,"lualatex")
        or find(n,"plain")
        or find(n,"optex")
    --  or find(n,"luatex")
    	or find(n,"pdftex")
    )
end

instead.  

Also, forget about the curl --ssl or whatever you mentioned earlier.


> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________


-- 
	Brian Kernighan has an automobile which he helped design.
Unlike most automobiles, it has neither speedometer, nor gas gauge, nor
any of the numerous idiot lights which plague the modern driver.
Rather, if the driver makes any mistake, a giant "?" lights up in the
center of the dashboard.  "The experienced driver", he says, "will
usually know what's wrong."

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-09  6:13     ` Hans Hagen via ntg-context
@ 2023-06-09 16:43       ` Aditya Mahajan via ntg-context
  0 siblings, 0 replies; 24+ messages in thread
From: Aditya Mahajan via ntg-context @ 2023-06-09 16:43 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Aditya Mahajan

[-- Attachment #1: Type: text/plain, Size: 1733 bytes --]

On Fri, 9 Jun 2023, Hans Hagen via ntg-context wrote:

> On 6/9/2023 5:57 AM, Aditya Mahajan via ntg-context wrote:
> > On Thu, 8 Jun 2023, Jigé via ntg-context wrote:
> > 
> >>   Thanks a lot Aditya.
> >>
> >> The very simple TikZ example with the cross works.
> >> The more complex example with the trigonometric circle from the pgf
> >> manual,
> >> quoted in https://wiki.contextgarden.net/TikZ , does not compile
> >> unless you also comment out
> >>   or find(n,"pdftex")
> >> in line 181 of the mtx-install-modules.lua file
> >> before doing mtxrun --script install-modules --install tikz
> >> but I could guess that from a:
> >>   Driver file ``pgfsys-pdftex.def'' not found..
> >> message
> > 
> > Ah so tikz uses both drivers.
> > 
> > @Hans, so the validate function should be:
> > 
> > local function validate(n)
> >      return not (
> >             find(n,"latex")
> >       -- or find(n,"lualatex")
> >          or find(n,"plain")
> >          or find(n,"optex")
> >       -- or find(n,"luatex")
> >       -- or find(n,"pdftex")
> >      )
> > end
> so an alternative is to ignore deleting those two files
> 
> what is in lualatex that we need? can hardly be something generic

pgf/tikz doesn't have anything with lualatex in the name. The only files that match luatex/pdftex are these def files. 

> (it being pretty big makes me wonder if we should have texmf-tikz for it as i
> don't want to polute the modules tree too much - it gets hard to check other
> modules for instance when i want to see if some change has impact)

If it makes things easier to manage, we can definitely do that. We already have 7 trees, one more isn't going to make any difference :-)

Aditya

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-09  3:57   ` Aditya Mahajan via ntg-context
@ 2023-06-09  6:13     ` Hans Hagen via ntg-context
  2023-06-09 16:43       ` Aditya Mahajan via ntg-context
  2023-06-12 16:49     ` Carlos via ntg-context
  1 sibling, 1 reply; 24+ messages in thread
From: Hans Hagen via ntg-context @ 2023-06-09  6:13 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 6/9/2023 5:57 AM, Aditya Mahajan via ntg-context wrote:
> On Thu, 8 Jun 2023, Jigé via ntg-context wrote:
> 
>>   Thanks a lot Aditya.
>>
>> The very simple TikZ example with the cross works.
>> The more complex example with the trigonometric circle from the pgf manual,
>> quoted in https://wiki.contextgarden.net/TikZ , does not compile
>> unless you also comment out
>>   or find(n,"pdftex")
>> in line 181 of the mtx-install-modules.lua file
>> before doing mtxrun --script install-modules --install tikz
>> but I could guess that from a:
>>   Driver file ``pgfsys-pdftex.def'' not found..
>> message
> 
> Ah so tikz uses both drivers.
> 
> @Hans, so the validate function should be:
> 
> local function validate(n)
>      return not (
>             find(n,"latex")
>       -- or find(n,"lualatex")
>          or find(n,"plain")
>          or find(n,"optex")
>       -- or find(n,"luatex")
>       -- or find(n,"pdftex")
>      )
> end
so an alternative is to ignore deleting those two files

what is in lualatex that we need? can hardly be something generic

(it being pretty big makes me wonder if we should have texmf-tikz for it 
as i don't want to polute the modules tree too much - it gets hard to 
check other modules for instance when i want to see if some change has 
impact)

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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-08 18:37 ` Jigé via ntg-context
@ 2023-06-09  3:57   ` Aditya Mahajan via ntg-context
  2023-06-09  6:13     ` Hans Hagen via ntg-context
  2023-06-12 16:49     ` Carlos via ntg-context
  0 siblings, 2 replies; 24+ messages in thread
From: Aditya Mahajan via ntg-context @ 2023-06-09  3:57 UTC (permalink / raw)
  To: Jigé via ntg-context; +Cc: Aditya Mahajan

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

On Thu, 8 Jun 2023, Jigé via ntg-context wrote:

>  Thanks a lot Aditya.
> 
> The very simple TikZ example with the cross works.
> The more complex example with the trigonometric circle from the pgf manual,
> quoted in https://wiki.contextgarden.net/TikZ , does not compile
> unless you also comment out
>  or find(n,"pdftex")
> in line 181 of the mtx-install-modules.lua file
> before doing mtxrun --script install-modules --install tikz
> but I could guess that from a:
>  Driver file ``pgfsys-pdftex.def'' not found..
> message

Ah so tikz uses both drivers. 

@Hans, so the validate function should be:

local function validate(n)
    return not (
           find(n,"latex")
     -- or find(n,"lualatex")
        or find(n,"plain")
        or find(n,"optex")
     -- or find(n,"luatex")
     -- or find(n,"pdftex")
    )
end


Aditya

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
       [not found] <mailman.49.1686219733.1391.ntg-context@ntg.nl>
@ 2023-06-08 18:37 ` Jigé via ntg-context
  2023-06-09  3:57   ` Aditya Mahajan via ntg-context
  0 siblings, 1 reply; 24+ messages in thread
From: Jigé via ntg-context @ 2023-06-08 18:37 UTC (permalink / raw)
  To: ntg-context; +Cc: Jigé


[-- Attachment #1.1: Type: text/plain, Size: 2477 bytes --]

 Thanks a lot Aditya.

The very simple TikZ example with the cross works.
The more complex example with the trigonometric circle from the pgf manual,
quoted in https://wiki.contextgarden.net/TikZ , does not compile
unless you also comment out
 or find(n,"pdftex")
in line 181 of the mtx-install-modules.lua file
before doing mtxrun --script install-modules --install tikz
but I could guess that from a:
 Driver file ``pgfsys-pdftex.def'' not found..
message

Thanks again
Jean-Guillaume


Le jeudi 8 juin 2023 à 12:28:34 UTC+2, <ntg-context-request@ntg.nl> a écrit :

Date: Mon, 5 Jun 2023 22:32:37 -0400 (EDT)
From: Aditya Mahajan <adityam@umich.edu>
To: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
Subject: Re: [NTG-context] TiKz with LMTX
Message-ID: <p3630276-r829-9118-17n5-12242rq53878@hzvpu.rqh>
Content-Type: text/plain; charset="iso-8859-15"

On Mon, 5 Jun 2023, Aditya Mahajan via ntg-context wrote:

> On Sun, 4 Jun 2023, Jig? via ntg-context wrote:
>
>
> > $ mkdir ~/.local/share/context
> > $ cd ~/.local/share/context
> > $ wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip
> > $ unzip context-linux-64.zip
> > $ sh install.sh
> > $ rm context-linux-64.zip
> > $ cd ~/.local/share/context/tex
> > $ mtxrun --script install-modules --list
> > $ mtxrun --script install-modules --install tikz
> > (And for good measure, I later did `mtxrun --script install-modules --install all`)
> >
> > $ cd my-working-directory
> > $ vi some-sample-context-file.tex
> > $ export PATH=/home/myname/.local/share/context/tex/texmf-linux-64/bin:$PATH
> > $ context some-sample-context-file.tex
> >
> > Did I miss anything? It works just fine.
>
> On a new machine and pgfsys-luatex.def is missing for me as well. I'll try to check what is going on.

This was a bit crazy to track down. Here is the fix:

In line 180 of mtx-install-modules.lua, comment the line

        or find(n,"luatex")

Otherwise, the file

    tex/generic/pgf/systemlayer/pgfsys-luatex.def

is not extracted from the tikz.zip!

I don't know why OP and I (both on archlinux) were the only ones who had pgfsys-luatex.def missing. Everyone should have been affected by this.

Aditya


PS: Also on line 103, it may be a good idea to change the curl call to

    curl --ssl --location

mirros.ctan.org will also do a HTTP 302 redirect and without the --location flag, curl will not follow the redirect.

  

[-- Attachment #1.2: Type: text/html, Size: 2866 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-05 19:43         ` Carlos via ntg-context
@ 2023-06-05 20:16           ` Carlos via ntg-context
  0 siblings, 0 replies; 24+ messages in thread
From: Carlos via ntg-context @ 2023-06-05 20:16 UTC (permalink / raw)
  To: ntg-context; +Cc: Carlos

On Mon, Jun 05, 2023 at 03:43:59PM -0400, Carlos via ntg-context wrote:
> On Mon, Jun 05, 2023 at 03:06:10PM +0200, Floris van Manen via ntg-context wrote:
> > 
> > 
> > On 05/06/2023 14:49, Carlos via ntg-context wrote:
> > > %# Synchronize all modules from ConTeXt Garden in the 'modules' directory, which is created if it doesn’t exist.
> > > to wherever the modules are
> > 
> > 
> > isn't the command
> > 
> > mtxrun --script install-modules --install tikz
> > 
> > or
> > 
> > mtxrun --script install-modules --install --all
> > 
> > doing exactly that?
> > 
> 
> Okay Floris. I see Aditya nearby. He'll take over from now on :) stand
> by please. I know you didn't ask the original question but this is over
> the pgfsys-pdftex and the pgfsys-luatex. It's a race between them !!
> sort of
> 
> The solutions are a few if any really, either as I suggested first and update
> afterwards or install tikz 
> 
> if the driver is the problem, what does common sense tells you Floris?
> the database needs to be updated, correct? The driver needs to be
> loaded somehow, right? 
> 
> 
> system          > ConTeXt  ver: 2023.06.04 18:58 LMTX  fmt: 2023.6.5  int: english/english
> 
> So install tikz. then run the file 
> 
> mtx-install-modules | from 'https://mirrors.ctan.org/install/graphics/pgf/base/pgf.tds.zip'
> mtx-install-modules | into 'texmf-modules'
>   64 files of  642 done,    2108636 bytes, 0.015 seconds
>  128 files of  642 done,   13693106 bytes, 0.089 seconds
>  194 files of  642 done,   15194110 bytes, 0.100 seconds
>  317 files of  642 done,   16096396 bytes, 0.108 seconds
>  382 files of  642 done,   17178524 bytes, 0.116 seconds
>  446 files of  642 done,   17768214 bytes, 0.123 seconds
>  510 files of  642 done,   18327708 bytes, 0.130 seconds
>  574 files of  642 done,   18656649 bytes, 0.136 seconds
>  638 files of  642 done,   18860083 bytes, 0.142 seconds
>  642 files of  642 done,   18864376 bytes, 0.142 seconds
> mtx-install-modules | from 'https://mirrors.ctan.org/install/graphics/pgf/contrib/pgfplots.tds.zip'
> mtx-install-modules | into 'texmf-modules'
>   29 files of  168 done,      69116 bytes, 0.002 seconds
>   48 files of  168 done,    1596420 bytes, 0.010 seconds
>   67 files of  168 done,    1889062 bytes, 0.012 seconds
>   83 files of  168 done,    2761170 bytes, 0.017 seconds
>  100 files of  168 done,    3156638 bytes, 0.021 seconds
>  116 files of  168 done,    3508192 bytes, 0.024 seconds
>  132 files of  168 done,    4035279 bytes, 0.027 seconds
>  148 files of  168 done,    4163894 bytes, 0.029 seconds
>  168 files of  168 done,    4195360 bytes, 0.029 seconds
> mtx-install-modules | from 'https://mirrors.ctan.org/install/graphics/pgf/contrib/circuitikz.tds.zip'
> mtx-install-modules | into 'texmf-modules'
>    7 files of   70 done,      14967 bytes, 0.000 seconds
>   21 files of   70 done,      61604 bytes, 0.001 seconds
>   28 files of   70 done,    4839027 bytes, 0.033 seconds
>   35 files of   70 done,    5906994 bytes, 0.040 seconds
>   42 files of   70 done,    6399050 bytes, 0.043 seconds
>   70 files of   70 done,    6879048 bytes, 0.045 seconds
> mtx-install-modules | wiping 17 files in 'tex/context/third/pgf/**'
> mtx-install-modules | wiping 0 files in 'doc/context/third/pgf/**'
> mtx-install-modules | wiping 0 files in 'source/context/third/pgf/**'
> mtx-install-modules | wiping 0 files in 'tex/context/pgf/**'
> mtx-install-modules | wiping 0 files in 'doc/context/pgf/**'
> mtx-install-modules | wiping 0 files in 'source/context/pgf/**'
> mtx-install-modules | wiping 0 files in 'scripts/pgf/**'
> mtx-install-modules | wiping 2 files in 'tex/context/third/pgfplots/**'
> mtx-install-modules | wiping 3 files in 'doc/context/third/pgfplots/**'
> mtx-install-modules | wiping 1 files in 'source/context/third/pgfplots/**'
> mtx-install-modules | wiping 0 files in 'tex/context/pgfplots/**'
> mtx-install-modules | wiping 0 files in 'doc/context/pgfplots/**'
> mtx-install-modules | wiping 0 files in 'source/context/pgfplots/**'
> mtx-install-modules | wiping 4 files in 'scripts/pgfplots/**'
> mtx-install-modules | wiping 8 files in 'tex/context/third/circuitikz/**'
> mtx-install-modules | wiping 2 files in 'doc/context/third/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'source/context/third/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'tex/context/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'doc/context/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'source/context/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'scripts/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'tex/latex/**'
> mtx-install-modules | wiping 0 files in 'tex/plain/**'
> mtx-install-modules | wiping 0 files in 'doc/latex/**'
> mtx-install-modules | wiping 0 files in 'doc/plain/**'
> mtx-install-modules | wiping 148 files in 'doc/generic/**'
> mtx-install-modules | wiping 0 files in 'source/latex/**'
> mtx-install-modules | wiping 0 files in 'source/plain/**'
> mtx-install-modules |
> mtx-install-modules | renewing file database
> 
> mtx-install-modules |
> mtx-install-modules | installed: tikz
> mtx-install-modules |
> 
> 
> system          > beware: some patches loaded from cont-new.mkiv
> close source    > level 1, order 1, name '~/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
> system          > files > jobname './tikz-sample-2', input './tikz-sample-2.mkiv', result './tikz-sample-2'
> fonts           > latin modern fonts are not preloaded
> languages       > language 'en' is active
> open source     > level 1, order 2, name './tikz-sample-2.mkiv'
> modules         > 'tikz' is loaded
> open source     > level 2, order 3, name '~/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl'
> open source     > level 3, order 4, name 'pgfutil-common.tex'
> close source    > level 3, order 4, name 'pgfutil-common.tex'
> open source     > level 3, order 5, name 'pgfutil-context.def'
> close source    > level 3, order 5, name 'pgfutil-context.def'
> open source     > level 3, order 6, name 'pgfrcs.code.tex'
> open source     > level 4, order 7, name 'pgf.revision.tex'
> close source    > level 4, order 7, name 'pgf.revision.tex'
> close source    > level 3, order 7, name 'pgfrcs.code.tex'
> open source     > level 3, order 8, name 'pgfsys.code.tex'
> open source     > level 4, order 9, name 'pgfkeys.code.tex'
> open source     > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex'
> close source    > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex'
> close source    > level 4, order 10, name 'pgfkeys.code.tex'
> cld             > stack > 
> cld             > stack > use : slot = context.functions.register(f)
> cld             > stack > and : context.functions.unregister(slot)
> cld             > stack > 
> open source     > level 4, order 11, name 'pgf.cfg'
> close source    > level 4, order 11, name 'pgf.cfg'
> Driver file for pgf: pgfsys-luatex.def
> 
> 
> 

> Mikael, maybe you have in your $PATH some remembrances of past installation / files?

I'm not Mikael but :D that's even funnier than chatgpt musings
‹remembrances› in the $PATH 

How is it even possible to have ‹remembrances› in the $PATH variable? :) 

> > ___________________________________________________________________________________
> > If your question is of interest to others as well, please add an entry to the Wiki!
> > 
> > maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > wiki     : https://contextgarden.net
> > ___________________________________________________________________________________
> 
> -- 
> Our informal mission is to improve the love life of operators worldwide.
> 		-- Peter Behrendt, president of Exabyte
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________

-- 
A year spent in artificial intelligence is enough to make one believe in God.

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-05 13:06       ` Floris van Manen via ntg-context
  2023-06-05 13:40         ` Carlos via ntg-context
@ 2023-06-05 19:43         ` Carlos via ntg-context
  2023-06-05 20:16           ` Carlos via ntg-context
  1 sibling, 1 reply; 24+ messages in thread
From: Carlos via ntg-context @ 2023-06-05 19:43 UTC (permalink / raw)
  To: ntg-context; +Cc: Carlos

On Mon, Jun 05, 2023 at 03:06:10PM +0200, Floris van Manen via ntg-context wrote:
> 
> 
> On 05/06/2023 14:49, Carlos via ntg-context wrote:
> > %# Synchronize all modules from ConTeXt Garden in the 'modules' directory, which is created if it doesn’t exist.
> > to wherever the modules are
> 
> 
> isn't the command
> 
> mtxrun --script install-modules --install tikz
> 
> or
> 
> mtxrun --script install-modules --install --all
> 
> doing exactly that?
> 

Okay Floris. I see Aditya nearby. He'll take over from now on :) stand
by please. I know you didn't ask the original question but this is over
the pgfsys-pdftex and the pgfsys-luatex. It's a race between them !!
sort of

The solutions are a few if any really, either as I suggested first and update
afterwards or install tikz 

if the driver is the problem, what does common sense tells you Floris?
the database needs to be updated, correct? The driver needs to be
loaded somehow, right? 


system          > ConTeXt  ver: 2023.06.04 18:58 LMTX  fmt: 2023.6.5  int: english/english

So install tikz. then run the file 

mtx-install-modules | from 'https://mirrors.ctan.org/install/graphics/pgf/base/pgf.tds.zip'
mtx-install-modules | into 'texmf-modules'
  64 files of  642 done,    2108636 bytes, 0.015 seconds
 128 files of  642 done,   13693106 bytes, 0.089 seconds
 194 files of  642 done,   15194110 bytes, 0.100 seconds
 317 files of  642 done,   16096396 bytes, 0.108 seconds
 382 files of  642 done,   17178524 bytes, 0.116 seconds
 446 files of  642 done,   17768214 bytes, 0.123 seconds
 510 files of  642 done,   18327708 bytes, 0.130 seconds
 574 files of  642 done,   18656649 bytes, 0.136 seconds
 638 files of  642 done,   18860083 bytes, 0.142 seconds
 642 files of  642 done,   18864376 bytes, 0.142 seconds
mtx-install-modules | from 'https://mirrors.ctan.org/install/graphics/pgf/contrib/pgfplots.tds.zip'
mtx-install-modules | into 'texmf-modules'
  29 files of  168 done,      69116 bytes, 0.002 seconds
  48 files of  168 done,    1596420 bytes, 0.010 seconds
  67 files of  168 done,    1889062 bytes, 0.012 seconds
  83 files of  168 done,    2761170 bytes, 0.017 seconds
 100 files of  168 done,    3156638 bytes, 0.021 seconds
 116 files of  168 done,    3508192 bytes, 0.024 seconds
 132 files of  168 done,    4035279 bytes, 0.027 seconds
 148 files of  168 done,    4163894 bytes, 0.029 seconds
 168 files of  168 done,    4195360 bytes, 0.029 seconds
mtx-install-modules | from 'https://mirrors.ctan.org/install/graphics/pgf/contrib/circuitikz.tds.zip'
mtx-install-modules | into 'texmf-modules'
   7 files of   70 done,      14967 bytes, 0.000 seconds
  21 files of   70 done,      61604 bytes, 0.001 seconds
  28 files of   70 done,    4839027 bytes, 0.033 seconds
  35 files of   70 done,    5906994 bytes, 0.040 seconds
  42 files of   70 done,    6399050 bytes, 0.043 seconds
  70 files of   70 done,    6879048 bytes, 0.045 seconds
mtx-install-modules | wiping 17 files in 'tex/context/third/pgf/**'
mtx-install-modules | wiping 0 files in 'doc/context/third/pgf/**'
mtx-install-modules | wiping 0 files in 'source/context/third/pgf/**'
mtx-install-modules | wiping 0 files in 'tex/context/pgf/**'
mtx-install-modules | wiping 0 files in 'doc/context/pgf/**'
mtx-install-modules | wiping 0 files in 'source/context/pgf/**'
mtx-install-modules | wiping 0 files in 'scripts/pgf/**'
mtx-install-modules | wiping 2 files in 'tex/context/third/pgfplots/**'
mtx-install-modules | wiping 3 files in 'doc/context/third/pgfplots/**'
mtx-install-modules | wiping 1 files in 'source/context/third/pgfplots/**'
mtx-install-modules | wiping 0 files in 'tex/context/pgfplots/**'
mtx-install-modules | wiping 0 files in 'doc/context/pgfplots/**'
mtx-install-modules | wiping 0 files in 'source/context/pgfplots/**'
mtx-install-modules | wiping 4 files in 'scripts/pgfplots/**'
mtx-install-modules | wiping 8 files in 'tex/context/third/circuitikz/**'
mtx-install-modules | wiping 2 files in 'doc/context/third/circuitikz/**'
mtx-install-modules | wiping 0 files in 'source/context/third/circuitikz/**'
mtx-install-modules | wiping 0 files in 'tex/context/circuitikz/**'
mtx-install-modules | wiping 0 files in 'doc/context/circuitikz/**'
mtx-install-modules | wiping 0 files in 'source/context/circuitikz/**'
mtx-install-modules | wiping 0 files in 'scripts/circuitikz/**'
mtx-install-modules | wiping 0 files in 'tex/latex/**'
mtx-install-modules | wiping 0 files in 'tex/plain/**'
mtx-install-modules | wiping 0 files in 'doc/latex/**'
mtx-install-modules | wiping 0 files in 'doc/plain/**'
mtx-install-modules | wiping 148 files in 'doc/generic/**'
mtx-install-modules | wiping 0 files in 'source/latex/**'
mtx-install-modules | wiping 0 files in 'source/plain/**'
mtx-install-modules |
mtx-install-modules | renewing file database

mtx-install-modules |
mtx-install-modules | installed: tikz
mtx-install-modules |


system          > beware: some patches loaded from cont-new.mkiv
close source    > level 1, order 1, name '~/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system          > files > jobname './tikz-sample-2', input './tikz-sample-2.mkiv', result './tikz-sample-2'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 2, name './tikz-sample-2.mkiv'
modules         > 'tikz' is loaded
open source     > level 2, order 3, name '~/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl'
open source     > level 3, order 4, name 'pgfutil-common.tex'
close source    > level 3, order 4, name 'pgfutil-common.tex'
open source     > level 3, order 5, name 'pgfutil-context.def'
close source    > level 3, order 5, name 'pgfutil-context.def'
open source     > level 3, order 6, name 'pgfrcs.code.tex'
open source     > level 4, order 7, name 'pgf.revision.tex'
close source    > level 4, order 7, name 'pgf.revision.tex'
close source    > level 3, order 7, name 'pgfrcs.code.tex'
open source     > level 3, order 8, name 'pgfsys.code.tex'
open source     > level 4, order 9, name 'pgfkeys.code.tex'
open source     > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex'
close source    > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex'
close source    > level 4, order 10, name 'pgfkeys.code.tex'
cld             > stack > 
cld             > stack > use : slot = context.functions.register(f)
cld             > stack > and : context.functions.unregister(slot)
cld             > stack > 
open source     > level 4, order 11, name 'pgf.cfg'
close source    > level 4, order 11, name 'pgf.cfg'
Driver file for pgf: pgfsys-luatex.def



> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________

-- 
Our informal mission is to improve the love life of operators worldwide.
		-- Peter Behrendt, president of Exabyte

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
       [not found] <mailman.1332.1685970748.41142.ntg-context@ntg.nl>
@ 2023-06-05 14:52 ` Jigé via ntg-context
  0 siblings, 0 replies; 24+ messages in thread
From: Jigé via ntg-context @ 2023-06-05 14:52 UTC (permalink / raw)
  To: ntg-context; +Cc: Jigé


[-- Attachment #1.1: Type: text/plain, Size: 766 bytes --]

 When I asked about the fresh install, I think I was asking to Mikael who can compile the sample file. Sorry Floris, this was not clear enough because I've been answering to the mailing-list digest and not to invidual messages.
Mikael, maybe you have in your $PATH some remembrances of past installation / files?

Jean-Guillaume


Le lundi 5 juin 2023 à 15:15:46 UTC+2, <ntg-context-request@ntg.nl> a écrit :

For whatever it is worth, I just tried to install tikz with

mtxrun --script install-modules --install tikz

and then your example in your first mail did compile here (and gave a
cross, and that looks right from the source).

/Mikael 

On 05/06/2023 12:33, Jig? via ntg-context wrote:
> Did you do that in a fresh install?

yes

  

[-- Attachment #1.2: Type: text/html, Size: 871 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-05 13:06       ` Floris van Manen via ntg-context
@ 2023-06-05 13:40         ` Carlos via ntg-context
  2023-06-05 19:43         ` Carlos via ntg-context
  1 sibling, 0 replies; 24+ messages in thread
From: Carlos via ntg-context @ 2023-06-05 13:40 UTC (permalink / raw)
  To: ntg-context; +Cc: Carlos

On Mon, Jun 05, 2023 at 03:06:10PM +0200, Floris van Manen via ntg-context wrote:
> 
> 
> On 05/06/2023 14:49, Carlos via ntg-context wrote:
> > %# Synchronize all modules from ConTeXt Garden in the 'modules' directory, which is created if it doesn’t exist.
> > to wherever the modules are
> 
> 
> isn't the command
> 
> mtxrun --script install-modules --install tikz
> 
> or
> 
> mtxrun --script install-modules --install --all
> 
> doing exactly that?

supposedly I guess it's supposed to work. That's what Mikael said. 

Your version is younger

system          > ConTeXt  ver: 2023.06.01 09:42 LMTX  fmt: 2023.6.4 int:
english/english

whereas mine is older 

system          > ConTeXt  ver: 2023.04.27 17:04 LMTX  fmt: 2023.6.5  int: english/english



> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________

-- 
Thus spake the master programmer:
	"Without the wind, the grass does not move.  Without software,
	hardware is useless."
		-- Geoffrey James, "The Tao of Programming"

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-05 12:49     ` Carlos via ntg-context
@ 2023-06-05 13:06       ` Floris van Manen via ntg-context
  2023-06-05 13:40         ` Carlos via ntg-context
  2023-06-05 19:43         ` Carlos via ntg-context
  0 siblings, 2 replies; 24+ messages in thread
From: Floris van Manen via ntg-context @ 2023-06-05 13:06 UTC (permalink / raw)
  To: ntg-context; +Cc: Floris van Manen



On 05/06/2023 14:49, Carlos via ntg-context wrote:
> %# Synchronize all modules from ConTeXt Garden in the 'modules' directory, which is created if it doesn’t exist.
>   
> to wherever the modules are


isn't the command

mtxrun --script install-modules --install tikz

or

mtxrun --script install-modules --install --all

doing exactly that?

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-05 11:02   ` Floris van Manen via ntg-context
@ 2023-06-05 12:49     ` Carlos via ntg-context
  2023-06-05 13:06       ` Floris van Manen via ntg-context
  0 siblings, 1 reply; 24+ messages in thread
From: Carlos via ntg-context @ 2023-06-05 12:49 UTC (permalink / raw)
  To: ntg-context; +Cc: Carlos

On Mon, Jun 05, 2023 at 01:02:43PM +0200, Floris van Manen via ntg-context wrote:
> 
> 
> On 05/06/2023 12:33, Jigé via ntg-context wrote:
> > Did you do that in a fresh install?
> 
> yes

%copied from the wiki 
%# Synchronize all modules from ConTeXt Garden in the 'modules' directory, which is created if it doesn’t exist.
 
to wherever the modules are 

$ rsync --recursive --links --times --info=progress2,remove,symsafe,flist,del --human-readable --del rsync://contextgarden.net/minimals/current/modules/ modules

then forget context --generate, it won't do anything else but going on
a loop but rather do a context --make


> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________

-- 
God is real, unless declared integer.

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
  2023-06-05 10:33 ` Jigé via ntg-context
@ 2023-06-05 11:02   ` Floris van Manen via ntg-context
  2023-06-05 12:49     ` Carlos via ntg-context
  0 siblings, 1 reply; 24+ messages in thread
From: Floris van Manen via ntg-context @ 2023-06-05 11:02 UTC (permalink / raw)
  To: ntg-context; +Cc: Floris van Manen



On 05/06/2023 12:33, Jigé via ntg-context wrote:
> Did you do that in a fresh install?

yes
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
       [not found] <mailman.1322.1685946193.41142.ntg-context@ntg.nl>
@ 2023-06-05 10:33 ` Jigé via ntg-context
  2023-06-05 11:02   ` Floris van Manen via ntg-context
  0 siblings, 1 reply; 24+ messages in thread
From: Jigé via ntg-context @ 2023-06-05 10:33 UTC (permalink / raw)
  To: ntg-context; +Cc: Jigé


[-- Attachment #1.1: Type: text/plain, Size: 367 bytes --]

 Did you do that in a fresh install?


Le lundi 5 juin 2023 à 08:26:15 UTC+2, <ntg-context-request@ntg.nl> a écrit :

For whatever it is worth, I just tried to install tikz with

mtxrun --script install-modules --install tikz

and then your example in your first mail did compile here (and gave a
cross, and that looks right from the source).

/Mikael  

[-- Attachment #1.2: Type: text/html, Size: 445 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] TiKz with LMTX
       [not found] <mailman.1302.1685898062.41142.ntg-context@ntg.nl>
@ 2023-06-04 21:04 ` Jigé via ntg-context
  0 siblings, 0 replies; 24+ messages in thread
From: Jigé via ntg-context @ 2023-06-04 21:04 UTC (permalink / raw)
  To: ntg-context; +Cc: Jigé


[-- Attachment #1.1: Type: text/plain, Size: 4422 bytes --]

 I tried:
$ mtxrun --generate
and also commenting out "source/generic/**" in mtx-install-imp-tikz.lua
but with no success.
Same error: Driver file ``pgfsys-luatex.def'' not found.

This file does not exist in my installation.
$ find ~/.local/share/context -iname "*.def"
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-vtex.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-textures.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-common-postscript.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-dvisvgm4ht.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-dvipdfm.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-common-pdf-via-dvi.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-dvisvgm.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-dvi.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-common-svg.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-xetex.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-dvips.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-xetex.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-dvips.def
/home/myname/.local/share/context/tex/texmf-modules/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-dvipdfmx.def

Il tried using some of these files by writing them in context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgf.cfg , by the way, but it either doesn't compile or produces a bad picture.

Here are some quotes from the online pgf/tikz manual ( https://tikz.dev/drivers#section-formats ) :

> 10.2.1 Selecting the Backend Driver
> 
> When TEX typesets your document, it does not know which program you are going
> to use to transform the .dvi-file. If your .dvi-file does not contain any special commands,
> this would be fine; but these days almost all .dvi-files contain lots of special commands.
> It is thus necessary to tell TEX which program you are going to use later on.
> 
> Unfortunately, there is no “standard” way of telling this to TEX.
> For the LATEX format a sophisticated mechanism exists inside the graphics package
> and pgf plugs into this mechanism. For other formats and when this plugging does not work
> as expected, it is necessary to tell pgf directly which program you are going to use.
> This is done by redefining the macro \pgfsysdriver to an appropriate value before you load pgf.
> If you are going to use the dvips program, you set this macro to the value pgfsys-dvips.def;
> if you use pdftex or pdflatex, you set it to pgfsys-pdftex.def; and so on.
> In the following, details of the support of the different programs are discussed.
> 
> 10.2.2 Producing PDF Output
> 
> pgf supports three programs that produce pdf output [...]:
> dvipdfm, pdftex, and vtex. The pdflatex program is the same as the pdftex program:
> it uses a different input format, but the output is exactly the same.
> 
> File pgfsys-pdftex.def
> This is the driver file for use with pdfTEX, that is, with the pdftex or pdflatex command.
> It includes pgfsys-common-pdf.def.
> 
> This driver has a lot of functionality.
> (Almost) everything pgf “can do at all” is implemented in this driver.
> 
> File [...]
[...]

(And so on with pgfsys-dvipdfm.def pgfsys-xetex.def pgfsys-vtex.def... Basicaly all the other drivers cited have serious shortcomings in processing TiKz pictures.)

So, we need the driver: pgfsys-luatex.def . Or do we? The name of this driver is guessed at compile time.

  

[-- Attachment #1.2: Type: text/html, Size: 4727 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2023-06-12 16:59 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1949632129.10002246.1685869873625.ref@mail.yahoo.com>
2023-06-04  9:11 ` [NTG-context] TiKz with LMTX Jigé via ntg-context
2023-06-04 14:44   ` Hans Hagen via ntg-context
2023-06-04 15:10     ` Floris van Manen via ntg-context
2023-06-04 16:18       ` Hans Hagen via ntg-context
2023-06-04 21:58         ` Floris van Manen via ntg-context
2023-06-05  5:43           ` Mikael Sundqvist via ntg-context
2023-06-05  8:35             ` vm via ntg-context
2023-06-05 17:40   ` Aditya Mahajan via ntg-context
2023-06-06  2:32     ` Aditya Mahajan via ntg-context
     [not found] <mailman.1302.1685898062.41142.ntg-context@ntg.nl>
2023-06-04 21:04 ` Jigé via ntg-context
     [not found] <mailman.1322.1685946193.41142.ntg-context@ntg.nl>
2023-06-05 10:33 ` Jigé via ntg-context
2023-06-05 11:02   ` Floris van Manen via ntg-context
2023-06-05 12:49     ` Carlos via ntg-context
2023-06-05 13:06       ` Floris van Manen via ntg-context
2023-06-05 13:40         ` Carlos via ntg-context
2023-06-05 19:43         ` Carlos via ntg-context
2023-06-05 20:16           ` Carlos via ntg-context
     [not found] <mailman.1332.1685970748.41142.ntg-context@ntg.nl>
2023-06-05 14:52 ` Jigé via ntg-context
     [not found] <mailman.49.1686219733.1391.ntg-context@ntg.nl>
2023-06-08 18:37 ` Jigé via ntg-context
2023-06-09  3:57   ` Aditya Mahajan via ntg-context
2023-06-09  6:13     ` Hans Hagen via ntg-context
2023-06-09 16:43       ` Aditya Mahajan via ntg-context
2023-06-12 16:49     ` Carlos via ntg-context
2023-06-12 16:59       ` Hans Hagen via ntg-context

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