ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with log coordinates in metafun graph module
@ 2021-12-08 10:49 Jean-Philippe Rey via ntg-context
  2021-12-10  7:34 ` Jean-Philippe Rey via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Philippe Rey via ntg-context @ 2021-12-08 10:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jean-Philippe Rey

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

Dear list,

Log coordinates seem to be broken in the last version of ConTeXt/metafun/graph.

Here is my failing example

===================================
\usemodule[graph]
\starttext
\startMPcode{graph}
draw begingraph(100mm, 100mm);
	setcoords(log, linear);   % works fine with setcoords(linear, linear);
	gdraw (1e-3, 10) -- (10, 30);
	endgraph;
\stopMPcode
\stoptext
===================================

which produces nothing but works with ConTeXt  ver: 2021.01.05 10:45 LMTX.

You will find attached the log file which contains

metafun         > log > error: A primary expression can't begin with ','

Thank you for your help.

-- 
Jean-Philippe Rey
jean-philippe.rey@centralesupelec.fr
91192 Gif-sur-Yvette Cedex - France
Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51

[-- Attachment #2: mfe-graphlog.log --]
[-- Type: application/octet-stream, Size: 20351 bytes --]

system          > 
system          > ConTeXt  ver: 2021.12.03 15:20 LMTX  fmt: 2021.12.8  int: english/english
system          > 
system          > 'cont-new.mkxl' loaded
open source     > level 1, order 1, name '/Users/jprey/Applications/ConTeXt/Current/osx-64/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 '/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system          > files > jobname './mfe-graphlog', input './mfe-graphlog.tex', result './mfe-graphlog'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 2, name './mfe-graphlog.tex'
modules         > 'graph' is loaded
open source     > level 2, order 3, name '/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/modules/mkiv/m-graph.mkiv'
close source    > level 2, order 3, name '/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/modules/mkiv/m-graph.mkiv'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
metapost        > initializing instance 'graph:1' using format 'metafun' and method 'double'
metapost        > loading 'metafun' as 'metafun.mpxl' using method 'double'
metapost        > initializing number mode 'double'
metapost        > trace > This is MPLIB for LuaMetaTeX, version 3.11, running in double mode.
metapost        > trace > 
metapost        > trace > loading metafun for lmtx, including the plain 1.004 base definitions
metapost        > trace > 
metapost        > message : using number system double with precision 16
metafun         > log >
metafun         > log > error: A primary expression can't begin with ','
metafun         > log >
metapost        > trace > <inserted text> 0
metapost        > trace > <to be read again> ,
metafun         > log >
metafun         > log > I'm afraid I need some sort of value in order to continue, so I've tentatively
inserted '0'.
metafun         > log >
metapost        > trace > <direct>  draw begingraph(100mm, 100mm); setcoords(log, linear); gdraw (1e-3, 10) -- (10, 30); endgraph; ;
metapost        > trace > 
backend         > xmp > using file '/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 1, order 3, name './mfe-graphlog.tex'
system          > start used files
system          > text: mfe-graphlog
system          > stop used files
system          > start used files
system          >    1: filename=publ-imp-default.lua filetype=scripts foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    2: filename=cont-new.mkxl filetype=tex foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl usedmethod=database
system          >    3: filename=lang-exc.lua filetype=scripts foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    4: filename=lang-us.lua filetype=scripts foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    5: filename=/Users/jprey/Projets/ConTeXt/mfe-graphlog.tex format=tex foundname=/Users/jprey/Projets/ConTeXt/mfe-graphlog.tex fullname=/Users/jprey/Projets/ConTeXt/mfe-graphlog.tex usedmethod=direct
system          >    6: filename=m-graph.mkiv filetype=tex foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/modules/mkiv/m-graph.mkiv fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/modules/mkiv/m-graph.mkiv usedmethod=database
system          >    7: filename=lm.lfg filetype=tex foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system          >    8: filename=lmroman12-regular filetype=otf format=otf foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
system          >    9: filename=latinmodern-math.otf filetype=opentypefonts foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
system          >   10: filename=metafun.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/metafun.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/metafun.mpxl usedmethod=database
system          >   11: filename=mp-base.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-base.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-base.mpxl usedmethod=database
system          >   12: filename=mp-tool.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-tool.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-tool.mpxl usedmethod=database
system          >   13: filename=mp-luas.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-luas.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-luas.mpxl usedmethod=database
system          >   14: filename=mp-mlib.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-mlib.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-mlib.mpxl usedmethod=database
system          >   15: filename=mp-math.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-math.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-math.mpxl usedmethod=database
system          >   16: filename=mp-cont.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-cont.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-cont.mpxl usedmethod=database
system          >   17: filename=mp-page.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-page.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-page.mpxl usedmethod=database
system          >   18: filename=mp-butt.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-butt.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-butt.mpxl usedmethod=database
system          >   19: filename=mp-shap.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-shap.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-shap.mpxl usedmethod=database
system          >   20: filename=mp-grph.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-grph.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-grph.mpxl usedmethod=database
system          >   21: filename=mp-grid.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-grid.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-grid.mpxl usedmethod=database
system          >   22: filename=mp-form.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-form.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-form.mpxl usedmethod=database
system          >   23: filename=mp-figs.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-figs.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-figs.mpxl usedmethod=database
system          >   24: filename=mp-func.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-func.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-func.mpxl usedmethod=database
system          >   25: filename=mp-node.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-node.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-node.mpxl usedmethod=database
system          >   26: filename=mp-apos.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-apos.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-apos.mpxl usedmethod=database
system          >   27: filename=mp-abck.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-abck.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-abck.mpxl usedmethod=database
system          >   28: filename=mp-asnc.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-asnc.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-asnc.mpxl usedmethod=database
system          >   29: filename=mp-blob.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-blob.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-blob.mpxl usedmethod=database
system          >   30: filename=mp-lmtx.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-lmtx.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-lmtx.mpxl usedmethod=database
system          >   31: filename=mp-text.mpxl filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-text.mpxl fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-text.mpxl usedmethod=database
system          >   32: filename=mp-grap.mpiv filetype=mp foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-grap.mpiv fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/metapost/context/base/mpiv/mp-grap.mpiv usedmethod=database
system          >   33: filename=lpdf-pdx.xml filetype=tex foundname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database
system          > stop used files
system          > start commandline options
system          > currentrun="2"
system          > fulljobname="./mfe-graphlog.tex"
system          > input="./mfe-graphlog.tex"
system          > kindofrun="2"
system          > maxnofruns="9"
system          > texmfbinpath="/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-osx-64/bin"
system          > stop commandline options
system          > start commandline files
system          >    1: ./mfe-graphlog.tex
system          > stop commandline files
modules         > start used modules
modules         > loaded : *-graph
modules         > stop used modules
system          > 
system          > status after finishing run
system          > 
system          >   -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
system          >           string       pool       hash     lookup       node      token     buffer      input       file       nest  parameter       save       font   language       mark     insert
system          >   -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
system          >   max    2097152  100000000    2097152    2097152  100000000   10000000  100000000     100000       2000      10000     100000     500000     100000      10000      10000        500
system          >   min     150000   10000000     150000     150000    1000000    1000000    1000000      10000        500       1000      20000     100000        250        250         50         10
system          >   set     500000   10000000     250000     250000   50000000   10000000   10000000     100000       2000      10000     100000     500000     100000        250        250        250
system          >   stp     100000    1000000     100000     100000     500000     250000    1000000      10000        250       1000      10000      10000        250        250         50         25
system          > 
system          >   mem     150000     906400     150000               1000000    1000000    1000000      10000        500       1000      20000      10000    4264864         96       1200        320
system          >   all    2400000     906400    2400000               9000000    8000000    1000000     320000      16000      48000      80000     160000    4264864         96      28800      10240
system          > 
system          >   ini    2142134     849203          0      44965          0     493413                                                                                       0                      
system          >   ptr      46727                  9182      46710                527938          0          0          0          0          0          0          7          0          0          7
system          >   top      46728                740047     131074       2714     544819        339         39          6         12         37        256        250        250         50         10
system          >   -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
system          > 
system          >   current input type    : initial
system          > 
system          >   approximate memory    : 30584080 (29 MB)
system          > 
system          >   expansion depth       : min: 10000, max: 1000000, set: 10000, top: 6
system          > 
system          >   luabytecode registers : 1000
system          >   luabytecode bytes     : 16016 (0 MB)
system          >   luastate bytes now    : 58252079 (55 MB)
system          >   luastate bytes max    : 58252079 (55 MB)
system          > 
system          >   file callbacks        : 97
system          >   saved callbacks       : 157
system          >   direct callbacks      : 2
system          >   function callbacks    : 995
system          >   value callbacks       : 1
system          >   message callbacks     : 0
system          >   bytecode callbacks    : 599
system          > 
system          >   mp instances          : 1
system          >   mp estimated memory   : 4431920 (4 MB)
system          >   mp file callbacks     : 14509
system          >   mp text callbacks     : 0
system          >   mp script callbacks   : 352
system          >   mp log callbacks      : 128
system          > 
system          >   total callbacks       : 1851
system          >   mp total callbacks    : 14990
system          >   backend callbacks     : 0
system          > 
mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.010 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 33 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 500 modules (0.203 sec), 99 tables (0.012 sec), 599 chunks (0.215 sec)
mkiv lua stats  > traced context: maxstack: 1607, freed: 1, unreachable: 1606
mkiv lua stats  > cleaned up reserved nodes: 71 nodes, 9 lists of 435
mkiv lua stats  > node memory usage: 8 attribute, 4 attribute_list, 1 glue, 58 glue_spec, 3 kern, 2 penalty, 2 temp
mkiv lua stats  > node list callback tasks: 12 unique task lists, 7 instances (re)created, 40 calls
mkiv lua stats  > used backend: pdf
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: file: 97, saved: 157, direct: 2, function: 995, value: 1, message: 0, bytecode: 599, late 0, total: 1851 (1851 per page)
mkiv lua stats  > randomizer: resumed with value 0.48104593867083
mkiv lua stats  > loaded tex modules: 1 requested, all found (*-graph)
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.119, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.132 seconds 
mkiv lua stats  > metapost: 0.000 seconds, loading: 0.034, execution: 0.000, n: 3, average: 0.011, instances: 1, luacalls: 14990 (file: 14509, text: 0, script: 352, log: 128), memory: 4.227 M
mkiv lua stats  > font embedding time: 0.002 seconds, 1 fonts
mkiv lua stats  > result saved in file: mfe-graphlog.pdf, compresslevel 1, objectcompresslevel 3
mkiv lua stats  > positions: 4 collected, 0 deltas, 0 shared partials, 0 partial entries
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luametatex version: 2.0932, functionality level: 20211201, format id: 606, compiler: clang
mkiv lua stats  > tex properties: 740047 hash slots used of 2097152, 46710 control sequences, approximate memory usage: 29 MB
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 58 MB, ctx: 55 MB, max: 55 MB, symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.470 seconds, 1 processed pages, 1 shipped pages, 2.129 pages/second

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

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

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

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

* Re: Problem with log coordinates in metafun graph module
  2021-12-08 10:49 Problem with log coordinates in metafun graph module Jean-Philippe Rey via ntg-context
@ 2021-12-10  7:34 ` Jean-Philippe Rey via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Jean-Philippe Rey via ntg-context @ 2021-12-10  7:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jean-Philippe Rey


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

