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

pandoc: unrecognized option `--lua-filter=latex/sidebar.lua' #617

Closed
ignacio82 opened this issue Aug 22, 2018 · 6 comments
Closed

pandoc: unrecognized option `--lua-filter=latex/sidebar.lua' #617

ignacio82 opened this issue Aug 22, 2018 · 6 comments
Milestone

Comments

@ignacio82
Copy link

I'm trying to compile a book with bookdown and I get the following error:

bookdown::render_book("index.Rmd", output_format = "bookdown::pdf_book")

/usr/lib/rstudio-server/bin/pandoc/pandoc +RTS -K512m -RTS _main.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output _main.tex --table-of-contents --toc-depth 2 --self-contained --number-sections --highlight-style tango --latex-engine xelatex --natbib --include-in-header latex/preamble.tex --include-before-body latex/before_body.tex --include-after-body latex/after_body.tex --top-level-division=chapter --lua-filter=latex/sidebar.lua --variable tables=yes --standalone 
pandoc: unrecognized option `--lua-filter=latex/sidebar.lua'
Try pandoc --help for more information.
Error: pandoc document conversion failed with error 2

Am I doing something wrong?

@yuh18023
Copy link

yuh18023 commented Sep 1, 2018

I have the same error. Did you fix it?

@ignacio82
Copy link
Author

@yuh18023 no luck yet. Let me know if you figure out a solution.

@yihui
Copy link
Member

yihui commented Sep 4, 2018

Could you provide a minimal, self-contained, and reproducible example? Please also include your session info:

devtools::session_info('bookdown')

@yuh18023
Copy link

yuh18023 commented Sep 4, 2018

I updated the pandoc to the latest version. And it works!

@yihui yihui added this to the v0.8 milestone Sep 4, 2018
@yihui
Copy link
Member

yihui commented Sep 4, 2018

Great. Thanks!

FYI, the preview version of RStudio ships Pandoc 2.x: https://yihui.name/en/2018/06/time-for-pandoc-2-x/

@yihui yihui closed this as completed Sep 4, 2018
@github-actions
Copy link

github-actions bot commented Nov 6, 2020

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants