13.07.2013 Views

Hagen - Pragma ADE

Hagen - Pragma ADE

Hagen - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.8 Tracing<br />

There are a lot of tracing options in MkIV, but most will never be seen by users. Most<br />

are enabled using the tracker mechanism. Some have a bit more visibility and have a<br />

dedicated command to trigger them.<br />

When something is going terribly wrong, you will always get a message but sometimes<br />

even an end-user has to request for more information. An example are missing<br />

characters. There are several ways to get them reported:<br />

\enabletrackers[fonts.missing=replace]<br />

\enabletrackers[fonts.missing=remove]<br />

\enabletrackers[fonts.missing]<br />

For historic reasons we also have:<br />

\checkcharactersinfont<br />

\removemissingcharacters<br />

\replacemissingcharacters<br />

which happens automatically when you enable the tracker. There is some extra overhead<br />

involved so you might want to turn on this feature on only if you really expect characters<br />

not to be present.<br />

Say that we use Latin Modern fonts and ask for some of the rare fractions:<br />

\definedfont[lmroman10-regular*default-with-missing at 10pt]<br />

a b c ½ ⅓ ¼ ⅕ ⅙ ⅛ Ɣ ɣ ʤ ʭ ʮ α β γ<br />

we get this: a b c ½ ¼ . In the log file you will find something like<br />

this:<br />

fonts > characters > start missing characters: lmroman10-regular.otf<br />

missing > U+00194 Ɣ LATIN CAPITAL LETTER GAMMA<br />

missing > U+00263 ɣ LATIN SMALL LETTER GAMMA<br />

missing > U+002A4 ʤ LATIN SMALL LETTER DEZH DIGRAPH<br />

missing > U+002AD ʭ LATIN LETTER BIDENTAL PERCUSSIVE<br />

missing > U+002AE ʮ LATIN SMALL LETTER TURNED H WITH FISHHOOK<br />

missing > U+003B1 α GREEK SMALL LETTER ALPHA<br />

missing > U+003B2 β GREEK SMALL LETTER BETA<br />

missing > U+003B3 γ GREEK SMALL LETTER GAMMA<br />

missing > U+02153 ⅓ VULGAR FRACTION ONE THIRD<br />

missing > U+02155 ⅕ VULGAR FRACTION ONE FIFTH<br />

missing > U+02159 ⅙ VULGAR FRACTION ONE SIXTH<br />

missing > U+0215B ⅛ VULGAR FRACTION ONE EIGHTH<br />

fonts > characters > stop missing characters<br />

99<br />

Features

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!