Hagen - Pragma ADE
Hagen - Pragma ADE
Hagen - Pragma ADE
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
96<br />
Features<br />
}<br />
This time the application is feature driven. As with all features, setting them up has to<br />
happen before fonts are loaded. This will do the trick:<br />
\definefontfeature [lm-math] [mathdimensions=signs]<br />
The lm-math feature is not defined by default but can be used for such purposes. It is<br />
defined with the fontname:<br />
\definefontsynonym<br />
[LMMathRoman-Regular]<br />
[file:latinmodern-math-regular.otf]<br />
[features={math\mathsizesuffix,lm-math},<br />
goodies=lm]<br />
Most goodies are bound to fonts of collections of fonts. This is different for treatments.<br />
These ship with the distribution but you can also provide your own. As this is still somewhat<br />
experimental we just mention a few aspects. The entries are filenames that point<br />
to tables.<br />
return {<br />
name = "treatments",<br />
version = "1.00",<br />
comment = "Goodies that deals with some general issues.",<br />
author = "Hans <strong>Hagen</strong>",<br />
copyright = "ConTeXt development team",<br />
treatments = {<br />
["adobeheitistd-regular.otf"] = {<br />
embedded = false, -- not yet used<br />
comment = "this font is part of acrobat",<br />
},<br />
["crap.ttf"] = {<br />
ignored = true,<br />
comment = "a text file with suffix ttf",<br />
},<br />
["latinmodern-math.otf"] = {<br />
comment = "experimental",<br />
},<br />
["rubish-regular.ttf"] = {<br />
comment = "check output for missing à and á",<br />
}<br />
},<br />
}<br />
The comment entry in such a table becomes part of the message at the end of a run: