Skip to content
Snippets Groups Projects
Commit 535775c0 authored by Yu Xiong's avatar Yu Xiong :confounded:
Browse files

chore: 修复了无法编译版本历史的问题

parent 531b2d12
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ jobs: ...@@ -73,7 +73,7 @@ jobs:
- name: Zip Release Source - name: Zip Release Source
run: | run: |
zip -r njuthesis-$VERSION.zip .vscode chapters/ latexmkrc conf.txsprofile LICENSE Makefile njuthesis-sample.bib njuthesis.cls njuthesis-sample.tex njuvisual.sty README.md zip -r njuthesis-$VERSION.zip .vscode chapters/ conf.txsprofile LICENSE Makefile njuthesis-sample.bib njuthesis.cls njuthesis-sample.tex njuvisual.sty README.md
- name: Zip CTAN Source - name: Zip CTAN Source
run: | run: |
......
# Latexmk configuration file for njuthesis documentation.
# vim: set ft=perl: # vim: set ft=perl:
# Use XeLaTeX to compile. # Use XeLaTeX to compile.
$pdf_mode = 5; $pdf_mode = 5;
$xelatex = "xelatex -shell-escape -file-line-error -halt-on-error -interaction=nonstopmode -no-pdf -synctex=1 %O %S"; $xelatex = "xelatex -shell-escape -file-line-error -halt-on-error -interaction=nonstopmode -no-pdf -synctex=1 %O %S";
$xdvipdfmx = "xdvipdfmx -q -E -o %D %O %S"; $xdvipdfmx = "xdvipdfmx -q -E -o %D %O %S";
$bibtex_use = 1.5; $bibtex_use = 1.5;
# Clean auxiliary files .
$clean_ext = "hd loe ptc run.xml synctex.gz thm xdv"; $clean_ext = "hd loe ptc run.xml synctex.gz thm xdv";
# Process index. # Process index.
...@@ -25,16 +26,3 @@ $makeindex_silent_switch = "-q"; ...@@ -25,16 +26,3 @@ $makeindex_silent_switch = "-q";
# Show CPU time used. # Show CPU time used.
$show_time = 1; $show_time = 1;
# Process glossary (change history).
add_cus_dep('glo', 'gls', 0, 'makeglo2gls');
sub makeglo2gls {
system("zhmakeindex -s gglo.ist -o \"$_[0].gls\" \\
-t \"$_[0].glg\" \"$_[0].glo\"");
}
add_cus_dep('nlo', 'nls', 0, 'nlo2nls');
sub nlo2nls {
system("makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"");
}
push @generated_exts, 'nlo', 'nls';
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment