Support exporting figures to separate files #6702
multimeric
started this conversation in
Feature Requests
Replies: 1 comment 6 replies
-
This kind of use-case is precisely the reason for the existence of Lua filters in Pandoc (and quarto). We don't intend (nor have the resources) to implement every use case like this, but you should be able to easily extract those figures, especially with the new crossref work that should be landing this week. See https://github.com/quarto-dev/quarto-web/blob/07bc9caa09a9b1627b94012b988af071c52e03f2/docs/prerelease/1.4/lua_changes.qmd, specifically the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Some (all?) journals expect you to submit each figure individually, so it would be lovely for Quarto to do this for us, given that it knows about each figure. I just had to manually copy and paste 20 figures from a word document as part of a submission process which was a bit painful.
This has already been discussed in the context of knitr code chunks, but I'm after a more general mechanism, that will work with any
{#fig-XXX}
block including images, un-executed code etc.I would envisage this working as a new output format, such as
pdf-figures
, such thatquarto render --to pdf-figures
would dump all figures asfigure_1.pdf
,figure_2.pdf
etc.Beta Was this translation helpful? Give feedback.
All reactions