Automated Jupyter Notebook to PDF Conversion
- Day: 2023-03-09
- Time: 05:25 to 06:15
- Project: Dev
- Workspace: WP 2: Operational
- Status: Completed
- Priority: MEDIUM
- Assignee: Matías Nehuen Iglesias
- Tags: Jupyter, PDF, Automation, Command Line, Nbconvert
Description
Session Goal: The session aimed to automate the conversion of Jupyter Notebooks to PDF format, addressing potential errors and ensuring a seamless workflow.
Key Activities:
- Utilized
jupyter nbconvertfor converting Jupyter Notebooks to PDF. - Implemented
nohupto prevent interruptions during the conversion process. - Resolved
nbconverterrors by installing the missingpandoctool. - Managed
pandocversions usingconda, including instructions for downgrading and upgrading. - Installed and configured
xelatexacross various operating systems to support PDF generation. - Provided a command-line script for locating and converting notebooks in specific directories.
Achievements:
- Successfully automated the conversion process with error handling and version management.
- Ensured compatibility and smooth execution across different environments.
Pending Tasks:
- Verify the conversion process across additional environments and document any further issues encountered.
Evidence
- source_file=2023-03-09.sessions.jsonl, line_number=4, event_count=0, session_id=442c13b74bfd616f1de02ca2dd85e5d82be2d57e3190288af6bbdb4edc6abbd0
- event_ids: []