-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add the option to analyse inputs #45
Comments
Hi! That's an interesting suggestion. However, it requires interpreting LaTeX markup, something that TeXtidote does not currently do. This is by design: once you start doing this, there is no end to it --TeXtidote will end up as a reimplementation of LaTeX if you wait long enough. (See my similar response to issue #31.) I'd be reticent to add such a feature. Note however that you can run TeXtidote with multiple file names on the command line, and it will check each of these files in batch. You can even automate this by using a configuration file (see Readme). This is not exactly what you want, but close enough I think. |
Hi! |
Hi! Finding all tex files recursively from a root folder can already be done with
But I agree that this finds all tex files, not only the ones that appear in a non-commented Maybe following the |
Currently, the program can locate files present in an \input or \include instruction, add them to a queue of files to process, and avoid duplicated work by remembering files that have already been processed before (in case they are included multiple times). Remaining work: - Location of included files is relative to path of main file, so this path must be appended to each include or T will not find them. - Should come up with a "test mode" for the main loop where files are loaded with getResourceAsStream instead of regular File objects to use with unit tests)
Hello
It would be useful if the code also processed included sub files via the
\input
commandFor example at the moment a master document such as
would only analyse section headers. The paragraphs etc which are contained in sub files
Intro.tex
andConclusion.tex
are ignored. At the moment textidote has to be run individually on each independent file which takes time. A feature enhancement would take sub files into account.Many thanks
The text was updated successfully, but these errors were encountered: