Difference between revisions of "Visual Debugging"

From Wiki
Jump to navigation Jump to search
(only a start)
 
m (one more link)
Line 3: Line 3:
 
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>:
  
==Layout==
+
==[[Layout]]==
  
 
<cmd>showlayout</cmd> : add four pages that show margins, layout sizes etc.
 
<cmd>showlayout</cmd> : add four pages that show margins, layout sizes etc.
Line 29: Line 29:
  
 
<cmd>showstruts</cmd> : make invisible characters visible
 
<cmd>showstruts</cmd> : make invisible characters visible
 +
  
 
==[[Colors]] and Graphics==
 
==[[Colors]] and Graphics==
Line 39: Line 40:
  
 
<cmd>showexternalfigures</cmd> :  
 
<cmd>showexternalfigures</cmd> :  
 +
  
 
==Interaction==
 
==Interaction==
  
 
<cmd>showfields</cmd> :
 
<cmd>showfields</cmd> :

Revision as of 21:27, 17 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...:

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


Fonts and Type

\showbodyfont : actual bodyfont family with all variants

\showbodyfontenvironment : draws a table that shows which point sizes match the relative sizes

\showsymbolset : ?

\showcharacters : list of available chars of actual bodyfont encoding

\showaccents : shows A-Z and a-z with all available accents

\showstruts : make invisible characters visible


Colors and Graphics

\showcolor : see Colors

\showcolorgroup :

\showpalet :

\showexternalfigures :


Interaction

\showfields :