#!/bin/bash

# This script provides instructions for compiling LaTeX to PDF

echo "=== LaTeX to PDF Compilation Guide ==="
echo ""
echo "Since LaTeX is not installed on this system, you have several options:"
echo ""
echo "1. INSTALL LATEX ON THIS SYSTEM (Ubuntu/Debian):"
echo "   sudo apt-get update"
echo "   sudo apt-get install texlive-full"
echo "   # Or for a smaller installation:"
echo "   sudo apt-get install texlive-latex-extra texlive-fonts-recommended"
echo ""
echo "2. USE ONLINE LATEX EDITORS:"
echo "   - Overleaf (https://www.overleaf.com) - Free online LaTeX editor"
echo "   - LaTeX Base (https://latexbase.com)"
echo "   - Papeeria (https://papeeria.com)"
echo ""
echo "3. AFTER INSTALLING LATEX, COMPILE WITH:"
echo "   pdflatex main.tex"
echo "   bibtex main"
echo "   pdflatex main.tex"
echo "   pdflatex main.tex"
echo ""
echo "4. OR USE LATEXMK (if installed):"
echo "   latexmk -pdf main.tex"
echo ""
echo "Your main LaTeX file is: main.tex"
echo "It includes sections from: sections/*.tex"
