Commit graph

38 commits

Author SHA1 Message Date
315e3647ab handle package naming style
Option --name can now be set to either
    raw or prepend-author
    this controls the derivation of the name
    of the formatted package from the source
    file read in.
2021-12-17 15:09:04 +01:00
357144e9f0 Merge branch 'latex-packages' 2021-10-29 09:39:39 +02:00
c98fd28245 migrate to gitlab 2021-10-24 00:29:25 +02:00
126d420b7a handle header correctly, i.e. do not only expand on macro 2021-10-22 19:29:23 +02:00
12a03e7989 add parser file for building 2021-10-22 14:52:10 +02:00
4c3867e0f4 refactor files into better module structure 2021-10-22 14:45:32 +02:00
de10ca7546 also build when last build of file has been dirty 2021-10-22 13:56:09 +02:00
f0c32260fa fix some bugs 2021-10-22 13:51:31 +02:00
96f2608751 check if PyTeX is dirty, implement incremental build 2021-10-22 13:39:56 +02:00
e6018a89c8 fix mistake with header type 2021-10-22 13:39:29 +02:00
408a154548 pass more attributes to TexFileToFormat class, write dirty / recent information into build file 2021-10-22 12:56:00 +02:00
c24eb9cd25 fix bugs: correctly diff against working tree or other commits now. add documentation for recent method 2021-10-22 12:55:15 +02:00
7b277ad8b6 integrate some more options. forward arguments to file formatter 2021-10-22 11:58:56 +02:00
cf3edf33c4 write and read in build information in json format 2021-10-22 10:57:16 +02:00
b44af744b0 retrieve repositories 2021-10-22 10:12:28 +02:00
90acc2baf7 add build scripts 2021-10-22 10:01:33 +02:00
05f53a9171 fix extension mistake in package formatter class 2021-10-18 15:55:26 +02:00
ba0b49dbfc Merge branch 'latex-packages'
Formatting project correctly as a package
2021-10-18 15:09:21 +02:00
a1bb182eec format project correctly as python module with corresponding submodules 2021-10-18 15:08:58 +02:00
Maximilian Keßler
b1d429e9b0 Merge branch 'master' of https://github.com/kesslermaximilian/PyTeX 2021-10-08 20:02:24 +02:00
Maximilian Keßler
4409c94af5 xkeyval process options: also parse options from document class 2021-10-08 20:01:23 +02:00
Maximilian Keßler
6c0dee2511 add class formatter. fix typo in error message 2021-10-08 16:34:52 +02:00
Maximilian Keßler
9df6bd0513 add formatter class and derive package formatter from it. future: add class formatter 2021-10-08 16:12:48 +02:00
Maximilian Keßler
dbdd99cc3d add possibility to include extra message in package header 2021-10-07 18:00:41 +02:00
Maximilian Keßler
1da78575c2
Merge pull request #1 from kesslermaximilian/latex-packages
update readme
2021-10-07 14:29:52 +02:00
Maximilian Keßler
e213c706ea better readme 2021-10-07 14:27:15 +02:00
Maximilian Keßler
536b995e79 add package error macro 2021-10-07 14:27:06 +02:00
Maximilian Keßler
d1a269b56b add separate options x and options macros 2021-10-07 13:52:20 +02:00
Maximilian Keßler
0e90f82076 add PyTeX info text to package header 2021-10-07 08:59:07 +02:00
Maximilian Keßler
a6ba08f1ee create output directory on formatting package, add more replacement macros 2021-10-06 22:59:00 +02:00
Maximilian Keßler
a9af7d4459 add gitignore file 2021-10-06 18:48:17 +02:00
Maximilian Keßler
060d10760f add gitignore 2021-10-06 18:39:39 +02:00
Maximilian Keßler
ad43e5993a strip arguments from macros, change some macro names 2021-10-06 18:39:13 +02:00
Maximilian Keßler
d0d1caa96c Merge branch 'master' of https://github.com/kesslermaximilian/PyTeX 2021-10-06 18:38:26 +02:00
Maximilian Keßler
8d4c1efb41 Initial commit 2021-10-06 18:34:42 +02:00
Maximilian Keßler
4d2cdecaef add further replacements, add license and git project (of packages) to package header. 2021-10-06 18:23:41 +02:00
Maximilian Keßler
1c73e53c55 simplify package formatter class 2021-10-06 17:44:14 +02:00
Maximilian Keßler
60ff9b3e99 initial commit: first working version 2021-10-06 17:08:53 +02:00