ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* No svg file output
@ 2022-03-03 21:54 Jan-Erik Hägglöf via ntg-context
  2022-03-04  9:59 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Jan-Erik Hägglöf via ntg-context @ 2022-03-03 21:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jan-Erik Hägglöf


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

Dear list!

This seems strange, what is wrong? No output from svg-file.


\starttext


\startMPcode
picture utf1; utf1:= lmt_svg [ filename = "utfall01b.svg"];
numeric l ; l := bbwidth(utf1);
numeric h ; h := bbheight(utf1);
numeric scale ; scale := 3 ;
draw utf1 xsized l*scale ysized h*scale;
\stopMPcode
\stoptext

Thanks in advance
Jan-Erik




[-- Attachment #1.2.1: Type: text/html, Size: 328 bytes --]

[-- Attachment #1.2.2: utfall01b.svg --]
[-- Type: image/svg+xml, Size: 47474 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 208 bytes --]

[-- Attachment #1.2.4: test.log --]
[-- Type: application/octet-stream, Size: 19553 bytes --]

system          > 
system          > ConTeXt  ver: 2021.12.10 11:41 LMTX  fmt: 2021.12.13  int: english/english
system          > 
system          > 'cont-new.mkxl' loaded
open source     > level 1, order 1, name '/Users/jan-erikhagglof/context/context-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/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'

system          > files > jobname './test', input './test.tex', result './test'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
system          > synctex functionality is enabled, expect 5-10 pct runtime overhead!
open source     > level 1, order 2, name './test.tex'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
metapost        > initializing instance 'metafun:1' using format 'metafun' and method 'default'
metapost        > loading 'metafun' as 'metafun.mpxl' using method 'default'
metapost        > initializing number mode 'scaled'
metapost        > trace > This is MPLIB for LuaMetaTeX, version 3.11, running in scaled mode.
metapost        > trace > 
metapost        > trace > loading metafun for lmtx, including the plain 1.004 base definitions
metapost        > trace > 
metafun         > log >
metafun         > log > error: Illegal suffix of declared variable will be flushed
metafun         > log >
metapost        > trace > <to be read again> 1
metafun         > log >
metafun         > log > Variables in declarations must consist entirely of names and explicit subscripts
like 'x15a' aren't permitted. I'm going to discard the junk I found here, up to the
next comma or the end of the declaration.
metafun         > log >
metapost        > trace > <direct> picture utf1; utf1:= lmt_svg [ filename = "utfall01b.svg"]; numeric l ; l := bbwidth(utf1); numeric h ; h := bbheight(utf1); numeric scale ; scale := 3 ; draw utf1 xsized l*scale ysized h*scale; ;
metapost        > trace > 
backend         > xmp > using file '/Users/jan-erikhagglof/context/context-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 2, name './test.tex'
system          > start used files
system          > text: test
system          > stop used files
system          > start used files
system          >    1: filename=publ-imp-default.lua filetype=scripts foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/Users/jan-erikhagglof/context/context-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/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl usedmethod=database
system          >    3: filename=lang-exc.lua filetype=scripts foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    4: filename=lang-us.lua filetype=scripts foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    5: filename=/Users/jan-erikhagglof/Documents/CONTEXTDOC/Utbildning/oberoende_sannolikhet/test.tex format=tex foundname=/Users/jan-erikhagglof/Documents/CONTEXTDOC/Utbildning/oberoende_sannolikhet/test.tex fullname=/Users/jan-erikhagglof/Documents/CONTEXTDOC/Utbildning/oberoende_sannolikhet/test.tex usedmethod=direct
system          >    6: filename=lm.lfg filetype=tex foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system          >    7: filename=lmroman12-regular filetype=otf format=otf foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
system          >    8: filename=latinmodern-math.otf filetype=opentypefonts foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
system          >    9: filename=metafun.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/metafun.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/metafun.mpxl usedmethod=database
system          >   10: filename=mp-base.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-base.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-base.mpxl usedmethod=database
system          >   11: filename=mp-tool.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-tool.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-tool.mpxl usedmethod=database
system          >   12: filename=mp-luas.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-luas.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-luas.mpxl usedmethod=database
system          >   13: filename=mp-mlib.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-mlib.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-mlib.mpxl usedmethod=database
system          >   14: filename=mp-math.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-math.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-math.mpxl usedmethod=database
system          >   15: filename=mp-cont.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-cont.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-cont.mpxl usedmethod=database
system          >   16: filename=mp-page.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-page.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-page.mpxl usedmethod=database
system          >   17: filename=mp-butt.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-butt.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-butt.mpxl usedmethod=database
system          >   18: filename=mp-shap.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-shap.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-shap.mpxl usedmethod=database
system          >   19: filename=mp-grph.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-grph.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-grph.mpxl usedmethod=database
system          >   20: filename=mp-grid.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-grid.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-grid.mpxl usedmethod=database
system          >   21: filename=mp-form.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-form.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-form.mpxl usedmethod=database
system          >   22: filename=mp-figs.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-figs.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-figs.mpxl usedmethod=database
system          >   23: filename=mp-func.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-func.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-func.mpxl usedmethod=database
system          >   24: filename=mp-node.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-node.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-node.mpxl usedmethod=database
system          >   25: filename=mp-apos.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-apos.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-apos.mpxl usedmethod=database
system          >   26: filename=mp-abck.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-abck.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-abck.mpxl usedmethod=database
system          >   27: filename=mp-asnc.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-asnc.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-asnc.mpxl usedmethod=database
system          >   28: filename=mp-blob.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-blob.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-blob.mpxl usedmethod=database
system          >   29: filename=mp-lmtx.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-lmtx.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-lmtx.mpxl usedmethod=database
system          >   30: filename=mp-text.mpxl filetype=mp foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-text.mpxl fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/metapost/context/base/mpxl/mp-text.mpxl usedmethod=database
system          >   31: filename=lpdf-pdx.xml filetype=tex foundname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database
system          > stop used files
system          > start commandline options
system          > autogenerate="true"
system          > currentrun="2"
system          > fulljobname="./test.tex"
system          > input="./test.tex"
system          > kindofrun="2"
system          > maxnofruns="9"
system          > nonstopmode="true"
system          > synctex="0"
system          > texmfbinpath="/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-osx-64/bin"
system          > stop commandline options
system          > start commandline files
system          >    1: ./test.tex
system          > stop commandline files
modules         > start used modules
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     906349     150000               1000000    1000000    1000000      10000        500       1000      20000      10000    4264840         96       1200        320
system          >   all    2400000     906349    2400000               9000000    8000000    1000000     320000      16000      48000      80000     160000    4264840         96      28800      10240
system          > 
system          >   ini    2142138     849278          0      44969          0     493451                                                                                       0                      
system          >   ptr      46723                  9181      46706                527949          0          0          0          0          0          0          7          0          0          7
system          >   top      46724                740047     131074       2740     544793        339         38          5         12         37        256        250        250         50         10
system          >   -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
system          > 
system          >   current input type    : initial
system          > 
system          >   approximate memory    : 30584005 (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    : 58070875 (55 MB)
system          >   luastate bytes max    : 58070875 (55 MB)
system          > 
system          >   file callbacks        : 75
system          >   saved callbacks       : 148
system          >   direct callbacks      : 2
system          >   function callbacks    : 985
system          >   value callbacks       : 1
system          >   message callbacks     : 0
system          >   bytecode callbacks    : 599
system          > 
system          >   mp instances          : 1
system          >   mp estimated memory   : 3805264 (3 MB)
system          >   mp file callbacks     : 12777
system          >   mp text callbacks     : 0
system          >   mp script callbacks   : 351
system          >   mp log callbacks      : 222
system          > 
system          >   total callbacks       : 1810
system          >   mp total callbacks    : 13351
system          >   backend callbacks     : 0
system          > 
mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/jan-erikhagglof/context/context-osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.004 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 31 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 500 modules (0.176 sec), 99 tables (0.009 sec), 599 chunks (0.186 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, 41 calls
mkiv lua stats  > synctex tracing: 1 referenced files, 1 files ignored, 3 objects flushed, logfile: test.synctex
mkiv lua stats  > used backend: pdf
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: file: 75, saved: 148, direct: 2, function: 985, value: 1, message: 0, bytecode: 599, late 0, total: 1810 (1810 per page)
mkiv lua stats  > randomizer: resumed with value 0.36836548094413
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.099 seconds 
mkiv lua stats  > metapost: 0.000 seconds, loading: 0.022, execution: 0.000, n: 4, average: 0.006, instances: 1, luacalls: 13351 (file: 12777, text: 0, script: 351, log: 222), memory: 3.629 M
mkiv lua stats  > font embedding time: 0.001 seconds, 1 fonts
mkiv lua stats  > result saved in file: test.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, 46706 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.356 seconds, 1 processed pages, 1 shipped pages, 2.806 pages/second

[-- Attachment #1.2.5: Type: text/html, Size: 208 bytes --]

[-- Attachment #1.2.6: test.pdf --]
[-- Type: application/pdf, Size: 4901 bytes --]

[-- Attachment #1.2.7: Type: text/html, Size: 989 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] 3+ messages in thread

* Re: No svg file output
  2022-03-03 21:54 No svg file output Jan-Erik Hägglöf via ntg-context
@ 2022-03-04  9:59 ` Hans Hagen via ntg-context
  2022-03-05 10:04   ` Jan-Erik Hägglöf via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2022-03-04  9:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 3/3/2022 10:54 PM, Jan-Erik Hägglöf via ntg-context wrote:
> Dear list!
> 
> This seems strange, what is wrong? No output from svg-file.
> 
> 
> 
> 
> 
> \starttext
> 
> 
> \startMPcode
> picture utf1; utf1:= lmt_svg [ filename = "utfall01b.svg"];
> numeric l ; l := bbwidth(utf1);
> numeric h ; h := bbheight(utf1);
> numeric scale ; scale := 3 ;
> draw utf1 xsized l*scale ysized h*scale;
> \stopMPcode
> \stoptext


\starttext
\startMPcode
picture ValidName; ValidName:= lmt_svg [ filename = "utfall01b.svg"];
numeric l ; l := bbwidth(ValidName);
numeric h ; h := bbheight(ValidName);
numeric scale ; scale := 3 ;
draw ValidName xysized (l*scale,h*scale);
\stopMPcode
\stoptext

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

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

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

* Re: No svg file output
  2022-03-04  9:59 ` Hans Hagen via ntg-context
@ 2022-03-05 10:04   ` Jan-Erik Hägglöf via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Jan-Erik Hägglöf via ntg-context @ 2022-03-05 10:04 UTC (permalink / raw)
  To: Hans Hagen; +Cc: Jan-Erik Hägglöf, mailing list for ConTeXt users

It worked, thank you very much.

/Jan-Erik

> 4 mars 2022 kl. 10:59 skrev Hans Hagen <j.hagen@xs4all.nl>:
> 
> On 3/3/2022 10:54 PM, Jan-Erik Hägglöf via ntg-context wrote:
>> Dear list!
>> This seems strange, what is wrong? No output from svg-file.
>> \starttext
>> \startMPcode
>> picture utf1; utf1:= lmt_svg [ filename = "utfall01b.svg"];
>> numeric l ; l := bbwidth(utf1);
>> numeric h ; h := bbheight(utf1);
>> numeric scale ; scale := 3 ;
>> draw utf1 xsized l*scale ysized h*scale;
>> \stopMPcode
>> \stoptext
> 
> 
> \starttext
> \startMPcode
> picture ValidName; ValidName:= lmt_svg [ filename = "utfall01b.svg"];
> numeric l ; l := bbwidth(ValidName);
> numeric h ; h := bbheight(ValidName);
> numeric scale ; scale := 3 ;
> draw ValidName xysized (l*scale,h*scale);
> \stopMPcode
> \stoptext
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------

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

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

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

end of thread, other threads:[~2022-03-05 10:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-03 21:54 No svg file output Jan-Erik Hägglöf via ntg-context
2022-03-04  9:59 ` Hans Hagen via ntg-context
2022-03-05 10:04   ` Jan-Erik Hägglöf 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).