[問題] 中文直書的問題
小弟接觸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
→
12/30 20:14, , 1F
12/30 20:14, 1F
→
12/31 00:44, , 2F
12/31 00:44, 2F
→
12/31 01:10, , 3F
12/31 01:10, 3F
→
12/31 01:12, , 4F
12/31 01:12, 4F
→
12/31 17:11, , 5F
12/31 17:11, 5F
討論串 (同標題文章)
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章