\NeedsTeXFormat{LaTeX2e}
\def\fileversion{0.100}
\def\filedate{2026-08-14}
\ProvidesPackage{pl46}[\filedate\space v\fileversion]

\RequirePackage{iftex}
\RequireTUTeX

\newif\ifpl@text
\pl@texttrue

\DeclareOption{no-text}{\pl@textfalse}
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{unicode-math}}
\ProcessOptions\relax

\RequirePackage{unicode-math}

\ifpl@text
  \setmainfont{PL46-Regular.otf}[
    BoldFont = PL46-Bold.otf
  ]
  \setmonofont{PL46-Mono.otf}
\fi

\setmathfont{PL46-Math.otf}

\endinput
