textidote
textidote copied to clipboard
Improve --root command on corner case
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.