Wolfgang Schuster wrote:
Hi Xan,
Have you ever considered to create a minimum example, your example is
far away from
this and you would do not only other people a favor with this but you too.
indeed as it takes me 10 minutes of selective deletion to zoom in on the
error (tip: use a bit more empty lines in your source)
\defineregister[symbol][symbols]
\starttext
\startitemize[1] \item test \stopitemize
\stoptext
as you redefine \symbol to be a register entry resolving \symbol[1]
inside the itemize does not work any more as expected
so, when defining commands
- avoid built incommands
- for instance by using longer names
- or names that are unlikely to show up in the core
- or Symbol or MySymbol or so
furthermore, a few tips:
\setupbodyfont [cmr,11pt] % cmr, 11pt
% no need for cmr
\setuphead[chapter][style={\tfd\bf}]
% \bfd is a bit faster (no need for {} unless embedded [])
\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=memoria,sort=author]
% avoid this in examples as we don't have your data
\usemodule[newmat]
% most math is in the core so that module is kind of obsolete
\usemodule[math-ams]
% not needed, as it is preloaded or loaded automatically
\hyphenation{do-cu-ment}
\hyphenation{pro-ble-ma}
\hyphenation{es-crip-tu-ra}
\hyphenation{ge-ne-ra-lit-za-ciĆ³}
\hyphenation{cor-res-po-nents}
\hyphenation{pa-rells}
\hyphenation{ge-ne-rat}
% collect these exceptions and send then to mojca or arthur
\usemodule[tikz]
\usemodule[pgfmath]
\usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations.markings]
% it seems that something is loaded twice (or at least dimension
registers are redefined)
\setupunderbar[alternative=b] % Fix underline style
% you can use the textbackgrounds for this (see anch-bar)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| 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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________