Skip to content

Improve --root command on corner case#248

Open
vmartinv wants to merge 1 commit intosylvainhalle:masterfrom
vmartinv:root_fix
Open

Improve --root command on corner case#248
vmartinv wants to merge 1 commit intosylvainhalle:masterfrom
vmartinv:root_fix

Conversation

@vmartinv
Copy link
Copy Markdown
Contributor

@vmartinv vmartinv commented Nov 4, 2023

In #242 I mentioned that there's a corner case not handled correctly (using both --root and %!TEX root at the same time). This PR fixes and adds a test for that. --root will take precedence.

The fix moves more of the path resolving logic from Main into LatexCleaner. Note that now Main doesn't have to worry about root paths at all.

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.

1 participant