From 80365139e13b5ecb1f45687300f6b72ac764e8ef Mon Sep 17 00:00:00 2001 From: Mikan <72257910+Mikan-DS@users.noreply.github.com> Date: Sat, 21 Nov 2026 23:02:29 +0400 Subject: [PATCH] Update GOST theme and expand .gitignore for temp files --- .gitignore | 13 +++++++++++++ resources/themes/gost.yaml | 21 +++++++++++++-------- 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index c459a24..54d7877 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,15 @@ /inputs/ /outputs/ +__pycache__/ +*.py[cod] +*$py.class +.idea/ +.pytest_cache/ +.venv/ +venv/ +ENV/ +env/ +*.swp +*.swo +.DS_Store + diff --git a/resources/themes/gost.yaml b/resources/themes/gost.yaml index 0769e12..2d0f18c 100644 --- a/resources/themes/gost.yaml +++ b/resources/themes/gost.yaml @@ -14,17 +14,20 @@ styles: line_spacing: 1.5 first_line_indent: 12.5 # mm space_after: 0 + space_before: 0 + alignment: JUSTIFY Heading 1: font: name: "Times New Roman" - size: 14 + size: 16 bold: true color: "000000" # черный paragraph: + first_line_indent: 0 alignment: center - space_before: 12 - space_after: 6 + space_after: 0 + space_before: 0 keep_with_next: true Heading 2: @@ -34,9 +37,10 @@ styles: bold: true color: "000000" paragraph: + first_line_indent: 0 alignment: center - space_before: 10 - space_after: 4 + space_after: 0 + space_before: 0 keep_with_next: true Heading 3: @@ -46,9 +50,10 @@ styles: bold: true color: "000000" paragraph: + first_line_indent: 0 alignment: center - space_before: 8 - space_after: 4 + space_after: 0 + space_before: 0 keep_with_next: true List Bullet: @@ -72,7 +77,7 @@ styles: bold: false color: "000000" paragraph: - alignment: center + alignment: right space_before: 4 space_after: 4