Skip to content
Snippets Groups Projects
cov.tex 942 B
Newer Older
  • Learn to ignore specific revisions
  • Malin Freeborn's avatar
    Malin Freeborn committed
    \documentclass[spinewidth=15mm,markcolor=black]{bookcover}
    
    % Loading the glossaries-extra packages won't work here, so LaTeX
    % won't understand the .aux file section headers which have \gls
    % commands. We resolve this with a little white lie.
    \newcommand\glsentrylongpl{}
    \newcommand\glsentrytext{}
    \newcommand\Glsfmtplural{}
    \newcommand\Glsfmtlongpl{}
    \newcommand\Gls{}
    \newcommand\gls{}
    \newcommand\glspl{}
    \newcommand\Glspl{}
    \newcommand\spellName{}
    
    \RequirePackage{xr-hyper}
    \RequirePackage{hyperref}
    
    \makeatletter
    \@addtofilelist{../core/main.tex}
    \@addtofilelist{../core/core.aux}%
    \makeatother
    
    \externaldocument{../core/core}%
    
    % Dummy values
    
    \begin{document}
    \begin{bookcover}
    \begin{bookcoverelement}{color}{bg whole}{orange}
    \end{bookcoverelement}
    
    \begin{bookcoverelement}{normal}{front}[,,,0.4\partheight]
    \centering\bfseries\huge \pageref{combat}, \nameref{combat}\par
    \end{bookcoverelement}
    \end{bookcover}
    
    \end{document}