Changes

Jump to navigation Jump to search
217 bytes added ,  10:56, 14 August 2005
m
code -> texcode; added Categories Category:Fonts, Category:International
Add the following lines to your source code (or better, to your local <tt>cont-sys.tex</tt> file):
Assuming you want to input UTF-8 documents by default:
<texcode>\enableregime[utf]</texcode>
Set the default encoding to the Vietnamese encoding:
<texcode>\setupencoding[default=t5]</texcode>
Load the map files for the t5 files in pdfTeX:
<texcode>\loadmapfile[vnr] \loadmapfile[urwvn]</texcode>
Unload the default CMR fonts:
<texcode>\usetypescript[all][computer-modern][t5] \setupbodyfont[reset]</texcode>
With that setup, you can use one of the following preset typescripts:
<texcode>\usetypescript[modern-base][t5] \setupbodyfont[modern]</texcode>
<texcode>\usetypescript[modernvariable][t5] \setupbodyfont[modernvariable]</texcode>
<texcode>\usetypescript[berry][t5] \usetypescript[palatino][t5] \setupbodyfont[palatino]</texcode>
<texcode>\usetypescript[berry][t5] \usetypescript[times][t5] \setupbodyfont[times]</texcode>
<texcode>\usetypescript[berry][t5] \usetypescript[postscript][t5] \setupbodyfont[postscript]</texcode>
Ok! Just installed teTeX-beta-20041128 and ConTeXt works well now :-) --[[User:NguyenDaiQuy|Quy]]
 
[[Category:Fonts]]
[[Category:International]]

Navigation menu