Changes

Jump to navigation Jump to search
5,958 bytes added ,  17:48, 22 January 2023
missing glyphs and reference organization
to "no".
== Get a warning if the glyph is missing Missing glyphs ==
You need to add the command <code>\{{cmd|checkcharactersinfont</code> }} or(better) <code>\{{cmd|enabletrackers|[fonts.missing]</code> }} in the preamble
of your document.
In LMTX the command , {{cmd|replacemissingcharacters}} will insert boxes where missing characters are expected. The boxes adhere to font style (italics, bold) and copying the box from PDF into the text editor will insert the missing glyph, so one can see the missing character without looking at the ''missing characters'' section of the log file.
{{cmd|enabledirectives|2=[logs.errors=missing characters]}} throws an error and quits ConTeXt. After that, all you have to do is search for <code>start missing characters:</code> in the log file.
== References ==For example, imagine this sample:<ref>The relevant section of the log file from this sample would read:<pre>fonts > start missing characters: /home/user/context/tex/texmf/fonts/data/gust/lm/lmroman10-regular.otffonts > 2 U+003AC ά GREEK SMALL LETTER ALPHA WITH TONOSfonts > 2 U+003AD έ GREEK SMALL LETTER EPSILON WITH TONOSfonts > 2 U+003AE ή GREEK SMALL LETTER ETA WITH TONOSfonts > 2 U+003AF ί GREEK SMALL LETTER IOTA WITH TONOSfonts > 2 U+003B1 α GREEK SMALL LETTER ALPHAfonts > 2 U+003B2 β GREEK SMALL LETTER BETAfonts > 2 U+003B3 γ GREEK SMALL LETTER GAMMAfonts > 2 U+003B4 δ GREEK SMALL LETTER DELTAfonts > 2 U+003B5 ε GREEK SMALL LETTER EPSILONfonts > 2 U+003B7 η GREEK SMALL LETTER ETAfonts > 2 U+003B8 θ GREEK SMALL LETTER THETAfonts > 2 U+003B9 ι GREEK SMALL LETTER IOTAfonts > 2 U+003BA κ GREEK SMALL LETTER KAPPAfonts > 2 U+003BB λ GREEK SMALL LETTER LAMDAfonts > 2 U+003BC μ GREEK SMALL LETTER MUfonts > 2 U+003BD ν GREEK SMALL LETTER NUfonts > 2 U+003BF ο GREEK SMALL LETTER OMICRONfonts > 2 U+003C0 π GREEK SMALL LETTER PIfonts > 2 U+003C1 ρ GREEK SMALL LETTER RHOfonts > 2 U+003C2 ς GREEK SMALL LETTER FINAL SIGMAfonts > 2 U+003C3 σ GREEK SMALL LETTER SIGMAfonts > 2 U+003C4 τ GREEK SMALL LETTER TAUfonts > 2 U+003C5 υ GREEK SMALL LETTER UPSILONfonts > 2 U+003C6 φ GREEK SMALL LETTER PHIfonts > 2 U+003C7 χ GREEK SMALL LETTER CHIfonts > 2 U+003C8 ψ GREEK SMALL LETTER PSIfonts > 2 U+003C9 ω GREEK SMALL LETTER OMEGAfonts > 2 U+003CC ό GREEK SMALL LETTER OMICRON WITH TONOSfonts > 2 U+003CD ύ GREEK SMALL LETTER UPSILON WITH TONOSfonts > 2 U+003CE ώ GREEK SMALL LETTER OMEGA WITH TONOSfonts > 2 U+01F00 ἀ GREEK SMALL LETTER ALPHA WITH PSILIfonts > 2 U+01F04 ἄ GREEK SMALL LETTER ALPHA WITH PSILI AND OXIAfonts > 2 U+01F05 ἅ GREEK SMALL LETTER ALPHA WITH DASIA AND OXIAfonts > 2 U+01F10 ἐ GREEK SMALL LETTER EPSILON WITH PSILIfonts > 2 U+01F14 ἔ GREEK SMALL LETTER EPSILON WITH PSILI AND OXIAfonts > 2 U+01F21 ἡ GREEK SMALL LETTER ETA WITH DASIAfonts > 2 U+01F22 ἢ GREEK SMALL LETTER ETA WITH PSILI AND VARIAfonts > 2 U+01F27 ἧ GREEK SMALL LETTER ETA WITH DASIA AND PERISPOMENIfonts > 2 U+01F30 ἰ GREEK SMALL LETTER IOTA WITH PSILIfonts > 2 U+01F31 ἱ GREEK SMALL LETTER IOTA WITH DASIAfonts > 2 U+01F34 ἴ GREEK SMALL LETTER IOTA WITH PSILI AND OXIAfonts > 2 U+01F37 ἷ GREEK SMALL LETTER IOTA WITH DASIA AND PERISPOMENIfonts > 2 U+01F41 ὁ GREEK SMALL LETTER OMICRON WITH DASIAfonts > 2 U+01F44 ὄ GREEK SMALL LETTER OMICRON WITH PSILI AND OXIAfonts > 2 U+01F45 ὅ GREEK SMALL LETTER OMICRON WITH DASIA AND OXIAfonts > 2 U+01F50 ὐ GREEK SMALL LETTER UPSILON WITH PSILIfonts > 2 U+01F51 ὑ GREEK SMALL LETTER UPSILON WITH DASIAfonts > 2 U+01F54 ὔ GREEK SMALL LETTER UPSILON WITH PSILI AND OXIAfonts > 2 U+01F56 ὖ GREEK SMALL LETTER UPSILON WITH PSILI AND PERISPOMENIfonts > 2 U+01F61 ὡ GREEK SMALL LETTER OMEGA WITH DASIAfonts > 2 U+01F65 ὥ GREEK SMALL LETTER OMEGA WITH DASIA AND OXIAfonts > 2 U+01F70 ὰ GREEK SMALL LETTER ALPHA WITH VARIAfonts > 2 U+01F72 ὲ GREEK SMALL LETTER EPSILON WITH VARIAfonts > 2 U+01F74 ὴ GREEK SMALL LETTER ETA WITH VARIAfonts > 2 U+01F78 ὸ GREEK SMALL LETTER OMICRON WITH VARIAfonts > 2 U+01FA7 ᾧ GREEK SMALL LETTER OMEGA WITH DASIA AND PERISPOMENI AND YPOGEGRAMMENIfonts > 2 U+01FB6 ᾶ GREEK SMALL LETTER ALPHA WITH PERISPOMENIfonts > 2 U+01FBD ᾽ GREEK KORONISfonts > 2 U+01FC6 ῆ GREEK SMALL LETTER ETA WITH PERISPOMENIfonts > 2 U+01FC7 ῇ GREEK SMALL LETTER ETA WITH PERISPOMENI AND YPOGEGRAMMENIfonts > 2 U+01FD6 ῖ GREEK SMALL LETTER IOTA WITH PERISPOMENIfonts > 2 U+01FE5 ῥ GREEK SMALL LETTER RHO WITH DASIAfonts > 2 U+01FE6 ῦ GREEK SMALL LETTER UPSILON WITH PERISPOMENIfonts > 2 U+01FF6 ῶ GREEK SMALL LETTER OMEGA WITH PERISPOMENIfonts > 2 U+01FF7 ῷ GREEK SMALL LETTER OMEGA WITH PERISPOMENI AND YPOGEGRAMMENIfonts > stop missing characters</pre>Of course, this is an extreme case, since the ''Latin Roman'' typefaces lack Greek glyphs.</ref>
<context source="yes">\enabledirectives[http://contextlogs.aanhet.net/svn/contextmanerrors=missing characters]\mainlanguage[agr]\replacemissingcharacters\startTEXpage[offset=2em]\input aristotle-grc\stopTEXpage</context-reference/en/co-fonts.pdf The new manual chapter on fonts]>
This particular error quits ConTeXt after the first run. The last two lines in the console are:
[http<pre>system > status > quitting due to://pragmamissing charactersmtx-ade.nl/general/manuals/mfonts.pdf Old Fonts Manual by Hans Hagen] [httpcontext | fatal error: return code:1<//pragma-ade.nl/general/manuals/fonts-mkiv.pdf New Fonts Manual by Hans Hagen]pre>
Unless you check the console messages, the log file or the whole document looking for the replaced glyphs, please consider that you might miss that your PDF document may be lacking glyphs.
= Using fonts =
== Example ==
 
Now to access, say the regular warnock font, the following are valid. And I ought to mention that Hans recommends the first http://article.gmane.org/gmane.comp.tex.context/43685.
= References =
<references* Chapter [http:/>/pmrb.free.fr/contextref.pdf#aut:495 ''Fonts''] from the ''ConTeXt Reference Manual'' by Hans Hagen and Taco Hoekwater (September 2013).* [https://pragma-ade.com/general/manuals/mfonts.pdf ''Fonts in ConTeXt''] by Hans Hagen (November 2005).* [https://pragma-ade.com/general/manuals/fonts-mkiv.pdf ''Fonts Out of ConteXt: Explaining LuaTeX and MkIV''] by Hans Hagen (2016)  = Footnotes = 
[[Category:Fonts]]
139

edits

Navigation menu