Closed katherinelauck closed 4 years ago
Thanks for the report! The issue seems to be caused by the first author block. Please try to either indent the lines under your name by two additional spaces
author:
- Katherine Lauck:
email: kslauck@ucdavis.edu
institute: [davis, pi]
correspondence: true
or use name
as for the other authors.
author:
- name: Katherine Lauck
email: kslauck@ucdavis.edu
institute: [davis, pi]
correspondence: true
The error messages are certainly less than ideal, in that they fail to properly hint at possible causes for this problem. I'll take this issue as a reminder to fix this.
Hi tarleb, thanks for your help so far! I tried both of your suggestions by copy paste to make sure I got it right and still got the same error message.
Do you think it's a pandoc problem? Have you been able to reproduce the error message?
Are you sure your scholarly-metadata.lua is correct? From the error message it sounds like you might have downloaded the HTML representation of it rather than the raw. Try looking at it in a text editor.
That is 100% what is going on. Sorry for wasting your time.
It's gorgeous, I tell ya, gorgeous
Hi, thanks for creating this tool. I also get this error message. I am trying to use your .lua files but from GitHub it downloads automatically as .html and from what I can see, these need to be .lua, how can I get the files as .lua? I am using Mac, and I installed pandoc via brew on the terminal. Thanks
Hi @DS-Rodrigues, the easiest might be to download the zip file of the latest release and to get the files from there. Alternatively, if you view the content of a file on GitHub, then there should be a button Raw
somewhere to the top right. A right click and "save content" will download the raw code.
Perfect, it is working now. Thanks so much!
I'm running Windows 10 and updated RStudio, pandoc, Rmarkdown, and the latest version of the .lua files in the following YAML.
Trying to knit a .rmd with just the following in it, and scholarly-metadata.lua and author-info-blocks.lua in its directory,
note: delete the escape slash after the r setup block before running - sorry, I'm new to github formatting and couldn't figure out how to properly escape that triple tick without the slash remaining in the code block.
Gives me:
Error running filter scholarly-metadata.lua: [string "scholarly-metadata.lua"]:7: unexpected symbol near '<' Error: pandoc document conversion failed with error 83
My interpretation of this error message is that pandoc is successfully opening and reading the .lua files but is expecting a different format. Commenting out the first filter gives the same error for the second filter.