-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Since TeX will automatically add `.tex` to the latexmkrc files, I name them `*.cfg` first then use a shell script to rename afterwards. - `fduthesis-en.ltx` -> `fduthesis-en.tex`. - Add `make-tds.sh`. - Now `get-doc-en.lua` can capture arguments from shell.
- Loading branch information
1 parent
501f8a8
commit 5f0da7a
Showing
5 changed files
with
49 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env sh | ||
|
||
mkdir -p TDS/doc/latex/fduthesis/ | ||
mkdir -p TDS/tex/latex/fduthesis/ | ||
mkdir -p TDS/source/latex/fduthesis/ | ||
mkdir -p TDS/temp/ | ||
|
||
cp source/*.dtx TDS/temp/ | ||
|
||
cd TDS/temp/ | ||
xetex fduthesis.dtx | ||
texlua ../../scripts/get-doc-en.lua "fduthesis.dtx" "fduthesis-en.tex" | ||
cd ../.. | ||
|
||
mv TDS/temp/*.dtx TDS/source/latex/fduthesis/ | ||
mv TDS/temp/*.ins TDS/source/latex/fduthesis/ | ||
mv TDS/temp/*.cls TDS/tex/latex/fduthesis/ | ||
mv TDS/temp/*.sty TDS/tex/latex/fduthesis/ | ||
mv TDS/temp/*.def TDS/tex/latex/fduthesis/ | ||
mv TDS/temp/*.tex TDS/doc/latex/fduthesis/ | ||
mv TDS/temp/README.md TDS/doc/latex/fduthesis/ | ||
mv TDS/temp/latexmkrc.cfg TDS/doc/latex/fduthesis/latexmkrc | ||
mv TDS/temp/latexmkrc-en.cfg TDS/doc/latex/fduthesis/latexmkrc-en | ||
cp source/*.pdf TDS/doc/latex/fduthesis/ | ||
|
||
cd TDS/ | ||
rm -r temp/ | ||
|
||
zip -r fduthesis.tds.zip . | ||
cd .. | ||
mv -f TDS/*.zip . | ||
|
||
rm -r TDS/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters