A repo for utility scripts of the Anton Webern Gesamtausgabe.
- Navigate to the target folder:
cd /d/Repositories/webern-unibas-ch/awg-utils/compare_pdfs- Create a virtual environment:
python -m venv .venv- Activate the virtual environment:
source .venv/Scripts/activateNote
Only for Devs: To create (or update) dependency files, install pip-tools via python -m pip install pip-tools
Then create/update the requirements.txt file via pip-compile --generate-hashes --strip-extras requirements.in
- Install the dependencies:
pip install -r requirements.txt --require-hashesTo deactivate the currently active virtual environment, simply run:
deactivateThe python script in this folder converts an AWG intro JSON file (with HTML block content) to Markdown, producing one output file per locale.
See HOW TO ... convert an AWG intro JSON to Markdown?
The python script in this folder converts a source description given in Word format from .docx to .json.
See HOW TO ... convert source-descriptions from WORD to JSON?
The python script in this folder compares the pages of two pdfs and highlights any diffs.
See HOW TO ... compare two PDF files and highlight differences?
The python scripts in this folder unify SVG group IDs for TKK and link-box elements across JSON textcritics and SVG files.