-
Notifications
You must be signed in to change notification settings - Fork 17
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
Run script before build #283
Comments
We don't currently have a hook early enough. Could you illustrate the project structure in general terms or with a link? |
I'm modifying the lipsum package https://github.com/PhelypeOleinik/lipsum As you can see, there are multiple My idea is to run a script that generates those |
David
I'm modifying the lipsum package
what exactly do you mean by "modifying" the lipsum package?
As it is under LPPL you should not alter it in situ and if you alter the
file names why not do this off line rather than each time by script?
|
They are generated randomly, but I guess it's better to distribute the already generated files, and it will be easier to test. About modifying it, sorry, I wanted to say "forking it", as is I will change the package name (and filenames) and distribute the source code. |
all good then :-) ... I didn't look what your project does ... it is just that getting different files with the same name in the TeX world is really bad since you never know what then happens, so when I saw "modifying" it just jumped at me |
I'm forking a package that uses a .txt file.
Currently, I have to run a lua program that generates that file, and then run my
build.lua
file. Is there any hook I can use to run my txt builder program just before starting to build. I think docinit_hook and checkinit_hook are both too late, because I use docstrip and I need it before compiling the .insThe text was updated successfully, but these errors were encountered: