ปัญหา thailatex ใน ubuntu6.06 lts


ใน ubuntu 6.06 รู้สึกว่าเท่าที่ลองแพกเกจ thailatex จะมีปัญหาอะ น่าจะเป็นระบบเรื่องระบบไดเรคทอรี่ไม่ตรงกับ tetex อันใหม่ป่าวก็ไม่ทราบนะ แต่จะมีปัญหาหาฟอนท์ rnosari ไม่เจออยู่เรื่อง ที่สำคัญคือ thailatex อันนั้นเป็นเวอร์ชั่นเก่าอ่ะ 0.3.2 มั้ง จึงทำการคอมไพล์ thailatex เองซะเลยนะ
**คำแนะนำพิเศษไม่ควรลง แพกเกจ thailatex ที่มากับ ubuntu เลยนะ มันค่อนข้างมีปัญหาอ่ะ
สิ่งที่ต้องมี automake autoconf make gcc
เริ่มเลยนะ
ไปโหลด thailatex 0.3.7 มาซะ
ที่เหลือได้ตัดมาจากเว็บบอร์ดนะครับ

From: "chaiyaphorn_chatcha"<phpbb2@…>

Date: Sat May 20, 2006 11:27 pm

Subject: Re: ใช้ thailatex-0.3.7.tar.gz ไม่ได้ครับ

เวิร์คแล้วครับ

ผมเริ่มใหม่ดังนี้ครับ

$ tar xf thailatex-0.3.7.tar.gz

$ cd thailatex-0.3.7/

$ ./configure –prefix=/usr –with-texmfdir=/usr/share/texmf-tetex

$ make

$ sudo make install

$ sudo vi /etc/texmf/web2c/updmap.cfg

เพิ่ม

################################################################

# Map files.

################################################################

#

# There are two possible entries: Map and MixedMap. Both have one additional

# argument: the filename of the map file. MixedMap ("mixed" means that

# the font is available as bitmap and as outline) lines will not be used

# in the default map of dvips if dvipsPreferOutline is false. Inactive

# Map files should be marked by "#! " (without the quotes), not just #.

#

### End of file: /etc/texmf/updmap.d/00updmap.cfg

Map thai.map <– ตรงที่ผมเพิ่มขึ้นมา


หลังจากที่แก้ไฟล์ updmap.cfg แล้ว


$ sudo updmap

แล้วจะเห็น

updmap-sys: using map file

`/usr/share/texmf-tetex/fonts/map/dvips/thai/thai.map’

เพิ่มขึ้นมาจากเดิม


แค่นี้ก็ใช้งานได้แล้วครับ

ตลอดเวลาที่มันยังไม่เวิร์ค ผมรอคำตอบอะไรซักอย่าง เพื่อจะลองทำตาม

ขณะที่ผมทำตามคำแนะนำผมก็เริ่มเรียนรู้เกี่ยวกับลินุกส์มาที่ละนิด

เริ่มคิดว่าเข้าใจ

โชคดีที่คุณเข้ามาตอบผมอยู่เรื่อย ๆ

ผมก็มีความสนุกที่จะใช้ลินุกส์เพราะผมรู้สึกได้ว่า

>>ผมไม่ได้เดินเพียงพัง<<

(ผมไม่รับรองนะครับว่าจะใช้ได้ ใช้ไม่ได้ หรือ latex เจ๊งไปเลย)

ถึงจะเจ๊ง ผมก็ยินดี แต่ตอนนี้มัน เจ๋ง มากๆ

ขอบคุณครับ

ตอนนี้ใช้ได้แล้ว โย่
บันทึกไว้นะ
**ปล ขอบคุณคนในบอร์ดทุกคนที่เขียนเรื่องวิธีการแก้ปัญหาให้ผมอ่านนะ

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Connecting to %s