Changes

Jump to navigation Jump to search
174 bytes removed ,  10:59, 26 November 2012
Replace <cmd> with {{cmd|...}}
< [[Inside ConTeXt]] | [[Visuals]] >
There's a whole lot of commands that help you analyzing and debugging your ConTeXt documents. Most of them start with <{{cmd>|show...</cmd> }} or <{{cmd>|trace...</cmd>}}. While <{{cmd>|showsomething</cmd> }} is a command that immediately inserts something, <{{cmd>|tracesomethingtrue</cmd> }} or ...<tt>false</tt> is a switch that influences the behaviour of some other commands. You can check the setting with <{{cmd>|iftrace...</cmd>}}. In the following we leave out the boolean value (true or false).
==Unordered==
<{{cmd>|tracefiles</cmd> }} : ?
<{{cmd>|tracepositions</cmd> }} : ?
<{{cmd>|traceposstring</cmd> }} : ?
<{{cmd>|traceboxplacement</cmd> }} : ?
<{{cmd>|traceotr</cmd> }} : output routine?
{{cmd|showboxes}} : show boxes
==[[Layout]]==
<{{cmd>|showlayout</cmd> }} : add four pages that show margins, layout sizes etc.
<{{cmd>|showsetups</cmd> }} : typeset a list of all defined sizes (variables) and their values
<{{cmd>|showmakeup</cmd> }} : show some otherwise invisible markup
<{{cmd>|showframe</cmd> }} : show frames of text area, layers, boxes etc.
===Grid, Layers and Column Sets===
<{{cmd>|tracelayers</cmd> }} : show boxes of layers
<{{cmd>|tracecolumnset</cmd> }} : ?
<{{cmd>|tracetextareas</cmd> }} : ?
<{{cmd>|showgrid</cmd> }} : make line grid visible
<{{cmd>|tracegridsnapping</cmd> }} : ?
===[[Tables Overview|Tables]]===
<{{cmd>|tracetables</cmd> }} : ?
<{{cmd>|traceTABLE</cmd> }} : ?
<{{cmd>|tracetabulate</cmd> }} : ?
==[[Math]]==
<{{cmd>|tracemathtrue</cmd> }} : show the layout boxes for left, middle, or right-aligned formulas.
<{{cmd>|tracemathcommand</cmd> }} : ?
<{{cmd>|tracemathcollection</cmd> }} : ?
<{{cmd>|tracemathsymbol</cmd>}}''{name of math symbol}'' : show the command (name of symbol) and the symbol itself
<texcode>
</context>
<{{cmd>|tracemathcharacter</cmd> }} : ?
==[[Bookmarks]] and [[References]]==
<{{cmd>|tracebookmarks</cmd> }} : ?
<{{cmd>|tracelinenotes</cmd> }} : ?
<{{cmd>|tracereferences</cmd> }} : ?
<{{cmd>|tracelabels</cmd> }} : ?
==[[Fonts]] and Type==
<{{cmd>|showbodyfont</cmd> }} : actual bodyfont family with all variants
<context>
</context>
<{{cmd>|showbodyfontenvironment</cmd> }} : draws a table that shows which point sizes match the relative sizes
<context>
</context>
<{{cmd>|showsymbolset</cmd>}}[''symbolset name''] : shows all the symbols within a given symbol set
<texcode>
</context>
<{{cmd>|showcharacters</cmd> }} : list of available chars of actual bodyfont encoding (approx. 4 pages)
<context>
</context>
<{{cmd>|showmathcharacters</cmd> }} : list of all the available math (non-alphabetical) characters available in math, now including all the AMS characters
<context>
</context>
<{{cmd>|showaccents</cmd> }} : shows A-Z and a-z with all available accents
<context>
</context>
<{{cmd>|showstruts</cmd> }} : display struts (invisible placeholders for proper minimum line heights)
''(Make a better, slightly more complex example.)''
<{{cmd>|showfontstrip</cmd> }} : the current typeface combination, with roman, sans, math, and teletype families visualised, with x-heights
<context>
</context>
<{{cmd>|tracefonthandling</cmd> }} :
<{{cmd>|tracechinese</cmd> }} : ?
<{{cmd>|tracedfontname</cmd>}}''{Font Name}'' : Chain of synonyms for the given font name
<texcode>
</context>
<{{cmd>|tracedfontencoding</cmd> }} : ?
==[[Colors]] and Graphics==
===Colors===
<{{cmd>|showcolor</cmd> }} : see [[ColorsColor]]
<{{cmd>|showcolorgroup</cmd> }} : ?
<{{cmd>|showpalet</cmd> }} : ?
<{{cmd>|tracedgreymode</cmd> }} : ?
<{{cmd>|tracedgreycolormode</cmd> }} : ?
<{{cmd>|tracedrgbcolormode</cmd> }} : ?
<{{cmd>|tracedcmykcolormode</cmd> }} : ?
<{{cmd>|tracedspotcolormode</cmd> }} : ?
===Figures===
<{{cmd>|showexternalfigures</cmd> }} : ?
<{{cmd>|traceexternalfigures</cmd> }} : ?
<{{cmd>|tracesidefloats</cmd> }} : ?
===Interaction===
<{{cmd>|showfields</cmd> }} : ?
<{{cmd>|tracefields</cmd> }} : ?
<{{cmd>|traceJScode</cmd> }} : trace JavaScript code
{{todo|A lot of commands and switches are still unexplained.}}

Navigation menu