From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- .../latex/contrib/sciwordconv/GenericRussian.shl | 36 +++++++++ macros/latex/contrib/sciwordconv/README | 23 ++++++ macros/latex/contrib/sciwordconv/Sw2Rus.sty | 86 ++++++++++++++++++++++ 3 files changed, 145 insertions(+) create mode 100644 macros/latex/contrib/sciwordconv/GenericRussian.shl create mode 100644 macros/latex/contrib/sciwordconv/README create mode 100644 macros/latex/contrib/sciwordconv/Sw2Rus.sty (limited to 'macros/latex/contrib/sciwordconv') 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 -- cgit v1.2.3