summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/sciwordconv
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/sciwordconv
Initial commit
Diffstat (limited to 'macros/latex/contrib/sciwordconv')
-rw-r--r--macros/latex/contrib/sciwordconv/GenericRussian.shl36
-rw-r--r--macros/latex/contrib/sciwordconv/README23
-rw-r--r--macros/latex/contrib/sciwordconv/Sw2Rus.sty86
3 files changed, 145 insertions, 0 deletions
diff --git a/macros/latex/contrib/sciwordconv/GenericRussian.shl b/macros/latex/contrib/sciwordconv/GenericRussian.shl
new file mode 100644
index 0000000000..c1fa477c97
--- /dev/null
+++ b/macros/latex/contrib/sciwordconv/GenericRussian.shl
@@ -0,0 +1,36 @@
+\documentclass[a4paper]{article}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\usepackage{amssymb}
+\usepackage{amsmath}
+\usepackage[T2A]{fontenc}
+%\usepackage[KOI8-R]{fontenc}
+%\usepackage[T1]{fontenc}
+\usepackage[english,russian]{babel}
+\usepackage{sw2rus}
+%\usepackage[cp866]{inputenc}
+%\usepackage[cp1251]{inputenc}
+
+\makeatletter
+\renewcommand{\@biblabel}[1]{#1.\hfill}
+\makeatother
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%TCIDATA{CSTFile=40 LaTeX article.cst}
+
+\newenvironment{proof}[1][Proof]{\noindent\textbf{#1.} }{\ \rule{0.5em}{0.5em}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newtheorem{theorem}{\U{422}\U{435}\U{43e}\U{440}\U{435}\U{43c}\U{430}}% %
+\newtheorem{lemma}{\U{41b}\U{435}\U{43c}\U{43c}\U{430}}% %
+\newtheorem{corollary}{\U{421}\U{43b}\U{435}%
+\U{434}\U{441}\U{442}\U{432}\U{438}\U{435}}% %
+\newtheorem{definition}{\U{41e}\U{43f}\U{440}%
+\U{435}\U{434}\U{435}\U{43b}\U{435}\U{43d}\U{438}\U{435}}% %
+\newtheorem{proposition}{\U{41f}\U{440}\U{435}%
+\U{434}\U{43b}\U{43e}\U{436}\U{435}\U{43d}\U{438}\U{435}}% %
+\newtheorem{remark}{\U{417}\U{430}\U{43c}%
+\U{435}\U{447}\U{430}\U{43d}\U{438}\U{435}}% %
+
+\begin{document}
+
+
+\end{document}
diff --git a/macros/latex/contrib/sciwordconv/README b/macros/latex/contrib/sciwordconv/README
new file mode 100644
index 0000000000..e92b81b424
--- /dev/null
+++ b/macros/latex/contrib/sciwordconv/README
@@ -0,0 +1,23 @@
+
+Package SciWordConv to use with LaTeX 2e.
+
+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.
+
+Implementation for russian language includes Sw2Rus.sty and sample
+Shell template file "Berik - Generic Russian Standard LaTeX Article.shl".
+Copy the first file to texmf\tex\latex\SciWordConv directory, and the
+second one - to Shells directory (I recommend to create directory SciWordConv
+and put there) in your Scientific Word/Scientific WorkPlace tree.
+Do not forget also copy file (SW/SWP root)\TCITeX\TeX\LaTeX\tci\tcilatex.tex
+to somewhere of your localtexmf tree.
+
+Enjoy!
+
+Berik I. Tuleuov, Karaganda, Kazakhstan. E-mail: berik_tuleuov@yahoo.com \ No newline at end of file
diff --git a/macros/latex/contrib/sciwordconv/Sw2Rus.sty b/macros/latex/contrib/sciwordconv/Sw2Rus.sty
new file mode 100644
index 0000000000..50cbd4355a
--- /dev/null
+++ b/macros/latex/contrib/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