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

問題

 
發表新主題   回覆主題    吳聰敏老師的討論區 首頁 -> cwTeX 討論區
上一篇主題 :: 下一篇主題  
發表人 內容
jp168



註冊時間: 2019-10-21
文章: 4

發表發表於: 星期一 十月 21, 2019 2:05 pm    文章主題: 問題 引言回覆

1. 在TexStudio中CTRL-SHIFT-S,跑examp1.ctx.,雖然可以看到正確的pdf output.但是在執行過程中,會出現
debug: OperationError: debug: operror-type: LookupError debug: operror-value: unknown encoding: cp65001 debug: OperationError: debug: operror-type: AttributeError debug: operror-value: stdout

Process exited with error(s)

Process started: "CConfused/Program Files/SumatraPDF/SumatraPDF.exe" "examp1".pdf

Process exited normally

2.在編輯舊檔ctx (已轉換成utf-Cool時,

debug: OperationError: debug: operror-type: LookupError debug: operror-value: unknown encoding: cp65001 debug: OperationError: debug: operror-type: AttributeError debug: operror-value: stdout

Process exited with error(s)

Process started: "CConfused/Program Files/SumatraPDF/SumatraPDF.exe" "ABC".pdf

會出現Error loading: ABC.pdf,當關掉Sumatra,會出現

! stream-open.c:190:

Process exited normally


謝謝您的幫忙!

Thanks and Best,
回頂端
檢視會員個人資料 發送私人訊息
tmwu
Site Admin


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

發表發表於: 星期四 十月 24, 2019 10:39 pm    文章主題: Re: 問題 引言回覆

我這邊測試並無問題。

請把 examp1.ctx 移至 dConfused\tex

以 TexStudio 開啟, 分別用

Ctrl-Shft- T



Ctrl-Shft- S

看看是否有問題。
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
jp168



註冊時間: 2019-10-21
文章: 4

發表發表於: 星期一 十月 28, 2019 8:07 am    文章主題: 引言回覆

謝謝吳老師回覆.

將文件放入dConfused\tex,然後用Ctrl-Shift-T and Ctrl-Shift-S執行,結果跟之前一樣有錯誤訊息產生.

先是出現Could not start cwpdf-py.cwpdf-py:cwppdf-py.bat "examp1".
然後就出現 Error loading DConfused\tex\examp1.pdf

在訊息窗口,顯示~
Process started: cwps-py.bat "examp1"

DConfused\tex>rem For TeXstudio

DConfused\tex>rem cwtex5.txsprofile setup as follows, (Confused filename without extension)

DConfused\tex>rem

DConfused\tex>rem Tools\Commands\user0=cwpdf-py.bat

DConfused\tex>rem

DConfused\tex>if not exist examp1.ctx if exist examp1.tex latexmk.exe -ps -silent -synctex=1 examp1.tex

DConfused\tex>if exist examp1.ctx pypy.exe "cConfused\Program Files\cwtex5\bin\cwpdf.py" -ts_win -ps examp1.ctx

debug: OperationError: debug: operror-type: LookupError debug: operror-value: unknown encoding: cp65001 debug: OperationError: debug: operror-type: AttributeError debug: operror-value: stdout

Process exited with error(s)



Process started: "CConfused/Program Files/SumatraPDF/SumatraPDF.exe" "examp1".pdf

在CConfused\Program Files\cwtex5\tex\examples中有看到TexWorks的圖檔,但是打開TexWorks沒有看到cwpdf的選項,麻煩吳老師指導如何設定,因為之前用cwtex34都是在TexWorks下排版.

謝謝吳老師的幫忙. 我的電腦是Win 10 Home, version 1903
回頂端
檢視會員個人資料 發送私人訊息
tmwu
Site Admin


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

發表發表於: 星期一 十月 28, 2019 5:48 pm    文章主題: 引言回覆

請試 WinEdt 文字編輯軟體, 看能否排版出來。
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
jp168



註冊時間: 2019-10-21
文章: 4

發表發表於: 星期二 十月 29, 2019 12:37 pm    文章主題: 引言回覆

謝謝吳老師回復.

使用WinEdt8排版,crtl-shift-T和crtl-shift-S都沒有反應.

請老師指導,謝謝您.
回頂端
檢視會員個人資料 發送私人訊息
tmwu
Site Admin


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

發表發表於: 星期二 十月 29, 2019 1:18 pm    文章主題: 引言回覆

我懷疑沒安裝好, 請測試以下。

請依Confused

http://homepage.ntu.edu.tw/~ntut019/cwtex/cwtex5-guide.pdf

第4.1節測試。

若可跑出 test.tex, 請再執行Confused

lualatex test

以上測試之後, 請把 dConfused\temp 內的檔案以 email 寄給我。
主網頁左下角可找到我的 email。
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
tmwu
Site Admin


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

發表發表於: 星期二 十月 29, 2019 1:55 pm    文章主題: 引言回覆

我再看一下錯誤訊息, 似乎來看 python。
請問你電腦是否自行安裝 pypy 2.7?
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
jp168



註冊時間: 2019-10-21
文章: 4

發表發表於: 星期三 十月 30, 2019 9:01 am    文章主題: 引言回覆

謝謝吳老師回覆.

已經email給您.

謝謝您的幫忙!
回頂端
檢視會員個人資料 發送私人訊息
從之前的文章開始顯示:   
發表新主題   回覆主題    吳聰敏老師的討論區 首頁 -> cwTeX 討論區 所有的時間均為 台灣時間 (GMT + 8 小時)
1頁(共1頁)

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


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