pfmc-assessments / sa4ss

Generate a stock assessment document from Stock Synthesis output
https://pfmc-assessments.github.io/sa4ss/
Other
12 stars 7 forks source link

add figure to title page? #73

Open iantaylor-NOAA opened 1 year ago

iantaylor-NOAA commented 1 year ago

Problem

Before {sa4ss} PFMC assessment reports typically had an image of the species being assessed on the title page which looked nice and also helped when quickly switching among multiple reports.

I added a figure using the following approach: https://github.com/pfmc-assessments/petrale/blob/main/documents/00title.Rmd but that caused the figure to also appear in the citation and in between the ToC and the Exec Summary (see screenshot of first two pages below).

Proposal

Develop a method to add a figure to the title page (or document an existing approach).

This is obviously a low priority.

image

kellijohnson-NOAA commented 1 year ago

@iantaylor-NOAA thanks for the suggestion. Once hake is over I will look. I think that it won't be too hard to add to the template, users would just need to save the figure a certain name and then I will look if a figure is available and bring it in.

iantaylor-NOAA commented 1 year ago

That solution sounds perfect. Thank you.

kellijohnson-NOAA commented 1 year ago

@iantaylor-NOAA feel free to reopen this issue if the instructions on the README do not work for you. You won't have to change any of your .Rmd files. Just reinstall {sa4ss}, change the saved name of your figure and place it in the proper directory, and compile via bookdown::render_book() and it should work.

iantaylor-NOAA commented 1 year ago

Worked perfectly, thank you @kellijohnson-NOAA!

iantaylor-NOAA commented 8 months ago

Two low priority additions to this issue: