Using Thai fonts with MiKTeX 2.4
What's new
2004/08/04 -- It's been a long time since my last release. Some of you might have been wondering whether I'm still alive. Well, after months of waiting patiently my wonderful free host Zer0Host seems to have gone for good. So here I am, back to the old plain home at Netscape.
Featuring Thai PDF bookmark support this new release also offers something rather more cool. Thai text can now be copied from Acrobat Reader and pasted to any Unicode-aware application! Hope you'll like it. Check out these two PDF examples orchid2.pdf [] and teststd.pdf [] first if you don't know what I'm talking about. Adobe Reader 6.x is required to view Thai bookmarks while Unicode copy-n-paste also works in Acrobat Reader 5.x (and probably Acrobat Reader 4.x as well).
What's this page for?
This page provides a package of Thai Type1 fonts together with all accompanied files to be used with MiKTeX 2.4. In this release, font files (in pfb/afm format) are obtained directly from the latest CVS (not as stable as the official release) of the ThaiLaTeX project rather than from the latest CVS (not as stable as the official release) of the ThaiFonts-Scalable project. LaTeX configuration files are obtained directly from the same place. LaTeX font files pfb, tfm, afm, vf are built and packed with configuration files to become this package. It's fair to say that this package is simply a ThaiLaTeX for MiKTeX 2.4. All the credit goes to everyone involved in the ThaiFonts-Scalable and ThaiLaTeX projects as well as everyone else making contributions to the Thai LaTeX community.
Thai version of this page may (or may never) come later.
Installation
Suppose that your MiKTeX 2.4 installation is under c:\texmf and your localtexmf is c:\localtexmf, here's what to do.
- Remove (or move out of the TeX tree) all your old font files from c:\texmf\fonts\type1\public\[dbtt|norasi|thai], c:\texmf\fonts\afm\public\[dbtt|norasi|thai], c:\texmf\fonts\tfm\public\[dbtt|norasi|thai], c:\texmf\fonts\vf\public\[dbtt|norasi|thai].
- Remove all your old font files from c:\localtexmf\fonts\pk\modeless\public\[dbtt|norasi|thai] or just remove the whole directories.
- Download the following files to your local temporary directory. Mine was c:\temp
Too lazy to download every single pack above? Then grab this one:
Full Pack [][sorry but Netscape doesn't allow files larger than 1MB]
- Grab Info-ZIP's unzip [] utility (or the original from http://www.info-zip.org/pub/infozip/ if you don't want viruses from me), put it in your temp and go to c:\localtexmf (where you should see fonts, dvips, miktex and other dirs), unzip everything from inside that directory (and to that directory):
c:\localtexmf> c:\temp\unzip c:\temp\miktex-thaifonts-*.zip
You will probably be asked if you want to replace some old files. Answer Yes, Yes, ..., Yes and Yes. It's probably a good idea to backup each file which gonna be replaced before you say "Yes".
- Install the CMAP package to enable the Thai Unicode copy-n-paste capability. This step can be skipped as MiKTeX, by default, can install missing packages for you automatically when needed (unless it's been configured otherwise). But if you prefer to do it manually, go to Start -> Programs -> MiKTeX -> MiKTeX Package Manager. Select package "cmap" and right click and select Install. If there is no "cmap" you might have to run MiKTeX Update Wizard first by going to Start -> Programs -> MiKTeX -> MiKTeX Update Wizard then restart MiKTeX Package Manager and you should see "cmap" in there.
- Run the following commands, in turn.
c:\localtexmf> initexmf --verbose --update-fndb
c:\localtexmf> initexmf --verbose --mkmaps
- You're all set. If you want to test the new fonts and/or new features, you can either:
- If you want to test the new fonts in DVI format, you can either:
- Enjoy TeXing!
ChangeLog
2004/08/04 -- New pack with Thai PDF bookmark support plus copy-n-paste Unicode Thai text.
2004/03/27 -- Problem converting .ps with dbttb (DBThaiText-Bold) font to .pdf fixed.
2004/03/25 -- New first two installation steps to support DVI.
2004/03/23 -- New pack built using FontForge 20040321. Moving to new host.
2004/03/12 -- The problem with PfaEdit 040301 seems to have been fixed. I'll build a new package next week.
2004/03/07 -- Ok, PfaEdit 040301 doesn't seem to like the fonts so here comes new package built using 040201.
2004/03/04 -- First release.
Copyleft(L) MMIV DonZakh UK -- Version 1.42 Updated:
[2004/08/07 16:00 BST]
|