From 0eb3cf0deffe1ec1750fb0597242f70cb8a6f68c Mon Sep 17 00:00:00 2001 From: Nyx102 <168144704+Nyx102@users.noreply.github.com> Date: Sun, 8 Sep 2024 15:39:25 -0400 Subject: [PATCH 1/2] Use padded volume numbers --- .github/workflows/black.yml | 10 +++++----- .github/workflows/test-generation.yml | 8 ++++---- README.md | 12 ++++++------ Scripts/output_epub.py | 2 +- Scripts/output_tex.py | 2 +- Scripts/test.py | 2 +- .../{Volume 1 => Volume_01}/Images/Chapter/1.png | Bin .../{Volume 1 => Volume_01}/Images/Chapter/2.png | Bin .../{Volume 1 => Volume_01}/Images/Chapter/3.png | Bin .../{Volume 1 => Volume_01}/Images/Chapter/4.png | Bin .../{Volume 1 => Volume_01}/Images/Chapter/5.png | Bin .../{Volume 1 => Volume_01}/Images/Insert/cover.png | Bin .../Images/Insert/insert1.png | Bin .../Images/Insert/insert2.png | Bin .../Images/Insert/insert3.png | Bin .../Images/Insert/insert4.png | Bin .../Images/Insert/insert5.png | Bin .../Images/Insert/titlepage.png | Bin .../{Volume 1 => Volume_01}/Images/Insert/toc.png | Bin Volumes/{Volume 1 => Volume_01}/Images/config.yaml | 0 Volumes/{Volume 1 => Volume_01}/Text/1.md | 0 Volumes/{Volume 1 => Volume_01}/Text/2.1.md | 0 Volumes/{Volume 1 => Volume_01}/Text/2.2.md | 0 Volumes/{Volume 1 => Volume_01}/Text/2.3.md | 0 Volumes/{Volume 1 => Volume_01}/Text/2.4.md | 0 Volumes/{Volume 1 => Volume_01}/Text/3.1.md | 0 Volumes/{Volume 1 => Volume_01}/Text/3.2.md | 0 Volumes/{Volume 1 => Volume_01}/Text/3.3.md | 0 Volumes/{Volume 1 => Volume_01}/Text/3.4.md | 0 Volumes/{Volume 1 => Volume_01}/Text/4.1.md | 0 Volumes/{Volume 1 => Volume_01}/Text/4.2.md | 0 Volumes/{Volume 1 => Volume_01}/Text/4.3.md | 0 Volumes/{Volume 1 => Volume_01}/Text/5.md | 0 Volumes/{Volume 1 => Volume_01}/config.yaml | 0 .../{Volume 2 => Volume_02}/Images/Chapter/1.png | Bin .../{Volume 2 => Volume_02}/Images/Chapter/2.png | Bin .../{Volume 2 => Volume_02}/Images/Chapter/3.png | Bin .../{Volume 2 => Volume_02}/Images/Chapter/4.png | Bin .../{Volume 2 => Volume_02}/Images/Chapter/5.png | Bin .../{Volume 2 => Volume_02}/Images/Insert/cover.png | Bin .../Images/Insert/insert1.png | Bin .../Images/Insert/insert2.png | Bin .../Images/Insert/insert3.png | Bin .../Images/Insert/insert4.png | Bin .../Images/Insert/titlepage.png | Bin .../{Volume 2 => Volume_02}/Images/Insert/toc.png | Bin Volumes/{Volume 2 => Volume_02}/Images/config.yaml | 0 Volumes/{Volume 2 => Volume_02}/Text/1.md | 0 Volumes/{Volume 2 => Volume_02}/Text/2.1.md | 0 Volumes/{Volume 2 => Volume_02}/Text/2.2.md | 0 Volumes/{Volume 2 => Volume_02}/Text/2.3.md | 0 Volumes/{Volume 2 => Volume_02}/Text/2.4.md | 0 Volumes/{Volume 2 => Volume_02}/Text/2.5.md | 0 Volumes/{Volume 2 => Volume_02}/Text/3.1.md | 0 Volumes/{Volume 2 => Volume_02}/Text/3.2.md | 0 Volumes/{Volume 2 => Volume_02}/Text/3.3.md | 0 Volumes/{Volume 2 => Volume_02}/Text/3.4.md | 0 Volumes/{Volume 2 => Volume_02}/Text/4.1.md | 0 Volumes/{Volume 2 => Volume_02}/Text/4.2.md | 0 Volumes/{Volume 2 => Volume_02}/Text/4.3.md | 0 Volumes/{Volume 2 => Volume_02}/Text/4.4.md | 0 Volumes/{Volume 2 => Volume_02}/Text/4.5.md | 0 Volumes/{Volume 2 => Volume_02}/Text/5.md | 0 Volumes/{Volume 2 => Volume_02}/config.yaml | 0 .../{Volume 3 => Volume_03}/Images/Chapter/1.png | Bin .../{Volume 3 => Volume_03}/Images/Chapter/2.png | Bin .../{Volume 3 => Volume_03}/Images/Chapter/3.png | Bin .../{Volume 3 => Volume_03}/Images/Chapter/4.png | Bin .../{Volume 3 => Volume_03}/Images/Chapter/5.png | Bin .../{Volume 3 => Volume_03}/Images/Insert/cover.png | Bin .../Images/Insert/filler1.png | Bin .../Images/Insert/filler2.png | Bin .../Images/Insert/insert1.png | Bin .../Images/Insert/insert2.png | Bin .../Images/Insert/titlepage.png | Bin .../{Volume 3 => Volume_03}/Images/Insert/toc.png | Bin Volumes/{Volume 3 => Volume_03}/Images/config.yaml | 0 Volumes/{Volume 3 => Volume_03}/Text/1.md | 0 Volumes/{Volume 3 => Volume_03}/Text/2.1.md | 0 Volumes/{Volume 3 => Volume_03}/Text/2.2.md | 0 Volumes/{Volume 3 => Volume_03}/Text/2.3.md | 0 Volumes/{Volume 3 => Volume_03}/Text/2.4.md | 0 Volumes/{Volume 3 => Volume_03}/Text/3.1.md | 0 Volumes/{Volume 3 => Volume_03}/Text/3.2.md | 0 Volumes/{Volume 3 => Volume_03}/Text/3.3.md | 0 Volumes/{Volume 3 => Volume_03}/Text/3.4.md | 0 Volumes/{Volume 3 => Volume_03}/Text/3.5.md | 0 Volumes/{Volume 3 => Volume_03}/Text/3.6.md | 0 Volumes/{Volume 3 => Volume_03}/Text/3.7.md | 0 Volumes/{Volume 3 => Volume_03}/Text/4.1.md | 0 Volumes/{Volume 3 => Volume_03}/Text/4.2.md | 0 Volumes/{Volume 3 => Volume_03}/Text/4.3.md | 0 Volumes/{Volume 3 => Volume_03}/Text/4.4.md | 0 Volumes/{Volume 3 => Volume_03}/Text/4.5.md | 0 Volumes/{Volume 3 => Volume_03}/Text/4.6.md | 0 Volumes/{Volume 3 => Volume_03}/Text/5.md | 0 Volumes/{Volume 3 => Volume_03}/config.yaml | 0 97 files changed, 18 insertions(+), 18 deletions(-) rename Volumes/{Volume 1 => Volume_01}/Images/Chapter/1.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Chapter/2.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Chapter/3.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Chapter/4.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Chapter/5.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Insert/cover.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Insert/insert1.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Insert/insert2.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Insert/insert3.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Insert/insert4.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Insert/insert5.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Insert/titlepage.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/Insert/toc.png (100%) rename Volumes/{Volume 1 => Volume_01}/Images/config.yaml (100%) rename Volumes/{Volume 1 => Volume_01}/Text/1.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/2.1.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/2.2.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/2.3.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/2.4.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/3.1.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/3.2.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/3.3.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/3.4.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/4.1.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/4.2.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/4.3.md (100%) rename Volumes/{Volume 1 => Volume_01}/Text/5.md (100%) rename Volumes/{Volume 1 => Volume_01}/config.yaml (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Chapter/1.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Chapter/2.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Chapter/3.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Chapter/4.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Chapter/5.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Insert/cover.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Insert/insert1.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Insert/insert2.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Insert/insert3.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Insert/insert4.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Insert/titlepage.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/Insert/toc.png (100%) rename Volumes/{Volume 2 => Volume_02}/Images/config.yaml (100%) rename Volumes/{Volume 2 => Volume_02}/Text/1.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/2.1.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/2.2.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/2.3.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/2.4.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/2.5.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/3.1.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/3.2.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/3.3.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/3.4.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/4.1.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/4.2.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/4.3.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/4.4.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/4.5.md (100%) rename Volumes/{Volume 2 => Volume_02}/Text/5.md (100%) rename Volumes/{Volume 2 => Volume_02}/config.yaml (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Chapter/1.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Chapter/2.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Chapter/3.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Chapter/4.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Chapter/5.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Insert/cover.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Insert/filler1.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Insert/filler2.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Insert/insert1.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Insert/insert2.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Insert/titlepage.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/Insert/toc.png (100%) rename Volumes/{Volume 3 => Volume_03}/Images/config.yaml (100%) rename Volumes/{Volume 3 => Volume_03}/Text/1.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/2.1.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/2.2.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/2.3.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/2.4.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/3.1.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/3.2.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/3.3.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/3.4.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/3.5.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/3.6.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/3.7.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/4.1.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/4.2.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/4.3.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/4.4.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/4.5.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/4.6.md (100%) rename Volumes/{Volume 3 => Volume_03}/Text/5.md (100%) rename Volumes/{Volume 3 => Volume_03}/config.yaml (100%) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 29e4e09..2ed9851 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -4,11 +4,11 @@ on: workflow_dispatch: push: branches: - - 'main' + - "main" paths: - - '**.py' - - '.github/workflows/black.yml' - - 'requirements.txt' + - "**.py" + - ".github/workflows/black.yml" + - "requirements.txt" concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -34,4 +34,4 @@ jobs: with: commit_message: Apply formatting changes skip_fetch: true - skip_checkout: true \ No newline at end of file + skip_checkout: true diff --git a/.github/workflows/test-generation.yml b/.github/workflows/test-generation.yml index d7d3073..e09d300 100644 --- a/.github/workflows/test-generation.yml +++ b/.github/workflows/test-generation.yml @@ -36,7 +36,7 @@ jobs: echo "PADDED_VOLUME=${padded_volume}" >> $GITHUB_ENV echo "Generating PDF for Volume ${volume}" - python "Scripts/output_tex.py" "Volumes/Volume ${volume}" "Output_v${padded_volume}" -p + python "Scripts/output_tex.py" "Volumes/Volume_${padded_volume}" "Output_v${padded_volume}" -p shell: bash - name: Generate EPUB run: | @@ -45,15 +45,15 @@ jobs: echo "PADDED_VOLUME=${padded_volume}" >> $GITHUB_ENV echo "Generating EPUB for Volume ${volume}" - python "Scripts/output_epub.py" "Volumes/Volume ${volume}" "Output_v${padded_volume}" + python "Scripts/output_epub.py" "Volumes/Volume_${padded_volume}" "Output_v${padded_volume}" shell: bash - name: Upload PDFs uses: actions/upload-artifact@v4 with: name: WorldEnd2 Vol. ${{ matrix.volume }}.pdf - path: Output_v${{ env.PADDED_VOLUME }}/WorldEnd2 v${{ env.PADDED_VOLUME }}.pdf + path: Output_v${{ env.PADDED_VOLUME }}/WorldEnd2_v${{ env.PADDED_VOLUME }}.pdf - name: Upload EPUBs uses: actions/upload-artifact@v4 with: name: WorldEnd2 Vol. ${{ matrix.volume }}.epub - path: Output_v${{ env.PADDED_VOLUME }}/WorldEnd2 v${{ env.PADDED_VOLUME }}.epub + path: Output_v${{ env.PADDED_VOLUME }}/WorldEnd2_v${{ env.PADDED_VOLUME }}.epub diff --git a/README.md b/README.md index 6ec533f..b10c91b 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,11 @@ You should have the following: Once you have completed all the prerequisites, you can run `Scripts/output_tex.py`: ```sh -python ./Scripts/output_tex.py "./Volumes/Volume 3/" "./Output/" +python ./Scripts/output_tex.py "./Volumes/Volume_03/" "./Output_v03/" ``` -- The first argument (`"./Volumes/Volume 3/"`) specifies the path to the directory containing the volume. -- The second argument (`"./Output/"`) is the location for the output file and any temporary working files. +- The first argument (`"./Volumes/Volume_03/"`) specifies the path to the directory containing the volume. +- The second argument (`"./Output_v03/"`) is the location for the output file and any temporary working files. ### Printing If you want to generate the PDF for printing in a perfect-bound book, there are three related flags: @@ -35,11 +35,11 @@ It is possible to tweak the print options alongside `--print-mode` by appending To export to EPUB, run `Scripts/output_epub.py`: ``` sh -python ./Scripts/output_epub.py "./Volumes/Volume 3/" "./Output/" +python ./Scripts/output_epub.py "./Volumes/Volume_03/" "./Output_v03/" ``` -- The first argument (`"./Volumes/Volume 3/"`) specifies the path to the directory containing the volume. -- The second argument (`"./Output/"`) is the location for the output file and any temporary working files. +- The first argument (`"./Volumes/Volume_03/"`) specifies the path to the directory containing the volume. +- The second argument (`"./Output_v03/"`) is the location for the output file and any temporary working files. # Changes from Orlandri Translation - Use Yen Press names diff --git a/Scripts/output_epub.py b/Scripts/output_epub.py index 164d561..98c7302 100644 --- a/Scripts/output_epub.py +++ b/Scripts/output_epub.py @@ -59,7 +59,7 @@ def convert_book( if os.path.exists(work_dir): shutil.rmtree(work_dir) shutil.copytree(common_dir() / "ePub", work_dir) - output_stem = f"WorldEnd2 v{book_config.volume:02}" + output_stem = f"WorldEnd2_v{book_config.volume:02}" output_file = output_dir / (output_stem + ".epub") process_images(image_config, images_output_directory, book_config.isbn) diff --git a/Scripts/output_tex.py b/Scripts/output_tex.py index 32f30de..f0ea8a0 100644 --- a/Scripts/output_tex.py +++ b/Scripts/output_tex.py @@ -294,7 +294,7 @@ def convert_book( intermediate_output_directory = work_dir / "CompilationDir" os.makedirs(intermediate_output_directory, exist_ok=True) - output_stem = f"WorldEnd2 v{book_config.volume:02}" + output_stem = f"WorldEnd2_v{book_config.volume:02}" main_tex_file = common_dir() / "TeX" / "WorldEnd2_Common.tex" tex_inputs = env_path_prepend(os.environ.get("TEXINPUTS"), work_dir, ".") tex_inputs_no_images = env_path_prepend( diff --git a/Scripts/test.py b/Scripts/test.py index acec882..5115e99 100644 --- a/Scripts/test.py +++ b/Scripts/test.py @@ -1,3 +1,3 @@ from Lib.config import parse_book_config -parse_book_config("Volumes/Volume 3") +parse_book_config("Volumes/Volume_03") diff --git a/Volumes/Volume 1/Images/Chapter/1.png b/Volumes/Volume_01/Images/Chapter/1.png similarity index 100% rename from Volumes/Volume 1/Images/Chapter/1.png rename to Volumes/Volume_01/Images/Chapter/1.png diff --git a/Volumes/Volume 1/Images/Chapter/2.png b/Volumes/Volume_01/Images/Chapter/2.png similarity index 100% rename from Volumes/Volume 1/Images/Chapter/2.png rename to Volumes/Volume_01/Images/Chapter/2.png diff --git a/Volumes/Volume 1/Images/Chapter/3.png b/Volumes/Volume_01/Images/Chapter/3.png similarity index 100% rename from Volumes/Volume 1/Images/Chapter/3.png rename to Volumes/Volume_01/Images/Chapter/3.png diff --git a/Volumes/Volume 1/Images/Chapter/4.png b/Volumes/Volume_01/Images/Chapter/4.png similarity index 100% rename from Volumes/Volume 1/Images/Chapter/4.png rename to Volumes/Volume_01/Images/Chapter/4.png diff --git a/Volumes/Volume 1/Images/Chapter/5.png b/Volumes/Volume_01/Images/Chapter/5.png similarity index 100% rename from Volumes/Volume 1/Images/Chapter/5.png rename to Volumes/Volume_01/Images/Chapter/5.png diff --git a/Volumes/Volume 1/Images/Insert/cover.png b/Volumes/Volume_01/Images/Insert/cover.png similarity index 100% rename from Volumes/Volume 1/Images/Insert/cover.png rename to Volumes/Volume_01/Images/Insert/cover.png diff --git a/Volumes/Volume 1/Images/Insert/insert1.png b/Volumes/Volume_01/Images/Insert/insert1.png similarity index 100% rename from Volumes/Volume 1/Images/Insert/insert1.png rename to Volumes/Volume_01/Images/Insert/insert1.png diff --git a/Volumes/Volume 1/Images/Insert/insert2.png b/Volumes/Volume_01/Images/Insert/insert2.png similarity index 100% rename from Volumes/Volume 1/Images/Insert/insert2.png rename to Volumes/Volume_01/Images/Insert/insert2.png diff --git a/Volumes/Volume 1/Images/Insert/insert3.png b/Volumes/Volume_01/Images/Insert/insert3.png similarity index 100% rename from Volumes/Volume 1/Images/Insert/insert3.png rename to Volumes/Volume_01/Images/Insert/insert3.png diff --git a/Volumes/Volume 1/Images/Insert/insert4.png b/Volumes/Volume_01/Images/Insert/insert4.png similarity index 100% rename from Volumes/Volume 1/Images/Insert/insert4.png rename to Volumes/Volume_01/Images/Insert/insert4.png diff --git a/Volumes/Volume 1/Images/Insert/insert5.png b/Volumes/Volume_01/Images/Insert/insert5.png similarity index 100% rename from Volumes/Volume 1/Images/Insert/insert5.png rename to Volumes/Volume_01/Images/Insert/insert5.png diff --git a/Volumes/Volume 1/Images/Insert/titlepage.png b/Volumes/Volume_01/Images/Insert/titlepage.png similarity index 100% rename from Volumes/Volume 1/Images/Insert/titlepage.png rename to Volumes/Volume_01/Images/Insert/titlepage.png diff --git a/Volumes/Volume 1/Images/Insert/toc.png b/Volumes/Volume_01/Images/Insert/toc.png similarity index 100% rename from Volumes/Volume 1/Images/Insert/toc.png rename to Volumes/Volume_01/Images/Insert/toc.png diff --git a/Volumes/Volume 1/Images/config.yaml b/Volumes/Volume_01/Images/config.yaml similarity index 100% rename from Volumes/Volume 1/Images/config.yaml rename to Volumes/Volume_01/Images/config.yaml diff --git a/Volumes/Volume 1/Text/1.md b/Volumes/Volume_01/Text/1.md similarity index 100% rename from Volumes/Volume 1/Text/1.md rename to Volumes/Volume_01/Text/1.md diff --git a/Volumes/Volume 1/Text/2.1.md b/Volumes/Volume_01/Text/2.1.md similarity index 100% rename from Volumes/Volume 1/Text/2.1.md rename to Volumes/Volume_01/Text/2.1.md diff --git a/Volumes/Volume 1/Text/2.2.md b/Volumes/Volume_01/Text/2.2.md similarity index 100% rename from Volumes/Volume 1/Text/2.2.md rename to Volumes/Volume_01/Text/2.2.md diff --git a/Volumes/Volume 1/Text/2.3.md b/Volumes/Volume_01/Text/2.3.md similarity index 100% rename from Volumes/Volume 1/Text/2.3.md rename to Volumes/Volume_01/Text/2.3.md diff --git a/Volumes/Volume 1/Text/2.4.md b/Volumes/Volume_01/Text/2.4.md similarity index 100% rename from Volumes/Volume 1/Text/2.4.md rename to Volumes/Volume_01/Text/2.4.md diff --git a/Volumes/Volume 1/Text/3.1.md b/Volumes/Volume_01/Text/3.1.md similarity index 100% rename from Volumes/Volume 1/Text/3.1.md rename to Volumes/Volume_01/Text/3.1.md diff --git a/Volumes/Volume 1/Text/3.2.md b/Volumes/Volume_01/Text/3.2.md similarity index 100% rename from Volumes/Volume 1/Text/3.2.md rename to Volumes/Volume_01/Text/3.2.md diff --git a/Volumes/Volume 1/Text/3.3.md b/Volumes/Volume_01/Text/3.3.md similarity index 100% rename from Volumes/Volume 1/Text/3.3.md rename to Volumes/Volume_01/Text/3.3.md diff --git a/Volumes/Volume 1/Text/3.4.md b/Volumes/Volume_01/Text/3.4.md similarity index 100% rename from Volumes/Volume 1/Text/3.4.md rename to Volumes/Volume_01/Text/3.4.md diff --git a/Volumes/Volume 1/Text/4.1.md b/Volumes/Volume_01/Text/4.1.md similarity index 100% rename from Volumes/Volume 1/Text/4.1.md rename to Volumes/Volume_01/Text/4.1.md diff --git a/Volumes/Volume 1/Text/4.2.md b/Volumes/Volume_01/Text/4.2.md similarity index 100% rename from Volumes/Volume 1/Text/4.2.md rename to Volumes/Volume_01/Text/4.2.md diff --git a/Volumes/Volume 1/Text/4.3.md b/Volumes/Volume_01/Text/4.3.md similarity index 100% rename from Volumes/Volume 1/Text/4.3.md rename to Volumes/Volume_01/Text/4.3.md diff --git a/Volumes/Volume 1/Text/5.md b/Volumes/Volume_01/Text/5.md similarity index 100% rename from Volumes/Volume 1/Text/5.md rename to Volumes/Volume_01/Text/5.md diff --git a/Volumes/Volume 1/config.yaml b/Volumes/Volume_01/config.yaml similarity index 100% rename from Volumes/Volume 1/config.yaml rename to Volumes/Volume_01/config.yaml diff --git a/Volumes/Volume 2/Images/Chapter/1.png b/Volumes/Volume_02/Images/Chapter/1.png similarity index 100% rename from Volumes/Volume 2/Images/Chapter/1.png rename to Volumes/Volume_02/Images/Chapter/1.png diff --git a/Volumes/Volume 2/Images/Chapter/2.png b/Volumes/Volume_02/Images/Chapter/2.png similarity index 100% rename from Volumes/Volume 2/Images/Chapter/2.png rename to Volumes/Volume_02/Images/Chapter/2.png diff --git a/Volumes/Volume 2/Images/Chapter/3.png b/Volumes/Volume_02/Images/Chapter/3.png similarity index 100% rename from Volumes/Volume 2/Images/Chapter/3.png rename to Volumes/Volume_02/Images/Chapter/3.png diff --git a/Volumes/Volume 2/Images/Chapter/4.png b/Volumes/Volume_02/Images/Chapter/4.png similarity index 100% rename from Volumes/Volume 2/Images/Chapter/4.png rename to Volumes/Volume_02/Images/Chapter/4.png diff --git a/Volumes/Volume 2/Images/Chapter/5.png b/Volumes/Volume_02/Images/Chapter/5.png similarity index 100% rename from Volumes/Volume 2/Images/Chapter/5.png rename to Volumes/Volume_02/Images/Chapter/5.png diff --git a/Volumes/Volume 2/Images/Insert/cover.png b/Volumes/Volume_02/Images/Insert/cover.png similarity index 100% rename from Volumes/Volume 2/Images/Insert/cover.png rename to Volumes/Volume_02/Images/Insert/cover.png diff --git a/Volumes/Volume 2/Images/Insert/insert1.png b/Volumes/Volume_02/Images/Insert/insert1.png similarity index 100% rename from Volumes/Volume 2/Images/Insert/insert1.png rename to Volumes/Volume_02/Images/Insert/insert1.png diff --git a/Volumes/Volume 2/Images/Insert/insert2.png b/Volumes/Volume_02/Images/Insert/insert2.png similarity index 100% rename from Volumes/Volume 2/Images/Insert/insert2.png rename to Volumes/Volume_02/Images/Insert/insert2.png diff --git a/Volumes/Volume 2/Images/Insert/insert3.png b/Volumes/Volume_02/Images/Insert/insert3.png similarity index 100% rename from Volumes/Volume 2/Images/Insert/insert3.png rename to Volumes/Volume_02/Images/Insert/insert3.png diff --git a/Volumes/Volume 2/Images/Insert/insert4.png b/Volumes/Volume_02/Images/Insert/insert4.png similarity index 100% rename from Volumes/Volume 2/Images/Insert/insert4.png rename to Volumes/Volume_02/Images/Insert/insert4.png diff --git a/Volumes/Volume 2/Images/Insert/titlepage.png b/Volumes/Volume_02/Images/Insert/titlepage.png similarity index 100% rename from Volumes/Volume 2/Images/Insert/titlepage.png rename to Volumes/Volume_02/Images/Insert/titlepage.png diff --git a/Volumes/Volume 2/Images/Insert/toc.png b/Volumes/Volume_02/Images/Insert/toc.png similarity index 100% rename from Volumes/Volume 2/Images/Insert/toc.png rename to Volumes/Volume_02/Images/Insert/toc.png diff --git a/Volumes/Volume 2/Images/config.yaml b/Volumes/Volume_02/Images/config.yaml similarity index 100% rename from Volumes/Volume 2/Images/config.yaml rename to Volumes/Volume_02/Images/config.yaml diff --git a/Volumes/Volume 2/Text/1.md b/Volumes/Volume_02/Text/1.md similarity index 100% rename from Volumes/Volume 2/Text/1.md rename to Volumes/Volume_02/Text/1.md diff --git a/Volumes/Volume 2/Text/2.1.md b/Volumes/Volume_02/Text/2.1.md similarity index 100% rename from Volumes/Volume 2/Text/2.1.md rename to Volumes/Volume_02/Text/2.1.md diff --git a/Volumes/Volume 2/Text/2.2.md b/Volumes/Volume_02/Text/2.2.md similarity index 100% rename from Volumes/Volume 2/Text/2.2.md rename to Volumes/Volume_02/Text/2.2.md diff --git a/Volumes/Volume 2/Text/2.3.md b/Volumes/Volume_02/Text/2.3.md similarity index 100% rename from Volumes/Volume 2/Text/2.3.md rename to Volumes/Volume_02/Text/2.3.md diff --git a/Volumes/Volume 2/Text/2.4.md b/Volumes/Volume_02/Text/2.4.md similarity index 100% rename from Volumes/Volume 2/Text/2.4.md rename to Volumes/Volume_02/Text/2.4.md diff --git a/Volumes/Volume 2/Text/2.5.md b/Volumes/Volume_02/Text/2.5.md similarity index 100% rename from Volumes/Volume 2/Text/2.5.md rename to Volumes/Volume_02/Text/2.5.md diff --git a/Volumes/Volume 2/Text/3.1.md b/Volumes/Volume_02/Text/3.1.md similarity index 100% rename from Volumes/Volume 2/Text/3.1.md rename to Volumes/Volume_02/Text/3.1.md diff --git a/Volumes/Volume 2/Text/3.2.md b/Volumes/Volume_02/Text/3.2.md similarity index 100% rename from Volumes/Volume 2/Text/3.2.md rename to Volumes/Volume_02/Text/3.2.md diff --git a/Volumes/Volume 2/Text/3.3.md b/Volumes/Volume_02/Text/3.3.md similarity index 100% rename from Volumes/Volume 2/Text/3.3.md rename to Volumes/Volume_02/Text/3.3.md diff --git a/Volumes/Volume 2/Text/3.4.md b/Volumes/Volume_02/Text/3.4.md similarity index 100% rename from Volumes/Volume 2/Text/3.4.md rename to Volumes/Volume_02/Text/3.4.md diff --git a/Volumes/Volume 2/Text/4.1.md b/Volumes/Volume_02/Text/4.1.md similarity index 100% rename from Volumes/Volume 2/Text/4.1.md rename to Volumes/Volume_02/Text/4.1.md diff --git a/Volumes/Volume 2/Text/4.2.md b/Volumes/Volume_02/Text/4.2.md similarity index 100% rename from Volumes/Volume 2/Text/4.2.md rename to Volumes/Volume_02/Text/4.2.md diff --git a/Volumes/Volume 2/Text/4.3.md b/Volumes/Volume_02/Text/4.3.md similarity index 100% rename from Volumes/Volume 2/Text/4.3.md rename to Volumes/Volume_02/Text/4.3.md diff --git a/Volumes/Volume 2/Text/4.4.md b/Volumes/Volume_02/Text/4.4.md similarity index 100% rename from Volumes/Volume 2/Text/4.4.md rename to Volumes/Volume_02/Text/4.4.md diff --git a/Volumes/Volume 2/Text/4.5.md b/Volumes/Volume_02/Text/4.5.md similarity index 100% rename from Volumes/Volume 2/Text/4.5.md rename to Volumes/Volume_02/Text/4.5.md diff --git a/Volumes/Volume 2/Text/5.md b/Volumes/Volume_02/Text/5.md similarity index 100% rename from Volumes/Volume 2/Text/5.md rename to Volumes/Volume_02/Text/5.md diff --git a/Volumes/Volume 2/config.yaml b/Volumes/Volume_02/config.yaml similarity index 100% rename from Volumes/Volume 2/config.yaml rename to Volumes/Volume_02/config.yaml diff --git a/Volumes/Volume 3/Images/Chapter/1.png b/Volumes/Volume_03/Images/Chapter/1.png similarity index 100% rename from Volumes/Volume 3/Images/Chapter/1.png rename to Volumes/Volume_03/Images/Chapter/1.png diff --git a/Volumes/Volume 3/Images/Chapter/2.png b/Volumes/Volume_03/Images/Chapter/2.png similarity index 100% rename from Volumes/Volume 3/Images/Chapter/2.png rename to Volumes/Volume_03/Images/Chapter/2.png diff --git a/Volumes/Volume 3/Images/Chapter/3.png b/Volumes/Volume_03/Images/Chapter/3.png similarity index 100% rename from Volumes/Volume 3/Images/Chapter/3.png rename to Volumes/Volume_03/Images/Chapter/3.png diff --git a/Volumes/Volume 3/Images/Chapter/4.png b/Volumes/Volume_03/Images/Chapter/4.png similarity index 100% rename from Volumes/Volume 3/Images/Chapter/4.png rename to Volumes/Volume_03/Images/Chapter/4.png diff --git a/Volumes/Volume 3/Images/Chapter/5.png b/Volumes/Volume_03/Images/Chapter/5.png similarity index 100% rename from Volumes/Volume 3/Images/Chapter/5.png rename to Volumes/Volume_03/Images/Chapter/5.png diff --git a/Volumes/Volume 3/Images/Insert/cover.png b/Volumes/Volume_03/Images/Insert/cover.png similarity index 100% rename from Volumes/Volume 3/Images/Insert/cover.png rename to Volumes/Volume_03/Images/Insert/cover.png diff --git a/Volumes/Volume 3/Images/Insert/filler1.png b/Volumes/Volume_03/Images/Insert/filler1.png similarity index 100% rename from Volumes/Volume 3/Images/Insert/filler1.png rename to Volumes/Volume_03/Images/Insert/filler1.png diff --git a/Volumes/Volume 3/Images/Insert/filler2.png b/Volumes/Volume_03/Images/Insert/filler2.png similarity index 100% rename from Volumes/Volume 3/Images/Insert/filler2.png rename to Volumes/Volume_03/Images/Insert/filler2.png diff --git a/Volumes/Volume 3/Images/Insert/insert1.png b/Volumes/Volume_03/Images/Insert/insert1.png similarity index 100% rename from Volumes/Volume 3/Images/Insert/insert1.png rename to Volumes/Volume_03/Images/Insert/insert1.png diff --git a/Volumes/Volume 3/Images/Insert/insert2.png b/Volumes/Volume_03/Images/Insert/insert2.png similarity index 100% rename from Volumes/Volume 3/Images/Insert/insert2.png rename to Volumes/Volume_03/Images/Insert/insert2.png diff --git a/Volumes/Volume 3/Images/Insert/titlepage.png b/Volumes/Volume_03/Images/Insert/titlepage.png similarity index 100% rename from Volumes/Volume 3/Images/Insert/titlepage.png rename to Volumes/Volume_03/Images/Insert/titlepage.png diff --git a/Volumes/Volume 3/Images/Insert/toc.png b/Volumes/Volume_03/Images/Insert/toc.png similarity index 100% rename from Volumes/Volume 3/Images/Insert/toc.png rename to Volumes/Volume_03/Images/Insert/toc.png diff --git a/Volumes/Volume 3/Images/config.yaml b/Volumes/Volume_03/Images/config.yaml similarity index 100% rename from Volumes/Volume 3/Images/config.yaml rename to Volumes/Volume_03/Images/config.yaml diff --git a/Volumes/Volume 3/Text/1.md b/Volumes/Volume_03/Text/1.md similarity index 100% rename from Volumes/Volume 3/Text/1.md rename to Volumes/Volume_03/Text/1.md diff --git a/Volumes/Volume 3/Text/2.1.md b/Volumes/Volume_03/Text/2.1.md similarity index 100% rename from Volumes/Volume 3/Text/2.1.md rename to Volumes/Volume_03/Text/2.1.md diff --git a/Volumes/Volume 3/Text/2.2.md b/Volumes/Volume_03/Text/2.2.md similarity index 100% rename from Volumes/Volume 3/Text/2.2.md rename to Volumes/Volume_03/Text/2.2.md diff --git a/Volumes/Volume 3/Text/2.3.md b/Volumes/Volume_03/Text/2.3.md similarity index 100% rename from Volumes/Volume 3/Text/2.3.md rename to Volumes/Volume_03/Text/2.3.md diff --git a/Volumes/Volume 3/Text/2.4.md b/Volumes/Volume_03/Text/2.4.md similarity index 100% rename from Volumes/Volume 3/Text/2.4.md rename to Volumes/Volume_03/Text/2.4.md diff --git a/Volumes/Volume 3/Text/3.1.md b/Volumes/Volume_03/Text/3.1.md similarity index 100% rename from Volumes/Volume 3/Text/3.1.md rename to Volumes/Volume_03/Text/3.1.md diff --git a/Volumes/Volume 3/Text/3.2.md b/Volumes/Volume_03/Text/3.2.md similarity index 100% rename from Volumes/Volume 3/Text/3.2.md rename to Volumes/Volume_03/Text/3.2.md diff --git a/Volumes/Volume 3/Text/3.3.md b/Volumes/Volume_03/Text/3.3.md similarity index 100% rename from Volumes/Volume 3/Text/3.3.md rename to Volumes/Volume_03/Text/3.3.md diff --git a/Volumes/Volume 3/Text/3.4.md b/Volumes/Volume_03/Text/3.4.md similarity index 100% rename from Volumes/Volume 3/Text/3.4.md rename to Volumes/Volume_03/Text/3.4.md diff --git a/Volumes/Volume 3/Text/3.5.md b/Volumes/Volume_03/Text/3.5.md similarity index 100% rename from Volumes/Volume 3/Text/3.5.md rename to Volumes/Volume_03/Text/3.5.md diff --git a/Volumes/Volume 3/Text/3.6.md b/Volumes/Volume_03/Text/3.6.md similarity index 100% rename from Volumes/Volume 3/Text/3.6.md rename to Volumes/Volume_03/Text/3.6.md diff --git a/Volumes/Volume 3/Text/3.7.md b/Volumes/Volume_03/Text/3.7.md similarity index 100% rename from Volumes/Volume 3/Text/3.7.md rename to Volumes/Volume_03/Text/3.7.md diff --git a/Volumes/Volume 3/Text/4.1.md b/Volumes/Volume_03/Text/4.1.md similarity index 100% rename from Volumes/Volume 3/Text/4.1.md rename to Volumes/Volume_03/Text/4.1.md diff --git a/Volumes/Volume 3/Text/4.2.md b/Volumes/Volume_03/Text/4.2.md similarity index 100% rename from Volumes/Volume 3/Text/4.2.md rename to Volumes/Volume_03/Text/4.2.md diff --git a/Volumes/Volume 3/Text/4.3.md b/Volumes/Volume_03/Text/4.3.md similarity index 100% rename from Volumes/Volume 3/Text/4.3.md rename to Volumes/Volume_03/Text/4.3.md diff --git a/Volumes/Volume 3/Text/4.4.md b/Volumes/Volume_03/Text/4.4.md similarity index 100% rename from Volumes/Volume 3/Text/4.4.md rename to Volumes/Volume_03/Text/4.4.md diff --git a/Volumes/Volume 3/Text/4.5.md b/Volumes/Volume_03/Text/4.5.md similarity index 100% rename from Volumes/Volume 3/Text/4.5.md rename to Volumes/Volume_03/Text/4.5.md diff --git a/Volumes/Volume 3/Text/4.6.md b/Volumes/Volume_03/Text/4.6.md similarity index 100% rename from Volumes/Volume 3/Text/4.6.md rename to Volumes/Volume_03/Text/4.6.md diff --git a/Volumes/Volume 3/Text/5.md b/Volumes/Volume_03/Text/5.md similarity index 100% rename from Volumes/Volume 3/Text/5.md rename to Volumes/Volume_03/Text/5.md diff --git a/Volumes/Volume 3/config.yaml b/Volumes/Volume_03/config.yaml similarity index 100% rename from Volumes/Volume 3/config.yaml rename to Volumes/Volume_03/config.yaml From 115acc65402f779c6e8b04df4c246066d4b7c5e5 Mon Sep 17 00:00:00 2001 From: Nyx102 <168144704+Nyx102@users.noreply.github.com> Date: Sun, 8 Sep 2024 16:08:38 -0400 Subject: [PATCH 2/2] Use correct spacing for units I keep some of them without the space because they have to be one argument. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b10c91b..5e5d265 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ If you want to generate the PDF for printing in a perfect-bound book, there are - `-g` (`--gutter-size`): Specify the gutter size. - `-n` (`--no-cover`): Do not include cover. -By default, the bleed size is 0in, gutter size is 0in, and cover is included. +By default, the bleed size is 0 in, gutter size is 0 in, and cover is included. For convenience, `-p` (`--print-mode`) is provided, which is short for `-b 0.125in -g 0.15in -n`.