Changes

Jump to navigation Jump to search
770 bytes removed ,  19:02, 5 May 2014
Added links to the Fonts Manual.
'''Please, someone, fill this page !'''
'''This page is beeing regorganizedbeing reorganized'''
Using [[LuaTeX]] as the processing engine in ConTeXt allows one to directly use fonts installed on the user's system. Instead of converting all fonts into the standard <code>.tfm</code> and <code>.vf</code> formats (as outlined in some [[My Way]] documents<ref>[http://dl.contextgarden.net/websitesarchive/atl/tex/OpenType.pdf OpenType in ConTeXt] by Adam Lindsay</ref><ref>[http://dl.contextgarden.net/myway/expertfonts.pdf Installing Expert Fonts: Minion Pro] by Idris Samawi Hamid</ref>), LuaTeX creates these metric files automatically at run-time. This greatly simplifies font installation in ConTeXt.
MTX_FONTS_AUTOLOAD
to "no".
 
== Get a warning if the glyph is missing ==
 
You need to add the command <code>\checkcharactersinfont</code> or
(better) <code>\enabletrackers[fonts.missing]</code> in the preamble
of your document.
== References ==
[http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf The new manual chapter on fonts]
= Using fonts =
Handling fonts in LuaTeX can be done* in a simple but limited way, using the <code>simplefonts<[http://pragma-ade.com/code> module;* in the standard way, using [[TypeScripts]general/manuals/mfonts.pdf Old Fonts Manual by Hans Hagen]
== With the <code>simplefonts<[http:/code> module ==/pragma-ade.com/general/manuals/fonts-mkiv.pdf New Fonts Manual by Hans Hagen]
[http://www.ctan.org/tex-archive/macros/context/contrib/context-simplefonts simplefonts] is a third-party module written by Wolfgang Schuster.
It simplifies the use of = Using fonts in LuaTeX by* freeing the user from writing or using [[TypeScripts]];* offering an interface similar to the [http://www.ctan.org/tex-archive/macros/xetex/latex/fontspec/ fontspec package for XeTeX]=
For instanceHandling fonts in LuaTeX can be done* in a simple but limited way, assuming using the [http://www.josbuivenga.demon.nl/delicious.html Delicious fonts] are properly installed and recognized by ConTeXt, you can simply write: <texcode>\usemodule[simplefonts] % load the module\setmainfont[Delicious] % set Delicious as main (serif) font \starttext\rm\tf roman \it italic \bf bold \bi bolditalic \sc smallcaps\stoptext</texcode> === Installing |<code>simplefonts</code> ===module]];* If you're in the standard way, using LuaTeX along with TeXlive 2009, <code>simplefonts</code> is already installed* If you're running [[ConTeXt Minimals]TypeScripts], <code>simplefonts</code> can be installed like [http://wiki.contextgarden.net/ConTeXt_Minimals#Installing_third_party_modules any third-party module]: first-setup.sh --extras="t-simplefonts"
== The standard way: Typescripts ==
[[Category:Fonts]]
[[Category:International]]
[[Category:LuaTeX]]
5

edits

Navigation menu