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

加入參考資料後目錄消失一部分

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



註冊時間: 2017-07-13
文章: 2

發表發表於: 星期四 七月 13, 2017 9:39 pm    文章主題: 加入參考資料後目錄消失一部分 引言回覆

吳老師您好

目前我使用winedt8 再加入參考資料時,目錄標示從第六章以後消失了,但內容是正常的。我嘗試過刪除xtemp內所有資料以及rebuilt all,但是都無法修復目錄。想問老師是哪部分出現問題。謝謝老師。

我的寫法是Confused
\documentclass[12pt,a4paper]{report}
\input{SP_EESetup}
\usepackage{amsmath}
\usepackage{color}
\usepackage[UTF8, heading]{ctex}
\usepackage[UTF8]{ctexcap}
\usepackage{bm}
\usepackage{enumerate}
\usepackage{verbatim}
\usepackage[section] {placeins}
\usepackage{caption}
%\usepackage{subcaption}
\usepackage{graphicx,booktabs,multirow}
%使用 titletoc 這一個 package
\usepackage{titletoc}
\usepackage{titlesec} % 美化章節標題套件

\usepackage{psfrag}


\ctxfdef{\textsl}{\ctxfms}
\ctxfdef{\textbf}{\ctxfbb}

%\usepackage{longtable}%跨頁的表格
%\usepackage{supertabular} % 太复杂

\usepackage{contour}
\contournumber{2}
\ctxfdef{\ckb}{\ctxfk}
\newcommand{\ckb}[1]{\contour{black}{#1}}


\usepackage{titlesec,titletoc,CJK,CJKnumb}

\usepackage{subfigure}
\usepackage{subfig}



\usepackage{CJKnumb}
%\titleformat{\chapter}{\centering\Huge\itshap\contour{black}}{第\,\CJKnumber{\thechapter}\,章}{1em} {}
\titleformat{\chapter}{\centering\Huge\bfseries}{第\,\CJKnumber{\thechapter}\,章}{1em} {}
%\titleformat{\chapter}{\centering\Huge\sf\contour{black}}
%\titleformat*{\chapter}{\centering\Huge}

\ctxfdef{\chapter}[\Large\ctxfk]{\Large\ctxfk}
\ctxfdef{\section}[\Large\ctxfk]{\Large\ctxfk}
\ctxfdef{\subsection}\Large\ctxfk]{\Large\ctxfk}
\ctxfdef{\subsubsection}[\Large\ctxfk]{\Large\ctxfk}
\titlespacing{\chapter}{0.2cm}{-1.3cm}{1em}

\titlecontents{chapter}
[0em]
{}
{}
{}{\titlerule*[1pc]{.}\contentspage}

\titlecontents{section}
[6.0em]{}
{\contentslabel{2em}}
{\hspace*{0.0em}}
{\titlerule*[0.5pc]{.}\contentspage}

\titlecontents{subsection}
[6.7em]{}
{\contentslabel{2.6em}}
{\hspace*{0.0em}}
{\titlerule*[0.5pc]{.}\contentspage}

\ctxfdef{\caption}[\Large\ctxfk]{\Large\ctxfk}
\renewcommand{\figurename}{\Large\ctxfk 圖}
\renewcommand{\tablename}{\Large\ctxfk 表}
\newcommand{\loflabel}{\Large\ctxfk 圖}
\newcommand{\lotlabel}{\Large\ctxfk 表}
%\k14
\Large\ctxfk

\begin{document}



\pagenumbering{roman} % 設定頁以i,ii,iii,...顯示
\input{SP_EECover}
\setcounter{page}{1}
\input{SP_EEAbstract}
\setcounter{page}{3} %若要放致謝時,則改為4
\input{SP_EEContents}

\pagestyle{plain}

\pagenumbering{arabic} % 設定頁碼以1,2,3...顯示
\input{SP_EE110} % 第一章 緒論
\input{SP_EE210} % 第二章 系統簡介

\input{SP_EE310}
\input{SP_EE410}

\input{SP_EE510}
\input{SP_EE610}
\input{SP_EE710}
\input{SP_EE810}
%\input{ThesisTemplate-EE310lagi}
\emph{}

\bibliographystyle{IEEEtran}
%\bibliographystyle{unsrt}
\newpage
\addcontentsline{toc}{chapter}{參考文獻}
\renewcommand{\bibname}{\ckb {參考文獻}}
\bibliography{SP_bib}

\input{Author} % 作者簡介

\end{document}

謝謝老師。
回頂端
檢視會員個人資料 發送私人訊息
tmwu
Site Admin


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

發表發表於: 星期四 七月 13, 2017 10:47 pm    文章主題: Re: 加入參考資料後目錄消失一部分 引言回覆

我建議把底下指令 comment out:

\usepackage[UTF8, heading]{ctex}
\usepackage[UTF8]{ctexcap}
\usepackage{CJK,CJKnumb}
\usepackage{CJKnumb}


若仍然有問題, 請寄 mwe。
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
bellechen



註冊時間: 2017-07-13
文章: 2

發表發表於: 星期五 七月 14, 2017 5:10 pm    文章主題: 引言回覆

老師好,
我解決問題了! 開啟.log檔案發現裡面是空白的,因此將資料匣中所有生成檔刪掉並重新編譯便成功解決目錄不完整的問題。
謝謝!!!
回頂端
檢視會員個人資料 發送私人訊息
從之前的文章開始顯示:   
發表新主題   回覆主題    吳聰敏老師的討論區 首頁 -> cwTeX 討論區 所有的時間均為 台灣時間 (GMT + 8 小時)
1頁(共1頁)

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


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