texlive[72308] Master/texmf-dist: iaria-lite (17sep24)
commits+karl at tug.org
commits+karl at tug.org
Tue Sep 17 21:54:51 CEST 2024
Revision: 72308
https://tug.org/svn/texlive?view=revision&revision=72308
Author: karl
Date: 2024-09-17 21:54:51 +0200 (Tue, 17 Sep 2024)
Log Message:
-----------
iaria-lite (17sep24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/iaria-lite/README
trunk/Master/texmf-dist/doc/latex/iaria-lite/iaria-lite.pdf
trunk/Master/texmf-dist/source/latex/iaria-lite/iaria-lite.dtx
trunk/Master/texmf-dist/source/latex/iaria-lite/iaria-lite.ins
trunk/Master/texmf-dist/tex/latex/iaria-lite/iaria-lite.cls
Modified: trunk/Master/texmf-dist/doc/latex/iaria-lite/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/iaria-lite/README 2024-09-17 19:54:42 UTC (rev 72307)
+++ trunk/Master/texmf-dist/doc/latex/iaria-lite/README 2024-09-17 19:54:51 UTC (rev 72308)
@@ -1,5 +1,5 @@
-----------------------------
- Version 0.3 of the iaria-lite class
+ Version 0.4 of the iaria-lite class
Christoph P. Neumann
-----------------------------
Modified: trunk/Master/texmf-dist/doc/latex/iaria-lite/iaria-lite.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/iaria-lite/iaria-lite.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/iaria-lite/iaria-lite.dtx 2024-09-17 19:54:42 UTC (rev 72307)
+++ trunk/Master/texmf-dist/source/latex/iaria-lite/iaria-lite.dtx 2024-09-17 19:54:51 UTC (rev 72308)
@@ -2,15 +2,15 @@
% iaria-lite.dtx generated using makedtx version 1.2 (c) Nicola Talbot
% Command line args:
% -preamble "Copyright 2023-2024 Christoph P. Neumann This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or any later version. The latest version of this license is in https://www.latex-project.org/lppl.txt and version 1.3c or later is part of all distributions of LaTeX version 2008 or later. This work has the LPPL maintenance status maintained. The Current Maintainer of this work is Christoph P. Neumann. "
+% -macrocode ".*"
% -setambles ".*=>\nopreamble"
+% -src "(_cpn_copyIntoExamplesFolder_cls.cmd|iaria-lite.cls)=>\1"
% -date "2024-2024"
-% -src "(_cpn_copyIntoExamplesFolder_cls.cmd|iaria-lite.cls)=>\1"
-% -macrocode ".*"
+% -dir "src"
+% -author "Christoph P. Neumann "
% -doc "doc/iaria-lite.tex"
-% -author "Christoph P. Neumann "
-% -dir "src"
% iaria-lite
-% Created on 2024/9/14 19:09
+% Created on 2024/9/14 21:27
%\fi
%\iffalse
%<*package>
@@ -56,7 +56,7 @@
%\title{\textsf{iaria-lite}\\
% An Unofficial IARIA LaTeX Class (Lite Version)}
%\author{Christoph P.\ Neumann \texttt{$<$cyberpetaneuron at gmail.com$>$}}
-%\date{Version 0.3}
+%\date{Version 0.4}
%\maketitle
%\PrintChanges
%
@@ -122,15 +122,35 @@
%This package provides the documentclass \texttt{iaria-lite}. The documentclass
%supports the following options:
%
-%
%\begin{itemize}
%\item |conference| Passed to IEEEtran
%\item |a4paper| Passed to IEEEtran
-%\item |flushend| Activate flushend package
-%\item |pbalance| Activate pbalance package
+%\item |subfig| Loads subfig package with IARIA style settings
+%\item |subcaption| Loads subcaption package with IARIA style settings
+%\item |flushend| Activate flushend package (compatible with arXiv build process)
+%\item |pbalance| Activate pbalance package (incompatible with arXiv build process)
%\end{itemize}
%
+%A Remark about two-column document balancing on the last page:
+%The flushend package is recommended, because it works within the arXiv automated build process.
+%However, flushend has a major incampatibility with package lineno, which is, e.\,g., transitively loaded by package mindflow.
+%Thus, in case when flushend does not have any effect, check whether one of your packages loads lineno.
+%Usually you are stuck with your packages and, thus, will instead be forced to switch from flushend to pbalance.
+%Please be aware that pbalance works great and has high compatibility, but unfortunately it will not have any effect within the arXiv automated build process.
+%In case of both, a somehow needed lineno package and an intended arXiv upload, I recommend to do without two-column balancing on the last page and just to stay away from both flushend and pbalance, in order to ensure that your paper is layouted identically in IARIA submission and arXiv upload.
+%I hope this remark proves helpful, it took me some nerve to find out.
%
+%There is also another important difference between flushend and pbalance: the handling of footnotes on the last page.
+%Flushend provides a decent result, but the result of pbalance is incomprehensible.
+%I strongly recommend avoiding footnotes on the last page.
+%If you absolutely need footnotes on the last page, consider staying away from two-column balancing on the last page.
+%
+%About subfigures:
+%Both well-known packages subfig and subcaption can be used.
+%However, they are not compatible with each other and we can either load one or the other.
+%Both require dedicated style settings to be compatible with IARIA formatting rules.
+%Thus, the document class provides options to load them for you with correct settings.
+%
%\section{Requirements}
%
%We instrument several other \LaTeX\ packages for different purposes,
@@ -144,6 +164,8 @@
%\item hyperref
%\item orcidlink
%\item pbalance
+%\item subcaption
+%\item subfig
%\item times
%\item url
%\item xcolor
@@ -198,13 +220,25 @@
\NeedsTeXFormat{LaTeX2e}
% Provide the name of your document class, the date it was last updated, and a comment about what it's used for
-\ProvidesClass{iaria-lite}[2024/09/15 unofficial IARIA-lite conference template v0.3]
+\ProvidesClass{iaria-lite}[2024/09/16 unofficial IARIA-lite conference template v0.4]
% Define marker counter for options (counter are global in latex):
+\newcounter{iaria at subfigtracker}
+\newcounter{iaria at subcaptiontracker}
\newcounter{iaria at pbalancetracker}
\newcounter{iaria at flushendtracker}
% Declare options:
+
+\DeclareOption{subfig}{
+ \setcounter{iaria at subfigtracker}{1}
+ \typeout{iaria class: subfig option is set (use subfloat command).}
+}
+\DeclareOption{subcaption}{
+ \setcounter{iaria at subcaptiontracker}{1}
+ \typeout{iaria class: subcaption option is set (use subfigure command).}
+}
+
\DeclareOption{onecolumn}{\OptionNotUsed} % IEEE option onecolumn will be ignored
\DeclareOption{pbalance}{
@@ -274,9 +308,6 @@
\crcr}
\makeatother
-% IARIA subfigure captions require this:
-\RequirePackage[caption=false,font=footnotesize]{subfig}
-
% IARIA requires to bring the table caption in the same line of "Table I"
\usepackage{etoolbox}
\makeatletter
@@ -287,6 +318,17 @@
{}
\makeatother
+% IARIA subfigure captions require parentheses and footnotesize:
+\ifnum\value{iaria at subfigtracker}=1
+ \typeout{iaria class: load subfig package (use subfloat command).}
+ \RequirePackage[caption=false,font=footnotesize]{subfig}
+\fi
+\ifnum\value{iaria at subcaptiontracker}=1
+ \typeout{iaria class: load subcaption package (use subfigure command).}
+ \RequirePackage{subcaption}
+ \captionsetup[subfigure]{labelformat=parens,font=footnotesize}
+\fi
+
% Balance/level columns at the last page / in bibliography
% DISCLAIMER: No solution is a 100%/perfect one!
% Mainstream option: pbalance (see https://ctan.org/pkg/pbalance)
Modified: trunk/Master/texmf-dist/source/latex/iaria-lite/iaria-lite.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/iaria-lite/iaria-lite.ins 2024-09-17 19:54:42 UTC (rev 72307)
+++ trunk/Master/texmf-dist/source/latex/iaria-lite/iaria-lite.ins 2024-09-17 19:54:51 UTC (rev 72308)
@@ -1,4 +1,4 @@
-% iaria-lite.ins generated using makedtx version 1.2 2024/9/14 19:09
+% iaria-lite.ins generated using makedtx version 1.2 2024/9/14 21:27
\input docstrip
\preamble
Modified: trunk/Master/texmf-dist/tex/latex/iaria-lite/iaria-lite.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/iaria-lite/iaria-lite.cls 2024-09-17 19:54:42 UTC (rev 72307)
+++ trunk/Master/texmf-dist/tex/latex/iaria-lite/iaria-lite.cls 2024-09-17 19:54:51 UTC (rev 72308)
@@ -2,11 +2,23 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{iaria-lite}[2024/09/15 unofficial IARIA-lite conference template v0.3]
+\ProvidesClass{iaria-lite}[2024/09/16 unofficial IARIA-lite conference template v0.4]
+\newcounter{iaria at subfigtracker}
+\newcounter{iaria at subcaptiontracker}
\newcounter{iaria at pbalancetracker}
\newcounter{iaria at flushendtracker}
+
+\DeclareOption{subfig}{
+ \setcounter{iaria at subfigtracker}{1}
+ \typeout{iaria class: subfig option is set (use subfloat command).}
+}
+\DeclareOption{subcaption}{
+ \setcounter{iaria at subcaptiontracker}{1}
+ \typeout{iaria class: subcaption option is set (use subfigure command).}
+}
+
\DeclareOption{onecolumn}{\OptionNotUsed} % IEEE option onecolumn will be ignored
\DeclareOption{pbalance}{
@@ -66,8 +78,6 @@
\crcr}
\makeatother
-\RequirePackage[caption=false,font=footnotesize]{subfig}
-
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@makecaption}
@@ -77,6 +87,16 @@
{}
\makeatother
+\ifnum\value{iaria at subfigtracker}=1
+ \typeout{iaria class: load subfig package (use subfloat command).}
+ \RequirePackage[caption=false,font=footnotesize]{subfig}
+\fi
+\ifnum\value{iaria at subcaptiontracker}=1
+ \typeout{iaria class: load subcaption package (use subfigure command).}
+ \RequirePackage{subcaption}
+ \captionsetup[subfigure]{labelformat=parens,font=footnotesize}
+\fi
+
\ifnum\value{iaria at pbalancetracker}=1
\typeout{iaria class: load pbalance package.}
\RequirePackage{pbalance}
More information about the tex-live-commits
mailing list.