-
Notifications
You must be signed in to change notification settings - Fork 87
Description
Please wait for some discussion of your request before making a Pull Request.
Is your feature request related to a problem? Please describe.
When authoring papers in the rrtools pipeline I end up producing a one DOCX file with all the figures included. The problem is that the numbering of the figures is consecutive for supplementary figures and I always have to post-process the file by hand in order to correct numbering of supplementary figures (as these usually start with Suppl. Fig 1).
Describe the solution you'd like
I would like to separate the numbering of main figures from the supplementary figures. Preferably we could use something like \@ref(sfig:supplementaryfigurexyz)
Describe alternatives you've considered
I have posted this problem on the Stackoverflow page
https://stackoverflow.com/questions/57753758/how-to-add-a-cross-reference-supplementary-figures-in-bookdown-knitr-rmarkdown
but with no luck ...
do we have a unified approach for this issue that can be used in the rrttools pipeline?
Additional context