Skip to content

Avoid .aux to be deleted when cleaning up temporary files #1610

Open
@franvillamil

Description

@franvillamil

I'm trying to setup LaTeXTools to remove all temporary files, but leaving the .aux file standing, as it is sometimes useful when working with subfiles and cross-references between different documents.

Currently, I have this on preferences:

{
    "output_directory": "<<cache>>",
    "temp_files_exts": [
        // ".aux",
        ".bbl", ".bcf", ".blg", ".brf", ".dvi", ".fdb_latexmk",
        ".fls", ".glo", ".idx", ".ilg", ".ind", ".lof", ".log", ".nlo",
        ".out", ".pdfsync", ".ps", ".run.xml", ".synctex.gz", ".thm",
        ".toc", ".xdy",
    ],
}

But the .aux file is not being kept. I think it might have to do with the fact that built is done in the <<cache>> folder and then only the .pdf is moved to the main folder. Is there any other way to do this?

Running macOS Ventura, ST4, and LaTeXTools 4.2.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions