Re: [問題] 可以用otf字體嗎?

看板LaTeX (論文排版)作者時間19年前 (2007/04/01 15:01), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串8/8 (看更多)
※ 引述《mathfeel.bbs@ptt.cc (mathfeel)》之銘言: > \documentclass{article} > \usepackage{fontspec} > \usepackage{xltxtra} > \XeTeXlinebreaklocale "zh" > \XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt > \setmainfont[BoldFont={cwTeXHeiBold}, > ItalicFont={cwTeXFangSong}, > Mapping=tex-text]{cwTeXMing} > \begin{document} > \section*{將進酒} > 君不見 黃河之水天上來 奔流到海不復回\\ > 君不見 高堂明鏡悲白髮 朝如青絲暮成雪 > \end{codument} ^^^^^^^^^^^^^ typo \end{document} > 結果一樣: > $ xelatex sample-utf8.tex [...] > ** NOTICE: This document contains a `Preview & Print only' licensed font ** > Output written on sample-utf8.pdf (1 page). > Transcript written on sample-utf8.log. > 出來的pdf檔還是0 byte. > 我把里面所有中文改成英文,結果一樣。 你的作業系統要安裝 cwttf: http://cle.linux.org.tw/fonts/cwttf/ -- ▄▄▄▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄▄ <telnet://bbs.cs.nctu.edu.tw> █▄▄▄▄█ █ ▄▄▄▄▄█ Player: EdwardLee ▄█▄▄▄▄█ ▄▄▄█ █▄▄▄▄▄ From: linux.cc.ntu.edu.tw ☆ 次世代BS2 ☆ 可申請個人板 150MB 相簿 http://pic.bs2.to 交大資訊人 250MB

04/02 17:51, , 1F
原檔沒錯,我在ptt上打錯而已
04/02 17:51, 1F
文章代碼(AID): #163rYq00 (LaTeX)
文章代碼(AID): #163rYq00 (LaTeX)