Skip to content

Do all PDFs really need pdflatex? #5

@PeteMichaud

Description

@PeteMichaud

When the plugin checks for features one of the checks is does is whether the target output type needs pdflatex to run. That check is exactly:

export function needsLaTeX(format: OutputFormat): boolean {
return format === 'pdf';
}

In other words, the plugin will not generate any pdfs unless pdflatex is also installed.

I suspect this is wrong and that many pdfs can be generated without pdflatex, but I don't know the details and might be wrong.

If I'm not wrong, I'm not sure how to fix it. We need a way to detect whether a particular file needs pdflatex to convert, but I don't know what that check would look like.

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