Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-26 Thread SteamedFish
You can try vim module. It supports all the formats that vim is able to support and it is a builtin module. \usemodule[t-vim] \definevimtyping [TEX] [syntax=context] \definevimtyping [XML] [syntax=xml] \definevimtyping [LUA] [syntax=lua] \starttext \startTEXpage[offset=2em] a \TEX\ inline

[NTG-context] \setuplist with numbercommand renders wrongly

2017-12-10 Thread SteamedFish
I don’t know if I use it wrongly, or it’s a bug in ConTeXt, but use \setuplist with numbercommand renders wrongly % this is not working, ``chapter’’ and chapter name overlapped \define[2]\ChapterNumber{chapter #1: #2} % have to add extra spaces here to avoid overlapping %