textidote icon indicating copy to clipboard operation
textidote copied to clipboard

Improve --root command on corner case

Open vmartinv opened this issue 1 year ago • 0 comments

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.

vmartinv avatar Nov 04 '23 10:11 vmartinv