Paper Compilation Compile a LaTeX paper to PDF with error detection and correction. Input - — Path to the main file Scripts Compile paper Reports: compilation status, page count, warnings, citation/reference stats, style issues. Validate citations before compiling Auto-fix LaTeX errors Fixes: HTML tags in LaTeX, mismatched environments, missing figures. Key flags: , Compile with auto-fix retry Runs fix latex errors.py + recompile up to 3 rounds until compilation succeeds. Workflow Step 1: Pre-Compilation Validation Run to catch issues before compiling: - Every has a matching entry - Every exi…