No description
  • TeX 97.3%
  • Python 2.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Malcolm Mielle b63dc4c711
All checks were successful
Python application / Python Build (push) Successful in 29s
Add test to CI
2026-09-15 20:12:51 +02:00
.forgejo/workflows Add test to CI 2026-09-15 20:12:51 +02:00
.vscode Merge does the flattening and handles pgf and tikz 2026-09-15 20:11:47 +02:00
merge_tex Merge does the flattening and handles pgf and tikz 2026-09-15 20:11:47 +02:00
tests Merge does the flattening and handles pgf and tikz 2026-09-15 20:11:47 +02:00
.gitignore Add destination folder, images handling, and pipeline 2025-09-19 01:37:40 +02:00
.python-version first commit 2025-02-19 11:54:53 +01:00
LICENSE First real commit 2025-07-12 00:05:17 +02:00
pyproject.toml Merge does the flattening and handles pgf and tikz 2026-09-15 20:11:47 +02:00
README.md Merge does the flattening and handles pgf and tikz 2026-09-15 20:11:47 +02:00
test.tex Merge does the flattening and handles pgf and tikz 2026-09-15 20:11:47 +02:00
uv.lock Add destination folder, images handling, and pipeline 2025-09-19 01:37:40 +02:00

Merge tex

Merge your tex file for Editorial Manager submissions.

This package bundles two scripts:

  1. merge_tex/scripts/flatten_folder.py: flatten your repository structure since folders (and subfolders) are not allowed. Files will be named according to the original folder structure with _ in between the names. For example, images cannot be stored in sub folder so this scripts will remove that for you
  2. merge_tex/scripts/merge.py: from a root latex file, this script will create an output file where all the latex files are merged in one. The script will recursively go in all input{} and fetch the content of the latex file while removing comments. Indeed, elsevir EM is not able to understand which latex file is the root (instead it use the first latex file found) but after this script there is only one latex file.

Good luck with your submission.