diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/multilingual/eurotex/bin/iso2tex |
Initial commit
Diffstat (limited to 'language/multilingual/eurotex/bin/iso2tex')
-rwxr-xr-x | language/multilingual/eurotex/bin/iso2tex | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/language/multilingual/eurotex/bin/iso2tex b/language/multilingual/eurotex/bin/iso2tex new file mode 100755 index 0000000000..b2af8e1b9f --- /dev/null +++ b/language/multilingual/eurotex/bin/iso2tex @@ -0,0 +1,15 @@ +#!/bin/csh +# converts from ISO Latin 1 (ISO 8859/1) to TeX writing + +if ($#argv < 2) then + echo 'Usage: iso2tex <from-file> <to-file>' + echo 'Reads from <from-file> and writes to <to-file>' + echo 'Substitutes TeX writing for the following characters in' + echo 'ISO Latin 1 (ISO 8859/1):' + echo 'À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ' + echo 'à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ß' + echo '§ ¡ ¿ £ « » ± ·' + exit(1) +endif + +awk '{print}' $1 | sed -f /local/bin/isototex_subst >$2 |