summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hrlatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-06-21 00:03:30 +0000
committerKarl Berry <karl@freefriends.org>2006-06-21 00:03:30 +0000
commitce3ea5505463af31d2c9e6dcb3d19b688170124f (patch)
tree1a63675fbdfe73b609ff816a54f875943de308b8 /Master/texmf-dist/source/latex/hrlatex
parent63e65439abe4d48cf9eeb759a0ceffae275b1417 (diff)
new hrlatex package for croatian
git-svn-id: svn://tug.org/texlive/trunk@1710 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hrlatex')
-rw-r--r--Master/texmf-dist/source/latex/hrlatex/hrlatex.dtx121
-rw-r--r--Master/texmf-dist/source/latex/hrlatex/hrlatex.ins58
2 files changed, 179 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/hrlatex/hrlatex.dtx b/Master/texmf-dist/source/latex/hrlatex/hrlatex.dtx
new file mode 100644
index 00000000000..f80e3c60d40
--- /dev/null
+++ b/Master/texmf-dist/source/latex/hrlatex/hrlatex.dtx
@@ -0,0 +1,121 @@
+% \iffalse meta-comment
+% GNU GPL license
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{hrlatex.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<package>\ProvidesPackage{hrlatex}
+%<*package>
+ [2006/20/06 v0.2 LaTeX Macros for HRLaTeX project]
+ \RequirePackage[cp1250]{inputenc}
+ \RequirePackage[T1]{fontenc}
+ \RequirePackage{tracefnt}
+ \RequirePackage[croatian]{babel}
+ \RequirePackage{amsopn}
+%</package>
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{hrlatex}
+
+
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+%% \tableofcontents
+ \DocInput{hrlatex.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{21}
+%
+% \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 \~}
+%
+%
+% \changes{v0.1}{2006/11/02}{Prva verzija}
+% \changes{v0.15}{2006/20/05}{.dtx verzija}
+% \changes{v0.2}{2006/20/06}{CTAN upload}
+%
+% \GetFileInfo{hrlatex.sty}
+%
+% \DoNotIndex{\newcommand,\newenvironment}
+%
+%
+% \title{{\Large \textsf{HRLaTeX}} paket\thanks{Ovaj dokument
+% odnosi se na \textsf{hrlatex}~\fileversion, \filedate.}}
+% \author{Marcel Mareti\'c \\ \texttt{marcelix at gmail dot com} \\ \texttt{http://www.tug.hr/}}
+%
+% \maketitle
+%
+% \section{Uvod}
+%
+% \textsf{HRLaTeX} paket (hrlatex.sty) je \LaTeX2e prilagodba prosje\v{c}nom hrvatskom \LaTeX{} korisniku.
+% \textsf{hrlatex} uklju\v{c}uje \textsf{babel}, \textsf{inputenc}, \textsf{fontenc} pakete s uobi\v{c}ajenim opcijama
+% i definira uobi\v{c}ajene matemati\v{c}ke operatore $\tg$ i sl.
+%
+% \subsubsection*{Za\v{s}to?}
+% % % ^^A Iz iskustva znam da ve\'cina hrvatskih \LaTeX{} hakera ima vlastite pomo\'cne datoteke u kojima sa sobom vu\v{c}e ono \v{s}to bi svaki dobar \TeX{} dokument trebao imati. Ili jednostavno svaki novi dokument po\v{c}inje tako da se pi\v{s}e preko zadnjeg.
+% ^^A Za neke znam. :-)
+%
+% \begin{itemize}
+% \item[--] \v{C}ini se da ve\'cina hrvatskih \LaTeX{} hakera ima vlastite dokumente u kojima dr\v{z}i ono \v{s}to treba svakom dobrom \LaTeX{} dokumentu. Novi dokumenti se u pravilu rade tako da se pi\v{s}e "preko" zadnjeg.
+% \item[--] hrlatex.sty je podloga za nekoliko predlo\v{z}aka (\textit{templates}): diplomski rad, ispit, ud\v{z}benik, itd.
+% \end{itemize}
+% \section{Uporaba}
+%
+% \DescribeMacro{\usepackage\{hrlatex\}}
+% U preambuli treba uklju\v{c}iti \textsf{hrlatex} paket.
+%
+%
+%
+% \StopEventually{\PrintChanges}
+%
+% \section{\emph{Quirks}}
+% \DescribeMacro{cp1250}
+% Kodna stranica je stavljena na |cp1250| -- \v{s}to odgovara hrvatskim MS Windows instalacijama. To i na linuxu nije problem. Npr.~kile se lako mo\v{z}e namjestiti tako da mu je cp1250 \textit{default encoding} za editor. Po\v{s}to je cp1250 kodna stranica pro\v{s}irenje ascii-ja sa starijim \LaTeX datotekama nema problema.
+% ^^A |\th|
+%
+% $$\th 1, \tg \frac{\pi}2, \arctg{1}, \sh 1, \ch 0$$
+%
+% \section{Implementacija}
+%
+% \begin{macrocode}
+\DeclareMathOperator{\tg}{tg}
+\DeclareMathOperator{\arctg}{arc\,tg}
+\DeclareMathOperator{\ctg}{ctg}
+\DeclareMathOperator{\arcctg}{arc\,ctg}
+\DeclareMathOperator{\sh}{sh}
+\DeclareMathOperator{\ch}{ch}
+\DeclareMathOperator{\cth}{cth}
+\DeclareMathOperator{\tgh}{th}
+\let\th\tgh
+%
+% \end{macrocode}
+%
+%
+%
+%
+% \section{Primjedbe}
+% Javite mi ako imate prijedbi.
+% \Finale
+\endinput
diff --git a/Master/texmf-dist/source/latex/hrlatex/hrlatex.ins b/Master/texmf-dist/source/latex/hrlatex/hrlatex.ins
new file mode 100644
index 00000000000..b8b78eb88a5
--- /dev/null
+++ b/Master/texmf-dist/source/latex/hrlatex/hrlatex.ins
@@ -0,0 +1,58 @@
+%%
+%% Copyright (C) 2006 by Marcel Maretic <marcelix at gmail com>
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.2 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.2 or later is part of all distributions of LaTeX version
+%% 1999/12/01 or later.
+%%
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/hrlatex}
+
+\preamble
+
+%
+% Copyright (C) 2005 HRLaTeX team
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 2 of the License, or
+% (at your option) any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+\endpreamble
+
+\generate{\file{hrlatex.sty}{\from{hrlatex.dtx}{package}}}
+
+\obeyspaces
+\Msg{*************************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the following *}
+\Msg{* file into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* hrlatex.sty *}
+\Msg{* *}
+\Msg{* To produce the documentation run the file hrlatex.dtx *}
+\Msg{* through LaTeX. *}
+\Msg{* *}
+\Msg{* Happy TeXing! *}
+\Msg{* *}
+\Msg{*************************************************************}
+
+\endbatchfile