-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
classoption "jou" returns "LaTeX Error: Unknown option 'keeplastbox' for package 'flushend'." #505
Comments
keeplastbox' for package
flushend'."
Hi Rob, thanks for reaching out. I think you are right in that the |
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
|
I can't seem to reproduce the error. I'm using the latest development version of |
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 |
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 |
Just posting here to note that I am getting the same error. Trying to knit the provided .Rmd template but setting tex logThis is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex 2022.6.23) 23 JUN 2022 16:58 ! LaTeX Error: Unknown option See the LaTeX manual or LaTeX Companion for explanation. l.83 Here is how much of TeX's memory you used: ! ==> Fatal error occurred, no output PDF file produced! System info
|
Hmm, I just tried to reproduce this again, but I can't. I can confirm, however, I'm using the same version of header-includes:
- \listfiles and this to a chunk in the Rmd options(tinytex.clean = FALSE) and then share this part of the log file?
|
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:
|
Ah, it seems the % 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 |
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. |
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.
The text was updated successfully, but these errors were encountered: