From c73cbfffcf42dc2479bb5b176b6a97c6aca19f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Thu, 17 Feb 2022 23:50:13 +0100 Subject: [PATCH] fix wrong guard --- PyTeX/format/dtx_formatter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PyTeX/format/dtx_formatter.py b/PyTeX/format/dtx_formatter.py index 0c0adda..0063925 100644 --- a/PyTeX/format/dtx_formatter.py +++ b/PyTeX/format/dtx_formatter.py @@ -57,11 +57,11 @@ class DTXFormatter(TexFormatter): def format_post_header(self) -> None: if self.current_file_name().endswith('.dtx'): - self._shipout_line('%') + self._shipout_line('%<*internal>') self._shipout_line( self._get_internal_file(comment=True) ) - self._shipout_line('%<*internal>') + self._shipout_line('%') self._shipout_line('%') self._shipout_line( '%<{outtype}>{provides}'.format(