From b5a7ecf08d630504103121f5c9e52777be22bf26 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 29 Aug 2011 00:05:04 +0000 Subject: new latex package serbian-def-cyr (28aug11) git-svn-id: svn://tug.org/texlive/trunk@23734 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/serbian-def-cyr/README | 23 ++++ .../texmf-dist/doc/latex/serbian-def-cyr/proba.pdf | Bin 0 -> 138214 bytes .../texmf-dist/doc/latex/serbian-def-cyr/proba.tex | 135 +++++++++++++++++++++ .../texmf-dist/doc/latex/serbian-def-cyr/usage.pdf | Bin 0 -> 112689 bytes .../texmf-dist/doc/latex/serbian-def-cyr/usage.tex | 48 ++++++++ 5 files changed, 206 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/serbian-def-cyr/README create mode 100644 Master/texmf-dist/doc/latex/serbian-def-cyr/proba.pdf create mode 100644 Master/texmf-dist/doc/latex/serbian-def-cyr/proba.tex create mode 100644 Master/texmf-dist/doc/latex/serbian-def-cyr/usage.pdf create mode 100644 Master/texmf-dist/doc/latex/serbian-def-cyr/usage.tex (limited to 'Master/texmf-dist/doc/latex/serbian-def-cyr') diff --git a/Master/texmf-dist/doc/latex/serbian-def-cyr/README b/Master/texmf-dist/doc/latex/serbian-def-cyr/README new file mode 100644 index 00000000000..cbe311a7a6e --- /dev/null +++ b/Master/texmf-dist/doc/latex/serbian-def-cyr/README @@ -0,0 +1,23 @@ + +This is the README file + of +serbian-def-cyr package + +This package provide support for serbian +language in cyrillic scripts for command +like \chapter, \abstract, \date etc. +The font encoding is T2A and code page +is cp1251. + + Copyright (C) 2011 Zoran Filipovi\'{c} + + This program can be redistributed and/or modified + under the terms of the LaTeX Project Public License + Distributed from CTAN archives in directory + macros/latex/base/lppl.txt; either version 1 of + the License, or any later version. + +Zoran T. Filipovi\'{c} +Jurija Gagarina 263/6 +11070 Novi Beograd, Srbija +zoran dot filipovic at yahoo dot com diff --git a/Master/texmf-dist/doc/latex/serbian-def-cyr/proba.pdf b/Master/texmf-dist/doc/latex/serbian-def-cyr/proba.pdf new file mode 100644 index 00000000000..94979ed933d Binary files /dev/null and b/Master/texmf-dist/doc/latex/serbian-def-cyr/proba.pdf differ diff --git a/Master/texmf-dist/doc/latex/serbian-def-cyr/proba.tex b/Master/texmf-dist/doc/latex/serbian-def-cyr/proba.tex new file mode 100644 index 00000000000..635ba40f284 --- /dev/null +++ b/Master/texmf-dist/doc/latex/serbian-def-cyr/proba.tex @@ -0,0 +1,135 @@ +%% +%% proba.tex +%% Copyright 2011 Zoran Filipovi\'{c} +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Zoran Filipovi\'{c} +% +%% +\documentclass[12pt]{article} +\usepackage{serbian-def-cyr} + +\title{Подршка Српском језику у ћириличном писму} +\author{Зоран Филиповић} + +\hyphenation{таста-ту-ру пи-сму једно-ста-ван је-зи-ку} + +\begin{document} + +\maketitle +\abstract{Овај документ представља корисно упутство како можете на једноставан и лак + начин да користите пакет \verb|serbian-def-cyr| и чему он служи.} + + +\section{Упознавање} + +Овај пакет представља подршку српском језику у ћириличном писму на начин што основне +макрое и дефиниције, као то су \verb|abrstract|, \verb|title|, \verb|chapter| итд., +а који су заступљени приликом обраде већине докумената или књига, и који су за +српски језик у латиничном писму обрађени у пакету \verb|babel|, презентује у +ћириличном писму. Пакет ради у оквиру Т2А \verb|fontenc| уз коришћење \verb|cp 1251| +кодне стране. + +\section{Како да користим пакет?} + +Пакет се користи тако што укуцате команду \verb|\usepackage{serbian-def-cyr}| +у преамбулу вашег документа. Уколико користите \verb|WinShell| као \LaTeX\ +едитор морате у \verb|Options|, \verb|Fonts|, \verb|Script| извршити сетовање на +\verb|Cyrillic|, док је кодирање \verb|Standard|. Такође, прилагодите тастатуру +српком језику у ћириличном писму. Можда ће вам најбољи и најједноставнији начин за +упознавање са пакетом представљати овај документ. + +\section{Имплементација} + +На почетку ћемо дефинисати име пакета. + +\begin{verbatim} +\ProvidesPackage{serbian-def-cyr} + [2011/15/08 Serbian cyrillic support] +\end{verbatim} + +Сада је неопходно да имплементирамо пакете који се односе на кодну страну +и фонтове. + +\begin{verbatim} +\AtEndOfPackage{% + \PassOptionsToPackage{cp1251}{inputenc}% + \RequirePackage{inputenc}% + \PassOptionsToPackage{T2A}{fontenc}% + \RequirePackage{fontenc}% +} +\end{verbatim} + +Сада ћемо превести основне макрое, који се користе приликом обраде докумената или +књига, на српски језик у ћириличном писму. + +\begin{verbatim} + \def\prefacename{Предговор}% + \def\refname{Литература}% + \def\abstractname{Сажетак}% + \def\bibname{Библиографија}% + \def\chaptername{Глава}% + \def\appendixname{Додатак}% + \def\contentsname{Садржај}% + \def\listfigurename{Списак Слика}% + \def\listtablename{Списак Табела}% + \def\indexname{Индекс}% + \def\figurename{Слика}% + \def\tablename{Табела}% + \def\partname{Део}% + \def\enclname{Прилози}% + \def\ccname{Копије}% + \def\headtoname{Прима}% + \def\pagename{Страна}% + \def\seename{Види}% + \def\alsoname{Види такође}% + \def\proofname{Доказ}% + \def\glossaryname{Речник непознатих речи}% +\end{verbatim} + +Дефинисаћемо датум за српски језик у ћириличном писму у најмодеријем облику +који познаје савремена српска граматика. + +\begin{verbatim} + \def\today{\number\day .~\ifcase\month\or + јануар\or фебруар\or март\or април\or мај\or + јуни\or јули\or август\or септембар\or октобар\or новембар\or + децембар\fi \space \number\year.} +\end{verbatim} + +Основни математички оператори су остали исти као у \verb|babel| пакету. + +\begin{verbatim} +\def\sh{\mathop{\operator@font sh}\nolimits} % same as \sinh +\def\ch{\mathop{\operator@font ch}\nolimits} % same as \cosh +\def\th{\mathop{\operator@font th}\nolimits} % same as \tanh +\def\cth{\mathop{\operator@font cth}\nolimits} % same as \coth +\def\arsh{\mathop{\operator@font arsh}\nolimits} +\def\arch{\mathop{\operator@font arch}\nolimits} +\def\arth{\mathop{\operator@font arth}\nolimits} +\def\arcth{\mathop{\operator@font arcth}\nolimits} +\def\tg{\mathop{\operator@font tg}\nolimits} % same as \tan +\def\ctg{\mathop{\operator@font ctg}\nolimits} % same as \cot +\def\arctg{\mathop{\operator@font arctg}\nolimits} % same as \arctan +\def\arcctg{\mathop{\operator@font arcctg}\nolimits} +\def\Prob{\mathop{\mathsf P\hskip0pt}\nolimits} +\def\Expect{\mathop{\mathsf E\hskip0pt}\nolimits} +\def\Variance{\mathop{\mathsf D\hskip0pt}\nolimits} +\end{verbatim} + +И на крају\dots + +\begin{verbatim} +\endinput +\end{verbatim} + +\end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/serbian-def-cyr/usage.pdf b/Master/texmf-dist/doc/latex/serbian-def-cyr/usage.pdf new file mode 100644 index 00000000000..2d6e7980c6f Binary files /dev/null and b/Master/texmf-dist/doc/latex/serbian-def-cyr/usage.pdf differ diff --git a/Master/texmf-dist/doc/latex/serbian-def-cyr/usage.tex b/Master/texmf-dist/doc/latex/serbian-def-cyr/usage.tex new file mode 100644 index 00000000000..326313befe2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/serbian-def-cyr/usage.tex @@ -0,0 +1,48 @@ +%% +%% usage.tex +%% Copyright 2011 Zoran Filipovi\'{c} +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Zoran Filipovi\'{c} +% +%% +\documentclass[12pt]{article} +\usepackage[T1]{fontenc} +\usepackage[latin1]{inputenc} + +\title{Serbian cyrillic support} +\author{Zoran Filipovi\'{c}} + +\begin{document} +\maketitle +\abstract{This document present in which way how you use + \verb|serbian-def-cyr| package.} + + +\section{Introdaction} + +This package present support for serbian language in cyrillic scripts in +way which is macro and definitions, such like \verb|abrstract|, \verb|title|, +\verb|chapter| etc., present in cyrillic scripts. Translations for this macro +exist in \verb|babel| package for serbian language in latin script. Package +working in T2A font encoding, and code page is cp 1251. + +\section{How to use this package?} + +Just put a line \verb|\usepackage{serbian-def-cyr}| in preambula for +you document. If you use \verb|WinShell| us \LaTeX\ +editor you must in \verb|Options|, \verb|Fonts|, \verb|Script| set on +\verb|Cyrillic|, and coding is \verb|Standard|. Also, set the keyboard on +serbian language in cyrillic scripts. + + +\end{document} \ No newline at end of file -- cgit v1.2.3