Andreas Harder <ahar...@uni-koblenz.de> writes: > Am 25.01.2011 um 21:18 schrieb Marco Pessotto: > >> Hans Hagen <pra...@wxs.nl> writes: >> >>> - If you are adventurous you can add the following to cont-new.mkiv >>> >>> \enablemode[*nofonts] >>> >>> This will postpone font loading and will be default soon. This saves >>> runtime when you use another font than latin modern. When no font is >>> loaded before the first \starttext, modern will kick in. A side effect >>> is that any text typeset before \starttext will not show up in the >>> output. If you observe that, you need to setup a bodyfont explicitly >>> beforehand. In practice there should be no problems. The delayed >>> loading is somewhat tricky but has been tested for a while. >>> >> >> If felt adventurous and I found the following problem: >> >> %%%% minimal example %%%% >> \usetypescript[libertine] >> \setupbodyfont[libertine,12pt] >> >> \starttext >> \startitemize[1] >> \item one >> \item two >> \stopitemize >> \stoptext >> %%%% end %%%% >> >> It fails because itemize seems to require some math characters (the >> bullets) and the libertine font seems not to have them. lmodern don't >> kick in, it just fails: > > Works for me with the latest minimals. For Libertine bullets you can use the > following: > > \setupbodyfont[libertine] > \definesymbol[1][•] % otherwise LMMathSymbols10-Regular > > \starttext > \startitemize > \item one > \item two > \stopitemize > \stoptext > > Greeting > Andreas
Just to be sure I've updated the Minimals, but with \enablemode[*nofonts] in cont-new.mkiv it fails. I don't need a workaround, because I can comment out the *nofonts in the cont-new.mkiv (which was added by myself). I was just reporting a problem, as asked (IIRC). $ context prova.tex MTXrun | run 1: luatex --fmt="/home/melmoth/usr/context/tex/texmf-cache/luatex-cache/context/161a8cd09bbec9213c251f73843e59e3/formats/cont-en" --lua="/home/melmoth/usr/context/tex/texmf-cache/luatex-cache/context/161a8cd09bbec9213c251f73843e59e3/formats/cont-en.lui" --backend=pdf "./prova.tex"This is LuaTeX, Version beta-0.65.0-2010121316 \write18 enabled. (prova.tex jobcontrol > resuming randomizer with 0.71793062133618 ConTeXt ver: 2011.01.25 13:17 MKIV fmt: 2011.1.25 int: english/english system : cont-new.mkiv loaded (/home/melmoth/usr/context/tex/texmf-context/tex/context/base/cont-new.mkiv systems : beware: some patches loaded from cont-new.mkiv ) system : prova.top loaded (prova.top) fonts : latin modern fonts are not preloaded language : language en is active (/home/melmoth/usr/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/melmoth/usr/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/home/melmoth/usr/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} systems : begin file prova.tex at line 5 ! Math error: parameter \Umathquad\displaystyle is not set. \mathematics ...rmalstartimath #1\normalstopimath \fi \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ...bol \redosymbol \currentsymbol \fi \fi \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ...bol \redosymbol \currentsymbol \fi \fi <to be read again> } ... l.7 \item o ne ? ? Type <return> to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? X mkiv lua stats : used config file - /home/melmoth/usr/context/tex/texmf/web2c/texmfcnf.lua mkiv lua stats : used cache path - /home/melmoth/usr/context/tex/texmf-cache/luatex-cache/context/161a8cd09bbec9213c251f73843e59e3 mkiv lua stats : input load time - 0.015 seconds mkiv lua stats : stored bytecode data - 265 modules, 56 tables, 321 chunks mkiv lua stats : cleaned up reserved nodes - 30 nodes, 9 lists of 412 mkiv lua stats : node memory usage - 1 hlist, 1 math, 2 glue, 1 noad, 1 math_char, 19 attribute, 20 glue_spec, 4 attribute_list, 2 temp, 7 if_stack, 1 local_par, 3 dir mkiv lua stats : node list callback tasks - 6 unique task lists, 2 instances (re)created, 1773 calls mkiv lua stats : used backend - pdf (backend for directly generating pdf output) mkiv lua stats : loaded patterns - en::2 mkiv lua stats : callbacks - direct: 1788, indirect: 2937, total: 4725 mkiv lua stats : result saved in file - prova.pdf mkiv lua stats : loaded fonts - 1 files: fxlr.otf mkiv lua stats : fonts load time - 0.101 seconds mkiv lua stats : luatex banner - this is luatex, version beta-0.65.0-2010121316 mkiv lua stats : control sequences - 29335 of 165536 mkiv lua stats : current memory usage - 18 MB (ctx: 19 MB) mkiv lua stats : runtime - 6.489 seconds Cheers -- Marco ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________