New answers tagged

2

You can use the command \determinelistcharacteristics and then \structurelistsize to access the value. Example: \starttext \determinelistcharacteristics [chapter] [criterium=text] number of chapters: \structurelistsize \startsectionlevel [title=Foo] \startsectionlevel [title=title 1] section 1 \stopsectionlevel \startsectionlevel [title=title 2] ...


0

use \midaligned command in front of Narrower Text and in front of \bTable and compile you will get


2

The TABLE environment starts a \vbox, so if it occurs at the beginning of a sentence, it switches to vertical mode. To prevent that, add a \dontleavehmode. \starttext Normal text \setupnarrower[left=2cm] \startnarrower[left] Narrower text \blank[small] \dontleavehmode \bTABLE \bTR \bTC Misbehaving ...


5

The file is included under texmf-dist/texmf-dist/.. but kpsewhich is searching under texmf-dist/ and the relevant ls-R is in texmf-dist/. So the file is not found because the file is one directory layer deeper than normal, but your TeX Live is not configured accordingly. Note that the hierarchical structure of the file system matters. It is not sufficient ...


1

After cfr suggestion I post my own code because Tikz/forest don't works in ConteXt. The function pins(box name)(left "e" or right "d")("characteristic one","characteristic two", ...) do the job. \startMPdefinitions input boxes; \stopMPdefinitions \starttext \startMPcode % best guess at the required colors color mid_blue, dark_blue, laranja, dentro, ...


7

I'm posting this because you indicated an interest in seeing a TikZ/Forest version. Forest is the most flexible and powerful TikZ-based method to draw trees. However, I'm not sure this is compatible with ConTeXt, even though TikZ itself is. Obviously you would not need inputenc, for example, which I'm using here to handle the unicode quotation marks. These ...



Top 50 recent answers are included