diff options
author | Karl Berry <karl@freefriends.org> | 2011-08-29 00:05:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-08-29 00:05:04 +0000 |
commit | b5a7ecf08d630504103121f5c9e52777be22bf26 (patch) | |
tree | ca5dae2a7d022417140892c2e6e9538bb19638ce | |
parent | 9a1cc7f3633d6ca98c73dc8f2f7caf6a62d131b3 (diff) |
new latex package serbian-def-cyr (28aug11)
git-svn-id: svn://tug.org/texlive/trunk@23734 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/serbian-def-cyr/README | 23 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/serbian-def-cyr/proba.pdf | bin | 0 -> 138214 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/serbian-def-cyr/proba.tex | 135 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/serbian-def-cyr/usage.pdf | bin | 0 -> 112689 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/serbian-def-cyr/usage.tex | 48 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/serbian-def-cyr/serbian-def-cyr.sty | 85 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/serbian-def-cyr.tlpsrc | 0 |
9 files changed, 293 insertions, 1 deletions
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 Binary files differnew file mode 100644 index 00000000000..94979ed933d --- /dev/null +++ b/Master/texmf-dist/doc/latex/serbian-def-cyr/proba.pdf 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 Binary files differnew file mode 100644 index 00000000000..2d6e7980c6f --- /dev/null +++ b/Master/texmf-dist/doc/latex/serbian-def-cyr/usage.pdf 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 diff --git a/Master/texmf-dist/tex/latex/serbian-def-cyr/serbian-def-cyr.sty b/Master/texmf-dist/tex/latex/serbian-def-cyr/serbian-def-cyr.sty new file mode 100644 index 00000000000..c187697e734 --- /dev/null +++ b/Master/texmf-dist/tex/latex/serbian-def-cyr/serbian-def-cyr.sty @@ -0,0 +1,85 @@ +%% +%% serbian-def-cyr.sty +%% 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} +%% +\ProvidesPackage{serbian-def-cyr} + [2011/15/08 Serbian cyrillic support] + +\AtEndOfPackage{% + \PassOptionsToPackage{cp1251}{inputenc}% + \RequirePackage{inputenc}% + \PassOptionsToPackage{T2A}{fontenc}% + \RequirePackage{fontenc}% +} + + \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{Речник непознатих речи}% + + \def\today{\number\day .~\ifcase\month\or + јануар\or фебруар\or март\or април\or мај\or + јуни\or јули\or август\or септембар\or октобар\or новембар\or + децембар\fi \space \number\year.} + +\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} +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput
\ No newline at end of file diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 9b91519ad62..5f377baa219 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -325,7 +325,7 @@ my @TLP_working = qw( sdrt secdot section sectionbox sectsty selectp semantic semaphor seminar semioneside sepnum seqsplit - serbian-apostrophe serbian-date-lat serbian-lig serbianc + serbian-apostrophe serbian-date-lat serbian-def-cyr serbian-lig serbianc setspace seuthesis sf298 sffms sfg sfmath sgame shade shadethm shadow shapepar diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 14f42f3507e..82c2531cbb3 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -590,6 +590,7 @@ depend semioneside depend seqsplit depend serbian-apostrophe depend serbian-date-lat +depend serbian-def-cyr depend serbian-lig depend serbianc depend sf298 diff --git a/Master/tlpkg/tlpsrc/serbian-def-cyr.tlpsrc b/Master/tlpkg/tlpsrc/serbian-def-cyr.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/serbian-def-cyr.tlpsrc |