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

Do all PDFs really need pdflatex? #5

Open
PeteMichaud opened this issue Apr 19, 2022 · 0 comments
Open

Do all PDFs really need pdflatex? #5

PeteMichaud opened this issue Apr 19, 2022 · 0 comments

Comments

@PeteMichaud
Copy link

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.

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

1 participant