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

Cleveref bug for textless doc. #27

Closed
tomduck opened this issue Oct 10, 2016 · 1 comment
Closed

Cleveref bug for textless doc. #27

tomduck opened this issue Oct 10, 2016 · 1 comment
Labels

Comments

@tomduck
Copy link
Owner

tomduck commented Oct 10, 2016

The following code causes a crash in pandoc.

---
fignos-cleveref: On
...

![A simple figure.](plot.png){#fig:simple}

Here is the session:

$ pandoc-1.17.2 demo.md --filter pandoc-fignos -o out/demo.pdf
pandoc-1.17.2: Error in $[2]: expected [a], encountered Object
CallStack (from HasCallStack):
  error, called at pandoc.hs:153:46 in main:Main

If a sentence is put before the figure then everything is fine.

@tomduck tomduck added the bug label Oct 11, 2016
@tomduck
Copy link
Owner Author

tomduck commented Oct 11, 2016

This is fixed in the nextrelease branch.

@tomduck tomduck closed this as completed Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant