ineshbose / simple-icons-latex

LaTeX bindings for Simple Icons
https://ctan.org/pkg/simpleicons
Creative Commons Zero v1.0 Universal
21 stars 1 forks source link

legacy iftex packages #16

Closed davidcarlisle closed 1 year ago

davidcarlisle commented 1 year ago
\RequirePackage{ifxetex,ifluatex}

produces the warnings

Package: ifxetex 2019/10/25 v0.7 ifxetex legacy package. Use iftex instead.
Package: ifluatex 2019/10/25 v1.5 ifluatex legacy package. Use iftex instead.

so you could replace by

\RequirePackage{iftex}

The package provides \iftutex if TU encoding supported (xetex and luatex) so you could delete

\newif\ifsimpleicons@otf\simpleicons@otffalse
\ifxetex
  \simpleicons@otftrue
\else
  \ifluatex
    \simpleicons@otftrue\fi\fi

and use \iftutex