Talk:Visual Debugging

From Wiki
Jump to navigation Jump to search

Discussion

Page Structure

I don't think we should leave the samples on this page, it gets too crowded. We could split it up, but then the overview gets lost. I suggest to leave all the commands and switches on this one page, but make new pages for every topic where we want to show samples. --Hraban 19:40, 14 January 2006 (CET)

I fully agree (see also my comment in history when I added those samples), but I didn't have any idea what to do and I've put everything on the existing page temporary. Perhaps pages like Visual Debugging/Fonts, Visual Debugging/Math could have visual samples, while there would be only an overview of such commands left on the existing page? (As soon as Patrick finishes the new texshow, single commands can also be "graphically explained" there.) --Mojca 20:01, 14 January 2006 (CET)

Lists

A complete list of the \trace... switches:

/usr/share/texmf/tex/context/base> grep 'newif\\iftrace' *

core-fig.tex:\newif\iftraceexternalfigures % \traceexternalfigurestrue
core-fld.tex:\newif\iftracefields \tracefieldsfalse
core-grd.tex:\newif\iftracegridsnapping
core-int.tex:\newif\iftracebookmarks \tracebookmarksfalse
core-mat.tex:\newif\iftracemath
core-ntb.tex:\newif\iftraceTABLE         \traceTABLEfalse
core-pos.tex:\newif\iftracepositions
core-ref.tex:\newif\iftracereferences
core-ref.tex:\newif\iftraceinternalreferences
core-tab.tex:\newif\iftracetables
font-chi.tex:\newif\iftracechinese
hand-ini.tex:\newif\iftracefonthandling % \tracefonthandlingtrue
java-ini.tex:\newif\iftraceJScode \traceJScodefalse
lang-lab.tex:\newif\iftracelabels % shows missing labels
math-ini.tex:\newif\iftracemathcollection
page-ini.tex:\newif\iftracetextareas
page-lyr.tex:\newif\iftracelayers % \tracelayerstrue
page-set.tex:\newif\iftracecolumnset    %   \tracecolumnsettrue
page-sid.tex:\newif\iftracesidefloats
supp-box.tex:\newif\iftraceboxplacement % \traceboxplacementtrue
supp-fil.tex:\newif\iftracefiles
type-ini.tex:\newif\iftracetypescripts
xtag-ini.tex:\newif\iftraceXMLelements
xtag-map.tex:\newif\iftraceXMLremapping
xtag-xsl.tex:\newif\iftraceXSLTprocessing % \traceXSLTprocessingtrue

A complete listing of the \show commands (note that many of these lines are not actually debugging commands):

/usr/share/texmf/tex/context/base> grep 'def\\show' *

