papaja
papaja copied to clipboard
classoption "jou" returns "LaTeX Error: Unknown option 'keeplastbox' for package 'flushend'."
Apologies, I have been looking through past issues and working through .tex files but I don't know enough about LaTeX to resolve this on my own. I recently upgraded R and several packages and am now getting this error when trying to compile any papaja documents with classoption: "jou." "LaTeX Error: Unknown option keeplastbox' for package
flushend'."
As a sanity check, I simply tried to run the default template with and without any content, still receiving the above error. I'm not sure what else would help reproduce this error. My sessionInfo() is below.
My relatively naive best guess is that the flushend package was recently re-written (v4) and may no longer have this keeplastbox option, which could be used by one of the papaja or latex packages.
Thanks for a wonderful package. Apologies if this is a simple issue.
> sessioninfo::session_info()
─ Session info ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
setting value
version R version 4.1.2 (2021-11-01)
os macOS Big Sur 11.6
system x86_64, darwin17.0
ui RStudio
language (EN)
collate en_US.UTF-8
ctype en_US.UTF-8
tz America/New_York
date 2022-01-03
rstudio 1.4.1717 Juliet Rose (desktop)
pandoc 2.14.1 @ /usr/local/bin/ (via rmarkdown)
─ Packages ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
package * version date (UTC) lib source
assertthat 0.2.1 2019-03-21 [1] CRAN (R 4.1.0)
cachem 1.0.6 2021-08-19 [1] CRAN (R 4.1.0)
callr 3.7.0 2021-04-20 [1] CRAN (R 4.1.0)
cli 3.1.0 2021-10-27 [1] CRAN (R 4.1.0)
crayon 1.4.2 2021-10-29 [1] CRAN (R 4.1.0)
DBI 1.1.1 2021-01-15 [1] CRAN (R 4.1.0)
desc 1.4.0 2021-09-28 [1] CRAN (R 4.1.0)
devtools * 2.4.3 2021-11-30 [1] CRAN (R 4.1.0)
digest 0.6.29 2021-12-01 [1] CRAN (R 4.1.0)
dplyr 1.0.7 2021-06-18 [1] CRAN (R 4.1.0)
ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.1.0)
evaluate 0.14 2019-05-28 [1] CRAN (R 4.1.0)
fansi 0.5.0 2021-05-25 [1] CRAN (R 4.1.0)
fastmap 1.1.0 2021-01-25 [1] CRAN (R 4.1.0)
fs 1.5.1 2021-11-30 [1] CRAN (R 4.1.0)
generics 0.1.1 2021-10-25 [1] CRAN (R 4.1.0)
glue 1.5.1 2021-11-30 [1] CRAN (R 4.1.0)
htmltools 0.5.2 2021-08-25 [1] CRAN (R 4.1.0)
knitr 1.36 2021-09-29 [1] CRAN (R 4.1.0)
lifecycle 1.0.1 2021-09-24 [1] CRAN (R 4.1.0)
magrittr 2.0.1 2020-11-17 [1] CRAN (R 4.1.0)
memoise 2.0.1 2021-11-26 [1] CRAN (R 4.1.0)
papaja 0.1.0.9997 2022-01-03 [1] Github (crsh/papaja@a231c36)
pillar 1.6.4 2021-10-18 [1] CRAN (R 4.1.0)
pkgbuild 1.2.1 2021-11-30 [1] CRAN (R 4.1.0)
pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.1.0)
pkgload 1.2.4 2021-11-30 [1] CRAN (R 4.1.0)
prettyunits 1.1.1 2020-01-24 [1] CRAN (R 4.1.0)
processx 3.5.2 2021-04-30 [1] CRAN (R 4.1.0)
ps 1.6.0 2021-02-28 [1] CRAN (R 4.1.0)
purrr 0.3.4 2020-04-17 [1] CRAN (R 4.1.0)
R6 2.5.1 2021-08-19 [1] CRAN (R 4.1.0)
remotes 2.4.2 2021-11-30 [1] CRAN (R 4.1.0)
rlang 0.4.12 2021-10-18 [1] CRAN (R 4.1.0)
rmarkdown 2.11 2021-09-14 [1] CRAN (R 4.1.2)
rprojroot 2.0.2 2020-11-15 [1] CRAN (R 4.1.0)
rstudioapi 0.13 2020-11-12 [1] CRAN (R 4.1.0)
sessioninfo 1.2.2 2021-12-06 [1] CRAN (R 4.1.2)
testthat 3.1.1 2021-12-03 [1] CRAN (R 4.1.0)
tibble 3.1.6 2021-11-07 [1] CRAN (R 4.1.0)
tidyr 1.1.4 2021-09-27 [1] CRAN (R 4.1.0)
tidyselect 1.1.1 2021-04-30 [1] CRAN (R 4.1.0)
tinytex * 0.35 2021-11-04 [1] CRAN (R 4.1.0)
usethis * 2.1.3 2021-10-27 [1] CRAN (R 4.1.0)
utf8 1.2.2 2021-07-24 [1] CRAN (R 4.1.0)
vctrs 0.3.8 2021-04-29 [1] CRAN (R 4.1.0)
withr 2.4.3 2021-11-30 [1] CRAN (R 4.1.0)
xfun 0.29 2021-12-14 [1] CRAN (R 4.1.0)
yaml 2.2.1 2020-02-01 [1] CRAN (R 4.1.0)
[1] /Library/Frameworks/R.framework/Versions/4.1/Resources/library
Hi Rob, thanks for reaching out. I think you are right in that the keeplastbox
option was removed in the most recent release of flushend
(see diff). I don't think I load this package anywhere intentionally. Could you provide me with a minimal reproducible example, so I can investigate further?
Sure - just as simple as the template but replacing "man" for "jou" (pared down a bit for readability here...). For what it's worth, I couldn't find anywhere it was explicitly loaded in the .tex output file either. I did also try reinstalling tinytex which didn't help either.
---
title : "The title"
shorttitle : "Title"
author:
- name : "First Author"
affiliation : "1"
corresponding : yes # Define only one corresponding author
affiliation:
- id : "1"
institution : "Wilhelm-Wundt-University"
authornote: |
Add complete departmental affiliations for each author here. Each new line herein must be indented, like this line.
Enter author note here.
abstract: |
One or two sentences providing a **basic introduction** to the field, comprehensible to a scientist in any discipline...
keywords : "keywords"
wordcount : "X"
bibliography : ["r-references.bib"]
floatsintext : no
figurelist : no
tablelist : no
footnotelist : no
linenumbers : yes
mask : no
draft : no
documentclass : "apa6"
classoption : "jou"
output : papaja::apa6_pdf
---
```{r setup, include = FALSE}
library("papaja")
r_refs("r-references.bib")
```
content
output file: test.knit.md
1 words in text body
0 words in reference section
! LaTeX Error: Unknown option `keeplastbox' for package `flushend'.
Error: LaTeX failed to compile test.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See test.log for more info.
I can't seem to reproduce the error. I'm using the latest development version of papaja
(remotes::install_github("crsh/papaja@devel")
), the latest version of tinytex
(tinytex::reinstall_tinytex()
), and pandoc
version 2.16.2 (rmarkdown::pandoc_version()
). Is this comparable to your setup? @mariusbarth can you reproduce this?
Well that is encouraging that it perhaps is just something about my setup. I'll try a clean uninstall/reinstall of everything and see if its resolved. TBD
I also just tried to reproduce and with the provided code, a pdf is knitted that looks just as expected. I tried both with a system installation of Texlive and with tinytex (I installed the newest version of tinytex). my pandoc is 2.14.0.3
I found that the apa6
class loads flushend
with the keeplastbox
. So I think this is something that should be raised with Brian Beitzel. apa7
was recently updated to omit that option.
Just here to say I have the same error. It is related to the installation, because the same file works fine on my previous machine. I am running the latest version of windows. Get the same "! LaTeX Error: Unknown option keeplastbox' for package
flushend'." error. Have not yet been able to fix it. Setting it to "man" instead of "jou" makes it render.
Just posting here to note that I am getting the same error. Trying to knit the provided .Rmd template but setting classoption : "jou"
results in "! LaTeX Error: Unknown option keeplastbox' for package
flushend'."
tex log
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex 2022.6.23) 23 JUN 2022 16:58
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**ms.tex
(./ms.tex
LaTeX2e <2022-06-01> patch level 2
L3 programming layer <2022-06-16> (/usr/local/texlive/2022/texmf-dist/tex/latex
/apa6/apa6.cls
Document Class: apa6 2020/01/13 v2.34 APA formatting (6th edition)
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
)
\c@part=\count185
\c@section=\count186
\c@subsection=\count187
\c@subsubsection=\count188
\c@paragraph=\count189
\c@subparagraph=\count190
\c@figure=\count191
\c@table=\count192
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen138
) (/usr/local/texlive/2022/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count193
)
Class apa6 Info: No bibliography package was specified; defaulting to (but not
loading) Biblatex on input line 213.
(/usr/local/texlive/2022/texmf-dist/tex/latex/lm/lmodern.sty
Package: lmodern 2015/05/01 v1.6.1 Latin Modern Fonts
LaTeX Font Info: Overwriting symbol font operators' in version
normal'
(Font) OT1/cmr/m/n --> OT1/lmr/m/n on input line 22.
LaTeX Font Info: Overwriting symbol font letters' in version
normal'
(Font) OML/cmm/m/it --> OML/lmm/m/it on input line 23.
LaTeX Font Info: Overwriting symbol font symbols' in version
normal'
(Font) OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 24.
LaTeX Font Info: Overwriting symbol font largesymbols' in version
normal'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 25.
LaTeX Font Info: Overwriting symbol font operators' in version
bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
LaTeX Font Info: Overwriting symbol font letters' in version
bold'
(Font) OML/cmm/b/it --> OML/lmm/b/it on input line 27.
LaTeX Font Info: Overwriting symbol font symbols' in version
bold'
(Font) OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 28.
LaTeX Font Info: Overwriting symbol font largesymbols' in version
bold'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 29.
LaTeX Font Info: Overwriting math alphabet \mathbf' in version
normal'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 31.
LaTeX Font Info: Overwriting math alphabet \mathsf' in version
normal'
(Font) OT1/cmss/m/n --> OT1/lmss/m/n on input line 32.
LaTeX Font Info: Overwriting math alphabet \mathit' in version
normal'
(Font) OT1/cmr/m/it --> OT1/lmr/m/it on input line 33.
LaTeX Font Info: Overwriting math alphabet \mathtt' in version
normal'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 34.
LaTeX Font Info: Overwriting math alphabet \mathbf' in version
bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 35.
LaTeX Font Info: Overwriting math alphabet \mathsf' in version
bold'
(Font) OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 36.
LaTeX Font Info: Overwriting math alphabet \mathit' in version
bold'
(Font) OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 37.
LaTeX Font Info: Overwriting math alphabet \mathtt' in version
bold'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 38.
) (/usr/local/texlive/2022/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
LaTeX Font Info: Trying to load font information for T1+lmr on input line 11
2.
(/usr/local/texlive/2022/texmf-dist/tex/latex/lm/t1lmr.fd
File: t1lmr.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)) (/usr/local/texlive/2022/texmf-dist/tex/latex/txfonts/txfonts.sty
Package: txfonts 2008/01/22 v3.2.1
LaTeX Font Info: Redeclaring symbol font operators' on input line 21. LaTeX Font Info: Overwriting symbol font
operators' in version normal' (Font) OT1/lmr/m/n --> OT1/txr/m/n on input line 21. LaTeX Font Info: Overwriting symbol font
operators' in version bold' (Font) OT1/lmr/bx/n --> OT1/txr/m/n on input line 21. LaTeX Font Info: Overwriting symbol font
operators' in version bold' (Font) OT1/txr/m/n --> OT1/txr/bx/n on input line 22. \symitalic=\mathgroup4 LaTeX Font Info: Overwriting symbol font
italic' in version bold' (Font) OT1/txr/m/it --> OT1/txr/bx/it on input line 26. LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 29. LaTeX Font Info: Overwriting math alphabet
\mathbf' in version normal' (Font) OT1/lmr/bx/n --> OT1/txr/bx/n on input line 29. LaTeX Font Info: Overwriting math alphabet
\mathbf' in version bold' (Font) OT1/lmr/bx/n --> OT1/txr/bx/n on input line 29. LaTeX Font Info: Redeclaring math alphabet \mathit on input line 30. LaTeX Font Info: Overwriting math alphabet
\mathit' in version normal' (Font) OT1/lmr/m/it --> OT1/txr/m/it on input line 30. LaTeX Font Info: Overwriting math alphabet
\mathit' in version bold' (Font) OT1/lmr/bx/it --> OT1/txr/m/it on input line 30. LaTeX Font Info: Overwriting math alphabet
\mathit' in version bold' (Font) OT1/txr/m/it --> OT1/txr/bx/it on input line 31. LaTeX Font Info: Redeclaring math alphabet \mathsf on input line 40. LaTeX Font Info: Overwriting math alphabet
\mathsf' in version normal' (Font) OT1/lmss/m/n --> OT1/txss/m/n on input line 40. LaTeX Font Info: Overwriting math alphabet
\mathsf' in version bold' (Font) OT1/lmss/bx/n --> OT1/txss/m/n on input line 40. LaTeX Font Info: Overwriting math alphabet
\mathsf' in version bold' (Font) OT1/txss/m/n --> OT1/txss/b/n on input line 41. LaTeX Font Info: Redeclaring math alphabet \mathtt on input line 50. LaTeX Font Info: Overwriting math alphabet
\mathtt' in version normal' (Font) OT1/lmtt/m/n --> OT1/txtt/m/n on input line 50. LaTeX Font Info: Overwriting math alphabet
\mathtt' in version bold' (Font) OT1/lmtt/m/n --> OT1/txtt/m/n on input line 50. LaTeX Font Info: Overwriting math alphabet
\mathtt' in version bold' (Font) OT1/txtt/m/n --> OT1/txtt/b/n on input line 51. LaTeX Font Info: Redeclaring symbol font
letters' on input line 58.
LaTeX Font Info: Overwriting symbol font letters' in version
normal'
(Font) OML/lmm/m/it --> OML/txmi/m/it on input line 58.
LaTeX Font Info: Overwriting symbol font letters' in version
bold'
(Font) OML/lmm/b/it --> OML/txmi/m/it on input line 58.
LaTeX Font Info: Overwriting symbol font letters' in version
bold'
(Font) OML/txmi/m/it --> OML/txmi/bx/it on input line 59.
\symlettersA=\mathgroup5
LaTeX Font Info: Overwriting symbol font lettersA' in version
bold'
(Font) U/txmia/m/it --> U/txmia/bx/it on input line 67.
LaTeX Font Info: Redeclaring symbol font symbols' on input line 77. LaTeX Font Info: Overwriting symbol font
symbols' in version normal' (Font) OMS/lmsy/m/n --> OMS/txsy/m/n on input line 77. LaTeX Font Info: Overwriting symbol font
symbols' in version bold' (Font) OMS/lmsy/b/n --> OMS/txsy/m/n on input line 77. LaTeX Font Info: Overwriting symbol font
symbols' in version bold' (Font) OMS/txsy/m/n --> OMS/txsy/bx/n on input line 78. \symAMSa=\mathgroup6 LaTeX Font Info: Overwriting symbol font
AMSa' in version bold' (Font) U/txsya/m/n --> U/txsya/bx/n on input line 94. \symAMSb=\mathgroup7 LaTeX Font Info: Overwriting symbol font
AMSb' in version bold' (Font) U/txsyb/m/n --> U/txsyb/bx/n on input line 103. \symsymbolsC=\mathgroup8 LaTeX Font Info: Overwriting symbol font
symbolsC' in version bold' (Font) U/txsyc/m/n --> U/txsyc/bx/n on input line 113. LaTeX Font Info: Redeclaring symbol font
largesymbols' on input line 120.
LaTeX Font Info: Overwriting symbol font largesymbols' in version
normal'
(Font) OMX/lmex/m/n --> OMX/txex/m/n on input line 120.
LaTeX Font Info: Overwriting symbol font largesymbols' in version
bold'
(Font) OMX/lmex/m/n --> OMX/txex/m/n on input line 120.
LaTeX Font Info: Overwriting symbol font largesymbols' in version
bold'
(Font) OMX/txex/m/n --> OMX/txex/bx/n on input line 121.
\symlargesymbolsA=\mathgroup9
LaTeX Font Info: Overwriting symbol font largesymbolsA' in version
bold'
(Font) U/txexa/m/n --> U/txexa/bx/n on input line 129.
LaTeX Font Info: Redeclaring math symbol \mathsterling on input line 164.
LaTeX Font Info: Redeclaring math symbol \hbar on input line 591.
LaTeX Info: Redefining \not on input line 1043.
)
apa6.cls: Using txfonts
(/usr/local/texlive/2022/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2020/01/02 v5.9 Page Geometry
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
\KV@toks@=\toks16
) (/usr/local/texlive/2022/texmf-dist/tex/generic/iftex/ifvtex.sty
Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.
(/usr/local/texlive/2022/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2022/02/03 v1.0f TeX engine tests
))
\Gm@cnth=\count194
\Gm@cntv=\count195
\c@Gm@tempcnt=\count196
\Gm@bindingoffset=\dimen139
\Gm@wd@mp=\dimen140
\Gm@odd@mp=\dimen141
\Gm@even@mp=\dimen142
\Gm@layoutwidth=\dimen143
\Gm@layoutheight=\dimen144
\Gm@layouthoffset=\dimen145
\Gm@layoutvoffset=\dimen146
\Gm@dimlist=\toks17
) (/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2022/03/10 v1.4e Standard LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2021/08/11 v1.11 sin cos tan (DPC)
) (/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 107.
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2020/10/05 v1.2a Graphics/color driver for pdftex
))
\Gin@req@height=\dimen147
\Gin@req@width=\dimen148
) (/usr/local/texlive/2022/texmf-dist/tex/latex/booktabs/booktabs.sty
Package: booktabs 2020/01/12 v1.61803398 Publication quality tables
\heavyrulewidth=\dimen149
\lightrulewidth=\dimen150
\cmidrulewidth=\dimen151
\belowrulesep=\dimen152
\belowbottomsep=\dimen153
\aboverulesep=\dimen154
\abovetopsep=\dimen155
\cmidrulesep=\dimen156
\cmidrulekern=\dimen157
\defaultaddspace=\dimen158
@cmidla=\count197
@cmidlb=\count198
@aboverulesep=\dimen159
@belowrulesep=\dimen160
@thisruleclass=\count199
@lastruleclass=\count266
@thisrulewidth=\dimen161
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/threeparttable/threeparttable.sty
Package: threeparttable 2003/06/13 v 3.0
@tempboxb=\box51
)
\b@level@one@skip=\skip49
\e@level@one@skip=\skip50
\b@level@two@skip=\skip51
\e@level@two@skip=\skip52
\b@level@three@skip=\skip53
\e@level@three@skip=\skip54
\b@level@four@skip=\skip55
\e@level@four@skip=\skip56
\b@level@five@skip=\skip57
\e@level@five@skip=\skip58
(/usr/local/texlive/2022/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2022/03/01 v3.6b Customizing captions (AR)
(/usr/local/texlive/2022/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2022/03/17 v2.3b caption3 kernel (AR)
\caption@tempdima=\dimen162
\captionmargin=\dimen163
\caption@leftmargin=\dimen164
\caption@rightmargin=\dimen165
\caption@width=\dimen166
\caption@indent=\dimen167
\caption@parindent=\dimen168
\caption@hangindent=\dimen169
Package caption Info: Standard document class detected.
)
\c@caption@flags=\count267
\c@continuedfloat=\count268
Package caption Info: threeparttable package is loaded.
)
\c@APAenum=\count269
@text@par@indent=\skip59
\gr@box=\box52
\gr@boxwidth=\skip60
\gr@boxheight=\skip61
(/usr/local/texlive/2022/texmf-dist/tex/latex/tools/bm.sty
Package: bm 2022/01/05 v1.2f Bold Symbol Support (DPC/FMi)
\symboldoperators=\mathgroup10
\symboldletters=\mathgroup11
\symboldsymbols=\mathgroup12
\symboldlargesymbols=\mathgroup13
LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 149.
)
\c@appendix=\count270
(/usr/local/texlive/2022/texmf-dist/tex/latex/sttools/flushend.sty
Package: flushend 2021/10/04 v4.0 Balancing columns in twocolumn mode
! LaTeX Error: Unknown option keeplastbox' for package
flushend'.
See the LaTeX manual or LaTeX Companion for explanation.
Type H
l.83
Here is how much of TeX's memory you used: 4839 strings out of 478037 72615 string characters out of 5839055 366495 words of memory out of 5000000 23294 multiletter control sequences out of 15000+600000 472249 words of font info for 29 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 70i,0n,77p,244b,92s stack positions out of 10000i,1000n,20000p,200000b,200000s
! ==> Fatal error occurred, no output PDF file produced!
System info
> sessioninfo::session_info()
─ Session info ─────────────────────────────────────────────────────────────────────────────────────
setting value
version R version 4.1.3 (2022-03-10)
os macOS Monterey 12.3
system aarch64, darwin20
ui RStudio
language (EN)
collate en_US.UTF-8
ctype en_US.UTF-8
tz Europe/London
date 2022-06-23
rstudio 2022.07.0-preview+540 Spotted Wakerobin (desktop)
pandoc 2.18 @ /Applications/RStudio.app/Contents/MacOS/quarto/bin/tools/ (via rmarkdown)
─ Packages ─────────────────────────────────────────────────────────────────────────────────────────
package * version date (UTC) lib source
callr 3.7.0 2021-04-20 [2] CRAN (R 4.1.0)
cli 3.3.0 2022-04-25 [2] CRAN (R 4.1.3)
crayon 1.5.1 2022-03-26 [2] CRAN (R 4.1.1)
curl 4.3.2 2021-06-23 [2] CRAN (R 4.1.0)
digest 0.6.29 2021-12-01 [2] CRAN (R 4.1.1)
evaluate 0.15 2022-02-18 [2] CRAN (R 4.1.1)
fastmap 1.1.0 2021-01-25 [2] CRAN (R 4.1.0)
htmltools 0.5.2 2021-08-25 [2] CRAN (R 4.1.1)
knitr 1.39 2022-04-26 [2] CRAN (R 4.1.1)
papaja 0.1.0.9999 2022-06-23 [1] Github (crsh/papaja@1f7979f)
pkgbuild 1.3.1 2021-12-20 [2] CRAN (R 4.1.1)
prettyunits 1.1.1 2020-01-24 [2] CRAN (R 4.1.0)
processx 3.6.1 2022-06-17 [1] CRAN (R 4.1.1)
ps 1.7.1 2022-06-18 [1] CRAN (R 4.1.1)
R6 2.5.1 2021-08-19 [2] CRAN (R 4.1.1)
remotes 2.4.2 2021-11-30 [2] CRAN (R 4.1.1)
renv 0.15.5 2022-05-26 [1] CRAN (R 4.1.1)
rlang 1.0.2 2022-03-04 [2] CRAN (R 4.1.1)
rmarkdown 2.14 2022-04-25 [2] CRAN (R 4.1.1)
rprojroot 2.0.3 2022-04-02 [2] CRAN (R 4.1.1)
rstudioapi 0.13 2020-11-12 [2] CRAN (R 4.1.0)
sessioninfo 1.2.2 2021-12-06 [2] CRAN (R 4.1.1)
tinylabels 0.2.3 2022-02-06 [2] CRAN (R 4.1.1)
tinytex 0.40 2022-06-15 [2] CRAN (R 4.1.1)
vctrs 0.4.1 2022-04-13 [2] CRAN (R 4.1.1)
withr 2.5.0 2022-03-03 [2] CRAN (R 4.1.1)
xfun 0.31 2022-05-10 [2] CRAN (R 4.1.1)
yaml 2.3.5 2022-02-21 [2] CRAN (R 4.1.1)
Hmm, I just tried to reproduce this again, but I can't. I can confirm, however, I'm using the same version of apa6
as Matti. pandoc 2.19.2. Curiously, my logs indicate that flushend
was not loaded at all. I'm really not sure what is going on here, but it seems you are using different LaTeX packages than I am. Could you add the following to the YAML front matter
header-includes:
- \listfiles
and this to a chunk in the Rmd
options(tinytex.clean = FALSE)
and then share this part of the log file?
*File List*
apa6.cls 2020/01/13 v2.34 APA formatting (6th edition)
article.cls 2021/10/04 v1.4n Standard LaTeX document class
size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
etoolbox.sty 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
lmodern.sty 2015/05/01 v1.6.1 Latin Modern Fonts
fontenc.sty 2021/04/29 v2.0v Standard LaTeX package
t1lmr.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
times.sty 2020/03/25 PSNFSS-v9.3 (SPQR)
mathptm.sty 2020/03/25 PSNFSS-v9.3 Times w/ Math (SPQR, WaS)
geometry.sty 2020/01/02 v5.9 Page Geometry
keyval.sty 2022/05/29 v1.15 key=value parser (DPC)
ifvtex.sty 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.
iftex.sty 2022/02/03 v1.0f TeX engine tests
graphicx.sty 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2022/03/10 v1.4e Standard LaTeX Graphics (DPC,SPQR)
trig.sty 2021/08/11 v1.11 sin cos tan (DPC)
graphics.cfg 2016/06/04 v1.11 sample graphics configuration
pdftex.def 2022/09/22 v1.2b Graphics/color driver for pdftex
booktabs.sty 2020/01/12 v1.61803398 Publication quality tables
threeparttable.sty 2003/06/13 v 3.0
caption.sty 2022/03/01 v3.6b Customizing captions (AR)
caption3.sty 2022/03/17 v2.3b caption3 kernel (AR)
bm.sty 2022/01/05 v1.2f Bold Symbol Support (DPC/FMi)
ftnright.sty 2014/10/28 v1.1f footnote layout package (FMi)
amsmath.sty 2022/04/08 v2.17n AMS math features
amstext.sty 2021/08/26 v2.01 AMS text
amsgen.sty 1999/11/30 v2.0 generic functions
amsbsy.sty 1999/11/29 v1.2d Bold Symbols
amsopn.sty 2022/04/08 v2.04 operator names
amssymb.sty 2013/01/14 v3.01 AMS font symbols
amsfonts.sty 2013/01/14 v3.01 Basic AMSFonts support
fontenc.sty 2021/04/29 v2.0v Standard LaTeX package
t1ptm.fd 2001/06/04 font definitions for T1/ptm.
inputenc.sty 2021/02/14 v1.3d Input encoding file
textcomp.sty 2020/02/02 v2.0n Standard LaTeX package
upquote.sty 2012/04/19 v1.3 upright-quote and grave-accent glyphs in verbatim
microtype.sty 2022/06/23 v3.0f Micro-typographical refinements (RS)
microtype-pdftex.def 2022/06/23 v3.0f Definitions specific to pdftex (RS)
microtype.cfg 2022/06/23 v3.0f microtype main configuration file (RS)
parskip.sty 2021-03-14 v2.0h non-zero parskip adjustments
kvoptions.sty 2022-06-15 v3.15 Key value format for package options (HO)
ltxcmds.sty 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
kvsetkeys.sty 2022-10-05 v1.19 Key value parser (HO)
xcolor.sty 2022/06/12 v2.14 LaTeX color extensions (UK)
color.cfg 2016/01/02 v1.6 sample color configuration
mathcolor.ltx
babel.sty 2022/10/23 3.82 The Babel package
nil.ldf 2022/10/23 3.82 Nil language
babel-english.tex
upgreek.sty 2003/02/12 v2.0 (WaS)
longtable.sty 2021-09-01 v4.17 Multi-page Table package (DPC)
lscape.sty 2020/05/28 v3.02 Landscape Pages (DPC)
multirow.sty 2021/03/15 v2.8 Span multiple rows of a table
tabularx.sty 2020/01/15 v2.11c `tabularx' package (DPC)
array.sty 2022/03/10 v2.5f Tabular extension package (FMi)
threeparttablex.sty 2013/07/23 v0.3 by daleif
environ.sty 2014/05/04 v0.3 A new way to define environments
trimspaces.sty 2009/09/17 v1.1 Trim spaces around a token list
xpatch.sty 2020/03/25 v0.3a Extending etoolbox patching commands
expl3.sty 2022-09-28 L3 programming layer (loader)
l3backend-pdftex.def 2022-09-28 L3 backend support: PDF output (pdfTeX)
xparse.sty 2022-06-22 L3 Experimental document command parser
dblfloatfix.sty 2012/12/31 v1.0a (JAW)
fixltx2e.sty 2016/12/29 v2.1a fixes to LaTeX (obsolete)
lineno.sty 2005/11/02 line numbers on paragraphs v4.41
csquotes.sty 2022-09-14 v5.2n context-sensitive quotations (JAW)
csquotes.def 2022-09-14 v5.2n csquotes generic definitions (JAW)
csquotes.cfg
bookmark.sty 2020-11-06 v1.29 PDF bookmarks (HO)
hyperref.sty 2022-09-22 v7.00t Hypertext links for LaTeX
pdftexcmds.sty 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)
infwarerr.sty 2019/12/03 v1.5 Providing info/warning/error messages (HO)
kvdefinekeys.sty 2019-12-19 v1.6 Define keys (HO)
pdfescape.sty 2019/12/09 v1.15 Implements pdfTeX's escape features (HO)
hycolor.sty 2020-01-27 v1.10 Color options for hyperref/bookmark (HO)
letltxmacro.sty 2019/12/03 v1.6 Let assignment for LaTeX macros (HO)
auxhook.sty 2019-12-17 v1.6 Hooks for auxiliary files (HO)
nameref.sty 2022-05-17 v2.50 Cross-referencing by name of section
refcount.sty 2019/12/15 v3.6 Data extraction from label references (HO)
gettitlestring.sty 2019/12/15 v1.6 Cleanup title references (HO)
pd1enc.def 2022-09-22 v7.00t Hyperref: PDFDocEncoding definition (HO)
intcalc.sty 2019/12/15 v1.3 Expandable calculations with integers (HO)
etexcmds.sty 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)
puenc.def 2022-09-22 v7.00t Hyperref: PDF Unicode definition (HO)
url.sty 2013/09/16 ver 3.4 Verb mode for urls, etc.
bitset.sty 2019/12/09 v1.3 Handle bit-vector datatype (HO)
bigintcalc.sty 2019/12/15 v1.5 Expandable calculations on big integers (HO)
atbegshi-ltx.sty 2021/01/10 v1.0c Emulation of the original atbegshi
package with kernel methods
hpdftex.def 2022-09-22 v7.00t Hyperref driver for pdfTeX
atveryend-ltx.sty 2020/08/19 v1.0a Emulation of the original atveryend package
with kernel methods
rerunfilecheck.sty 2022-07-10 v1.10 Rerun checks for auxiliary files (HO)
uniquecounter.sty 2019/12/15 v1.4 Provide unlimited unique counter (HO)
bkm-pdftex.def 2020-11-06 v1.29 bookmark driver for pdfTeX (HO)
supp-pdf.mkii
epstopdf-base.sty 2020-01-24 v2.11 Base part for package epstopdf
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
config/APAamerican.txt 2012/02/23 v1.25 apa6 configuration for American English
ltcaption.sty 2021/01/08 v1.4c longtable captions (AR)
mt-ptm.cfg 2006/04/20 v1.7 microtype config. file: Times (RS)
ot1ptmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OT1/ptmcm.
omlptmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OML/ptmcm.
omspzccm.fd 2000/01/03 Fontinst v1.801 font definitions for OMS/pzccm.
omxpsycm.fd 2000/01/03 Fontinst v1.801 font definitions for OMX/psycm.
ot1ptm.fd 2001/06/04 font definitions for OT1/ptm.
umsa.fd 2013/01/14 v3.01 AMS symbols A
mt-msa.cfg 2006/02/04 v1.1 microtype config. file: AMS symbols (a) (RS)
umsb.fd 2013/01/14 v3.01 AMS symbols B
mt-msb.cfg 2005/06/01 v1.0 microtype config. file: AMS symbols (b) (RS)
mt-eur.cfg 2006/07/31 v1.1 microtype config. file: AMS Euler Roman (RS)
t1phv.fd 2020/03/25 scalable font definitions for T1/phv.
I just updated everything related to this on my mac. I don't know what latex installation R/studio/markdown is using but have updated all my system latex packages with TeX Live Utility. I've no idea how to use tinytex. It doesn't look like the resulting log file has the information yours has:
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex 2022.10.28) 28 OCT 2022 10:43
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**Untitled.tex
(./Untitled.tex
LaTeX2e <2022-06-01> patch level 5
L3 programming layer <2022-10-26> (/usr/local/texlive/2022/texmf-dist/tex/latex
/apa6/apa6.cls
Document Class: apa6 2020/01/13 v2.34 APA formatting (6th edition)
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
)
\c@part=\count185
\c@section=\count186
\c@subsection=\count187
\c@subsubsection=\count188
\c@paragraph=\count189
\c@subparagraph=\count190
\c@figure=\count191
\c@table=\count192
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen138
) (/usr/local/texlive/2022/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count193
)
Class apa6 Info: No bibliography package was specified; defaulting to (but not
loading) Biblatex on input line 213.
(/usr/local/texlive/2022/texmf-dist/tex/latex/lm/lmodern.sty
Package: lmodern 2015/05/01 v1.6.1 Latin Modern Fonts
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> OT1/lmr/m/n on input line 22.
LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
(Font) OML/cmm/m/it --> OML/lmm/m/it on input line 23.
LaTeX Font Info: Overwriting symbol font `symbols' in version `normal'
(Font) OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 24.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 25.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
(Font) OML/cmm/b/it --> OML/lmm/b/it on input line 27.
LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
(Font) OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 28.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 29.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 31.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/cmss/m/n --> OT1/lmss/m/n on input line 32.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/cmr/m/it --> OT1/lmr/m/it on input line 33.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 34.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 35.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 36.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 37.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 38.
) (/usr/local/texlive/2022/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
LaTeX Font Info: Trying to load font information for T1+lmr on input line 11
2.
(/usr/local/texlive/2022/texmf-dist/tex/latex/lm/t1lmr.fd
File: t1lmr.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)) (/usr/local/texlive/2022/texmf-dist/tex/latex/txfonts/txfonts.sty
Package: txfonts 2008/01/22 v3.2.1
LaTeX Font Info: Redeclaring symbol font `operators' on input line 21.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/lmr/m/n --> OT1/txr/m/n on input line 21.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/lmr/bx/n --> OT1/txr/m/n on input line 21.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/txr/m/n --> OT1/txr/bx/n on input line 22.
\symitalic=\mathgroup4
LaTeX Font Info: Overwriting symbol font `italic' in version `bold'
(Font) OT1/txr/m/it --> OT1/txr/bx/it on input line 26.
LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 29.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
(Font) OT1/lmr/bx/n --> OT1/txr/bx/n on input line 29.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
(Font) OT1/lmr/bx/n --> OT1/txr/bx/n on input line 29.
LaTeX Font Info: Redeclaring math alphabet \mathit on input line 30.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/lmr/m/it --> OT1/txr/m/it on input line 30.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/lmr/bx/it --> OT1/txr/m/it on input line 30.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/txr/m/it --> OT1/txr/bx/it on input line 31.
LaTeX Font Info: Redeclaring math alphabet \mathsf on input line 40.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/lmss/m/n --> OT1/txss/m/n on input line 40.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/lmss/bx/n --> OT1/txss/m/n on input line 40.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/txss/m/n --> OT1/txss/b/n on input line 41.
LaTeX Font Info: Redeclaring math alphabet \mathtt on input line 50.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
(Font) OT1/lmtt/m/n --> OT1/txtt/m/n on input line 50.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/lmtt/m/n --> OT1/txtt/m/n on input line 50.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/txtt/m/n --> OT1/txtt/b/n on input line 51.
LaTeX Font Info: Redeclaring symbol font `letters' on input line 58.
LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
(Font) OML/lmm/m/it --> OML/txmi/m/it on input line 58.
LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
(Font) OML/lmm/b/it --> OML/txmi/m/it on input line 58.
LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
(Font) OML/txmi/m/it --> OML/txmi/bx/it on input line 59.
\symlettersA=\mathgroup5
LaTeX Font Info: Overwriting symbol font `lettersA' in version `bold'
(Font) U/txmia/m/it --> U/txmia/bx/it on input line 67.
LaTeX Font Info: Redeclaring symbol font `symbols' on input line 77.
LaTeX Font Info: Overwriting symbol font `symbols' in version `normal'
(Font) OMS/lmsy/m/n --> OMS/txsy/m/n on input line 77.
LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
(Font) OMS/lmsy/b/n --> OMS/txsy/m/n on input line 77.
LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
(Font) OMS/txsy/m/n --> OMS/txsy/bx/n on input line 78.
\symAMSa=\mathgroup6
LaTeX Font Info: Overwriting symbol font `AMSa' in version `bold'
(Font) U/txsya/m/n --> U/txsya/bx/n on input line 94.
\symAMSb=\mathgroup7
LaTeX Font Info: Overwriting symbol font `AMSb' in version `bold'
(Font) U/txsyb/m/n --> U/txsyb/bx/n on input line 103.
\symsymbolsC=\mathgroup8
LaTeX Font Info: Overwriting symbol font `symbolsC' in version `bold'
(Font) U/txsyc/m/n --> U/txsyc/bx/n on input line 113.
LaTeX Font Info: Redeclaring symbol font `largesymbols' on input line 120.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal'
(Font) OMX/lmex/m/n --> OMX/txex/m/n on input line 120.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
(Font) OMX/lmex/m/n --> OMX/txex/m/n on input line 120.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
(Font) OMX/txex/m/n --> OMX/txex/bx/n on input line 121.
\symlargesymbolsA=\mathgroup9
LaTeX Font Info: Overwriting symbol font `largesymbolsA' in version `bold'
(Font) U/txexa/m/n --> U/txexa/bx/n on input line 129.
LaTeX Font Info: Redeclaring math symbol \mathsterling on input line 164.
LaTeX Font Info: Redeclaring math symbol \hbar on input line 591.
LaTeX Info: Redefining \not on input line 1043.
)
apa6.cls: Using txfonts
(/usr/local/texlive/2022/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2020/01/02 v5.9 Page Geometry
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
\KV@toks@=\toks16
) (/usr/local/texlive/2022/texmf-dist/tex/generic/iftex/ifvtex.sty
Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.
(/usr/local/texlive/2022/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2022/02/03 v1.0f TeX engine tests
))
\Gm@cnth=\count194
\Gm@cntv=\count195
\c@Gm@tempcnt=\count196
\Gm@bindingoffset=\dimen139
\Gm@wd@mp=\dimen140
\Gm@odd@mp=\dimen141
\Gm@even@mp=\dimen142
\Gm@layoutwidth=\dimen143
\Gm@layoutheight=\dimen144
\Gm@layouthoffset=\dimen145
\Gm@layoutvoffset=\dimen146
\Gm@dimlist=\toks17
) (/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2022/03/10 v1.4e Standard LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2021/08/11 v1.11 sin cos tan (DPC)
) (/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 107.
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2022/09/22 v1.2b Graphics/color driver for pdftex
\stockwidth=\dimen147
\stockheight=\dimen148
))
\Gin@req@height=\dimen149
\Gin@req@width=\dimen150
) (/usr/local/texlive/2022/texmf-dist/tex/latex/booktabs/booktabs.sty
Package: booktabs 2020/01/12 v1.61803398 Publication quality tables
\heavyrulewidth=\dimen151
\lightrulewidth=\dimen152
\cmidrulewidth=\dimen153
\belowrulesep=\dimen154
\belowbottomsep=\dimen155
\aboverulesep=\dimen156
\abovetopsep=\dimen157
\cmidrulesep=\dimen158
\cmidrulekern=\dimen159
\defaultaddspace=\dimen160
\@cmidla=\count197
\@cmidlb=\count198
\@aboverulesep=\dimen161
\@belowrulesep=\dimen162
\@thisruleclass=\count199
\@lastruleclass=\count266
\@thisrulewidth=\dimen163
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/threeparttable/threeparttable.sty
Package: threeparttable 2003/06/13 v 3.0
\@tempboxb=\box51
)
\b@level@one@skip=\skip49
\e@level@one@skip=\skip50
\b@level@two@skip=\skip51
\e@level@two@skip=\skip52
\b@level@three@skip=\skip53
\e@level@three@skip=\skip54
\b@level@four@skip=\skip55
\e@level@four@skip=\skip56
\b@level@five@skip=\skip57
\e@level@five@skip=\skip58
(/usr/local/texlive/2022/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2022/03/01 v3.6b Customizing captions (AR)
(/usr/local/texlive/2022/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2022/03/17 v2.3b caption3 kernel (AR)
\caption@tempdima=\dimen164
\captionmargin=\dimen165
\caption@leftmargin=\dimen166
\caption@rightmargin=\dimen167
\caption@width=\dimen168
\caption@indent=\dimen169
\caption@parindent=\dimen170
\caption@hangindent=\dimen171
Package caption Info: Standard document class detected.
)
\c@caption@flags=\count267
\c@continuedfloat=\count268
Package caption Info: threeparttable package is loaded.
)
\c@APAenum=\count269
\@text@par@indent=\skip59
\gr@box=\box52
\gr@boxwidth=\skip60
\gr@boxheight=\skip61
(/usr/local/texlive/2022/texmf-dist/tex/latex/tools/bm.sty
Package: bm 2022/01/05 v1.2f Bold Symbol Support (DPC/FMi)
\symboldoperators=\mathgroup10
\symboldletters=\mathgroup11
\symboldsymbols=\mathgroup12
\symboldlargesymbols=\mathgroup13
LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 149.
)
\c@appendix=\count270
(/usr/local/texlive/2022/texmf-dist/tex/latex/sttools/flushend.sty
Package: flushend 2021/10/04 v4.0 Balancing columns in twocolumn mode
! LaTeX Error: Unknown option `keeplastbox' for package `flushend'.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.83
Here is how much of TeX's memory you used:
4837 strings out of 475066
72618 string characters out of 5778774
409130 words of memory out of 5000000
26260 multiletter control sequences out of 15000+600000
472249 words of font info for 29 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
70i,0n,77p,250b,92s stack positions out of 10000i,1000n,20000p,200000b,200000s
! ==> Fatal error occurred, no output PDF file produced!
Ah, it seems the apa6
document class only uses flushend
if it's installed:
% need the `keeplastbox' option to allow final reference to be
% properly indented on the final line
% https://tex.stackexchange.com/questions/198287/reference-and-biography-indentation-issue
\IfFileExists{flushend.sty}{\RequirePackage[keeplastbox]{flushend}}{}
So a short-term solution may be to uninstall that package.
Interestingly, I was unable to find a mention of the keeplastbox
option in the package documentation. As noted above, I think this is a bug in apa6
that should be raised with its maintainer Brian Beitzel. The commit message in apa7
also notes that the option caused compatibility issues with the current version of flushend
(which is why it was removed there). I don't think there's anything I can do to fix this.
OK, good to know. I'll stick with the APA7 stuff then. Also fyi I don't have the flushend package installed, and TeX Live Utility doesn't even find it.