-
Notifications
You must be signed in to change notification settings - Fork 77
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
pandoc-crossref does not work with pandoc --listings #197
Comments
Adding |
You need |
Found it here http://lierdakil.github.io/pandoc-crossref/#table-style-captions
http://lierdakil.github.io/pandoc-crossref/#general-options
|
You may wan to consider changing the linked URL of the GitHub page |
Probably depends on Pandoc version, but having
Sounds reasonable. |
Thanks for |
With |
Well, I don't know what you mean by "weird and not right" exactly, but the "without colour" part is precisely what one would expect with LaTeX
Hope that makes sense. |
when I use --listings, the long line can auto break. |
Just noting my experience: I have a pandoc.yaml with these contents: # ...
listings: true
filters:
- ${.}/../scripts/pandoc/my_script.lua
- pandoc-crossref
- citeproc
# ...
metadata:
link-citations: true
# ...
header-includes: |
# ...
\lstset{% for listings
basicstyle=\ttfamily,
breaklines=true,
}
# ... .... and in my test.md file something like: <!-- ... -->
See figure [@fig:my_figure].
![This is my figure](my_figure.png){ #fig:my_figure }
<!-- ... --> With this, it turns out I have to use
Is there any option I can set in the .yaml file, so I get the same effect as |
The text was updated successfully, but these errors were encountered: