Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reorder #38

Merged
merged 1 commit into from
May 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"latex-workshop.latex.autoClean.run": "onFailed",
"latex-workshop.latex.search.rootFiles.include": [
"main.tex"
],
"latex-workshop.latex.tools": [
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-output-directory=%OUTDIR%",
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-halt-on-error",
"main.tex"
],
},
{
"name": "biber",
"command": "biber",
"args": [
"main"
]
}
],
"latex-workshop.linting.chktex.enabled": true,
"latex-workshop.latex.recipes": [
{
"name": "xelatex",
"tools": [
"xelatex"
]
},
{
"name": "xelatex -> biber -> xelatex* 2",
"tools": [
"xelatex",
"biber",
"xelatex",
"xelatex"
]
},
{
"name": "biber",
"tools": [
"biber"
]
}
]
}
6 changes: 3 additions & 3 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
rm -rf *.aux *.log *.bbl *.blg *.bcf *.toc *.fls *.nav *.out *.snm *.fdb_latexmk *.vrb *.gz *.run.xml main-blx.bib tex/*.aux
)&(
(
xelatex -interaction=nonstopmode -halt-on-error main
xelatex -interaction=nonstopmode -halt-on-error main.tex
) && biber main && (
xelatex -interaction=nonstopmode -halt-on-error main
xelatex -interaction=nonstopmode -halt-on-error main.tex
) && (
xelatex -interaction=nonstopmode main
xelatex -interaction=nonstopmode main.tex
)
)
41 changes: 21 additions & 20 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
% !BIB program = biber
% !TEX TS-program = xelatex
% !BIB TS-program = biber
% !TEX root = ./main.tex
%%
%% 本模板方式编译: XeLaTeX + biber
%%
Expand Down Expand Up @@ -33,16 +34,16 @@
% \makeatother

\includeonly{
./tex/abstract,
./tex/introduction,
./tex/relatedwork,
./tex/method,
./tex/discussion,
./tex/summary,
./tex/references,
./tex/acknowledgements,
./tex/appendices,
./tex/resume
./tex/0_abstract,
./tex/1_introduction,
./tex/2_relatedwork,
./tex/3_method,
./tex/4_discussion,
./tex/5_summary,
./tex/A1_references,
./tex/A2_acknowledgements,
./tex/A3_appendices,
./tex/A4_resume
}
\begin{document}

Expand Down Expand Up @@ -88,7 +89,7 @@
% 论文开始部分
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 摘要
\include{./tex/abstract}
\include{./tex/0_abstract}
% 论文目录
\tableofcontents
% 列出图表目录,如果需要可取消注释
Expand All @@ -97,18 +98,18 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 论文主体章节
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./tex/introduction}
\include{./tex/relatedwork}
\include{./tex/method}
\include{./tex/discussion}
\include{./tex/summary}
\include{./tex/1_introduction}
\include{./tex/2_relatedwork}
\include{./tex/3_method}
\include{./tex/4_discussion}
\include{./tex/5_summary}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 论文其他信息
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./tex/references}
\include{./tex/acknowledgements}
\include{./tex/appendices}
\include{./tex/resume}
\include{./tex/A1_references}
\include{./tex/A2_acknowledgements}
\include{./tex/A3_appendices}
\include{./tex/A4_resume}

\end{document}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.