summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/ketcindy/forWindows
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-06-24 21:05:25 +0000
committerKarl Berry <karl@freefriends.org>2019-06-24 21:05:25 +0000
commit6df3fe57362cbe88636ba77df481c3329fcdd66f (patch)
tree4193e5de76d13069a1cf83f6aea42386f9a7f271 /Master/texmf-dist/doc/support/ketcindy/forWindows
parent210b1a78e3075d3c7a5aefa3aac2683de9281af8 (diff)
ketcindy (24jun19)
git-svn-id: svn://tug.org/texlive/trunk@51444 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/ketcindy/forWindows')
-rw-r--r--Master/texmf-dist/doc/support/ketcindy/forWindows/ReadmeWinE.pdfbin22741 -> 22672 bytes
-rw-r--r--Master/texmf-dist/doc/support/ketcindy/forWindows/ReadmeWinJ.pdfbin71474 -> 73060 bytes
-rwxr-xr-xMaster/texmf-dist/doc/support/ketcindy/forWindows/setketcindykettex.bat (renamed from Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindy.bat)81
-rwxr-xr-xMaster/texmf-dist/doc/support/ketcindy/forWindows/setketcindytexlive.bat81
-rwxr-xr-xMaster/texmf-dist/doc/support/ketcindy/forWindows/setketcindyw32J.bat89
-rwxr-xr-xMaster/texmf-dist/doc/support/ketcindy/forWindows/setwork.bat84
6 files changed, 256 insertions, 79 deletions
diff --git a/Master/texmf-dist/doc/support/ketcindy/forWindows/ReadmeWinE.pdf b/Master/texmf-dist/doc/support/ketcindy/forWindows/ReadmeWinE.pdf
index 92eac65ecb0..29fadf12df0 100644
--- a/Master/texmf-dist/doc/support/ketcindy/forWindows/ReadmeWinE.pdf
+++ b/Master/texmf-dist/doc/support/ketcindy/forWindows/ReadmeWinE.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/ketcindy/forWindows/ReadmeWinJ.pdf b/Master/texmf-dist/doc/support/ketcindy/forWindows/ReadmeWinJ.pdf
index 6697753dce0..261ebf0a724 100644
--- a/Master/texmf-dist/doc/support/ketcindy/forWindows/ReadmeWinJ.pdf
+++ b/Master/texmf-dist/doc/support/ketcindy/forWindows/ReadmeWinJ.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindy.bat b/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindykettex.bat
index d4bec341469..e00927639d8 100755
--- a/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindy.bat
+++ b/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindykettex.bat
@@ -1,4 +1,4 @@
-REM 20181207
+REM 20190616
echo off
rem Edit the followings if necessary
@@ -72,11 +72,90 @@ echo Setting of "%cindyplug%\"
cd "%pathT%%scripts%"
copy /Y "ketjava\KetCindyPlugin.jar" "%cindyplug%\"
cd "%cindyplug%"
+
+rem 20190616from
+set newfile=y
+if exist ketcindy.ini (
+ set newfile=n
+ echo Contentes of ketcindy.ini :
+ echo.
+ type ketcindy.ini
+ echo.
+ set /P remake="Do you want to remake ketindy.ini? (y/n): "
+)
+if "%newfile%"=="y" (
+ set remake=y
+)
+if "%remake%"=="y" (
+ echo ketcindy.ini will be made/remade
+) else (
+ echo "Finished"
+ pause
+ exit
+)
+rem 20190616to
+
echo PathThead="%pathT%%bin%\"; > ketcindy.ini
echo Homehead="%homehead%"; >> ketcindy.ini
echo Dirhead="%pathT%%scripts%"; >> ketcindy.ini
echo setdirectory(Dirhead); >> ketcindy.ini
echo import("setketcindy.txt"); >> ketcindy.ini
echo import("ketoutset.txt"); >> ketcindy.ini
+
+echo Setting of TeX, R, Maxima
+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
+)
+if "%STR_INPUT%" == "u" (
+ set tex=uplatex
+)
+if "%STR_INPUT%" == "l" (
+ set tex=latex
+)
+if "%STR_INPUT%" == "x" (
+ set tex=xelatex
+)
+if "%STR_INPUT%" == "pd" (
+ set tex=pdflatex
+)
+if "%STR_INPUT%" == "lu" (
+ set tex=lualatex
+)
+echo PathT=PathThead+"%tex%"; >> ketcindy.ini
+
+set prgSm=C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe
+if not exist "%prgSm%" (
+ set prgSm=C:\Program Files\SumatraPDF\SumatraPDF.exe
+)
+echo Pathpdf="%prgSm%"; >> ketcindy.ini
+
+set /P STR_INPUT="Input version of R (ex)3.5.0 :"
+set verR=%STR_INPUT%
+set prg=C:\Program Files
+if exist "%prg%\R\R-%verR%\bin\" (
+ echo PathR="%prg%\R\R-%verR%\bin"; >> ketcindy.ini
+) else (
+ if exist "%prg% (x86)\R\R-%verR%\bin\" (
+ echo "%prg% (x86)\R\R-%verR%\bin"; >> ketcindy.ini
+ ) else (
+ echo "R-%verR% not found"
+ )
+)
+
+set /P STR_INPUT="Input version of Maxima (ex)5.39.0 :"
+set verM=%STR_INPUT%
+echo %verM%
+set prg=C:\maxima-%verM%\bin\maxima.bat
+if exist "%prg%" (
+ echo PathM="%prg%"; >> ketcindy.ini
+) else (
+ echo "Maxima-%verM% not found"
+ set prg=C:\maxima-x.xx.x\bin\maxima.bat
+ echo // PathM="%prg%"; >> ketcindy.ini
+ )
+)
+
echo "Plugins of Cindy has been set"
pause
diff --git a/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindytexlive.bat b/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindytexlive.bat
index 5e8039cba81..9dd1ce8c64c 100755
--- a/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindytexlive.bat
+++ b/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindytexlive.bat
@@ -1,4 +1,4 @@
-REM 20181222
+REM 20190616
echo off
rem Edit the followings if necessary
@@ -75,11 +75,90 @@ echo Setting of "%cindyplug%\"
cd "%pathT%\%year%%scripts%"
copy /Y "ketjava\KetCindyPlugin.jar" "%cindyplug%\"
cd "%cindyplug%"
+
+rem 20190616from
+set newfile=y
+if exist ketcindy.ini (
+ set newfile=n
+ echo Contentes of ketcindy.ini :
+ echo.
+ type ketcindy.ini
+ echo.
+ set /P remake="Do you want to remake ketindy.ini? (y/n): "
+)
+if "%newfile%"=="y" (
+ set remake=y
+)
+if "%remake%"=="y" (
+ echo ketcindy.ini will be made/remade
+) else (
+ echo "Finished"
+ pause
+ exit
+)
+rem 20190616to
+
echo PathThead="%pathT%\%year%%bin%\"; > ketcindy.ini
echo Homehead="%homehead%"; >> ketcindy.ini
echo Dirhead="%pathT%\%year%%scripts%"; >> ketcindy.ini
echo setdirectory(Dirhead); >> ketcindy.ini
echo import("setketcindy.txt"); >> ketcindy.ini
echo import("ketoutset.txt"); >> ketcindy.ini
+
+echo Setting of TeX, R, Maxima
+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
+)
+if "%STR_INPUT%" == "u" (
+ set tex=uplatex
+)
+if "%STR_INPUT%" == "l" (
+ set tex=latex
+)
+if "%STR_INPUT%" == "x" (
+ set tex=xelatex
+)
+if "%STR_INPUT%" == "pd" (
+ set tex=pdflatex
+)
+if "%STR_INPUT%" == "lu" (
+ set tex=lualatex
+)
+echo PathT=PathThead+"%tex%"; >> ketcindy.ini
+
+set prgSm=C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe
+if not exist "%prgSm%" (
+ set prgSm=C:\Program Files\SumatraPDF\SumatraPDF.exe
+)
+echo Pathpdf="%prgSm%"; >> ketcindy.ini
+
+set /P STR_INPUT="Input version of R (ex)3.5.0 :"
+set verR=%STR_INPUT%
+set prg=C:\Program Files
+if exist "%prg%\R\R-%verR%\bin\" (
+ echo PathR="%prg%\R\R-%verR%\bin"; >> ketcindy.ini
+) else (
+ if exist "%prg% (x86)\R\R-%verR%\bin\" (
+ echo "%prg% (x86)\R\R-%verR%\bin"; >> ketcindy.ini
+ ) else (
+ echo "R-%verR% not found"
+ )
+)
+
+set /P STR_INPUT="Input version of Maxima (ex)5.39.0 :"
+set verM=%STR_INPUT%
+echo %verM%
+set prg=C:\maxima-%verM%\bin\maxima.bat
+if exist "%prg%" (
+ echo PathM="%prg%"; >> ketcindy.ini
+) else (
+ echo "Maxima-%verM% not found"
+ set prg=C:\maxima-x.xx.x\bin\maxima.bat
+ echo // PathM="%prg%"; >> ketcindy.ini
+ )
+)
+
echo "Plugins of Cindy has been set"
pause
diff --git a/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindyw32J.bat b/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindyw32J.bat
index f385abcc0a3..719ae186e2b 100755
--- a/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindyw32J.bat
+++ b/Master/texmf-dist/doc/support/ketcindy/forWindows/setketcindyw32J.bat
@@ -1,4 +1,4 @@
-REM 20181222
+REM 20190616
echo off
rem Edit the followings if necessary
@@ -63,14 +63,6 @@ if exist "%pathT%%style%\." (
rd /s "%pathT%%style%"
)
-rem For kettexbasic 181222
-set scriptsold=\share\texmf-dist\tex\platex\ketcindy
-if exist "%pathT%%scriptsold%\." (
- echo Deleting "%pathT%%scriptsold%"
- rd /s "%pathT%%scriptsold%"
-)
-rem For kettexbasic end
-
echo Copying ketcindy styles to "%pathT%%style%"
set stylesrc=style
%xcp% /Y /Q /S /E /R "%stylesrc%\*.*" "%pathT%%style%\"
@@ -81,11 +73,90 @@ echo Setting of "%cindyplug%\"
cd "%pathT%%scripts%"
copy /Y "ketjava\KetCindyPlugin.jar" "%cindyplug%\"
cd "%cindyplug%"
+
+rem 20190616from
+set newfile=y
+if exist ketcindy.ini (
+ set newfile=n
+ echo Contentes of ketcindy.ini :
+ echo.
+ type ketcindy.ini
+ echo.
+ set /P remake="Do you want to remake ketindy.ini? (y/n): "
+)
+if "%newfile%"=="y" (
+ set remake=y
+)
+if "%remake%"=="y" (
+ echo ketcindy.ini will be made/remade
+) else (
+ echo "Finished"
+ pause
+ exit
+)
+rem 20190616to
+
echo PathThead="%pathT%%bin%\"; > ketcindy.ini
echo Homehead="%homehead%"; >> ketcindy.ini
echo Dirhead="%pathT%%scripts%"; >> ketcindy.ini
echo setdirectory(Dirhead); >> ketcindy.ini
echo import("setketcindy.txt"); >> ketcindy.ini
echo import("ketoutset.txt"); >> ketcindy.ini
+
+echo Setting of TeX, R, Maxima
+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
+)
+if "%STR_INPUT%" == "u" (
+ set tex=uplatex
+)
+if "%STR_INPUT%" == "l" (
+ set tex=latex
+)
+if "%STR_INPUT%" == "x" (
+ set tex=xelatex
+)
+if "%STR_INPUT%" == "pd" (
+ set tex=pdflatex
+)
+if "%STR_INPUT%" == "lu" (
+ set tex=lualatex
+)
+echo PathT=PathThead+"%tex%"; >> ketcindy.ini
+
+set prgSm=C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe
+if not exist "%prgSm%" (
+ set prgSm=C:\Program Files\SumatraPDF\SumatraPDF.exe
+)
+echo Pathpdf="%prgSm%"; >> ketcindy.ini
+
+set /P STR_INPUT="Input version of R (ex)3.5.0 :"
+set verR=%STR_INPUT%
+set prg=C:\Program Files
+if exist "%prg%\R\R-%verR%\bin\" (
+ echo PathR="%prg%\R\R-%verR%\bin"; >> ketcindy.ini
+) else (
+ if exist "%prg% (x86)\R\R-%verR%\bin\" (
+ echo "%prg% (x86)\R\R-%verR%\bin"; >> ketcindy.ini
+ ) else (
+ echo "R-%verR% not found"
+ )
+)
+
+set /P STR_INPUT="Input version of Maxima (ex)5.39.0 :"
+set verM=%STR_INPUT%
+echo %verM%
+set prg=C:\maxima-%verM%\bin\maxima.bat
+if exist "%prg%" (
+ echo PathM="%prg%"; >> ketcindy.ini
+) else (
+ echo "Maxima-%verM% not found"
+ set prg=C:\maxima-x.xx.x\bin\maxima.bat
+ echo // PathM="%prg%"; >> ketcindy.ini
+ )
+)
+
echo "Plugins of Cindy has been set"
pause
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