4

Since the update of the lettrine package to version 2.01 the following MWE no longer compiles:

\documentclass{article}

\usepackage{xcookybooky}

\begin{document}

\begin{recipe}{Back}  
  \preparation{%
        \step test
  }
\end{recipe}

\end{document} 
5

The problem can be fixed with this redefinition of \step

\documentclass{article}

\usepackage{xcookybooky}

\renewcommand{\step}
{%
    \stepcounter{step}%
    \lettrine
    [%
        lines=2,
        lhang=0,          % space into margin, value between 0 and 1
        loversize=0.15,   % enlarges the height of the capital
        slope=0em,
        findent=1em,      % gap between capital and intended text
        nindent=0em       % shifts all intended lines, begining with the second line
    ]{\thestep}{}%
}


\begin{document}

\begin{recipe}{Back}  
  \preparation{%
    \step test
  }
\end{recipe}

\end{document} 

This problem was fixed in the github version of the xcookybooky package available from https://github.com/SvenHarder/xcookybooky

  • 2
    A % was missing; on the other hand, the package has so many missing ones that this might appear useless. – egreg Aug 13 '18 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.