Get started with the IITJ MTP Template Generator in 5 minutes!
New to terminals or Python? Start with the Simple guide for beginners.
What you get (important)
The generator creates a LaTeX project under output/ with your metadata and section files (abstract, acknowledgments, declaration, certificate, chapters, etc.). Most paragraphs are placeholders—search for [TODO] and % TODO. Compiling to PDF before you replace that text produces a layout preview, not your finished submission. See examples/README for how sample configs relate to this.
Prerequisites
Before you begin, make sure you have:
-
Python 3.9+ installed
python --version # Should show 3.9 or higher -
LaTeX distribution installed
Installation
Step 1: Get the Code
git clone https://github.com/satishjhanwer/IITJ-MTP-Template-Generator.git
cd IITJ-MTP-Template-Generator
Step 2: Install Dependencies
pip install -r scripts/requirements.txt
This installs:
jinja2- Template renderingpyyaml- YAML configuration parsing
Generate Your First Report
Option 1: Interactive Mode (Recommended for First-Time Users)
python scripts/generate.py
The generator will ask you questions like:
- Report type (proposal, major project, or presentation)
- Project title
- Your name and roll number
- Supervisor details
- University and department
- Submission date
Answer each question and the generator will create your report!
Option 2: Using a Config File (Faster for Repeated Use)
-
Create a
config.yamlfile (or use an example):cp examples/sample-proposal/config.yaml my-config.yaml -
Edit
my-config.yamlwith your details -
Generate the report:
python scripts/generate.py --config my-config.yaml
Edit Your Report
After generation, you’ll find your report in the output/ directory:
cd output/your-project-name
Edit the .tex files to add your content:
- Search for
[TODO]markers - Replace placeholders with your actual content
- Add references to the
.bibfile
Compile to PDF
Method 1: Using pdflatex (Recommended)
# For proposal reports
pdflatex proposal.tex
bibtex proposal
pdflatex proposal.tex
pdflatex proposal.tex
# For major project reports
pdflatex main.tex
bibtex main
pdflatex main.tex
pdflatex main.tex
Method 2: Using latexmk (If Available)
latexmk -pdf proposal.tex # or main.tex
View Your PDF
Open the generated PDF file:
proposal.pdf(for proposals)main.pdf(for major projects)
Next Steps
- 📖 Read the Input Schema to understand all configuration options
- 🎨 Check the Customization Guide to personalize your report
- ❓ See the FAQ for common questions and issues
Common Issues
Issue: “Command not found: python”
Solution: Try python3 instead of python
Issue: “pdflatex: command not found”
Solution: Install a LaTeX distribution (see Prerequisites)
Issue: “No module named ‘jinja2’”
Solution: Run pip install -r scripts/requirements.txt
Issue: Bibliography not showing
Solution: Make sure you:
- Added references to the
.bibfile - Cited at least one reference using
\cite{key}in your text - Ran bibtex and pdflatex multiple times
Getting Help
Happy report writing! 📝