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
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
1b82dfd627
make some files non-executable
2021-09-17 09:50:48 +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
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
885f47efa0
ensure lecture directory exists
2021-09-16 18:33:33 +02:00
Maximilian Keßler
13b4852051
introduce script class
...
A course now does not handle its lectures directly, but has a
'script' property. The script essentially works as the course before,
except that some methods have been moved from the lectures class to the
script class as well.
This ensures further modulation of the course class, to introduce e.g.
an exercise class in the future that a course can also have.
Additionally, with this come further configurations in the info.yaml
file so that the script can have a different relative path from the
course, and the lectures a relative path from the script.
2021-09-16 14:59:00 +02:00
Maximilian Keßler
b8c2f236a4
refactor files
2021-09-16 13:28:51 +02:00
Maximilian Keßler
cd28d026fe
introduce yaml config parameter for master file name
...
Specify a line master_file: 'name.tex' in your yaml.info in some
course directory to change the name of the master file that is used
2021-09-16 13:08:05 +02:00
Maximilian Keßler
a9a4b15481
introduce setting for locale in lectures.py - and set it to german
2021-09-16 12:05:44 +02:00
Gilles Castel
c45e17e531
Improve LaTeX compilation code
2020-05-19 17:52:06 +02:00
Gilles Castel
f7af1b4863
Remove unused code from lectures.py
2020-05-19 17:51:51 +02:00
Gilles Castel
e612b471a5
Initial commit
2019-09-15 20:42:11 +02:00