ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Floris van Manen via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Floris van Manen <vm@klankschap.nl>
Subject: Re: [NTG-context] tikz + lmtx
Date: Fri, 28 Apr 2023 18:42:17 +0200	[thread overview]
Message-ID: <c306f915-d7ff-ef01-22ab-01c05415e25e@klankschap.nl> (raw)
In-Reply-To: <qnsqo929-r3qn-n0or-8q6o-s4769o6ors89@hzvpu.rqh>



On 28/04/2023 16:25, Aditya Mahajan via ntg-context wrote:
> These are already part of the distribution. Just one caveat: you need to use
> 
> \usemodule[tikz]
> \usemodule[pgfplots]


when running the example from contextgarden:
https://wiki.contextgarden.net/Pgfplot

\setupcolors[state=start]
\usemodule[tikz]
\usemodule[pgfplots]
\starttext
\starttikzpicture
\startaxis[
xmin=0,xmax=300,
title=http://cryogenics.nist.gov/,
xlabel=$T$ (K),
ylabel=$(L-L_{293})/L_{293}$,
legend style={at={(0.95,0.05)},anchor=south east},
width=16cm ]
\addplot[mark=none,color=red] plot file {sapphire.dat};
\addlegendentry{sapphire}
\addplot[mark=none,color=green] plot file {Be.dat};
\addlegendentry{Be}
\addplot[mark=none,color=blue] plot file {BeCu.dat};
\addlegendentry{BeCu}
\addplot[mark=none,color=cyan] plot file {SS304.dat};
\addlegendentry{SS304}
\addplot[mark=none,color=magenta] plot file {Al6061-T6.dat};
\addlegendentry{Al6061-T6}
\addplot[mark=none,color=orange] plot file {nylon.dat};
\addlegendentry{nylon}
\stopaxis
\stoptikzpicture
\stoptext




i get a fatal error:

resolvers       | globbing | confusing filename, name: 'CHANGELOG', 
lower: 'changelog', already: 'ChangeLog'

resolvers       | formats | executing runner 'run luametatex format': 
/home/vm/context/tex/texmf-linux-64/bin/luametatex --jobname="./context 
24.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="./context 24.tex" --c:input="./context 
24.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:purgeall 
--c:texmfbinpath="/home/vm/context/tex/texmf-linux-64/bin"

resolvers       > globbing > confusing filename, name: 'CHANGELOG', 
lower: 'changelog', already: 'ChangeLog'
system          >
system          > ConTeXt  ver: 2023.04.27 17:04 LMTX  fmt: 2023.4.28 
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 './context 24', input './context 
24.tex', result './context 24'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 2, name './context 24.tex'
colors          > 'rgb' color space is supported
colors          > 'cmyk' color space is supported
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'
open source     > level 4, order 5, name 'pgfutil-common-lists.tex'
close source    > level 4, order 5, name 'pgfutil-common-lists.tex'
close source    > level 3, order 5, name 'pgfutil-common.tex'
open source     > level 3, order 6, name 'pgfutil-context.def'
close source    > level 3, order 6, name 'pgfutil-context.def'
open source     > level 3, order 7, name 'pgfrcs.code.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 'pgfkeysfiltered.code.tex'
close source    > level 5, order 10, name 'pgfkeysfiltered.code.tex'
close source    > level 4, order 10, name 'pgfkeys.code.tex'
open source     > level 4, order 11, name 'pgf.cfg'
close source    > level 4, order 11, name 'pgf.cfg'
Driver file for pgf: pgfsys-pdftex.def

open source     > level 4, order 12, name 'pgfsys-pdftex.def'
open source     > level 5, order 13, name 'pgfsys-common-pdf.def'
close source    > level 5, order 13, name 'pgfsys-common-pdf.def'
close source    > level 4, order 13, name 'pgfsys-pdftex.def'
open source     > level 4, order 14, name 'context.tex'
setup           > error in line 12, namespace 'fontinstanceready', 
instance 'D', key 'no,'
open source     > level 5, order 15, name 
'/home/vm/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-plex.mkiv'
open source     > level 6, order 16, name 
'/home/vm/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 6, order 16, name 
'/home/vm/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 5, order 16, name 
'/home/vm/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-plex.mkiv'
fonts           > checking > char 2 (U+00032) in font '' with id 0: missing
fonts           > checking > char 4 (U+00034) in font '' with id 0: missing
fonts           > checking > char . (U+0002E) in font '' with id 0: missing
fonts           > checking > char p (U+00070) in font '' with id 0: missing
fonts           > checking > char g (U+00067) in font '' with id 0: missing
fonts           > checking > char f (U+00066) in font '' with id 0: missing
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 4, order 16, name 'context.tex'
close source    > level 3, order 16, name 'pgfsys.code.tex'
close source    > level 2, order 16, name 
'/home/vm/context/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl'
close source    > level 1, order 16, name './context 24.tex'
(\end occurred when luacondition \ifeof on line 1740 was 
incomplete)(\end occurred when \noif on line 3 was incomplete)
mkiv lua stats  > used config file:
mkiv lua stats  > used cache path: /home/vm/luametatex-cache/context
mkiv lua stats  > resource resolver: loadtime 0.048 seconds, 1 scans 
with scantime 0.046 seconds, 0 shared scans, 25 found files, scanned 
paths: /home/vm/context
mkiv lua stats  > stored bytecode data: 510 modules (0.182 sec), 105 
tables (0.008 sec), 615 chunks (0.190 sec)
mkiv lua stats  > traced context: maxstack: 1698, freed: 0, unreachable: 
1698
mkiv lua stats  > cleaned up reserved nodes: 73 nodes, 7 lists of 437
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, 13 
instances (re)created, 44 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: 6771, saved: 1700, direct: 22, 
function: 2014, value: 4, message: 0, bytecode: 615, late 0, total: 
11126 (0 per page)
mkiv lua stats  > randomizer: initialized with value 0.16338585719336
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: 3 files: texgyrebonummath-companion.otf, 
texgyrebonum-math.otf, ibmplexserif-regular.otf
mkiv lua stats  > font engine: otf 3.133, afm 1.513, tfm 1.000, 13 
instances, 8 shared in backend, 4 common vectors, 4 common hashes, load 
time 0.141 seconds
mkiv lua stats  > math tweaking time: 0.045 seconds, 12 math goodie tables
mkiv lua stats  > font embedding time: 0.002 seconds, 1 fonts
mkiv lua stats  > result saved in file: context 24.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: 20230427, format id: 689, compiler: gcc
mkiv lua stats  > tex properties: 806391 hash slots used of 2097152, 
50996 control sequences, approximate memory usage: 40 MB
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 62 MB, 
ctx: 60 MB, max: 60 MB, symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.401 seconds, 1 processed pages, 1 shipped 
pages, 2.491 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
___________________________________________________________________________________

  reply	other threads:[~2023-04-28 16:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28  4:08 Aditya Mahajan via ntg-context
2023-04-28  5:01 ` Aditya Mahajan via ntg-context
2023-04-28 13:22   ` Ulrike Fischer via ntg-context
2023-04-28 14:08     ` Gavin via ntg-context
2023-04-28 14:25       ` Aditya Mahajan via ntg-context
2023-04-28 16:42         ` Floris van Manen via ntg-context [this message]
2023-04-28 21:38           ` Aditya Mahajan via ntg-context
2023-04-28 14:26     ` Aditya Mahajan via ntg-context
2023-05-02  5:49       ` Aditya Mahajan via ntg-context
2023-05-04 14:45 ` Hans Hagen via ntg-context
2023-05-04 21:12   ` Aditya Mahajan via ntg-context
2023-05-04 21:22     ` Hans Hagen via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c306f915-d7ff-ef01-22ab-01c05415e25e@klankschap.nl \
    --to=ntg-context@ntg.nl \
    --cc=vm@klankschap.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).