summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:06:13 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:06:13 +0000
commit87dc7d40e06c4d1bef2994cacc67906ed5832290 (patch)
treea169c9930467479bfba047f4a21302af7e3335a7 /Master
parente852a1ea3eed898d0b6357cd6dfad21f515d8727 (diff)
sciwordconv
git-svn-id: svn://tug.org/texlive/trunk@1301 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/latex/sciwordconv/Sw2Rus.sty86
1 files changed, 86 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/sciwordconv/Sw2Rus.sty b/Master/texmf-dist/tex/latex/sciwordconv/Sw2Rus.sty
new file mode 100644
index 00000000000..a3d80408ba9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sciwordconv/Sw2Rus.sty
@@ -0,0 +1,86 @@
+%% Package Sw2Rus.sty to use with LaTeX 2e.
+%% Copyright (C) 2000-2003 Berik I. Tuleuov, Karaganda, Kazakhstan.
+%% E-mail: berik_tuleuov@yahoo.com
+%% This program can be used, distributed, and modified under the terms
+%% of the LaTeX Project Public License.
+%% Last Modified 17.02.2003
+
+%% These somewhat tricky macros allows you to combine the power of
+%% graphical front-end of Scientific Word/Scientific WorkPlace (SW/SWP)
+%% with your favourite TeX compiler (for example, MiKTeX). SW/SWP creates
+%% TeX source files with commands \Unicode{character code} (versions 3.0) or
+%% \U{character code} (versions 3.5 and up) instead of usual characters, and
+%% we have to redefine these commands, with no change of source file.
+%% This idea is generic, i.e. it can also be applied to other european
+%% languages. You may or may not use `babel' multilanguage support package;
+%% that's why I decided not to use \def\mxl{\CYRA} instead of \def\mxl{À}
+%% and so on.
+%% Here given implementation for russian language.
+
+\def\mxl{À} % À €
+\def\mxli{Á} % Á
+\def\mxlii{Â} % Â ‚
+\def\mxliii{Ã} % Ã ƒ
+\def\mxliv{Ä} % Ä „
+\def\mxlv{Å} % Å …
+\def\mxlvi{Æ} % Æ †
+\def\mxlvii{Ç} % Ç ‡
+\def\mxlviii{È} % È ˆ
+\def\mxlix{É} % É ‰
+\def\lxva{Ê} \def\ml{Ê} % Ê Š
+\def\lxvb{Ë} \def\mli{Ë} % Ë ‹
+\def\lxvc{Ì} \def\mlii{Ì} % Ì Œ
+\def\lxvd{Í} \def\mliii{Í} % Í
+\def\lxve{Î} \def\mliv{Î} % Î Ž
+\def\lxvf{Ï} \def\mlv{Ï} % Ï
+\def\mlvi{Ð} % Ð
+\def\mlvii{Ñ} % Ñ ‘
+\def\mlviii{Ò} % Ò ’
+\def\mlix{Ó} % Ó “
+\def\mlx{Ô} % Ô ”
+\def\mlxi{Õ} % Õ •
+\def\mlxii{Ö} % Ö –
+\def\mlxiii{×} % × —
+\def\mlxiv{Ø} % Ø ˜
+\def\mlxv{Ù} % Ù ™
+\def\lxvia{Ú} \def\mlxvi{Ú} % Ú š
+\def\lxvib{Û} \def\mlxvii{Û} % Û ›
+\def\lxvic{Ü} \def\mlxviii{Ü} % Ü œ
+\def\lxvid{Ý} \def\mlxix{Ý} % Ý
+\def\lxvie{Þ} \def\mlxx{Þ} % Þ ž
+\def\lxvif{ß} \def\mlxxi{ß} % ß Ÿ
+\def\mlxxii{à} % à  
+\def\mlxxiii{á} % á ¡
+\def\mlxxiv{â} % â ¢
+\def\mlxxv{ã} % ã £
+\def\mlxxvi{ä} % ä ¤
+\def\mlxxvii{å} % å ¥
+\def\mlxxviii{æ} % æ ¦
+\def\mlxxix{ç} % ç §
+\def\mlxxx{è} % è ¨
+\def\mlxxxi{é} % é ©
+\def\lxviia{ê} \def\mlxxxii{ê} % ê ª
+\def\lxviib{ë} \def\mlxxxiii{ë} % ë «
+\def\lxviic{ì} \def\mlxxxiv{ì} % ì ¬
+\def\lxviid{í} \def\mlxxxv{í} % í ­
+\def\lxviie{î} \def\mlxxxvi{î} % î ®
+\def\lxviif{ï} \def\mlxxxvii{ï} % ï ¯
+\def\mlxxxviii{ð} % ð à
+\def\mlxxxix{ñ} % ñ á
+\def\mxc{ò} % ò â
+\def\mxci{ó} % ó ã
+\def\mxcii{ô} % ô ä
+\def\mxciii{õ} % õ å
+\def\mxciv{ö} % ö æ
+\def\mxcv{÷} % ÷ ç
+\def\mxcvi{ø} % ø è
+\def\mxcvii{ù} % ù é
+\def\lxviiia{ú} \def\mxcviii{ú} % ú ê
+\def\lxviiib{û} \def\mxcix{û} % û ë
+\def\lxviiic{ü} \def\mc{ü} % ü ì
+\def\lxviiid{ý} \def\mci{ý} % ý í
+\def\lxviiie{þ} \def\mcii{þ} % þ î
+\def\lxviiif{ÿ} \def\mciii{ÿ} % ÿ ï
+
+\def\UNICODE#1{\csname\romannumeral"\@gobbletwo#1\endcsname}% for versions 3.0
+\def\U#1{\csname\romannumeral"#1\endcsname}% for versions 3.5 and up