% infedu-authoring.sty -- author-template companion, 2026-10-04 r2. % Original infedu.cls is distributed unchanged. These local settings affect % template examples only; they do not replace the publisher's production class. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{infedu-authoring}[2026/10/04 v2.0 INFEDU author-template support] \RequirePackage{etoolbox} \RequirePackage{xurl} \makeatletter \providecommand\author@list{} % Supply plain-text PDF authors directly rather than expanding class name tokens. \def\do@pdfmeta@authors{% \ifINFEDUreview\global\pdfmeta@authors{}% \else\edef\INFEDUstoreauthors{\global\noexpand\pdfmeta@authors{\INFEDUauthorsmetadata}}\INFEDUstoreauthors\fi} \renewcommand{\labelitemi}{\ding{108}} % Correct dormant legacy identifiers without modifying the vendor class file. \def\@journalabbrev{Informatics in Education} \def\@JOURNAL{INFORMATICS IN EDUCATION} \def\@issn{1648-5831} \def\@eissn{2335-8971} \def\cclicense@link{https://creativecommons.org/licenses/by/4.0/} % Front-matter fields are set explicitly in main-*.tex. \RequirePackage{lastpage} \providecommand\INFEDUcopyrightauthors{The Author(s)} \providecommand\INFEDUpublishers{Vilnius University and Tallinn University} \providecommand\INFEDUpublicationstage{Early View} \newcommand{\publicationstage}[1]{\gdef\INFEDUpublicationstage{#1}} \newcommand{\copyrightauthors}[1]{\gdef\INFEDUcopyrightauthors{#1}} \newcommand{\publishers}[1]{\gdef\INFEDUpublishers{#1}} % The supplied class silently discards \orcid. Capture each value while the % author is printed, then put it AFTER the affiliation/correspondence marks. \protected\def\orcid#1{\def\INFEDUcurrentorcid{#1}} \newcommand{\INFEDUprintorcid}[1]{% \begingroup \edef\INFEDUorcidvalue{#1}% \def\INFEDUemptyorcid{0000-0000-0000-0000}% \ifx\INFEDUorcidvalue\@empty\else \nobreak\hspace{.15em}% \ifx\INFEDUorcidvalue\INFEDUemptyorcid \textsuperscript{[\INFEDUorcidvalue]}% \else \textsuperscript{\href{https://orcid.org/\INFEDUorcidvalue}{[\INFEDUorcidvalue]}}% \fi \fi \endgroup} \def\author@fmt#1#2#3{% \ifdefined\author@fmt@init@done\else\author@fmt@init\fi \def\INFEDUcurrentorcid{}% #3% \edef\@tempb{#2}% \ifx\@tempb\@empty\else\fm@textsuperscript{#2}\fi \INFEDUprintorcid{\INFEDUcurrentorcid}% } % No ORCID identifiers in running heads or auto-generated PDF-author strings. \apptocmd{\runauthor@cmds}{\let\orcid\@gobble}{}{} % The class uses plain correspondence marks, not hyperlinked footnote marks. % Use the original footnote text routine for these notes to avoid an empty % hyperref destination. Ordinary body footnotes keep their usual hyperlinks. \def\thankstext@fmt#1#2{% \begingroup \@ifundefined{H@@footnotetext}{}{\let\@footnotetext\H@@footnotetext}% \freefootnotetext[#1]{#2}% \endgroup} % The original email renderer reused the last address in every visible link. % Use the address argument, so visible text and mailto target always agree. \def\ead@href#1#2{\href{#1}{\nolinkurl{#2}}} \newcommand{\INFEDUprintdoi}{% \ifdefempty{\@doi}{DOI: [to be assigned by the Editorial Office]}{\print@doi}} \def\rtitleheadline{% \ifINFEDUreview \footnotesize Informatics in Education --- anonymised review manuscript% \hfill{\small\thepage}\break No author-identifying publication metadata in this version.% \else \footnotesize \@journal, \@pubyear, Vol. \@volume, No. \@issue, \@ppages \hfill{\small\thepage}\break \textcopyright\ \@pubyear\ \textit{\INFEDUcopyrightauthors. Published by \INFEDUpublishers}\par \INFEDUprintdoi\hfill\INFEDUpublicationstage% \fi} \let\ltitleheadline\rtitleheadline % Avoid reusing the original class's incomplete cached PDF-author metadata. % The main file calls \INFEDUsetpdfmetadata after front matter is complete. \newcommand{\INFEDUsetpdfmetadata}{% \ifINFEDUreview \hypersetup{pdftitle={\INFEDUtitlemetadata},pdfauthor={}, pdfsubject={Anonymised instructional template, not a research article}, pdfkeywords={},pdfcreator={LaTeX with the INFEDU class}} \else \hypersetup{pdftitle={\INFEDUtitlemetadata}, pdfauthor={\INFEDUauthorsmetadata}, pdfsubject={Early View instructional template, not a published research article}, pdfkeywords={},pdfcreator={LaTeX with the INFEDU class}} \fi} \AtBeginDocument{\hypersetup{hidelinks}\urlstyle{same}} \newenvironment{infeducontributions}{% \section*{Contribution and implications for informatics education}% \begingroup\small \begin{itemize}\setlength{\itemsep}{3pt}\setlength{\parsep}{0pt} }{\end{itemize}\endgroup} \newcommand{\INFEDUguidancelink}{% \href{https://infedu.vu.lt/journal/INFEDU/information/instructions-for-authors}{INFEDU Instructions for authors}} \makeatother \endinput