diff --git a/.github/workflows/build-submission-files.yml b/.github/workflows/build-submission-files.yml index ea5bc5c..90fb853 100644 --- a/.github/workflows/build-submission-files.yml +++ b/.github/workflows/build-submission-files.yml @@ -38,6 +38,7 @@ jobs: sn-basic.bst sn-jnl.cls figure/*.pdf + figure/*.png - name: Create pages directory run: | mkdir _site diff --git a/dentlinger.Rnw b/dentlinger.Rnw index 6bf1117..87f2efc 100644 --- a/dentlinger.Rnw +++ b/dentlinger.Rnw @@ -78,14 +78,14 @@ <>= mm2in <- 0.0393701 -twocol <- 84 * mm2in -bigcol <- 174 * mm2in +twocol <- 80 * mm2in +bigcol <- 170 * mm2in smallcol <- 119 * mm2in make_plot_namer <- function(prefix="Figure-", n=1L, width=2){ function(x){ x2 <- file.path(dirname(x), paste0(prefix, formatC(n, width=width, flag="0"),".", tools::file_ext(x))) - magick::image_write(magick::image_read_pdf(x), path=fs::path_ext_set(x2, "png")) + magick::image_write(magick::image_read_pdf(x), path=fs::path_ext_set(x2, "png"), density=300) n <<- n + 1L if (file.rename(x, x2)) x2 else x } @@ -499,7 +499,7 @@ $p=\Sexpr{signif(gender_side_test$p.value, 2)}$). <>= ggplot(BigIslandStrandings, aes(x=Cause, y=SCL)) + geom_boxplot() + labs(y="Carapace length (cm) ") + theme_bw() @ -\caption{Straight carapace length (SCL) was measured in 488 records, and and plotted for each stranding cause. Fibropapillomatosis is abbreviated FP. Boxplot outliers begin at 1.5 times the inter-quartile distance.}\label{fig:length_cause} +\caption{Straight carapace length (SCL) was measured in 488 records, and plotted for each stranding cause. Fibropapillomatosis is abbreviated FP. Boxplot outliers begin at 1.5 times the inter-quartile distance.}\label{fig:length_cause} \end{figure} diff --git a/sn-basic.bst b/sn-basic.bst index 58dea0c..fe8670a 100644 --- a/sn-basic.bst +++ b/sn-basic.bst @@ -797,7 +797,9 @@ FUNCTION {n.dashify} } FUNCTION {word.in} -{ bbl.in capitalize +{ + bbl.in capitalize + "\emph{" swap$ * "}" * ":" * " " * } diff --git a/turtles.bib b/turtles.bib index eb480c8..d714ad5 100644 --- a/turtles.bib +++ b/turtles.bib @@ -72,7 +72,7 @@ @article{balazs2004thirty @article{balazs2015review, author={Balazs, GH and van Houtan, KS and Hargrove, SA and Brunson, SM and Murakawa, SK}, year={2015}, - title={A review of the demographic features of Hawaiian green turtles (\emph{{C}helonia mydas})}, + title={A review of the demographic features of {H}awaiian green turtles (\emph{{C}helonia mydas})}, journal={Chelonian Conserv Biol}, volume={14}, pages={119-129},