Skip to content

Commit

Permalink
final edits mar 11 email
Browse files Browse the repository at this point in the history
  • Loading branch information
grady committed Mar 14, 2024
1 parent cb818d2 commit 4fc9e0f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-submission-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
sn-basic.bst
sn-jnl.cls
figure/*.pdf
figure/*.png
- name: Create pages directory
run: |
mkdir _site
Expand Down
8 changes: 4 additions & 4 deletions dentlinger.Rnw
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@

<<setup, include=FALSE>>=
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
}
Expand Down Expand Up @@ -499,7 +499,7 @@ $p=\Sexpr{signif(gender_side_test$p.value, 2)}$).
<<length_cause, fig.height=3>>=
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}


Expand Down
4 changes: 3 additions & 1 deletion sn-basic.bst
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,9 @@ FUNCTION {n.dashify}
}

FUNCTION {word.in}
{ bbl.in capitalize
{
bbl.in capitalize
"\emph{" swap$ * "}" *
":" *
" " * }

Expand Down
2 changes: 1 addition & 1 deletion turtles.bib
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 4fc9e0f

Please sign in to comment.