作者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