Commit Graph

58 Commits

Author SHA1 Message Date
60488127e5 detect unknown files in build dir 2022-01-13 21:12:35 +01:00
2cad289b32 fix bug 2022-01-13 21:02:47 +01:00
f5a5ad6328 implement option to prune old files in build directory 2022-01-13 20:56:09 +01:00
bfd0f6e01b ensure file integrity when overwriting files also in dictionary case 2022-01-13 20:49:26 +01:00
f8a6f83de9 ensure file integrity for tex formatters 2022-01-13 20:04:18 +01:00
785eb6923f use paths relative to source / build dir and add md5sum into build info 2022-01-13 19:24:07 +01:00
4e7ea6fd14 write relative file names in build info 2022-01-13 15:33:16 +01:00
026e3a6cb3 adapt to multiple output files per input file in build info 2022-01-12 22:30:10 +01:00
1df567da82 add custom PyTeX exceptions to be thrown and catched during build to prevent ugly python error messaged 2022-01-12 21:35:47 +01:00
4a0e095899 remove 'v' prefix in front of version when formatting LaTeX3 files 2022-01-12 21:02:19 +01:00
d1806d970f Merge branch 'master' of gitlab.com:latexci/packages/PyTeX 2022-01-11 21:37:42 +01:00
75a2b137ec make author acronym available 2022-01-11 21:23:13 +01:00
c8deda5af8 add support for latex3 files 2022-01-11 18:55:18 +01:00
23766e8dcd start adding support for formatting latex3 files 2022-01-11 18:39:56 +01:00
494c43e52b Merge branch 'master' into latex-packages 2022-01-11 18:07:42 +01:00
5e077e77d8 correct header when formatting dictionaries 2022-01-09 14:21:50 +01:00
99c984049c add dictionary formatter for translation package 2022-01-09 14:15:28 +01:00
9bf3daa352 use faster git describe method from GitPython instead 2022-01-09 12:27:00 +01:00
e55a6728a9 fix handling extra header correctly 2021-12-17 15:34:59 +01:00
4c5efa4087 fix error when header is empty
catch case of empty header to not crash
2021-12-17 15:26:28 +01:00
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