Difference between revisions of "Debugging"

From Wiki
Jump to navigation Jump to search
m (\replacemissingcharacters)
m (replacemissingcharacters cleanup)
Line 17: Line 17:
 
==Fonts==
 
==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).
+
<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 (in searchable PDF editors) or copy them to the text editor to see the missing characters.
  
  

Revision as of 11:08, 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 (in searchable PDF editors) or copy them to the text editor to see the missing characters.