Skip to content
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

new srify option -t #36

Closed
kohlhase opened this issue Oct 30, 2024 · 2 comments
Closed

new srify option -t #36

kohlhase opened this issue Oct 30, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request needs-design the solution in this issue is not fully specified yet.

Comments

@kohlhase
Copy link
Collaborator

kohlhase commented Oct 30, 2024

Currently, srify tries hard to put the \usemodule directives into the right place (e.g. inside a frame env when no smodule can be found. This is great for files that are intended for inclusion, but leads to duplication in files that are never intended to be taken apart into reusable fragments. Therefore it would be great to have a command-line option e.g. -t to srify that tells srify to put all \usemodule at the top of the file, i.e. directly after the \begin{document}.

It might be useful to have an interaction t (or so) that allows to switch into this mode, if we have forgotten the option when calling.

I am not sure what to do with the "placment strategy" when passing into a \inputref via #32 though.

@kohlhase kohlhase added the enhancement New feature or request label Oct 30, 2024
@kohlhase kohlhase added the needs-design the solution in this issue is not fully specified yet. label Oct 30, 2024
@jfschaefer
Copy link
Collaborator

I think this is solved with the [t] command.

@kohlhase
Copy link
Collaborator Author

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-design the solution in this issue is not fully specified yet.
Projects
None yet
Development

No branches or pull requests

2 participants