Difference between revisions of "Visual Debugging"
(ooh yeah: showmathcharacters, too!) |
m (Added \tracemathtrue) |
||
Line 1: | Line 1: | ||
< [[Inside ConTeXt]] | [[Visuals]] > | < [[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>: | + | 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>: |
==[[Layout]]== | ==[[Layout]]== | ||
Line 15: | Line 15: | ||
<cmd>showsetups</cmd> : type a list of all defined sizes (variables) and their values | <cmd>showsetups</cmd> : type a list of all defined sizes (variables) and their values | ||
+ | <cmd>tracemathtrue</cmd> : show the layout boxes for left, middle, or right-aligned formulas. | ||
==[[Fonts]] and Type== | ==[[Fonts]] and Type== |
Revision as of 02:44, 18 July 2005
< Inside ConTeXt | Visuals >
There's a whole lot of commands that help you analyzing and debugging your ConTeXt documents. Most of them start with \show... or \\trace...:
Layout
\showlayout : add four pages that show margins, layout sizes etc.
\showmakeup : ?
\showframe : ?
\showgrid : make line grid visible
\showsetups : type a list of all defined sizes (variables) and their values
\tracemathtrue : show the layout boxes for left, middle, or right-aligned formulas.
Fonts and Type
\showbodyfont : actual bodyfont family with all variants
\showbodyfontenvironment : draws a table that shows which point sizes match the relative sizes
\showsymbolset[symbolset name] : shows all the symbols within a given symbol set
\showcharacters : list of available chars of actual bodyfont encoding
\showmathcharacters : list of all the available math (non-alphabetical) characters available in math, now including all the AMS characters
\showaccents : shows A-Z and a-z with all available accents
\showstruts : make invisible characters visible
\showfontstrip : the current typeface combination, with roman, sans, math, and teletype families visualised, with x-heights
Colors and Graphics
\showcolor : see Colors