Difference between revisions of "Debugging"

From Wiki
Jump to navigation Jump to search
(New page on MKIV and MKXL debugging)
 
m (\replacemissingcharacters)
Line 1: Line 1:
This is an update of [[Visual_Debugging|Visual Debugging]] page (focused on the old ConTeXt version [[Mark_II|Mark II]]) for the current [[Mark_IV|Mark IV]] and Mark XL (aka [[LMTX]]) versions.
+
This is an update of [[Visual_Debugging|Visual Debugging]] page (focused on the old ConTeXt version [[Mark_II|Mark II]]) for the current Mark XL (aka [[LMTX]]) version.
  
 
=Code=
 
=Code=
Line 14: Line 14:
  
 
=Visuals=
 
=Visuals=
 +
 +
==Fonts==
 +
 +
<cmd>replacemissingcharacters</cmd> will replace characters missing in the font(s) with squares respecting font switches (<tt>\it</tt>, <tt>\bf</tt>). Underneath the squares are wanted characters, so though invisible, one can still search them or copy them to the editor to see the missing characters (in searchable PDF editors).
  
  

Revision as of 11:01, 9 February 2021

This is an update of Visual Debugging page (focused on the old ConTeXt version Mark II) for the current Mark XL (aka LMTX) version.

Code

\enabletrackers

\tracingall turns on all tracing. Put someplace near when you think the problem happens.

TeX

Lua

XML

Visuals

Fonts

\replacemissingcharacters will replace characters missing in the font(s) with squares respecting font switches (\it, \bf). Underneath the squares are wanted characters, so though invisible, one can still search them or copy them to the editor to see the missing characters (in searchable PDF editors).