Problem #404
XeTeX trong linux
| Status: | Closed | Start: | 21-04-2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 100% |
||
| Category: | texformat: xetex | |||
| Target version: | 2009_help | |||
| Resolution: | Fixed | |||
| Votes: | 1/1 |
Description
I have TeXLive 2008 on my Linux (Ubuntu 8.4) [full]. How can I use XeTex to write my document with TrueType Fonts ?
I'm sorry that I don't write in Vietnamese, because I have not a tool, to write Vietnamese.
Thanks
History
Updated by z over 1 year ago
- File xetex.pdf added
- Category set to texformat: xetex
- Status changed from New to Assigned
- Assigned to set to z
- Target version set to 2009_help
Don't worry, guy. You can use English here, because our engine supports many languages.
dduyhai has an excellent example about XeTeX at http://viettug.org/forum/3917. You may follow these steps:
- download the source: http://viettug.org/code/99f6fee634/plain and move the file to
xetex_example.tex - execute from your terminal/console:
xelatex xetex_example.tex - the result of this compiling likes this xetex.pdf
- note: You may install some windows fonts on your Ubuntu system :)
Hope this helps.
Updated by z over 1 year ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
- Resolution set to Fixed
Updated by phucluoi over 1 year ago
I have some windows Fonts in my Ubuntu (in the folder ~/.font). So how can I map them in TeX System, or that is not necessary.
Updated by z over 1 year ago
- Status changed from Closed to Reopened
- % Done changed from 100 to 10
- Resolution deleted (
Fixed)
phucluoi wrote:
I have some windows Fonts in my Ubuntu (in the folder ~/.font). So how can I map them in TeX System, or that is not necessary.
After copying font files to ~/.fonts, run fc-cache program. Then use some external programs to get the font's name. I use gfontview that's quite silly :P. For e.g,
| font file | font name (used in XeTeX) |
|---|---|
| vhtimebi.ttf | .VnTimeH Bold Italic |
| vmysti.ttf | VNI-Mysti |
Good luck.
Updated by phucluoi over 1 year ago
Thanks, I have tried it, that works very well. Now I can use ttf from Windows in my Latex document.
Updated by z over 1 year ago
- Status changed from Reopened to Closed
- % Done changed from 10 to 100
- Resolution set to Fixed