summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/ketcindy/forWindows/setwork.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/ketcindy/forWindows/setwork.bat')
-rwxr-xr-xMaster/texmf-dist/doc/support/ketcindy/forWindows/setwork.bat84
1 files changed, 16 insertions, 68 deletions
diff --git a/Master/texmf-dist/doc/support/ketcindy/forWindows/setwork.bat b/Master/texmf-dist/doc/support/ketcindy/forWindows/setwork.bat
index 9ea13564669..d920e31c039 100755
--- a/Master/texmf-dist/doc/support/ketcindy/forWindows/setwork.bat
+++ b/Master/texmf-dist/doc/support/ketcindy/forWindows/setwork.bat
@@ -1,4 +1,4 @@
-REM 20181212
+REM 20190413
echo off
REM Edit the followings if necessary.
@@ -23,77 +23,25 @@ if exist "%dist%\." (
%xcp% /Y /Q /S /E /R "work\*.*" "%dist%\"
echo Workfolder has been generated as %dist%
echo This folder can be moved to any place
-echo p=platex u=uplatex l=latex x=xelatex pd=pdflatex lu=lualatex
-set /P STR_INPUT="---- Choose TeX from above with 1st(+2nd) character :"
-if "%STR_INPUT%" == "p" (
- set tex=platex
- copy /Y "doc\ketmanual\KeTCindyReferenceJ.pdf" "%dist%\"
- copy /Y "doc\ketmanual\KeTCindyGuideJ.pdf" "%dist%\"
- copy /Y "doc\ketmanual\KeTpicStyleJ.pdf" "%dist%\"
-)
-if "%STR_INPUT%" == "u" (
- set tex=uplatex
- copy /Y "doc\ketmanual\KeTCindyReferenceJ.pdf" "%dist%\"
- copy /Y "doc\ketmanual\KeTCindyGuideJ.pdf" "%dist%\"
- copy /Y "doc\ketmanual\KeTpicStyleJ.pdf" "%dist%\"
-)
-if "%STR_INPUT%" == "l" (
- set tex=latex
- copy /Y "doc\ketmanual\KeTCindyReferenceE.pdf" "%dist%\"
- copy /Y "doc\ketmanual\KeTCindyGuideE.pdf" "%dist%\"
- copy /Y "doc\ketmanual\KeTpicStyleE.pdf" "%dist%\"
-)
-if "%STR_INPUT%" == "x" (
- set tex=xelatex
- copy /Y "doc\ketmanual\KeTCindyReferenceE.pdf" "%dist%\"
- copy /Y "doc\ketmanual\KeTCindyGuideE.pdf" "%dist%\"
- copy /Y "doc\ketmanual\KeTpicStyleE.pdf" "%dist%\"
-)
-if "%STR_INPUT%" == "pd" (
- set tex=pdflatex
- copy /Y "doc\ketmanual\KeTCindyReferenceE.pdf" "%dist%\"
- copy /Y "doc\ketmanual\KeTCindyGuideE.pdf" "%dist%\"
- copy /Y "doc\ketmanual\KeTpicStyleE.pdf" "%dist%\"
-)
-if "%STR_INPUT%" == "lu" (
- set tex=lualatex
+
+set /P STR_INPUT="Language (j/e) :"
+if("%STR_INPUT%" == "e" (
copy /Y "doc\ketmanual\KeTCindyReferenceE.pdf" "%dist%\"
copy /Y "doc\ketmanual\KeTCindyGuideE.pdf" "%dist%\"
copy /Y "doc\ketmanual\KeTpicStyleE.pdf" "%dist%\"
+) else (
+ copy /Y "doc\ketmanual\KeTCindyReferenceJ.pdf" "%dist%\"
+ copy /Y "doc\ketmanual\KeTCindyGuideJ.pdf" "%dist%\"
+ copy /Y "doc\ketmanual\KeTpicStyleJ.pdf" "%dist%\"
)
+
set dist=%HOMEPATH%
-echo generating %dist%\%changesetting%
-echo // Re-setting PathT,Pathpdf,PathAd > "%dist%%change%"
-echo PathT=PathThead+"%tex%"; >> "%dist%%change%"
-set prgSm=C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe
-if not exist "%prgSm%" (
- set prgSm=C:\Program Files\SumatraPDF\SumatraPDF.exe
-)
-echo Pathpdf="%prgSm%"; >> "%dist%%change%"
-set /P STR_INPUT="Input version of R (ex)%verR% :"
-if not "%STR_INPUT:~0,1%" == "d" (
- set verR=%STR_INPUT%
-)
set prg=C:\Program Files
-if exist "%prg%\R\R-%verR%\bin\" (
- echo PathR="%prg%\R\R-%verR%\bin"; >> "%dist%%change%"
-) else (
- if exist "%prg% (x86)\R\R-%verR%\bin\" (
- echo "%prg% (x86)\R\R-%verR%\bin"; >> "%dist%%change%"
- ) else (
- echo "R-%verR% not found"
- )
-)
-set /P STR_INPUT="Input version of Maxima (ex)%verM% :"
-if not "%STR_INPUT:~0,1%" == "d" (
- set verM=%STR_INPUT%
-)
-echo %verM%
-set prg=C:\maxima-%verM%\bin\maxima.bat
-if exist "%prg%" (
- echo PathM="%prg%"; >> "%dist%%change%"
-) else (
- echo "Maxima-%verM% not found"
- )
-)
+echo generating %dist%\%changesetting%
+echo // Re-setting PathT,Pathpdf,PathAd > "%dist%%change%"
+echo //PathT=PathThead+"uplatex"; >> "%dist%%change%"
+echo //Pathpdf="%prg%\SumatraPDF\SumatraPDF.exe"; >> "%dist%%change%"
+echo //PathR="%prg%\R\R-xxxx\bin"; >> "%dist%%change%"
+echo //PathM="C:\maxima-x.xx.x\bin\maxima.bat"; >> "%dist%%change%"
+
pause