Skip to content

Commit

Permalink
Resolve issue with packages latexrelease and textcomp
Browse files Browse the repository at this point in the history
  • Loading branch information
sieversMartin committed Aug 6, 2020
1 parent 40c0c01 commit 2d17e0e
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 54 deletions.
38 changes: 20 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# hausarbeit-jura
```
----------------------------------------------------------------------------
hausarbeit-jura -- A LaTeX class for writing “juristische Hausarbeiten” at German
universities.
(c) 2012-2019 Martin Sievers
Version: 2.0
hausarbeit-jura -- A LaTeX class for writing “juristische Hausarbeiten” at German universities.
(c) 2012–2020 Martin Sievers
Version: 2.1.0
Maintainer: Martin Sievers
Email: [email protected]
License: Released under the LaTeX Project Public License v1.3c or later
See: http://www.latex-project.org/lppl.txt
----------------------------------------------------------------------------
This is the current version of the class “hausarbeit-jura” for
writing “juristische Hausarbeiten” at German universities. It
This is the current version of the class “hausarbeit-jura” for
writing “juristische Hausarbeiten” at German universities. It
was originally developed for a workshop at Trier University.
The idea is to make the usage of LaTeX easier as only a few macros and
The idea is to make the usage of LaTeX easier as only a few macros and
environments are needed.
The documentation is in German only.
Expand All @@ -29,50 +28,53 @@ https://github.com/sieversMartin/hausarbeit-jura

## Changelog

### 1.5 to 2.0
### [2.1.0] -- 2020-08-06

* Resolve issue with `latexrelease` and `textcomp`

### [2.0.0]

* Made class compatible to latest LaTeX versions
* Added new options `10bp`, `11bp` and `12bp` for Word-compatible font sizes
* Added new options `10pt`, `11pt` and `12pt` for LaTeX-compatible font sizes
* Made `12bp` the new standard font size

### 1.4 to 1.5
### [1.5.0]

* Added ``\sectionbefore`` and ``\sectionafter`` to ``\section`` as well
* Added macros ``\setspacebeforechapter``, ``\setspaceafterchapter``, ``\setspacebeforesection`` and ``\setspaceaftersection``
* Added option ``noautomatter`` to deactivate automatic usage of ``\frontmatter`` and ``\mainmatter``

### 1.3 to 1.4
### [1.4.0]

* Added macros to change paper size used in frontmatter and mainmatter (suggested by Adi Sander)
* Added definition for ``\subsubsection``
* Modifed ``microtype`` options

### 1.2 to 1.3
### [1.3.0]

* Fixed a bug (missing ``\fi``)
* Added option ``headlinetitlepageleft``
* Added package ``ellipsis``

### 1.1 to 1.2
### [1.2.0]

* added option ``headline`` (thanks to Tobias Hirning) to add information to the header
* Added option ``headline`` (thanks to Tobias Hirning) to add information to the header
* TeX Gyre Fonts are now the standard fonts; added new option ``oldfonts`` for compatibility
* added support for XeLaTeX and LuaLaTeX
* rearranged package (not only) for GitHub
* code cleaning and improvement

### 1.0.1 to 1.1
### [1.1.0]

* added a documentation
* modified demo file

### 1.0 to 1.0.1
### [1.0.1]

* dtx now extracts “README.txt” instead of “README”.
* code cleaning of the dtx file

### 1.0
### [1.0.0]

* First “official” version, still without documentation

33 changes: 16 additions & 17 deletions hausarbeit-jura.cls
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ universities (ao, ms)]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{jurabook}}
\ProcessOptions\relax
\RequirePackage{iftex}
\IfFileExists{latexrelease.sty}{\RequirePackage[2018/01/01]{latexrelease}}{}%
\LoadClass[a4paper,oneside,showpagenumber,classiclayout]{jurabook}%
[2007/11/09 V0.91 (beta) juridical books (AS)]
\if@fontbp
Expand All @@ -90,21 +89,21 @@ universities (ao, ms)]
\normalsize
\fi%
\ifPDFTeX
\RequirePackage{inputenc}
\RequirePackage[T1]{fontenc}
\if@texgyre
\usepackage{tgtermes}
\usepackage[matchlowercase]{tgheros}
\usepackage[matchlowercase]{tgcursor}
\else
\usepackage{mathptmx}
\usepackage[scaled=0.91]{helvet}
\usepackage{courier}
\fi%
\RequirePackage{textcomp}
\RequirePackage{eurosym}
\let\texteuro\euro
\DeclareInputText{128}{\,\euro}
\RequirePackage{inputenc}
\RequirePackage[T1]{fontenc}
\if@texgyre
\usepackage{tgtermes}
\usepackage[matchlowercase]{tgheros}
\usepackage[matchlowercase]{tgcursor}
\else
\usepackage{mathptmx}
\usepackage[scaled=0.91]{helvet}
\usepackage{courier}
\fi%
\RequirePackage{textcomp}
\RequirePackage{eurosym}
\let\texteuro\euro
\DeclareUnicodeCharacter{20AC}{\unspace\,\euro}
\else%
\RequirePackage{fontspec}
\setmainfont{Times New Roman}
Expand Down Expand Up @@ -507,7 +506,7 @@ universities (ao, ms)]
\raggedbottom
%%
%% Originally developed by Martin Sievers ([email protected])
%% Copyright (C) 2012-2019 by Martin Sievers
%% Copyright (C) 2012-2020 by Martin Sievers
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either
Expand Down
36 changes: 18 additions & 18 deletions hausarbeit-jura.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ See http://www.latex-project.org/lppl.txt
\postamble

Originally developed by Martin Sievers ([email protected])
Copyright (C) 2012-2019 by Martin Sievers
Copyright (C) 2012-2020 by Martin Sievers

This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
Expand Down Expand Up @@ -73,7 +73,7 @@ This work consists of the file hausarbeit-jura.dtx
%</internal>
%<*driver>
\ProvidesFile{hausarbeit-jura.dtx}%
[2019/04/04 v2.0 A class for writing ``juristische Hausarbeiten'' at German
[2020/08/06 v2.1 A class for writing ``juristische Hausarbeiten'' at German
universities]
\documentclass[a4paper]{ltxdoc}
\usepackage[english,ngerman]{babel}
Expand Down Expand Up @@ -166,6 +166,7 @@ universities]
% \cs{setspaceafterchapter}, \cs{setspacebeforesection} and
% \cs{setspaceaftersection} for an easy modification of spacings.}
% \changes{v2.0}{2018/08/21}{Added options for font size selection}
% \changes{v2.1}{2020/08/06}{Resolve issue with \pkg{latexrelease} and \pkg{textcomp}}
%
% \GetFileInfo{\jobname.dtx}
% \DoNotIndex{\newcommand,\newenvironment}
Expand Down Expand Up @@ -678,7 +679,6 @@ universities (ao, ms)]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{jurabook}}
\ProcessOptions\relax
\RequirePackage{iftex}
\IfFileExists{latexrelease.sty}{\RequirePackage[2018/01/01]{latexrelease}}{}%
\LoadClass[a4paper,oneside,showpagenumber,classiclayout]{jurabook}%
[2007/11/09 V0.91 (beta) juridical books (AS)]
\if@fontbp
Expand All @@ -697,21 +697,21 @@ universities (ao, ms)]
\normalsize
\fi%
\ifPDFTeX
\RequirePackage{inputenc}
\RequirePackage[T1]{fontenc}
\if@texgyre
\usepackage{tgtermes}
\usepackage[matchlowercase]{tgheros}
\usepackage[matchlowercase]{tgcursor}
\else
\usepackage{mathptmx}
\usepackage[scaled=0.91]{helvet}
\usepackage{courier}
\fi%
\RequirePackage{textcomp}
\RequirePackage{eurosym}
\let\texteuro\euro
\DeclareInputText{128}{\,\euro}
\RequirePackage{inputenc}
\RequirePackage[T1]{fontenc}
\if@texgyre
\usepackage{tgtermes}
\usepackage[matchlowercase]{tgheros}
\usepackage[matchlowercase]{tgcursor}
\else
\usepackage{mathptmx}
\usepackage[scaled=0.91]{helvet}
\usepackage{courier}
\fi%
\RequirePackage{textcomp}
\RequirePackage{eurosym}
\let\texteuro\euro
\DeclareUnicodeCharacter{20AC}{\unspace\,\euro}
\else%
\RequirePackage{fontspec}
\setmainfont{Times New Roman}
Expand Down
2 changes: 1 addition & 1 deletion hausarbeit-jura.ins
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See http://www.latex-project.org/lppl.txt
\postamble

Originally developed by Martin Sievers ([email protected])
Copyright (C) 2012-2019 by Martin Sievers
Copyright (C) 2012-2020 by Martin Sievers

This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
Expand Down

0 comments on commit 2d17e0e

Please sign in to comment.