summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-07-26 18:12:09 +0000
committerKarl Berry <karl@freefriends.org>2007-07-26 18:12:09 +0000
commitbc4a246d8757e9c6e1a938ce98b78841e5114935 (patch)
tree8ed27c0d3abf240c503f1152b757a16f602dfde0 /Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
parenteb5be484f99eaae05ca8b88b93c5a4b5faa981e8 (diff)
disser update (23jul07)
git-svn-id: svn://tug.org/texlive/trunk@4658 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd')
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd24
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
index 8ed500ecaa6..902f2a22ab2 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
@@ -32,6 +32,7 @@ set arc=rar
set arcflags=a -r -x%target%.pdf -x%target%.prj
set tex=%texmf%\miktex\bin\latex
+set pdftex=%texmf%\miktex\bin\pdflatex
set texflags=-src-specials
set bibtex=%texmf%\miktex\bin\bibtex8
@@ -54,6 +55,7 @@ set suffix=$$
if %1/==/ (
:make
+ chcp 1251
%tex% %target%.tex
%bibtex% %bibtexflags% %target%
%tex% %target%.tex
@@ -65,13 +67,17 @@ if %1/==/ goto :eof
if %1/==pdf/ (
:pdf
- set tex=pdflatex
- call :make
+ chcp 1251
+ %pdftex% %target%.tex
+ %bibtex% %bibtexflags% %target%
+ %pdftex% %target%.tex
+ %pdftex% %texflags% %target%.tex
+goto :eof
)
+rem Make source distribution
if %1/==srcdist/ (
:srcdist
- echo Making source distribution...
if not exist %clsdir% mkdir %clsdir%
xcopy %clssrc% %clsdir% /S
xcopy %bstsrc%\%bstfile% . /S
@@ -96,9 +102,9 @@ if %1/==cleansvn/ (
goto :end
)
+rem Fix bounding boxes of EPS files
if %1/==fixbb/ (
:fixbb
- echo Fixing bounding boxes of EPS files...
for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :fix %%n
goto :end
:fix
@@ -108,9 +114,9 @@ goto :end
goto :eof
)
+rem Convert EPS to PDF
if %1/==epstopdf/ (
:epstopdf
- echo Converting EPS to PDF...
for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :conv %%n
goto :end
:conv
@@ -143,13 +149,6 @@ if %1/==djvu/ (
%pdftodjvu% %pdftodjvuflags% %target%.pdf
goto :end
)
-rem Create OCRed DjVu file
-if %1/==ocr/ (
-:ocr
- if not exist %target%.djvu call :djvu
- %djvuocr% %djvuocrflags% %target%.djvu %target%-ocr.djvu
-goto :end
-)
rem Create backup
if %1/==backup/ (
:backup
@@ -158,6 +157,7 @@ if %1/==backup/ (
goto :end
)
+echo Don't know how to make %1
:end
shift & goto :start