Dear list,

I dived into m-grap.mpiv and found that "log" coordinates are now called "logarithmic". So

   setcoords(logarithmic, linear)

is the new way and it works with the last ConTeXt version.

Jean-Philippe,

> Le 8 déc. 2021 à 11:49, Jean-Philippe Rey via ntg-context <ntg-context@ntg.nl> a écrit :
> 
> Dear list,
> 
> Log coordinates seem to be broken in the last version of ConTeXt/metafun/graph.
> 
> Here is my failing example
> 
> ===================================
> \usemodule[graph]
> \starttext
> \startMPcode{graph}
> draw begingraph(100mm, 100mm);
> 	setcoords(log, linear);   % works fine with setcoords(linear, linear);
> 	gdraw (1e-3, 10) -- (10, 30);
> 	endgraph;
> \stopMPcode
> \stoptext
> ===================================
> 
> which produces nothing but works with ConTeXt  ver: 2021.01.05 10:45 LMTX.
> 
> You will find attached the log file which contains
> 
> metafun         > log > error: A primary expression can't begin with ','
> 
> Thank you for your help.



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

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

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

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

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

end of thread, other threads:[~2021-12-10  7:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-08 10:49 Problem with log coordinates in metafun graph module Jean-Philippe Rey via ntg-context
2021-12-10  7:34 ` Jean-Philippe Rey 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).