[問題] latex 整合的 compile

看板LaTeX (論文排版)作者 (純粹的存在)時間14年前 (2011/02/03 12:55), 編輯推噓1(102)
留言3則, 2人參與, 最新討論串1/2 (看更多)
先說明一下我的資料夾結構 test ├part1 │├submittedA1 ││├figure │││├figureA.eps │││└figureB.eps ││├article.tex ││└ref.bib │└submittedB1 │ │├figureA.eps │ │└figureB.eps │ ├article.tex │ └ref.bib │ ├part2 │├submittedA2 │││├figureA.eps │││└figureB.eps ││├article.tex ││└ref.bib │└submittedB2 │ │├figureA.eps │ │└figureB.eps │ ├article.tex │ └ref.bib │ ├all.tex └compile_all.bat ====================== compile_all.bat ============================== pdflatex all.tex bibtex part1\submittedA1\article bibtex part1\submittedB1\article bibtex part2\submittedA2\article bibtex part2\submittedB2\article pdflatex all.tex pdflatex all.tex ===================================================================== ===================== all.tex ======================================= \documentclass[]{ksthesis} \usepackage{epsfig} ... \doublespace \phdthesis \Thesisspace \begin{document} \begin{thesis} \include{part1/submittedA1/article} \include{part1/submittedB1/article} \include{part2/submittedA2/article} \include{part2/submittedB2/article} \addcontentsline{toc}{section}{References} \end{thesis} \end{document} ===================================================================== 感謝你耐心看到這裡 我現在遇到兩個問題 1. 在 submitted 的 article 中有 \begin{figure}[h] \centering \epsfig{file=.\figure\figureA} \caption{figureA} \label{fig:fiureA} \end{figure} 用 compile_all.bat compile 相對路徑的 base dir 變成在 test 底下 所以最後出來的圖全部找不到,要將上面\epsfig{file=.\figure\figureA} 改為\epsfig{file=part1\submittedA1\figure\figureA}圖才會出來 可是檔案有點多,而且是別人交上來的,所以不太可能一個一個改 請問一下這樣的情況要怎麼處理? 2. submitted 裡面有個 main.tex 跟 all.tex 一樣,但只是 \include{article} 分開 compile 是沒問題的,reference 都會出來,compile 指令為: pdflatex main.tex bibtex article bibtex main pdflatex main.tex pdflatex main.tex 但用 compile_all.bat compile 後全部的 reference 全部都變成 [?] 請問一下我要怎麼改 compile_all.bat 裡的指令? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.164.50.35 ※ 編輯: regeditj 來自: 218.164.50.35 (02/03 12:57)

02/03 15:28, , 1F
你的狀況可能combine或subfiles會更符合需求。
02/03 15:28, 1F

02/04 01:00, , 2F
謝謝關鍵字 這樣的方法可以編頁碼嗎?
02/04 01:00, 2F

02/04 01:27, , 3F
可以,我上個月才幫人編了整本67篇論文的期刊。
02/04 01:27, 3F
文章代碼(AID): #1DIZLDSq (LaTeX)
文章代碼(AID): #1DIZLDSq (LaTeX)