summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/ketcindy/forLinux
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-25 23:12:37 +0000
committerKarl Berry <karl@freefriends.org>2019-12-25 23:12:37 +0000
commit21fe547b48cec1054437d8973a741e763e252b56 (patch)
tree58b65c2c665751904163573ece90a85c7f81c9e8 /Master/texmf-dist/doc/support/ketcindy/forLinux
parent9cd0ae76994419fb098ecda44fdcb565f52d5b16 (diff)
ketcindy from CTAN
git-svn-id: svn://tug.org/texlive/trunk@53233 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/ketcindy/forLinux')
-rw-r--r--Master/texmf-dist/doc/support/ketcindy/forLinux/setketcindy.sh27
1 files changed, 24 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/support/ketcindy/forLinux/setketcindy.sh b/Master/texmf-dist/doc/support/ketcindy/forLinux/setketcindy.sh
index 79cc1e491da..d4c7b79ee7c 100644
--- a/Master/texmf-dist/doc/support/ketcindy/forLinux/setketcindy.sh
+++ b/Master/texmf-dist/doc/support/ketcindy/forLinux/setketcindy.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# 20180616
+# 20181224
# Edit and uncomment the following lines if necessary
texpath=/usr/share/texlive
@@ -36,7 +36,7 @@ if [ ${ans} = "n" ]; then
fi
echo copying scripts
-sudo cp -r -p scripts/ ${ketcindyscripts}/
+sudo cp -r -p -T scripts/ ${ketcindyscripts}/
if [ $? -gt 0 ]; then
echo Error $?
sleep 5
@@ -63,7 +63,7 @@ if [ -e KetCindyPlugin.jar ]; then
sudo rm KetCindyPlugin.jar
fi
cd ${ketcindyscripts}
-cp -p ketjava/KetCindyPlugin.jar ${cindyplug}
+sudo cp -p ketjava/KetCindyPlugin.jar ${cindyplug}
echo "KetCindyPlugin.jar copied to Cinderella"
# 20190616from
@@ -93,6 +93,12 @@ echo "Dirhead=\"${ketcindyscripts}\";" >> ketcindy.ini
echo "Homehead=\"${homehead}\";" >> ketcindy.ini
echo "setdirectory(Dirhead);" >> ketcindy.ini
echo "import(\"setketcindy.txt\");" >> ketcindy.ini
+
+#191224from
+read -p 'Language for Help (j/e) : ' lang
+echo "Langhelp=\"${lang}\";" >> ketcindy.ini
+#191224upto
+
echo "import(\"ketoutset.txt\");" >> ketcindy.ini
echo "Choose TeX with the 1st(+2nd) character"
@@ -116,7 +122,22 @@ if [ ${tex} = "lu" ]; then
tex="lualatex"
fi
echo "PathT=PathThead+\"${tex}\";" >> ketcindy.ini
+
+read -p 'Number of default graphics (1=tpic, 2=pict2e, 3=tikz) : ' num
+if [ ${num} = "1" ]; then
+ gc="tpic"
+fi
+if [ ${num} = "2" ]; then
+ gc="pict2e"
+fi
+if [ ${num} = "3" ]; then
+ gc="tikz"
+fi
+echo "Usegraphics(\"${gc}\");" >> ketcindy.ini
+
+read -p 'PDF viewer (ex) evince : ' pathpdf
echo "Pathpdf=\"${pathpdf}\";" >> ketcindy.ini
+
echo "Mackc=\"bash\";" >> ketcindy.ini
echo "ketcindy.ini generated(updated)"