colo-run.tex:\gdef\showpalet
colo-run.tex:\gdef\showverticalpalet[#1][#2]%
colo-run.tex:\gdef\showhorizontalpalet[#1][#2]%
colo-run.tex:\gdef\showcolorgroup
colo-run.tex:\gdef\showhorizontalcolorgroup[#1][#2]%
colo-run.tex:\gdef\showverticalcolorgroup[#1][#2]%
colo-run.tex:\gdef\showcolor
cont-new.tex:% \def\showpardata
cont-new.tex:\def\showsetupsdefinition[#1]{\showvalue{\??su:#1}} % temp hack for debugging
core-des.tex:\def\showdnpuretext#1%
core-des.tex:\def\showdntext#1%
core-des.tex:\def\showdnnumber#1%
core-des.tex:\def\showdnsubnumber#1%
core-des.tex:\def\showdnsubsubnumber#1%
core-des.tex:\def\showdnsubsubsubnumber#1%
core-fig.tex:\def\showexternalfigurea
core-fig.tex:\def\showexternalfigureb% instelbaar maken
core-fig.tex:\def\showexternalfigurec
core-fig.tex:\def\showexternalfigured % to be documented; this one builds a dimension file for
core-fig.tex:\def\showexternalfigures
core-fld.tex:\def\showfields
core-grd.tex:\def\showbaselinecorrection
core-grd.tex:\def\showgridsnapping
core-lst.tex:% \def\showbigfigure#1%
core-lst.tex:% \def\showbigtable#1%
core-lst.tex:\def\showremaininglistlength
core-mis.tex:%  \def\showtest#1%
core-nav.tex:\def\showlocation#1%
core-nav.tex:\def\showcoloredlocation#1#2%
core-nav.tex:\def\showcontrastlocation#1#2#3% the \@EA is needed
core-ntb.tex:\def\showtblwids#1%
core-ntb.tex:\def\showtbltoks
core-pos.tex:\def\showanchor#1%
core-ref.tex:\def\showcurrentreference%
core-spa.tex:\def\showstruts
core-var.tex:\def\showvariable#1#2%
core-vis.tex:\def\showparagraphcue#1#2#3#4#5%
core-vis.tex:\def\showimplicits
core-vis.tex:\def\showbaselines
core-vis.tex:\def\showpagebuilder
core-vis.tex:  \def\showwhatsits
enco-run.tex:\gdef\showaccents
enco-run.tex:\gdef\showcharacters
enco-run.tex:\gdef\showcharacterbounds
enco-run.tex:\gdef\showcharacterbounds
enco-run.tex:\gdef\showhyphenations#1%
font-chi.tex:\def\showchinesetracelegend
font-run.tex:\gdef\showbodyfont%
font-run.tex:\gdef\showbodyfontenvironment
font-run.tex:\gdef\showfont
font-run.tex:\gdef\showfontstyle
font-run.tex:\gdef\showligature#1%
font-run.tex:\gdef\showligatures[#1]%
font-run.tex:     \def\show##1{\hbox{\red\ruledhbox{\black##1}}}%
font-run.tex:\gdef\showfontstrip
font-run.tex:\gdef\showminimalbaseline
font-run.tex:\gdef\showkerning#1%
font-run.tex:\gdef\showcharratio
hand-ini.tex:  \def\showfontadjusting#1%
hand-ini.tex:  \def\showprotrudingfactor#1%
lang-frq.tex:\def\showcharfreq
lang-ini.tex:% \def\showlccodes
lang-ini.tex:\def\showpatterns#1#2#3#4% language number encoding mapping
m-chart.tex:\def\showFLOWhelp#1%
m-cweb.tex:\def\showCWEBindexentry#1% can be redefined
m-visual.tex:\def\showfakewords{\let\dofakewords\doshowfakewords}
m-visual.tex:\unexpanded\def\showfakefigure
m-visual.tex:\def\showlowlevelstream
m-visual.tex:\def\showlowlevelstreamonly
m-visual.tex:\def\showcolormodes
math-run.tex:\ifx\showmathmodern\undefined \global\chardef\showmathmodern\zerocount \fi
math-run.tex:\gdef\showmathcharacters% nearly \showcharacters
math-run.tex:   \ifcase\showmathmodern\or\ifx\modern\undefined\chardef\showmathmodern\zerocount\i
math-run.tex:\gdef\showmathtoken#1%
mult-ini.tex:\def\showmessage#1#2#3%
mult-ini.tex:\def\showwarning
mult-ini.tex:\def\showmessage
mult-ini.tex:\def\showassignerror  #1#2{\showmessage\m!check1{#1,#2}\waitonfatalerror}
mult-ini.tex:\def\showargumenterror#1#2{\showmessage\m!check2{#1,#2}\waitonfatalerror}
mult-ini.tex:\def\showdefinederror #1#2{\showmessage\m!check3{#1,#2}\waitonfatalerror}
mult-ini.tex:\def\showcontextbanner
page-ini.tex:\chardef\showgridstate=0
page-ini.tex:\def\showgrid
page-ini.tex:  {\chardef\showgridstate\plusone % downward compatible default
page-ini.tex:     [\v!reset=>\chardef\showgridstate\zerocount,
page-ini.tex:     %\v!bottom=>\chardef\showgridstate\plusone,
page-ini.tex:      \v!top=>\chardef\showgridstate\plustwo]}
page-run.tex:\gdef\showprint
page-run.tex:\gdef\showframe{\dodoubleempty\doshowframe}
page-run.tex:\gdef\showsetupA#1#2%
page-run.tex:\gdef\showsetupB#1#2#3%
page-run.tex:\gdef\showsetups
page-run.tex:\gdef\showsetups
page-run.tex:\gdef\showsetups%
page-run.tex:\gdef\showsetups%
page-run.tex:\gdef\showsetups%
page-run.tex:\gdef\showlayout % interfereert lelijk met een \typefile er na
page-run.tex:\gdef\showmargins
page-set.tex:\def\showbreaks
page-spr.tex:\chardef\showspreadmode=1
prop-run.tex:\gdef\showlayoutcomponents
s-mod-00.tex:\def\showelements{\dodoubleempty\doshowelements}
s-mod-00.tex:\def\showsetup
spec-fdf.tex:\def\showFDFfields#1%
supp-fil.tex:%D \def\showfilesplit
supp-vis.tex:\def\showfils
supp-vis.tex:\def\showboxes
supp-vis.tex:\def\showskips
supp-vis.tex:\def\showpenalties
supp-vis.tex:\def\showcomposition
supp-vis.tex:\def\showmakeup
symb-run.tex:\gdef\showsymbolset
syst-ext.tex:\def\showvalue#1%
syst-ext.tex:\long\def\showargument#1%
syst-ext.tex:\def\showdefinederror#1#2%
syst-gen.tex:\def\showassignerror#1#2%
syst-gen.tex:\def\showargumenterror#1#2%
syst-pln.tex:\def\showhyphens#1%
verb-ini.tex:%D \def\showparagraphcounter%
verb-ini.tex:%D \def\showlinecounter%
x-set-11.tex:\def\showSETUPrecord
x-set-11.tex:\unexpanded\def\showSETUP#1#2%
x-set-11.tex:\def\showSETUPnumber
x-set-11.tex:\def\showSETUPassignment {\showSETUP
x-set-11.tex:\def\showSETUPkeyword {\showSETUP
x-set-11.tex:\def\showSETUPargument {\showSETUP
x-set-11.tex:\def\showSETUPdisplaymath {\showSETUP
x-set-11.tex:\def\showSETUPindex {\showSETUP
x-set-11.tex:\def\showSETUPmath {\showSETUP
x-set-11.tex:\def\showSETUPnothing {\showSETUP
x-set-11.tex:\def\showSETUPfile {\showSETUP
x-set-11.tex:\def\showSETUPposition {\showSETUP
x-set-11.tex:\def\showSETUPreference {\showSETUP
x-set-11.tex:\def\showSETUPcsname {\showSETUP
x-set-11.tex:\def\showSETUPdestination {\showSETUP
x-set-11.tex:\def\showSETUPtriplet {\showSETUP
x-set-11.tex:\def\showSETUPword {\showSETUP
x-set-11.tex:\def\showSETUPcontent {\showSETUP
xtag-ext.tex:\gdef\showXMLelement#1%
xtag-ini.tex:\def\showXMLattributes#1{\showvalue{\@@XMLpars:#1}}
xtag-ini.tex:\def\showXMLdata#1{\showvalue{\@@XMLdata:#1}}
xtag-mml.tex:\def\showMMLentity#1%
xtag-run.tex:\gdef\showXMLarguments
xtag-run.tex:\gdef\showXMLinh[#1]%
xtag-run.tex:\gdef\showXMLnop[#1]%
xtag-run.tex:\gdef\showXMLtxt[#1]%
xtag-run.tex:\gdef\showXMLpar[#1]%
xtag-run.tex:\gdef\showXMLlin[#1]%
xtag-run.tex:\gdef\showXMLwrd[#1]%
xtag-run.tex:\gdef\showXMLemp[#1]%
xtag-run.tex:\gdef\showXMLbreak[#1]%
xtag-run.tex:\gdef\showXMLfile#1%
xtag-run.tex:\gdef\showXMLtext#1%
xtag-run.tex:\gdef\showXMLbuffer
xtag-run.tex:\gdef\showXSDcomponent
xtag-run.tex:\gdef\showRNGcomponent
xtag-run.tex:\gdef\showXMLinh#1%