Difference between revisions of "Vietnamese"
Jump to navigation
Jump to search
(Some basic starter font information) |
m (Link back to Fonts) |
||
Line 1: | Line 1: | ||
+ | < [[Fonts]] | ||
Here are a couple hints on typesetting Vietnamese in ConTeXt, using the fonts from [http://vntex.sf.net/ vnTeX]. Download and install the vntex, vnr (type1), and vnurw packages from [http://sourceforge.net/projects/vntex/ that site] (unzipping into texmf-local or the equivalent should suffice). | Here are a couple hints on typesetting Vietnamese in ConTeXt, using the fonts from [http://vntex.sf.net/ vnTeX]. Download and install the vntex, vnr (type1), and vnurw packages from [http://sourceforge.net/projects/vntex/ that site] (unzipping into texmf-local or the equivalent should suffice). |
Revision as of 01:14, 29 November 2004
< Fonts
Here are a couple hints on typesetting Vietnamese in ConTeXt, using the fonts from vnTeX. Download and install the vntex, vnr (type1), and vnurw packages from that site (unzipping into texmf-local or the equivalent should suffice).
Add the following lines to your source code (or better, to your local cont-sys.tex file): Assuming you want to input UTF-8 documents by default:
\enableregime[utf]
Set the default encoding to the Vietnamese encoding:
\setupencoding[default=t5]
Load the map files for the t5 files in pdfTeX:
\loadmapfile[vnr] \loadmapfile[urwvn]
Unload the default CMR fonts:
\usetypescript[all][computer-modern][t5] \setupbodyfont[reset]
With that setup, you can use one of the following preset typescripts:
\usetypescript[modern-base][t5] \setupbodyfont[modern]
\usetypescript[modernvariable][t5] \setupbodyfont[modernvariable]
\usetypescript[berry][t5] \usetypescript[palatino][t5] \setupbodyfont[palatino]
\usetypescript[berry][t5] \usetypescript[times][t5] \setupbodyfont[times]
\usetypescript[berry][t5] \usetypescript[postscript][t5] \setupbodyfont[postscript]