吳聰敏老師的討論區 首頁 吳聰敏老師的討論區
經濟學與 cwTeX 討論區
 
 常見問題常見問題   搜尋搜尋   會員列表會員列表   會員群組會員群組   會員註冊會員註冊 
 個人資料個人資料   登入檢查您的私人訊息登入檢查您的私人訊息   登入登入 

mac升級成El Capitan後無法使用cwtex
前往頁面 上一頁  1, 2
 
發表新主題   回覆主題    吳聰敏老師的討論區 首頁 -> cwTeX 討論區
上一篇主題 :: 下一篇主題  
發表人 內容
jjhuang



註冊時間: 2009-02-14
文章: 21

發表發表於: 星期三 十月 07, 2015 12:14 am    文章主題: Re: El Capitan版本執行cwtex失敗 引言回覆

josiechen 寫到Confused
謝謝黃先生,不好意思想請教您,要如何開啟 ~/.profile呢?

另外,我在終端機裡面下了命令:$ echo $PATH
結果是:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin


在終端機下以下的命令:
$ cd /Library/TeX/texbin
$ ls -l cw*

結果是:
-rwxr-xr-x 1 root wheel 148196 Apr 18 06:01 cweave
lrwxr-xr-x 1 root wheel 22 Aug 26 22:30 cwtex -> /usr/texbin/cwtex_i386
-rwxr-xr-x@ 1 root wheel 205212 Oct 4 01:27 cwtex_i386
-rwxr-xr-x@ 1 root wheel 229144 Oct 4 01:27 cwtex_ppc


Okay, 我看到問題了,不過這很奇怪就是了,我想可能是你前幾次安裝的時候留下來的問題,我告訴你怎麼修正,一樣在終端機裡面:
$ cd /Library/TeX/texbin
$ sudo rm cwtex

這個命令會問你密碼,輸入你帳號的密碼即可,然後再繼續下命令

$ sudo ln -s cwtex_i386 cwtex

然後你打
$ which cwtex
應該可以看到結果是Confused
/Library/TeX/texbin/cwtex

也可以直接執行:
$ cwtex
回頂端
檢視會員個人資料 發送私人訊息
jjhuang



註冊時間: 2009-02-14
文章: 21

發表發表於: 星期三 十月 07, 2015 12:17 am    文章主題: Re: El Capitan版本執行cwtex失敗 引言回覆

jjhuang 寫到Confused
josiechen 寫到Confused
謝謝黃先生,不好意思想請教您,要如何開啟 ~/.profile呢?

另外,我在終端機裡面下了命令:$ echo $PATH
結果是:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin


在終端機下以下的命令:
$ cd /Library/TeX/texbin
$ ls -l cw*

結果是:
-rwxr-xr-x 1 root wheel 148196 Apr 18 06:01 cweave
lrwxr-xr-x 1 root wheel 22 Aug 26 22:30 cwtex -> /usr/texbin/cwtex_i386
-rwxr-xr-x@ 1 root wheel 205212 Oct 4 01:27 cwtex_i386
-rwxr-xr-x@ 1 root wheel 229144 Oct 4 01:27 cwtex_ppc


Okay, 我看到問題了,不過這很奇怪就是了,我想可能是你前幾次安裝的時候留下來的問題,我告訴你怎麼修正,一樣在終端機裡面:
$ cd /Library/TeX/texbin
$ sudo rm cwtex

這個命令會問你密碼,輸入你帳號的密碼即可,然後再繼續下命令

$ sudo ln -s cwtex_i386 cwtex

然後你打
$ which cwtex
應該可以看到結果是Confused
/Library/TeX/texbin/cwtex

也可以直接執行:
$ cwtex


對了,~/.profile 不用編輯了
回頂端
檢視會員個人資料 發送私人訊息
josiechen



註冊時間: 2015-09-08
文章: 14

發表發表於: 星期三 十月 07, 2015 6:32 pm    文章主題: Re: El Capitan版本執行cwtex失敗 引言回覆

謝謝黃先生,太感激了,cwtex已大致可以執行!但是,插入圖片的功能仍有問題。例如,開啟example中的ex-bm.ctx時,仍出現錯誤訊息,無法產生pdf檔。

由於對cwtex認識淺薄,我不太清楚console中哪些訊息是值得參考的,先貼上最後幾行,請黃先生幫我看一下,麻煩您了,如果需要更多的資訊,也麻煩您跟我說。

最後幾行的錯誤訊息為:

Last OS error: Invalid argument
Current file position is 226683
GPL Ghostscript 9.16: Unrecoverable error, exit code 1
GPL Ghostscript 9.16: ERROR: A pdfmark destination page 3 points beyond the last page 2.
### FAILED to generate /tmp/altpdflatex.6557-1444213778/ex-bm.pdf ()
回頂端
檢視會員個人資料 發送私人訊息
jjhuang



註冊時間: 2009-02-14
文章: 21

發表發表於: 星期三 十月 07, 2015 10:01 pm    文章主題: Re: El Capitan版本執行cwtex失敗 引言回覆

josiechen 寫到Confused
謝謝黃先生,太感激了,cwtex已大致可以執行!但是,插入圖片的功能仍有問題。例如,開啟example中的ex-bm.ctx時,仍出現錯誤訊息,無法產生pdf檔。

由於對cwtex認識淺薄,我不太清楚console中哪些訊息是值得參考的,先貼上最後幾行,請黃先生幫我看一下,麻煩您了,如果需要更多的資訊,也麻煩您跟我說。

最後幾行的錯誤訊息為:

Last OS error: Invalid argument
Current file position is 226683
GPL Ghostscript 9.16: Unrecoverable error, exit code 1
GPL Ghostscript 9.16: ERROR: A pdfmark destination page 3 points beyond the last page 2.
### FAILED to generate /tmp/altpdflatex.6557-1444213778/ex-bm.pdf ()


Console 訊息全貼上來吧,可能前面就有問題了
回頂端
檢視會員個人資料 發送私人訊息
josiechen



註冊時間: 2015-09-08
文章: 14

發表發表於: 星期三 十月 07, 2015 10:03 pm    文章主題: Re: El Capitan版本執行cwtex失敗 引言回覆

好的,謝謝黃先生。訊息如下:

[82])
Output written on ex-bm.tex & cinput.tex.

The Preprocessor of cwTeX, Version 19.6g (MikTeX and TeXlive).
Copyright (C) 2008 By Wu T.M., Wu T.H., Wong M.D. All Rights Reserved.
Linux Version 01 20001.7.1. Source code: cwtex8.c
based on Kpathsea searching library
MacOSX $Revision: 1.2 $ $Date: 2009/01/03 08:28:13 $
This is cwTeX preprocessor, version 19.6g.
**ex-bm
(ex-bm.ctxTranscript written on ex-bm.xlg.
### This is /Library/TeX/texbin/simpdftex, Version 20070809
### /Library/TeX/texbin/latex ex-bm.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
(./ex-bm.tex
LaTeX2e <2015/01/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(./cinput.tex) (/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamer.cls
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasercs.sty)
Document Class: beamer 2015/01/05 3.36 A class for typesetting presentations (r
cs-revision 8a39122e1f63)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasemodes.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasedecode.sty))
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbaseoptions.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2015/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/extsizes/size14.clo)
(/usr/local/texlive/2015/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/dvips.def)))
(/usr/local/texlive/2015/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.te
x
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-li
sts.tex))
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
(/usr/local/texlive/2015/texmf-dist/tex/latex/ms/everyshi.sty))
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex))

(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.c
ode.tex))
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvips.de
f
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-p
ostscript.def)))
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.
code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.
code.tex)) (/usr/local/texlive/2015/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/color.cfg))
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.
tex
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic
.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigo
nometric.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.rando
m.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.compa
rison.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.
code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round
.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.
code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integ
erarithmetics.code.tex)))
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)
)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.co
de.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconst
ruct.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage
.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.co
de.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicst
ate.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransform
ations.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.cod
e.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.c
ode.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathproce
ssing.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.co
de.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.cod
e.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.cod
e.tex
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.
code.tex))
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.co
de.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretranspare
ncy.code.tex)
(/usr/local/texlive/2015/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.
code.tex)))
(/usr/local/texlive/2015/texmf-dist/tex/latex/pgf/utilities/xxcolor.sty)
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/atbegshi.sty
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/local/texlive/2015/texmf-dist/tex/latex/url/url.sty)

Package hyperref Message: Stopped early.

)

Package hyperref Message: Driver (default): hdvips.

(/usr/local/texlive/2015/texmf-dist/tex/latex/hyperref/hdvips.def
(/usr/local/texlive/2015/texmf-dist/tex/latex/hyperref/pdfmark.def
(/usr/local/texlive/2015/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)))
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbaserequires.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasecompatibility.st
y) (/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasefont.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/sansmathaccent/sansmathaccent.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/filehook/filehook.sty)))
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasetranslator.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/translator/translator.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/translator/translator-lang
uage-mappings.tex)))
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasemisc.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasetitle.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasesection.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbaseframe.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.
sty) (/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasecolor.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasenotes.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasetoc.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasetemplates.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty)))
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.s
ty (/usr/local/texlive/2015/texmf-dist/tex/latex/tools/enumerate.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/amscls/amsthm.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/beamerbasethemes.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/themes/theme/beamerthemede
fault.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/themes/font/beamerfontthem
edefault.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/themes/color/beamercolorth
emedefault.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/themes/inner/beamerinnerth
emedefault.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/themes/outer/beamerouterth
emedefault.sty)))
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/themes/theme/beamerthemeMa
lmoe.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/themes/outer/beamerouterth
emesplit.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/themes/color/beamercolorth
emewhale.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/themes/color/beamercolorth
emedolphin.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/themes/font/beamerfontthem
eprofessionalfonts.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/themes/outer/beamerouterth
ememiniframes.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/multimedia/xmpmulti.sty)

Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 26.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 26.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 26.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\\' on input line 26.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 26.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 26.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 26.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 26.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 26.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 28.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 28.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 28.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 28.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 28.


Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\char' on input line 28.

(./ex-bm.aux)
*geometry* driver: auto-detecting
*geometry* detected driver: dvips
ABD: EveryShipout initializing macros
(/usr/local/texlive/2015/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-basic-dictionary/translator-basic-dictionary-English.dict)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-bibliography-dictionary/translator-bibliography-dictionary-English.dict)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-environment-dictionary/translator-environment-dictionary-English.dict)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-months-dictionary/translator-months-dictionary-English.dict)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-numbers-dictionary/translator-numbers-dictionary-English.dict)
(/usr/local/texlive/2015/texmf-dist/tex/latex/beamer/translator/dicts/translato
r-theorem-dictionary/translator-theorem-dictionary-English.dict) (./ex-bm.nav)
(/Users/ic12/Library/texmf/tex/latex/cwtex/ot1cwr.fd)

LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available
(Font) size <5> substituted on input line 31.

[1] (./ex-bm.toc) [2] <cx3-Flores.jpg> [3]
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2015/texmf-dist/tex/latex/amsfonts/umsb.fd) [4] [5]
[6] [7] [8] [9] [10] [11] <ex-bm-0.png> [12] <ex-bm-1.png> [13] <ex-bm-2.png>
[14] (./ex-bm.aux)

