nb_pdf_template icon indicating copy to clipboard operation
nb_pdf_template copied to clipboard

Unable to use template due to Command \@iflatexlater and \wordboundary already defined errors

Open jingxuanlim opened this issue 2 years ago • 0 comments

Hi, I'm trying to output a pdf from my jupyter notebook that looks better than the default template. nb_pdf_template looks more similar to the expected notebook view. Thanks for creating this nifty template!

This is the command I use: jupyter nbconvert --to latex --template classic --no-input [filename].ipynb. However, the command won't finish running with the following errors.

! LaTeX Error: Command \@iflatexlater already defined.
               Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.340 ...mand*\@iflatexlater{\@ifl@t@r\fmtversion}

?

! LaTeX Error: Command \wordboundary already defined.
               Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.343 ^^I    \newcommand{\wordboundary}{255}}

?

Any help/hints appreciated!

jingxuanlim avatar May 31 '22 16:05 jingxuanlim