home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BURKS 2
/
BURKS_AUG97.ISO
/
SLAKWARE
/
T1
/
MAKETAG.EZ
< prev
next >
Wrap
Text File
|
1997-04-19
|
4KB
|
122 lines
#!/bin/sh
add() {
for package in $* ; do
echo "$package: ADD" >> /tmp/SeTnewtag
done
}
skip() {
for package in $* ; do
echo "$package: SKP" >> /tmp/SeTnewtag
done
}
cat /dev/null > /tmp/SeTnewtag
dialog --title "SELECTING BINARY/MACRO PACKAGES FROM SERIES T (teTeX)" \
--checklist "Use this menu to select the BINARY and MACRO packages you \
wish to install for series T (The teTeX distribution). Use the \
UP/DOWN keys to scroll through the list, and the SPACE key to toggle packages \
on or off. RECOMMENDED and REQUIRED packages have been preselected. REQUIRED \
packages have also been marked with a [*]. \
Press ENTER when you are \
done." 21 70 9 \
"te-ams" "AMStex" "on" \
"te-base" "teTeX base package *" "on" \
"te-bin" "teTeX binaries *" "on" \
"tm-lt" "Base LaTeX package *" "on" \
"tm-bibt" "BibTeX: maintain bibliographies" "on" \
"tm-eplai" "extended plain TeX" "on" \
"tm-lxtra" "LaTeX extra packages" "on" \
"tm-metap" "MetaPost" "off" \
"tm-pictx" "PicTeX" "off" \
"tm-pstr" "PS Tricks" "off" \
"tm-tdraw" "TeXdraw" "on" \
"tm-xypic" "XY-pic" "off" \
"tb-trans" "transfig (used by xfig)" "off" \
"tb-xfig" "drawing tool for LaTeX" "off" \
2> /tmp/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f /tmp/SeTpkgs
> /tmp/SeTnewtag
for pkg in tb-trans tb-xfig td-bibt td-eplai td-fonts td-misc td-mkidx \
tf-sautr tm-bibt tm-eplai td-gnric tf-dc tm-metap tm-pictx tm-tdraw \
td-ltex1 td-metap tm-pstr td-ltex2 td-progs te-ams te-base1 te-base2 \
tm-lt te-bin1 tf-misc tm-xypic te-bin2 tm-lxtra tf-ps ; do
echo "$pkg: SKP" >> /tmp/SeTnewtag
done
exit
fi
cat /dev/null > /tmp/SeTnewtag
if fgrep \"te-base\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then
add te-base1 te-base2
else
skip te-base1 te-base2
fi
if fgrep \"te-bin\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then
add te-bin1 te-bin2
else
skip te-bin1 te-bin2
fi
for PACKAGE in te-ams tm-lt tm-bibt tm-eplai tm-lxtra tm-metap tm-pictx \
tm-pstr tm-tdraw tm-xypic tb-trans tb-xfig ; do
if fgrep \"$PACKAGE\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then
echo "$PACKAGE: ADD" >> /tmp/SeTnewtag
else
echo "$PACKAGE: SKP" >> /tmp/SeTnewtag
fi
done
rm -f /tmp/SeTpkgs
dialog --title "SELECTING FONT PACKAGES FOR SERIES T (teTeX)" \
--checklist "Use this menu to select the packages containing \
FONTS that you wish to install from series T. Use the \
UP/DOWN keys to scroll through the list, and the SPACE key to toggle packages \
on or off. RECOMMENDED packages are preselected. \
Press ENTER when you are \
done." 15 70 4 \
"tf-dc" "DC fonts" "on" \
"tf-misc" "Micellaneous fonts" "on" \
"tf-ps" "PostScript fonts" "off" \
"tf-sautr" "Sauter fonts" "on" \
2> /tmp/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f /tmp/SeTpkgs
exit
fi
for PACKAGE in tf-dc tf-misc tf-ps tf-sautr ; do
if fgrep \"$PACKAGE\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then
echo "$PACKAGE: ADD" >> /tmp/SeTnewtag
else
echo "$PACKAGE: SKP" >> /tmp/SeTnewtag
fi
done
rm -f /tmp/SeTpkgs
dialog --title "SELECTING DOCUMENTATION FOR SERIES T (teTeX)" \
--checklist "Use this menu to select the packages containing \
DOCUMENTATION that you wish to install from series T. Use the \
UP/DOWN keys to scroll through the list, and the SPACE key to toggle packages \
on or off. \
Press ENTER when you are \
done." 20 70 10 \
"td-bibt" "BibTeX docs" "off" \
"td-eplai" "Extended plain TeX docs" "off" \
"td-fonts" "Font package docs" "off" \
"td-gnric" "docs for babel, texdraw, pstricks, xypic" "off" \
"td-ltex1" "LaTeX docs, part one" "off" \
"td-ltex2" "LaTeX docs, part two" "off" \
"td-metap" "MetaPost docs" "off" \
"td-misc" "general docs for TeX" "off" \
"td-mkidx" "Makeindex docs" "off" \
"td-progs" "Kpathsea and related programs docs" "off" \
2> /tmp/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f /tmp/SeTpkgs
exit
fi
for PACKAGE in td-bibt td-eplai td-fonts td-gnric td-ltex1 td-ltex2 td-metap \
td-misc td-mkidx td-progs ; do
if fgrep \"$PACKAGE\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then
echo "$PACKAGE: ADD" >> /tmp/SeTnewtag
else
echo "$PACKAGE: SKP" >> /tmp/SeTnewtag
fi
done
rm -f /tmp/SeTpkgs