LaTeX Font Warning: Size substitutions with differences
(Font) up to 1.0pt have occurred.

)
Output written on ex-bm.dvi (14 pages, 178684 bytes).
Transcript written on ex-bm.log.
### /Library/TeX/texbin/dvips -R -Poutline -o /tmp/altpdflatex.6740-1444226527/ex-bm.ps ex-bm.dvi
This is dvips(k) 5.995 Copyright 2015 Radical Eye Software (www.radicaleye.com)
' TeX output 2015.10.07:2202' -> /tmp/altpdflatex.6740-1444226527/ex-bm.ps
</usr/local/texlive/2015/texmf-dist/dvips/base/tex.pro>
</usr/local/texlive/2015/texmf-dist/dvips/base/texps.pro>
</usr/local/texlive/2015/texmf-dist/dvips/base/special.pro>
</usr/local/texlive/2015/texmf-dist/dvips/base/color.pro>.
</Users/ic12/Library/texmf/fonts/type1/cwtex/r9.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r6.pfb>
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/symbols/msam10.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r15.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r5.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r10.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r12.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r4.pfb>
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmss8.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r7.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r8.pfb>
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmss12.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r1.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r2.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r0.pfb>
</Users/ic12/Library/texmf/fonts/type1/cwtex/r3.pfb>
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmss17.pfb>
[1] [2] [3<./cx3-Flores.jpg>] [4] [5] [6] [7] [8] [9] [10] [11] [12
<./ex-bm-0.png>] [13<./ex-bm-1.png>] [14<./ex-bm-2.png>]
### ps2pdf13 /tmp/altpdflatex.6740-1444226527/ex-bm.ps /tmp/altpdflatex.6740-1444226527/ex-bm.pdf
Error: /undefined in ÿØÿà
Operand stack:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1951 1 3 %oparray_pop 1950 1 3 %oparray_pop 1934 1 3 %oparray_pop 1820 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1185/1684(ro)(G)-- --dict:1/20(G)-- --dict:88/200(L)-- --dict:212/300(L)-- --dict:92/200(L)--
Current allocation mode is local
Last OS error: Invalid argument
Current file position is 226683
GPL Ghostscript 9.16: Unrecoverable error, exit code 1
GPL Ghostscript 9.16: ERROR: A pdfmark destination page 3 points beyond the last page 2.
### FAILED to generate /tmp/altpdflatex.6740-1444226527/ex-bm.pdf ()
回頂端
檢視會員個人資料 發送私人訊息
tmwu
Site Admin


註冊時間: 2003-03-03
文章: 1537

發表發表於: 星期四 十月 08, 2015 12:03 am    文章主題: Re: El Capitan版本執行cwtex失敗 引言回覆

ex-bm.ctx 是跑 beamer 投影片, 檔案引入 .png 圖形。

排版時, 不能用 latex + dvips,
須用 pdflatex。
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
josiechen



註冊時間: 2015-09-08
文章: 14

發表發表於: 星期六 十月 10, 2015 9:12 am    文章主題: Re: El Capitan版本執行cwtex失敗 引言回覆

吳老師好,目前我是用cwTeX-PDF去跑的,我以為這也算是pdflatex,有誤的地方還請吳老師指正。謝謝你。
回頂端
檢視會員個人資料 發送私人訊息
tmwu
Site Admin


註冊時間: 2003-03-03
文章: 1537

發表發表於: 星期六 十月 10, 2015 2:02 pm    文章主題: Re: El Capitan版本執行cwtex失敗 引言回覆

你的錯誤訊息內出現 dvips 程式, 表示你是先用 latex, 跑出 .dvi,
再以 dvips 轉成 .ps, 最後再轉成 .pdf。

在 Windows 下, 是使用 cwpdf4 排版, 但 mac 我完全不熟。
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
jjhuang



註冊時間: 2009-02-14
文章: 21

發表發表於: 星期一 十月 19, 2015 11:51 pm    文章主題: Re: El Capitan版本執行cwtex失敗 引言回覆

josiechen 寫到Confused
吳老師好,目前我是用cwTeX-PDF去跑的,我以為這也算是pdflatex,有誤的地方還請吳老師指正。謝謝你。


cwTeX-PDF 的確如吳老師所說,是走 latex->dvi->dvipdfm->pdf 這個流程,TeXShop 我不常用,現在也找不到該如何改 TeXShop engine 了。檔案在 ~/Library/TeXShop/Engines 裡面,其實都是 bash script,可能等我比較有空再來修改,或是你願意自己研究一下也很好。

或者,就直揭開終端機出來,先執行Confused
$ cwtex file
$ pdflatex file

command line 還是我最常用的 LaTeX 編譯方式,呵呵。
回頂端
檢視會員個人資料 發送私人訊息
從之前的文章開始顯示:   
發表新主題   回覆主題    吳聰敏老師的討論區 首頁 -> cwTeX 討論區 所有的時間均為 台灣時間 (GMT + 8 小時)
前往頁面 上一頁  1, 2
2頁(共2頁)

 
前往:  
無法 在這個版面發表文章
無法 在這個版面回覆文章
無法 在這個版面編輯文章
無法 在這個版面刪除文章
無法 在這個版面進行投票


Powered by phpBB © 2001, 2005 phpBB Group
正體中文語系由 phpbb-tw 維護製作