Package Details: texlive-tubs 1.2.0-1

Git Clone URL: https://aur.archlinux.org/texlive-tubs.git (read-only, click to copy)
Package Base: texlive-tubs
Description: LaTeX-Templates for the Corporate Design of TU Braunschweig
Upstream URL: https://www.tu-braunschweig.de/latex
Keywords: latex tex texlive tubs tubslatex
Licenses: LPPL
Conflicts: texlive-tubslatex
Provides: texlive-tubslatex
Submitter: timschubert
Maintainer: roberthartung
Last Packager: roberthartung
Votes: 4
Popularity: 0.000000
First Submitted: 2016-04-09 15:16 (UTC)
Last Updated: 2020-02-25 14:14 (UTC)

Latest Comments

roberthartung commented on 2020-07-31 12:00 (UTC)

@Maverick We have flagged the package out of date due to a licensing issue with the font, as the AUR is public, that was also mentioned before in the comment.

Maverick commented on 2020-07-28 20:14 (UTC)

If I read correctly, the scrpage2.sty problem is supposed to be fixed in 1.3.0-alpha1, but the AUR package says 1.2.0-1.

roberthartung commented on 2020-07-16 07:50 (UTC)

@dasnessie scrpage2 is obsolete and is not used in the current version of tubslatex.

Please remove all existing tubs latex files from the whole system (Warning: There might be multiple places). Try compiling a tubs template to see the search paths and remove all files accordingly. Afterwards start with a fresh installation. Afterwards the error should disappear.

dasnessie commented on 2020-07-15 15:34 (UTC)

After updating, I got the error:

File `scrpage2.sty' not found.

Installing koma-script fixes the error.

timschubert commented on 2020-04-17 09:17 (UTC)

@roberthartung Can we include the the filehook-scrlfile in the package itself? I have the same problem on NixOS (Texlive 2018).

roberthartung commented on 2020-04-17 08:37 (UTC)

@Maverick

This is not a bug with the aur package itself. Arch comes with the 2019 texlive version. The recommended way would be to use https://aur.archlinux.org/packages/texlive-installer/ in order to install the outdated package from CTAN directly. You have to place the workaround file along with your beamer file.

filehook-scrlfile.sty
%% Modified version of filehook-scrlfile as a workaround.
%% See https://tex.stackexchange.com/a/515183/48973.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{filehook-scrlfile}[2011/01/03 v0.1 filehook patch for scrlfile package]
\RequirePackage{filehook}
\begingroup
\long\def\scrlfile@InputIfFileExists#1#2{%
  \begingroup\expandafter\expandafter\expandafter\endgroup
  \expandafter\ifx\csname #1-@alias\endcsname\relax
    \expandafter\@secondoftwo
  \else
    \scr@replacefile@msg{\csname #1-@alias\endcsname}{#1}%
    \expandafter\@firstoftwo
  \fi
  {%
    \expandafter\InputIfFileExists\expandafter{\csname
      #1-@alias\endcsname}{#2}%
  }%
  {\IfFileExists{#1}{%
      \expandafter\scr@input@withhook\expandafter{\@filef@und}{#1}{#2}%
    }}%
}
\long\def\filehook@scrlfile@InputIfFileExists#1#2{%
  \begingroup\expandafter\expandafter\expandafter\endgroup
  \expandafter\ifx\csname #1-@alias\endcsname\relax
    \expandafter\@secondoftwo
  \else
    \scr@replacefile@msg{\csname #1-@alias\endcsname}{#1}%
    \expandafter\@firstoftwo
  \fi
  {%
    \expandafter\InputIfFileExists\expandafter{\csname
      #1-@alias\endcsname}{#2}%
  }%
  {\IfFileExists{#1}{%
      \expandafter\filehook@swap
      \expandafter{\@filef@und}%
      {\scr@load@hook{before}{#1}%
      #2\@addtofilelist{#1}%
      \filehook@every@atbegin{#1}%
      \filehook@atbegin{#1}%
      \@@input}%
      \filehook@atend{#1}%
      \filehook@every@atend{#1}%
      \scr@load@hook{after}{#1}%
    }}%
}
\long\def\filehook@@scrlfile@InputIfFileExists#1#2{%
  \let\InputIfFileExists\filehook@InputIfFileExists
  \begingroup\expandafter\expandafter\expandafter\endgroup
  \expandafter\ifx\csname #1-@alias\endcsname\relax
    \expandafter\@secondoftwo
  \else
    \scr@replacefile@msg{\csname #1-@alias\endcsname}{#1}%
    \expandafter\@firstoftwo
  \fi
  {%
    \expandafter\InputIfFileExists\expandafter{\csname
      #1-@alias\endcsname}{#2}%
  }%
  {\IfFileExists{#1}{%
      \expandafter\filehook@swap
      \expandafter{\@filef@und}%
      {\scr@load@hook{before}{#1}%
      #2\@addtofilelist{#1}%
      \filehook@atbegin{#1}%
      \@@input}%
      \filehook@atend{#1}%
      \scr@load@hook{after}{#1}%
    }}%
}
\ifcase
    \expandafter\ifx\csname InputIfFileExists \endcsname\latex@InputIfFileExists 0\else
    \expandafter\ifx\csname InputIfFileExists \endcsname\scrlfile@InputIfFileExists 0\else
     1%
    \fi\fi
\relax
  \global\let\filehook@InputIfFileExists\filehook@scrlfile@InputIfFileExists
  \global\let\filehook@@InputIfFileExists\filehook@@scrlfile@InputIfFileExists
  \global\expandafter\let\csname InputIfFileExists \endcsname\filehook@InputIfFileExists
  \PackageInfo{filehook}{Package 'scrlfile' detected and compensated for}%
\else
  \iffilehook@force
    \global\let\filehook@InputIfFileExists\filehook@default@InputIfFileExists
    \global\let\filehook@@InputIfFileExists\filehook@@default@InputIfFileExists
    \global\expandafter\let\csname InputIfFileExists \endcsname\filehook@InputIfFileExists
    \PackageWarning{filehook}{Detected 'scrlfile' package with unknown definition of \string\InputIfFileExists.^^J%
                              The 'force' option of 'filehook' is in effect. Macro is overwritten with default!}%
  \else
    \show\InputIfFileExists
    \expandafter\show\csname InputIfFileExists \endcsname
    \show\scrlfile@InputIfFileExists
    \PackageError{filehook}{Detected 'scrlfile' package with unknown definition of \string\InputIfFileExists.^^J%
                            Use the 'force' option of 'filehook' to overwrite it.}{}%
  \fi
\fi
\endgroup
\endinput
%%
%% End of file `filehook-scrlfile.sty'.

Maverick commented on 2020-04-16 17:43 (UTC)

@roberthartung

Beamer still fails for me in 1.2.0-1 with "Package filehook: Detected 'scrlfile' package with unknown definition of \InputIfFileExists. Use the 'force' option of 'filehook' to overwrite it..".

PS Greetings from EMG ;)

akstrfn commented on 2018-08-21 07:37 (UTC)

non free fonts need a fix: File `uarial.sty' not found.