Skip to content

pnas_article() doesn't work with certain latest LaTeX packages #241

Closed
@yihui

Description

@yihui

Today pnas_article() started to fail on Travis, with an obscure error message

! LaTeX Error: Missing \begin{document}.

I could reproduce the issue locally after I update all LaTeX packages via

remotes::install_github('yihui/tinytex')
tinytex::tlmgr_update()

Even the following minimal LaTeX example fails with the same error message:

\documentclass{pnas-new}
\begin{document}
a
\end{document}

I spent a few hours on this issue but couldn't figure out why it was broken. I wonder if it is time to consider updating pnas-new.cls now.

Cc @cboettig (author of pnas_article() #72).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions