作者windguide (夜很深)
看板LaTeX
標題[問題] 中文直書的問題
時間Sun Dec 30 02:48:53 2012
小弟接觸latex 有一段時間了,對於latex的認識也僅限於書上怎麼敎
就怎麼做的的程度,我是用texmaker這個軟體,基本的設定是按照網路上
http://tinyurl.com/3ehfper 的設定,最近想要用latex來排類似小說的
中文直書排版,卻遇到了問題,想請教各位幫忙
這是在網路上找到這個範例
http://cle.linux.org.tw/~edt1023/misc/big5vert.tex
出來的結果應該要是
http://cle.linux.org.tw/~edt1023/misc/big5vert.pdf
此範例是用Big5編碼,我用記事本開啟後改成UTF8的編碼另存新檔
用texmaker開啟後改了第26行與第27行
\begin{CJK}{Bg5}{aming} -----------> \begin{CJK}{UTF8}{aming}
\CJKcation{Bg5} -------------------> \CJKcaption{zh-Hant}
接著開始compile,遇到了下列問題
1. 首先是最後一行出現了錯誤訊息
! Package hyperref Error: Wrong DVI mode driver option `dvipdfm',
(hyperref) because XeTeX is running.
See the hyperref package documentation for explanation.
Type H <return> for immediate help.
請問這是出了甚麼問題?
2. line28 \CJKindent
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Argument of reserved@a has an extra }.
我只要不執行這行 其後面 line35 line164的錯誤也都消失
想煩請各位幫我解決,
或者可不可以提供文字直書的範例,因為真的還蠻需要的,感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.165.80.248
1F:→ LSC112233:用TeX來排中文右向左直排,真的不是好主意。 12/30 20:14
2F:→ windguide:想請問L大有甚麼推薦中文直書排版的軟體嗎 12/31 00:44
3F:→ LSC112233:莎士比亞是免費軟體中最好用的,功能還算OK。 12/31 01:10
4F:→ LSC112233:功能強大的,都不是一般人能負擔得起的。 12/31 01:12
5F:→ windguide:謝謝L大,我會試試 12/31 17:11