A tool to process dog show entries from Excel and generate LaTeX formatted documents.
-
Clone the repository
git clone <your-repo-url> cd CSC26
-
Create a virtual environment
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Prepare your data file
- Copy
Entries_template.xlsxtoEntries.xlsx - Fill in your actual data in
Entries.xlsx Entries.xlsxis in.gitignoreand won't be committed
- Copy
The Entries.xlsx file should have 8 columns:
- Dog Name - Name of the dog
- Handler - Handler's name
- Registration Number - ISDS or other registration number
- Sire - Father's name
- Breeder - Breeder's name
- Date of Birth - DOB of the dog
- Dam - Mother's name
- Photo Path - Relative path to dog's photo (e.g.,
pictures_orig/handler_dogname.jpg)
-
Process the Excel file
python read_excel.py
This will read
Entries.xlsxand generateentries.tex -
Compile the LaTeX document
pdflatex draft_mit_arlo.tex
.
├── read_excel.py # Python script to process Excel data
├── draft_mit_arlo.tex # Main LaTeX document
├── Entries_template.xlsx # Template file (committed to repo)
├── Entries.xlsx # Your actual data (NOT committed - in .gitignore)
├── entries.tex # Generated file (NOT committed - in .gitignore)
├── requirements.txt # Python dependencies
├── pictures_orig/ # Directory for dog photos
└── README.md # This file
Never commit Entries.xlsx with real participant data!
- The template file
Entries_template.xlsxcontains only example data - Your actual
Entries.xlsxfile is protected by.gitignore - Always verify
.gitignoreis working before committing