diff --git a/PyTeX/format/constants.py b/PyTeX/format/constants.py index e7f1a41..fdd8f56 100644 --- a/PyTeX/format/constants.py +++ b/PyTeX/format/constants.py @@ -3,3 +3,4 @@ INFILE_CONFIG_END_CONFIG = 'endconfig' PYTEX_CONFIG_FILE_EXTENSION = '.conf' DICTIONARY_KEY_COLUMN_NAME = 'key' DICTIONARY_NAMING_PATTERN = 'translator-{dict_name}-dictionary-{language}.dict' +FORMATTER_PREFIX = '!' diff --git a/PyTeX/format/formatting_config.py b/PyTeX/format/formatting_config.py index b547a8a..eef725e 100644 --- a/PyTeX/format/formatting_config.py +++ b/PyTeX/format/formatting_config.py @@ -31,8 +31,6 @@ class FormattingConfig(Config): self._include_ins: Optional[bool] = True self._use_docstrip_guards: Optional[List[str]] = None - self._escape_character: Optional[str] = None - @classmethod def from_yaml(cls, yaml): pass @@ -136,13 +134,6 @@ class FormattingConfig(Config): else: return self._version - @property - def extra_header_file(self) -> GenericText: - if self._extra_header_file is None: - return GenericText([]) - else: - return self._extra_header_file - @property def pytex_version(self) -> Optional[GitVersionInfo]: return self._pytex_version @@ -189,13 +180,6 @@ class FormattingConfig(Config): else: return self._use_docstrip_guards - @property - def escape_character(self) -> str: - if self._escape_character is None: - return '!' - else: - return self._escape_character - @property def description(self) -> str: if self._description is None: