summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-06-30 13:21:28 +0000
committerKarl Berry <karl@freefriends.org>2006-06-30 13:21:28 +0000
commita7bdc979e8516458e2e6bd463a3ae86e9360072f (patch)
tree66bc3a86c20b35478d9ab6b44a627faa823cebfe /Master/texmf-dist/tex
parent587e2649317c29ebe59d9ab905a972faa3452e6c (diff)
croatian hrlatex update
git-svn-id: svn://tug.org/texlive/trunk@1732 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/hrlatex/hrdipl.cls4
-rw-r--r--Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty26
2 files changed, 26 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/hrlatex/hrdipl.cls b/Master/texmf-dist/tex/latex/hrlatex/hrdipl.cls
index 33d9cd2b6d1..ab8440657e4 100644
--- a/Master/texmf-dist/tex/latex/hrlatex/hrdipl.cls
+++ b/Master/texmf-dist/tex/latex/hrlatex/hrdipl.cls
@@ -3,7 +3,9 @@
% University of Zagreb, Croatia
\LoadClass[12pt, a4paper]{book}
-\RequirePackage{hrlatex} % <- hrdipl depends on hrlatex.sty
+\ProcessOptions*{}
+
+\RequirePackage[enc=cp1250]{hrlatex} % <- hrdipl depends on hrlatex.sty
%
\RequirePackage[
a4paper,
diff --git a/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty b/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty
index fb2698875a9..062c5253c16 100644
--- a/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty
+++ b/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty
@@ -7,14 +7,34 @@
%% hrlatex.dtx (with options: `package')
%%
%%
+
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesPackage{hrlatex}
- [2006/20/06 v0.2 LaTeX Macros for HRLaTeX project]
-\RequirePackage[cp1250]{inputenc}
+\ProvidesPackage{hrlatex}[2006/25/06 v0.21 LaTeX Macros for HRLaTeX project]
+\usepackage{xkeyval}
+\DeclareOption{slovene}{\PassOptionsToPackage{slovene}{babel}}
+\DeclareOptionX{enc}[utf8]{%
+\PassOptionsToPackage{#1}{inputenc}
+}
+
+\DeclareOption{last}{
+
+}
+
+\DeclareOption*{}
+\DeclareOptionX*{}
+
+\PassOptionsToPackage{utf8}{inputenc} %% Default
+\PassOptionsToPackage{croatian}{babel}
+
+\ProcessOptions*
+\ProcessOptionsX
+
+\RequirePackage{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage{tracefnt}
\RequirePackage[croatian]{babel}
\RequirePackage{amsopn}
+
\DeclareMathOperator{\tg}{tg}
\DeclareMathOperator{\arctg}{arc\,tg}
\DeclareMathOperator{\ctg}{ctg}