📅 2023-03-26 — Session: Automated LaTeX report generation and customization

🕒 19:50–20:30
🏷️ Labels: Python, Latex, Automation, Scripting, Data Processing
📂 Project: Dev
⭐ Priority: MEDIUM

Session Goal: The session aimed to automate the generation and customization of LaTeX reports using Python scripts and LaTeX templates.

Key Activities:

  • Developed Python scripts to generate LaTeX files from data, ensuring proper formatting and escaping of special characters.
  • Updated template files with year-specific content and customized headers and footers using the fancyhdr package.
  • Removed graphics from LaTeX documents and adjusted line spacing using the setspace package.
  • Modified the table of contents in LaTeX templates to include subsections and customized spacing using the tocloft package.
  • Automated the compilation of LaTeX files into PDFs using Python’s subprocess module.

Achievements:

  • Successfully created a workflow for generating and customizing LaTeX reports, including the automation of PDF compilation.

Pending Tasks:

  • Further testing of the automation scripts to ensure compatibility with different LaTeX templates and data sources.