Re: [問題] 請問 cwtex 有直書的功能嗎?
我上網找了個例子
\documentclass[12pt]{scrreprt}
\usepackage{CJKutf8}
\usepackage{CJKvert}
\usepackage{CJKnumb}
\begin{document}
\begin{CJK}{UTF8}{bsmi}
\CJKcaption{UTF8}
\CJKindent
\pagestyle{plain}
\setcounter{page}{5}
\chapter{中文直排測試}
\noindent
橫放直排。從第五頁排起。
\section{將進酒}
君不見,黃河之水天上來,奔流到海不復回。君不見,高堂明鏡悲白髮,
朝如青絲暮成雪。人生得意須盡歡,莫使金樽空對月;天生我材必有用,
千金散盡還復來;烹羊宰牛且為樂,會須一飲三百杯;岑夫子、丹丘生,
將進酒、君莫停;與君歌一曲,請君為我側耳聽?
鐘鼓饌玉不足貴,但願長醉不願醒;古來聖賢皆寂寞,惟有飲者留其名;
陳王昔時宴平樂,斗酒十千恣讙謔;主人何為言少錢,徑須沽取對君酌;
五花馬、千金裘,呼兒將出換美酒;與爾同消萬古愁。
\newpage
\end{CJK}
\end{document}
但是我\CJKcaption{UTF8} 編譯不過去(我用winedt)
如果把這句省略,編出來的卻也是橫書...
但是此文所附編好的 PDF檔卻是直書,且已將紙張翻轉90度。
我不知道出了什麼問題,能請版眾指教一下嗎?
出處 http://hyperrate.com/thread.php?tid=7434
---------------
我把 \CJKcaption{UTF8} 換成 \CJKcaption{zh-Hant}
---------------
Output captured by WinEdt on 星期六, 一月 16, 2010 at 23:55
------------------------------------------------------------------
WinEdt has successfully executed MiKTeX PDFTeXify accessory.
If PDFLaTeX encountered and reported errors the resulting dvi file
may not appear properly displayed or in some cases may not be
created at all. For your convenience WinEdt captured output and
error files produced by the PDFTeXify accessory.
If there are problems (eg. if WinEdt displayed this file) read
this output carefully, fix any offending errors in your documents
and recompile your sources. If you are having troubles locating
and fixing errors please consult the extensive documentation
pertaining to PDFLaTeX in MiKTeX Doc folder.
Hint: WinEdt is almost certainly irrelevant to this situation!
WinEdt may be able to assist you with locating the most common
LaTeX's errors and warnings based on the information in TeX's log
file. If any such errors were detected you'll see the Error Log
panel displayed at the bottom of your screen.
Hint: use the Ctrl+E shortcut to "walk" through Errors and
Warnings in your documents (as reported by TeX)...
------------------------------------------------------------------
Errors were reported during the execution of PDFTeXify.
*** WinEdt captured the following error file:
Running makemf...
makemf: The bsmiu source file could not be found.
Running hbf2gf...
hbf2gf (CJK ver. 4.7.0)
Couldn't find `bsmiu.cfg'
maketfm: No creation rule for font bsmiu01.
texify: pdflatex.exe failed for some reason (see log file).
*** WinEdt captured the following console output:
This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7)
entering extended mode
(C:/xtemp/Test/_temp.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\koma-script\scrreprt.cls"
Document Class: scrreprt 2009/07/24 v3.04a KOMA-Script document class (report)
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\koma-script\scrkbase.sty"
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\koma-script\scrbase.sty"
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\graphics\keyval.sty")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\koma-script\scrlfile.sty"
Package scrlfile, 2009/03/25 v3.03 KOMA-Script package (loading files)
Copyright (C) Markus Kohm
))) ("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\koma-script\tocbasic.sty")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\koma-script\scrsize12pt.clo")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\koma-script\typearea.sty"
Package typearea, 2009/07/24 v3.04a KOMA-Script package (type area)
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-
)) ("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\CJKutf8.sty"
("C:\Program Files (x86)\MiKTeX 2.7\tex\generic\oberdiek\ifpdf.sty")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\inputenc.sty"
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\utf8.def"
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\t1enc.dfu")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\ot1enc.dfu")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\omsenc.dfu")))
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\CJK.sty"
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\mule\MULEenc.sty")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\CJK.enc"))
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\fontenc.sty"))
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\CJKvert.sty"
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\graphics\graphicx.sty"
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\graphics\graphics.sty"
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\graphics\trig.sty")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\00miktex\graphics.cfg")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\graphics\pdftex.def"))))
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\CJKnumb.sty")
No file _temp.aux.
("C:\Program Files (x86)\MiKTeX 2.7\tex\context\base\supp-pdf.tex"
[Loading MPS to PDF converter (version 2006.09.02).]
) ("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\UTF8\UTF8.bdg")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\UTF8\UTF8.enc")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\UTF8\UTF8.chr")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\UTF8\zh-Hant.cpx")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\UTF8\c70bsmi.fd")
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\cjk\UTF8\c70bsmi.fdx")
Chapter 1.
! Font C70/bsmi/bx/n/24.88/01=bsmiu01 at 24.88pt not loadable: Metric (TFM) fil
e not found.
<to be read again>
relax
l.11 \chapter{中文直排測試}
! pdfTeX error (font): invalid font identifier.
\font@name ->\C70/bsmi/bx/n/24.88/01
l.11 \chapter{中文直排測試}
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on _temp.log.
*** BibTeX did not produce a log file "_temp.blg"!
*** MakeIndex did not produce a log file "_temp.ilg"!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.85.144.154
推
01/16 22:56, , 1F
01/16 22:56, 1F
→
01/16 23:10, , 2F
01/16 23:10, 2F
推
01/16 23:31, , 3F
01/16 23:31, 3F
→
01/16 23:52, , 4F
01/16 23:52, 4F
※ 編輯: Cidolfas 來自: 219.85.144.154 (01/16 23:58)
→
01/17 00:06, , 5F
01/17 00:06, 5F
→
01/17 00:15, , 6F
01/17 00:15, 6F
推
01/17 00:27, , 7F
01/17 00:27, 7F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):