change \lecture command and corresponding regex

This commit is contained in:
Maximilian Keßler 2021-09-16 22:55:37 +02:00
parent 4e71f12254
commit 758ace4ffe

View file

@ -19,6 +19,6 @@ DEFAULT_MASTER_FILE_NAME = 'master.tex'
MAX_LEN = 40 MAX_LEN = 40
LECTURE_START_MARKER = 'start lectures' LECTURE_START_MARKER = 'start lectures'
LECTURE_END_MARKER = 'end lectures' LECTURE_END_MARKER = 'end lectures'
DEFAULT_NEW_LECTURE_HEADER = r'\lecture{{{number}}}{{{date}}}{{{title}}}' DEFAULT_NEW_LECTURE_HEADER = r'\lecture[]{{{date}}}{{{title}}}'
DEFAULT_LECTURE_SEARCH_REGEX = r'lecture{(.*?)}{(.*?)}{(.*)}' DEFAULT_LECTURE_SEARCH_REGEX = r'lecture.*({\d*})?{(.*?)}{(.*)}'
DEFAULT_IMPORT_INDENTATION = 4 DEFAULT_IMPORT_INDENTATION = 4