Commit Graph

70 Commits

Author SHA1 Message Date
Maximilian Keßler
96a3650663 add script to parse labels from aux files that can be called from within vim 2021-09-19 12:30:16 +02:00
Maximilian Keßler
f82b732d38 fix bug when creating new lectures 2021-09-18 16:25:07 +02:00
Maximilian Keßler
ab9e4e665f add fallback texinputs variable 2021-09-18 14:49:40 +02:00
Maximilian Keßler
ced953bb82 add method to open a terminal in the current course 2021-09-18 14:43:18 +02:00
Maximilian Keßler
6e9f6c0c06 add method to generate lecture environment, adapt all edit methods to new editing 2021-09-18 14:39:05 +02:00
Maximilian Keßler
7728ec97ca take environment directly in edit method 2021-09-18 14:38:20 +02:00
Maximilian Keßler
32487937a9 set texinputs variable if editing master file 2021-09-18 14:17:58 +02:00
Maximilian Keßler
b1504fe2ea save texinputs variable 2021-09-18 14:17:42 +02:00
Maximilian Keßler
19cd1ef603 fix some stuff 2021-09-18 14:17:21 +02:00
Maximilian Keßler
d028139860 provide optional arguments to set the path root and thetexinputs variable in edit command 2021-09-18 14:16:53 +02:00
Maximilian Keßler
49689e4dd0 add shortcut keys for editing master and / or full file 2021-09-18 13:43:19 +02:00
Maximilian Keßler
86bb3babe5 return resultcode of subprocess 2021-09-18 13:43:04 +02:00
Maximilian Keßler
adc8b84f3f switch back to 4th semester 2021-09-17 14:13:30 +02:00
Maximilian Keßler
fc9978b484 ignore lines not fitting the regex when parsing lines from .cnt file 2021-09-17 14:12:46 +02:00
Maximilian Keßler
3407f03091 add config entry for latex aux file extension 2021-09-17 14:11:46 +02:00
Maximilian Keßler
c46cb220ae change entry for from 'url' to 'webpage' 2021-09-17 13:07:20 +02:00
Maximilian Keßler
7f20952fb4 add open.py file to easily open course-related stuff 2021-09-17 13:07:20 +02:00
Maximilian Keßler
9b528a91a2 add Links class to courses to manage course links 2021-09-17 13:07:20 +02:00
Maximilian Keßler
2f646b0780 add some more type hints. add methods to open master or full pdf file 2021-09-17 13:07:20 +02:00
Maximilian Keßler
c1e2fe5500 move scheduler cycle delay into config file. reformat config file 2021-09-17 12:20:08 +02:00
Maximilian Keßler
2f967f57cc make timezone a setting in config.py. Translate countdown file to use english for specifying next lectures etc. 2021-09-17 12:04:33 +02:00
Maximilian Keßler
fc7c77e5d7 optimize imports 2021-09-17 10:49:48 +02:00
Maximilian Keßler
d952a22591 remove deprecated default master file name setting from config file 2021-09-17 10:47:02 +02:00
Maximilian Keßler
78ff6c693a move default new lecture title into config 2021-09-17 10:45:14 +02:00
Maximilian Keßler
10a8a42b84 some more error handling when parsing lectures for their title / date 2021-09-17 10:43:14 +02:00
Maximilian Keßler
602f6e4323 add fallback.yaml to git. Get rid of nasty error handling in Notes class since now we have a fallback file 2021-09-17 10:37:47 +02:00
Maximilian Keßler
5a2fa4494e provide default info file and merge found info files with default info.yaml file 2021-09-17 10:32:28 +02:00
Maximilian Keßler
56637a3b16 add util method to merge dictionaries recursively with priority 2021-09-17 10:22:04 +02:00
Maximilian Keßler
758ace4ffe change \lecture command and corresponding regex 2021-09-17 09:54:31 +02:00
Maximilian Keßler
4e71f12254 handle invalid lecture file format with invalid title 2021-09-17 09:53:26 +02:00
Maximilian Keßler
12b1632f8e add edit file for central place of edit method. add methods to edit master file or full file 2021-09-17 09:53:18 +02:00
Maximilian Keßler
9f498a7c61 add config parameter for indentation 2021-09-17 09:51:45 +02:00
Maximilian Keßler
1b82dfd627 make some files non-executable 2021-09-17 09:50:48 +02:00
Maximilian Keßler
239899b75a set counters in master file with aux file from full file 2021-09-17 09:50:39 +02:00
Maximilian Keßler
b98b23457b add file to parse counters of tex auxiliary file 2021-09-17 09:50:23 +02:00
Maximilian Keßler
7c350fcb85 move regex for parsing lecture title into config file 2021-09-16 22:46:31 +02:00
Maximilian Keßler
a49f49a60b include relative path to master file into each new lecture for vimtex 2021-09-16 20:30:53 +02:00
Maximilian Keßler
01230ea178 move get week method into utils file 2021-09-16 20:07:18 +02:00
Maximilian Keßler
d0b58a5a79 move lecture start / end markers and new lecture header to config file 2021-09-16 20:03:41 +02:00
Maximilian Keßler
99f955246b add support for full.tex file importing all lecture notes 2021-09-16 19:35:08 +02:00
Maximilian Keßler
187e6ab3b8 intersect with all numbers at right position in code 2021-09-16 19:18:30 +02:00
Maximilian Keßler
44b299ad70 allow lecture view specification to be a comma separated list 2021-09-16 19:10:04 +02:00
Maximilian Keßler
81b46dd01b use import command in master file if lectures are in other directory 2021-09-16 18:55:24 +02:00
Maximilian Keßler
fabcf60219 make file executable 2021-09-16 18:54:30 +02:00
Maximilian Keßler
885f47efa0 ensure lecture directory exists 2021-09-16 18:33:33 +02:00
Maximilian Keßler
bc166396c7 fix spacing 2021-09-16 18:30:54 +02:00
Maximilian Keßler
955b8031b5 ensure directory for notes exists 2021-09-16 18:30:43 +02:00
Maximilian Keßler
3ce93a17eb check if courseignore file is present first. handle directories without an info file and produce warning in this case 2021-09-16 18:18:51 +02:00
Maximilian Keßler
51b5c5dd00 rename script into notes 2021-09-16 18:02:36 +02:00
Maximilian Keßler
b3cae8ff05 add python script file to add a new lecture 2021-09-16 15:42:14 +02:00