[NTG-context] Test example for problem

hwitloc at gmail.com hwitloc at gmail.com
Thu Jun 13 14:32:49 CEST 2013


The context docment below shows two anomalies.
 One is the occurrane of the "unknown font latinmodernmath-regular, loading aborted" and
 two is that the compilation process halts on the first 'D' in the word Dutch, and no item bullet is typeset.  The line "\setmainfont[ipaexm]"  seems to cause this irregular result.

 -- Example document --

\usemodule[simplefonts]
\setmainfont[ipaexm]
	
\definesymbol[5][$\diamond$]

\starttext

  世界、今日は!

\startitemize[5]
   \item  Dutch in English
\stopitemize

\stoptext

 -- end example --

 -- START REPORT --
mtx-context     | run 1: luatex --fmt="/usr/local/texlive/2012/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026/formats/cont-en" --lua="/usr/local/texlive/2012/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026/formats/cont-en.lui" --backend="pdf" "./test.tex" \stoptext
This is LuaTeX, Version beta-0.70.2-2012062812 (TeX Live 2012)
 \write18 enabled.
(test.tex

ConTeXt  ver: 2012.05.30 11:26 MKIV  fmt: 2013.3.17  int: english/english

system          > cont-new.mkiv loaded
(/usr/local/texlive/2012/texmf-dist/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > test.top loaded
(test.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
resolvers       > modules > loaded: 'simplefonts'
(/usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.mkiv
loading         > ConTeXt User Module / Simplefonts
<+ /usr/local/texlive/2012/texmf-dist/tex/context/third/simplefonts/t-simplefonts.lua>)
fonts           > typescripts > unknown: library 'loc'
{/usr/local/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/usr/local/texlive/2012/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{/usr/local/texlive/2012/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--3]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--2]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mr--1]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mb--3]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mb--2]
fonts           > defining > forced type otf of latinmodernmath-regular not found
fonts           > defining > font with asked name 'latinmodernmath-regular' is not found using lookup 'file'
fonts           > defining > unknown font latinmodernmath-regular, loading aborted
fonts           > defining > unable to define latinmodernmath-regular.otf as [simplefonts:1-12pt-mm-mb--1]
fonts           > math: unset for global bodyfont simplefonts:1 at 12pt
! Math error: parameter \Umathquad\displaystyle is not set.

system          > tex > error on line 11 in file test.tex: Math error: parameter \Umathquad\displaystyle is not set ...

 1     \usemodule[simplefonts]
 2     \setmainfont[ipaexm]
 3
 4     \definesymbol[5][$\diamond$]
 5
 6     \starttext
 7
 8       世界、今日は!
 9
10     \startitemize[5]
11 >>     \item  Dutch in English
12     \stopitemize
13
14     \stoptext
15


\47>:5 ->$\diamond $

\symb_place_indeed ...name \??symbol #1\endcsname
                                                  \relax \endgroup
\symb_place_retry ...name \symb_place_indeed {:#1}
                                                  \else #1\fi
\symb_place_normal_c ...lace_retry \currentsymbol
                                                  \fi
\symb_place_normal_b ...else \symb_place_normal_c
                                                  \fi
<to be read again>
                   \else
...
l.11    \item  D
                utch in English
? R
OK, entering \nonstopmode...
! Math error: parameter \Umathquad\displaystyle is not set.

system          > tex > error on line 11 in file test.tex: Math error: parameter \Umathquad\displaystyle is not set ...

 1     \usemodule[simplefonts]
 2     \setmainfont[ipaexm]
 3
 4     \definesymbol[5][$\diamond$]
 5
 6     \starttext
 7
 8       世界、今日は!
 9
10     \startitemize[5]
11 >>     \item  Dutch in English
12     \stopitemize
13
14     \stoptext
15


\47>:5 ->$\diamond $

\symb_place_indeed ...name \??symbol #1\endcsname
                                                  \relax \endgroup
\symb_place_retry ...name \symb_place_indeed {:#1}
                                                  \else #1\fi
\symb_place_normal_c ...lace_retry \currentsymbol
                                                  \fi
\symb_place_normal_b ...else \symb_place_normal_c
                                                  \fi
<to be read again>
                   \else
...
l.11    \item  D
                utch in English
fonts           > math: unset for global bodyfont simplefonts:1 at 12pt
backend         > xmp > using file '/usr/local/texlive/2012/texmf-dist/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
 )</usr/local/texlive/2012/texmf-dist/fonts/truetype/public/ipaex/ipaexm.ttf>
mkiv lua stats  > used config file          - selfautoparent:/texmfcnf.lua;selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - readable: '/usr/local/texlive/2012/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026' (order 1)
mkiv lua stats  > used cache path           - readable: '/home/usrdir/.texlive2012/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026' (order 2)
mkiv lua stats  > used cache path           - writable: '/home/usrdir/.texlive2012/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026'
mkiv lua stats  > resource resolver         - loadtime 0.312 seconds, 2 scans with scantime 0.000 seconds, 0 shared scans, 16 found files, scanned paths: /home/usrdir/.texlive2012/texmf-config /home/usrdir/texmf
mkiv lua stats  > stored bytecode data      - 303 modules, 65 tables, 368 chunks
mkiv lua stats  > cleaned up reserved nodes - 39 nodes, 9 lists of 438
mkiv lua stats  > node memory usage         - 2 glue, 3 penalty, 9 attribute, 29 glue_spec, 3 attribute_list
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 6 instances (re)created, 1166 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded tex modules        - 1 requested, 1 found (*-simplefonts), 0 missing
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > jobdata time              - 0.000 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks                 - 1244 direct, 1381 indirect, 2625 total
mkiv lua stats  > randomizer                - resumed with value 0.63939153851913
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats  > result saved in file      - test.pdf
mkiv lua stats  > loaded fonts              - 1 files: ipaexm.ttf
mkiv lua stats  > fonts load time           - 0.531 seconds
mkiv lua stats  > math processing time      - 13.750 seconds
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.70.2-2012062812 (tex live 2012)
mkiv lua stats  > control sequences         - 34370 of 65536 + 100000
mkiv lua stats  > current memory usage      - 41 MB (ctx: 42 MB)
mkiv lua stats  > runtime                   - 16.766 seconds, 1 processed pages, 1 shipped pages, 0.060 pages/second

mtx-context     | fatal error: return code: 1% 

-- END REPORT --


More information about the ntg-context mailing list