Skip to content
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

apaquarto-pdf does not remove all temporary files #122

Open
cbrnr opened this issue Mar 19, 2025 · 2 comments
Open

apaquarto-pdf does not remove all temporary files #122

cbrnr opened this issue Mar 19, 2025 · 2 comments

Comments

@cbrnr
Copy link

cbrnr commented Mar 19, 2025

When rendering an apaquarto-pdf document containing figures and tables, there are two temporary files (called <name>.fff and <name>.ttt) remaining in the directory (where <name> is the base name of the Quarto document). I think these files should be deleted automatically, along with other temporary files like .aux etc. (where this already happens). Is this something that your extension has to take care of, or does Quarto have to do that?

@wjschne
Copy link
Owner

wjschne commented Mar 19, 2025

I believe it is something that LaTeX does, not Quarto or apaquarto. The .ttt files usually contain notes, warnings, and errors about tables (e.g., that LaTeX could not fit something in a table cell). https://www.overleaf.com/learn/how-to/How_to_find_and_fix_errors_reported_in_generated_files

@cbrnr
Copy link
Author

cbrnr commented Mar 20, 2025

Yes, apaquarto seems to invoke endfloat to move the figures to the end of the document. However, since using Quarto to render a PDF via LaTeX generates several auxiliary files (such as .tex, .aux, ...), which are cleaned up automatically, I think .fff and .ttt files should also be removed. @cscheid is this correct and if so should Quarto or apaquarto clean up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants