handle header correctly, i.e. do not only expand on macro

This commit is contained in:
Maximilian Keßler 2021-10-22 19:29:23 +02:00
parent 1911da2423
commit 022bb0f9ff
3 changed files with 13 additions and 2 deletions

7
.build/header_info.txt Normal file
View file

@ -0,0 +1,7 @@
This LaTeX {latex_file_type} is free software and distributed under the MIT License. You
may use it freely for your purposes. The latest version of the {latex_file_type} can be
obtained via GitHub under
https://github.com/kesslermaximilian/LatexPackages
For further information see the url above.
Reportings of bugs, suggestions and improvements are welcome, see the README
at the Git repository for further information.

View file

@ -1,7 +1,11 @@
.PHONY: build .PHONY: build
BUILD_FLAGS=--source-dir src --build-dir build --recursive --git-version --pytex-version --license --author "Maximilian Keßler" --pytex-info-text --extra-header ".build/header_info.txt" --name "prepend-author"
build: .initsubmodulelock build: .initsubmodulelock
@python3 build.py @python3 build.py ${BUILD_FLAGS}
dirty: .initsubmodulelock
@python3 build.py ${BUILD_FLAGS} --allow-dirty
init: .initsubmodulelock .gitconfiglock init: .initsubmodulelock .gitconfiglock

2
PyTeX

@ -1 +1 @@
Subproject commit 12a03e79897dfc4cf3de218ed88ba7c56debfcad Subproject commit 126d420b7a6ed2d4b2a42d534ab2e12344869643