-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
author-info-blocks and pdfauthor #226
Comments
Pandoc really expects |
I'm using Pandoc 2.18. I probably should have mentioned that I'm using the scholarly-metadata filter too, which is required for the author-info-blocks filter. (I will update my issue.) |
I assume the 1 is the resultant numbering for the institute you've added? |
@iandol Yes, that's my understanding. In the LaTeX file the |
In my own scholarly metadata filter written in Ruby via Paru (here), I separate this info so the PDF metadata just contains the author names. I'm sure the same can be done for the Lua filter shared here, although it may need a change in the LaTeX template as IIRC it uses |
@iandol is right, the filter should be changed. I'm considering to make bigger changes, too. Quarto is set to introduce a system that's similar to the one we have here, but cleaner and a bit more principled. I'll likely change the filter to use their schema, but may keep some of the current behavior for compatibility. |
@tarleb -- yes I saw Quarto was going to support academic metadata too, it would be great to standardise (or if they are open source, to fork and save you some effort?) and thank you for your original filter which I think provided a good base for Quarto's devs to build from! |
There's a good chance that the Quarto filter will be published as a separate filter within the next weeks. I'll deprecate my filter if/when that happens. I currently don't have the resources to work on the filter, so I have to ask everyone to be patient for a little longer. |
@tarleb Thanks for letting me know about Quarto. |
Hi @tarleb , any updates on the quarto adjustments? If you need help, maybe I could also have a look on this! I also tried to adjust scholarly-metadata and author-info-block for quarto, but no success so far. It would be really really great to have these working with quarto / docx. |
@kapsner No updates yet, life interfered. I'd be grateful for any help. Feel free to message me with any question, or if you'd like to schedule a short call. |
When I add this to my metadata:
The resulting LaTeX file includes the following in
\hypersetup
:pdfauthor={Jane Doe1}
, and this ends up in the PDFs author field. Is there a way to avoid the unnecessary '1'?Here is a complete command
pandoc --standalone --output foo.tex --lua-filter scholarly-metadata.lua --lua-filter author-info-blocks.lua foo.md
.The text was updated successfully, but these errors were encountered: