Changes

Jump to navigation Jump to search
663 bytes added ,  11:05, 9 February 2021
m
category Old Content
Page is focused on the old [[Mark_II|Mark II]] ConTeXt version, though <tt>\show...< /tt> commands are still the same. Work-in-progress page on current [[Inside ConTeXtLMTX]] | version is [[VisualsDebugging]] >.  
There's a whole lot of commands that help you analyzing and debugging your ConTeXt documents. Most of them start with {{cmd|show...}} or {{cmd|trace...}}. While {{cmd|showsomething}} is a command that immediately inserts something, {{cmd|tracesomethingtrue}} or ...<tt>false</tt> is a switch that influences the behaviour of some other commands. You can check the setting with {{cmd|iftrace...}}. In the following we leave out the boolean value (true or false).
{{cmd|showframe}} : show frames of text area, layers, boxes etc.
 
{{cmd|showlayoutcomponents}} : To allow Acrobat Reader users (among others?) to make layers visible/invisible at will, add this command at the start of your file.
 
===Show attributes of visual elements===
 
<texcode>
\usemodule [setups]
 
\starttext
 
% \setuphead [..,..=..,..]
\showrootvalues [head]
 
% \setuphead [chapter] [..,..=..,..]
\showinstancevalues [head] [chapter]
 
\stoptext
</texcode>
===Grid, Layers and Column Sets===
==[[Fonts]] and Type==
{{cmd|showbodyfont}} : actual bodyfont family with all variants
</context>
{{cmd|showcharacters}} : list of available chars of actual bodyfont encoding (approx. 4 pages, MkII only)
<context>
</context>
{{cmd|showmathcharacters}} : list of all the available math (non-alphabetical) characters available in math, now including all the AMS characters. MkII only
<context>
</context>
{{cmd|showaccents}} : shows A-Z and a-z with all available accents, MkII only
<context>
{{todo|A lot of commands and switches are still unexplained.}}
 
[[Category:Basics]]
[[Category:Tools]]
[[Category:Layout]]
[[Category:Old Content]]
138

edits

Navigation menu