-
Notifications
You must be signed in to change notification settings - Fork 70
How to handle "sub-files"? #131
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
Comments
@sylvainhalle I also agree that a separate script is the right way to go. If the script would have a standard interface, it would make it easy to contribute new versions as people want to use them. |
There's already a few things left and right that do flatten the structure for you, perfect for submitting a single file instead of painfully uploading tons of stuff. For example this one is even bundled in texlive https://www.ctan.org/pkg/latexpand |
This thread on StackOverflow lists about half a dozen different ways of expanding sub-files in LaTeX, including So, here's my plan:
This way, we shall have consistent behavior for commands that are in core LaTeX, and we don't favor one sub-file package over another (as we support none). |
FYI, I tried I suspect that it might be hard to correlate errors generated by textidote on the combined file to the individual subfiles. But I will try it out and let you know |
I've received multiple comments regarding the handling of (let's state it in this general way): "files included within a main document".
There are currently three distinct issues related to this notion: #81, #115, #129.
I chose to close these issues and redirect them here, so that we may have a broader discussion. First, let me thank you for bringing these issues; you made me discover ways of using LaTeX that I didn't know about. (I am a relatively basic LaTeX user, as it turns out.)
I made a few offhand remarks regarding my fear of doing #56 on this, so I'd like to know if we can converge on something. Basically:
I won't hide my colors, and I think solution 1 would be closest to my (Unix) philosophy of "do only one thing, but do it right".
The mike is yours!
The text was updated successfully, but these errors were encountered: