Commit graph

27 commits

Author SHA1 Message Date
d34bacc872 fix more bugs 2022-02-19 22:38:02 +01:00
97bc1fd50f divide config into two parts 2022-02-18 21:20:32 +01:00
9fc559cbaf add begin / end implementation macros. fix some bugs 2022-02-18 09:50:22 +01:00
d1d6252e8b implement correct dropping modes 2022-02-18 00:23:01 +01:00
234e3d9983 implement drv and ins file in dtx formatter 2022-02-17 23:46:32 +01:00
bde5c63b01 more context for errors 2022-02-17 23:27:47 +01:00
75e705c810 some better error handling 2022-02-17 23:16:41 +01:00
09bfa89dfe let macros indicate if their replacement is done directly -> useful for singleLine macros 2022-02-17 21:13:27 +01:00
87666fbec6 move close output stream method to tex formatter 2022-02-17 20:37:38 +01:00
ed004aaf33 add _get_provides_text method 2022-02-17 20:05:18 +01:00
e760eaef6d implement config begin and end macros to drop config at beginning of file 2022-02-09 19:39:27 +01:00
12a89f9560 add mode to tex formatters 2022-02-09 19:25:25 +01:00
3e6f2f99c3 rework format method to support multiple output files 2022-02-09 18:02:41 +01:00
65d2df0aa6 fix macro replacement bugs: basic macro replacement now working 2022-02-09 17:22:38 +01:00
190ff1a339 split up postprocessing of lines and shipout. add trailing % characters for latex2e packages 2022-02-09 15:59:11 +01:00
c2e2a3fad5 add attribute dict to pytex formatters to query attributes used in formatting 2022-02-09 15:38:01 +01:00
180eae4f12 fix bug with line stream 2022-02-09 11:26:01 +01:00
3571d409f0 fix some bugs, more type annotations 2022-02-08 19:01:18 +01:00
6cd8d9655d fix future config handling, use abstract classes 2022-02-08 17:21:36 +01:00
1a6989734e implement simple tex formatter 2022-02-08 17:04:16 +01:00
b69019d814 fix some type errors 2022-02-08 16:39:20 +01:00
91bcb64be5 fix type issues 2022-02-08 16:09:56 +01:00
94b5f28567 optimize imports and reformat files 2022-02-07 18:36:30 +01:00
79fc7b5217 add header in tex formatter 2022-02-06 18:51:49 +01:00
1094fce0a4 implement general interface for tex formatters 2022-02-06 18:34:39 +01:00
9ae70fae13 add LineStream class 2022-02-06 18:12:30 +01:00
12de6e43cb start tex formatter 2022-02-06 15:11:34 +01:00