Changes

Jump to navigation Jump to search
382 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 [[Basics|Text formattingDebugging]] >.  
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===
==[[Fonts]] and Type==
{{cmd|showbodyfont}} : actual bodyfont family with all variants
{{todo|A lot of commands and switches are still unexplained.}}
 
[[Category:Basics]]
[[Category:Tools]]
[[Category:Layout]]
[[Category:Old Content]]
138

edits

Navigation menu