Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested figure environments are broken after pandoc upgrade #9

Open
nsheff opened this issue May 8, 2023 · 1 comment
Open

Nested figure environments are broken after pandoc upgrade #9

nsheff opened this issue May 8, 2023 · 1 comment

Comments

@nsheff
Copy link
Member

nsheff commented May 8, 2023

When updating to later versions of pandoc, figures are placed into a \begin{figure} environment and then in addition a \begin{figure*} environment. This causes LaTeX to error.

I think this is probably due to my figczar filter, which is creating the \being{figure*} environment. I am not sure what changed in pandoc between version 2 and 3, but I will need to fix this to make this filter compatible with pandoc 3 (or even pandoc 2.19, it looks like)

@nsheff
Copy link
Member Author

nsheff commented Jul 18, 2023

I think the actual error it's showing is this:

Error producing PDF.
! LaTeX Error: Not in outer par mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.589 ...length{\columnsep}{8pt}\begin{figure*}[t]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant