summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/t2
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-09-29 00:27:17 +0000
committerKarl Berry <karl@freefriends.org>2008-09-29 00:27:17 +0000
commit61aa8bab997e7cdc7ac1af15874e9a3914bb972d (patch)
treed532e6ef663d4329e7f41af5f414b5c9376403c5 /Master/texmf-dist/doc/generic/t2
parent03e895528bdcda911fdf41b8e1da264aef4516d5 (diff)
t2 non-update to recover cyrfinst (where it should have been in the first place), also Cyrillic .enc files installed
git-svn-id: svn://tug.org/texlive/trunk@10782 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/t2')
-rw-r--r--Master/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex176
-rw-r--r--Master/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex.old80
2 files changed, 183 insertions, 73 deletions
diff --git a/Master/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex b/Master/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex
index 8a7f617cde9..39381573286 100644
--- a/Master/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex
+++ b/Master/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex
@@ -1,80 +1,110 @@
#!/bin/sh
-TEMP=${TMPDIR-/tmp}
+# rubibtex, based on the original version contained in the t2 bundle.
+# Thomas Esser, Public Domain.
-mv -f $1.aux $TEMP
+progname=rubibtex
+tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$
+job=$1
+backup="$tmpdir/orig.aux"
-sed '
-/^\\citation/ {
-s/\\IeC {\\CYRA }/á/g
-s/\\IeC {\\CYRB }/â/g
-s/\\IeC {\\CYRV }/÷/g
-s/\\IeC {\\CYRG }/ç/g
-s/\\IeC {\\CYRD }/ä/g
-s/\\IeC {\\CYRE }/å/g
-s/\\IeC {\\CYRYO }/³/g
-s/\\IeC {\\CYRZH }/ö/g
-s/\\IeC {\\CYRZ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/\\IeC {\\cyrf }/Æ/g
-s/\\IeC {\\cyrh }/È/g
-s/\\IeC {\\cyrc }/Ã/g
-s/\\IeC {\\cyrch }/Þ/g
-s/\\IeC {\\cyrsh }/Û/g
-s/\\IeC {\\cyrshch }/Ý/g
-s/\\IeC {\\cyrhrdsn }/ß/g
-s/\\IeC {\\cyrery }/Ù/g
-s/\\IeC {\\cyrsftsn }/Ø/g
-s/\\IeC {\\cyrerev }/Ü/g
-s/\\IeC {\\cyryu }/À/g
-s/\\IeC {\\cyrya }/Ñ/g
+case $job in
+ "")
+ echo "usage: $progname file" >&2
+ exit 1
+esac
+
+if test ! -f "$job.aux"; then
+ echo "$progname: file \`$job.aux' does not exist." >&2
+ exit 1
+fi
+
+trap '
+ rm -rf "$tmpdir"
+ exit 1
+' 1 2 3 7 13 15
+(umask 077; mkdir "$tmpdir") \
+ || { echo "$progname: could not create directory \`$tmpdir'" >&2; exit 1; }
+
+cat <"$job.aux" >"$backup" || {
+ echo "$progname: could not create backup of file \`$job.aux' as \`$backup'." >&2
+ rm -rf "$tmpdir"
+ exit 1
}
-' $TEMP/$1.aux > $1.aux
-bibtex $1
+sed '
+ /^\\citation/ {
+ s/\\IeC {\\CYRA }/�/g
+ s/\\IeC {\\CYRB }/�/g
+ s/\\IeC {\\CYRV }/�/g
+ s/\\IeC {\\CYRG }/�/g
+ s/\\IeC {\\CYRD }/�/g
+ s/\\IeC {\\CYRE }/�/g
+ s/\\IeC {\\CYRYO }/�/g
+ s/\\IeC {\\CYRZH }/�/g
+ s/\\IeC {\\CYRZ }/�/g
+ s/\\IeC {\\CYRI }/�/g
+ s/\\IeC {\\CYRISHRT }/�/g
+ s/\\IeC {\\CYRK }/�/g
+ s/\\IeC {\\CYRL }/�/g
+ s/\\IeC {\\CYRM }/�/g
+ s/\\IeC {\\CYRN }/�/g
+ s/\\IeC {\\CYRO }/�/g
+ s/\\IeC {\\CYRP }/�/g
+ s/\\IeC {\\CYRR }/�/g
+ s/\\IeC {\\CYRS }/�/g
+ s/\\IeC {\\CYRT }/�/g
+ s/\\IeC {\\CYRU }/�/g
+ s/\\IeC {\\CYRF }/�/g
+ s/\\IeC {\\CYRH }/�/g
+ s/\\IeC {\\CYRC }/�/g
+ s/\\IeC {\\CYRCH }/�/g
+ s/\\IeC {\\CYRSH }/�/g
+ s/\\IeC {\\CYRSHCH }/�/g
+ s/\\IeC {\\CYRHRDSN }/�/g
+ s/\\IeC {\\CYRERY }/�/g
+ s/\\IeC {\\CYRSFTSN }/�/g
+ s/\\IeC {\\CYREREV }/�/g
+ s/\\IeC {\\CYRYU }/�/g
+ s/\\IeC {\\CYRYA }/�/g
+ s/\\IeC {\\cyra }/�/g
+ s/\\IeC {\\cyrb }/�/g
+ s/\\IeC {\\cyrv }/�/g
+ s/\\IeC {\\cyrg }/�/g
+ s/\\IeC {\\cyrd }/�/g
+ s/\\IeC {\\cyre }/�/g
+ s/\\IeC {\\cyryo }/�/g
+ s/\\IeC {\\cyrzh }/�/g
+ s/\\IeC {\\cyrz }/�/g
+ s/\\IeC {\\cyri }/�/g
+ s/\\IeC {\\cyrishrt }/�/g
+ s/\\IeC {\\cyrk }/�/g
+ s/\\IeC {\\cyrl }/�/g
+ s/\\IeC {\\cyrm }/�/g
+ s/\\IeC {\\cyrn }/�/g
+ s/\\IeC {\\cyro }/�/g
+ s/\\IeC {\\cyrp }/�/g
+ s/\\IeC {\\cyrr }/�/g
+ s/\\IeC {\\cyrs }/�/g
+ s/\\IeC {\\cyrt }/�/g
+ s/\\IeC {\\cyru }/�/g
+ s/\\IeC {\\cyrf }/�/g
+ s/\\IeC {\\cyrh }/�/g
+ s/\\IeC {\\cyrc }/�/g
+ s/\\IeC {\\cyrch }/�/g
+ s/\\IeC {\\cyrsh }/�/g
+ s/\\IeC {\\cyrshch }/�/g
+ s/\\IeC {\\cyrhrdsn }/�/g
+ s/\\IeC {\\cyrery }/�/g
+ s/\\IeC {\\cyrsftsn }/�/g
+ s/\\IeC {\\cyrerev }/�/g
+ s/\\IeC {\\cyryu }/�/g
+ s/\\IeC {\\cyrya }/�/g
+ }
+' <"$backup" >"$job.aux"
+
+bibtex "$job"
-mv -f $TEMP/$1.aux .
+cat "$backup" > "$job.aux"
+rm -rf "$tmpdir"
+exit 0
diff --git a/Master/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex.old b/Master/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex.old
new file mode 100644
index 00000000000..8a7f617cde9
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex.old
@@ -0,0 +1,80 @@
+#!/bin/sh
+
+TEMP=${TMPDIR-/tmp}
+
+mv -f $1.aux $TEMP
+
+sed '
+/^\\citation/ {
+s/\\IeC {\\CYRA }/á/g
+s/\\IeC {\\CYRB }/â/g
+s/\\IeC {\\CYRV }/÷/g
+s/\\IeC {\\CYRG }/ç/g
+s/\\IeC {\\CYRD }/ä/g
+s/\\IeC {\\CYRE }/å/g
+s/\\IeC {\\CYRYO }/³/g
+s/\\IeC {\\CYRZH }/ö/g
+s/\\IeC {\\CYRZ }/ú/g
+s/\\IeC {\\CYRI }/é/g
+s/\\IeC {\\CYRISHRT }/ê/g
+s/\\IeC {\\CYRK }/ë/g
+s/\\IeC {\\CYRL }/ì/g
+s/\\IeC {\\CYRM }/í/g
+s/\\IeC {\\CYRN }/î/g
+s/\\IeC {\\CYRO }/ï/g
+s/\\IeC {\\CYRP }/ð/g
+s/\\IeC {\\CYRR }/ò/g
+s/\\IeC {\\CYRS }/ó/g
+s/\\IeC {\\CYRT }/ô/g
+s/\\IeC {\\CYRU }/õ/g
+s/\\IeC {\\CYRF }/æ/g
+s/\\IeC {\\CYRH }/è/g
+s/\\IeC {\\CYRC }/ã/g
+s/\\IeC {\\CYRCH }/þ/g
+s/\\IeC {\\CYRSH }/û/g
+s/\\IeC {\\CYRSHCH }/ý/g
+s/\\IeC {\\CYRHRDSN }/ÿ/g
+s/\\IeC {\\CYRERY }/ù/g
+s/\\IeC {\\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