Skip to content

Commit f9d5466

Browse files
committed
Full rebuild for release 2025/02/24
1 parent 716790b commit f9d5466

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+122
-67
lines changed

dev/ctan/hagenberg-thesis.zip

3.33 MB
Binary file not shown.

dev/ctan/hagenberg-thesis/bibtex/references.bib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%%% Version[2025/02/18]%%AUTO
1+
%%% Version[2025/02/24]%%AUTO
22
33
@book{BachBWV988,
44
author={Bach, Johann Sebastian},
1.71 MB
Binary file not shown.
1.71 MB
Binary file not shown.
5.31 KB
Binary file not shown.

dev/ctan/hagenberg-thesis/doc/hagenberg-thesis.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ \subsubsection{Class-specific options}
101101

102102
\noindent\textbf{\texttt{hgbarticle}}:
103103
\begin{itemize}
104-
\item \texttt{twocolumn}: two-column page layout.
104+
\item \texttt{twocolumn}: two-column page layout,
105+
\item \texttt{review}: review mode with line numbers.
105106
\end{itemize}
106107

107108
\noindent
@@ -649,6 +650,7 @@ \section{Package dependencies}
649650
\texttt{ifpdf},
650651
\texttt{inputenc},
651652
\texttt{lengthconvert},
653+
\texttt{lineno},
652654
\texttt{listingsutf8},
653655
\texttt{lmodern},
654656
\texttt{marvosym},

dev/ctan/hagenberg-thesis/latex/hgb.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
%% File encoding: UTF-8
66

77
\NeedsTeXFormat{LaTeX2e}
8-
\ProvidesPackage{hgb}[2025/02/18]%%AUTO
8+
\ProvidesPackage{hgb}[2025/02/24]%%AUTO
99
\typeout{******************* hgb.sty (options=\@nameuse{[email protected]}) ***********************}
1010

1111
% Create a default/fallback main language so it is set no matter what

dev/ctan/hagenberg-thesis/latex/hgbabbrev.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
%% GitHub: https://github.com/Digital-Media/HagenbergThesis
55
%% File encoding: ASCII
66

7-
\ProvidesPackage{hgbabbrev}[2025/02/18]%%AUTO
7+
\ProvidesPackage{hgbabbrev}[2025/02/24]%%AUTO
88

99
\newcommand{\latex}{La\-TeX\xspace} % no ornamental LaTeX anymore
1010
\newcommand{\tex}{TeX\xspace} % no ornamental LaTeX anymore

dev/ctan/hagenberg-thesis/latex/hgbalgo.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
%% GitHub: https://github.com/Digital-Media/HagenbergThesis
1212
%% File encoding: ASCII
1313

14-
\ProvidesPackage{hgbalgo}[2025/02/18]%%AUTO
14+
\ProvidesPackage{hgbalgo}[2025/02/24]%%AUTO
1515

1616
\RequirePackage[noEnd=true,indLines=true,italicComments=false]{algpseudocodex} % https://ctan.org/pkg/algpseudocodex
1717
\RequirePackage{calc} % for numeric calculations

dev/ctan/hagenberg-thesis/latex/hgbarticle.cls

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
%% Package Information --------------------------------------------------------
99

1010
\NeedsTeXFormat{LaTeX2e}
11-
\ProvidesClass{hgbarticle}[2025/02/18]%%AUTO
11+
\ProvidesClass{hgbarticle}[2025/02/24]%%AUTO
1212

1313
\RequirePackage{xifthen}
1414

@@ -17,12 +17,18 @@
1717
\else{\errmessage{hgbarticle: *** LaTeX NOT running in PDF mode ***}}
1818
\fi
1919

20+
%% Variable definitions -------------------------------------------------------
21+
22+
\newboolean{reviewmode}
23+
\setboolean{reviewmode}{false}
24+
2025
%% Handling class options --------------------------------------------------------------
2126

2227
\DeclareOption{oneside}{\PassOptionsToClass{\CurrentOption}{article}} % default
2328
\DeclareOption{twoside}{\PassOptionsToClass{\CurrentOption}{article}}
2429
\DeclareOption{twocolumn}{\PassOptionsToClass{\CurrentOption}{article}}
2530
\DeclareOption{apa}{\PassOptionsToPackage{\CurrentOption}{hgbbib}}
31+
\DeclareOption{review}{\setboolean{reviewmode}{true}}
2632
% pass all other options to hgb.sty
2733
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{hgb}}
2834
\ProcessOptions*
@@ -37,7 +43,23 @@
3743
\RequirePackage[top=36mm,bottom=40mm,left=32mm,right=32mm]{geometry} %showframe
3844
\fi%
3945

40-
\RequirePackage{hgb} % load style file hgb.sty with options registered above
46+
%% Review mode with line numbers ----------------------------------------------
47+
48+
\ifthenelse{\boolean{reviewmode}}%
49+
{%
50+
\if@twocolumn%
51+
% When in two-column mode, use switch to display line numbers right of the second column
52+
\RequirePackage[mathlines,switch]{lineno}%
53+
\else%
54+
\RequirePackage[mathlines]{lineno}%
55+
\fi%
56+
\renewcommand{\linenumberfont}{\sffamily\tiny\color{gray}}%
57+
\linenumbers%
58+
}%
59+
{}%
60+
61+
% load style file hgb.sty with options registered above
62+
\RequirePackage{hgb}
4163

4264
%% Set title font to SF and inject PDF meta-data
4365
\RequirePackage{titling}

0 commit comments

Comments
 (0)