Skip to content

Do not change the extension of files requested by the engine. - #100

Merged
pkgw merged 1 commit into
tectonic-typesetting:masterfrom
rekka:fix-file-format
Jun 14, 2017
Merged

Do not change the extension of files requested by the engine.#100
pkgw merged 1 commit into
tectonic-typesetting:masterfrom
rekka:fix-file-format

Conversation

@rekka

@rekka rekka commented Jun 14, 2017

Copy link
Copy Markdown
Contributor

Fixes a regression caused by 7c2e4e6, for instance for tests/xenia/paper.tex.

Specifically, now tectonic tries to add default file format extensions only if the requested file does not have an extension already.

As I mentioned in #93, I believe that tectonic should not change the extension of files requested by a tex code, for instance return natbib.sty instead of natbib.cfg.

I also cleaned up the code to minimize allocations.

Fixes a regression caused by `7c2e4e622dde666a038154a9c925829e309a988f`,
for instance for `tests/xenia/paper.tex`.
@pkgw

pkgw commented Jun 14, 2017

Copy link
Copy Markdown
Collaborator

Thanks for fixing this so quickly! I should have tested more carefully.

@pkgw
pkgw merged commit 04ecf6d into tectonic-typesetting:master Jun 14, 2017
@rekka
rekka deleted the fix-file-format branch June 15, 2017 01:19
Mrmaxmeier pushed a commit to Mrmaxmeier/tectonic that referenced this pull request Oct 1, 2019
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

Successfully merging this pull request may close these issues.

2 participants