Files
cs249r_book/book/quarto/scripts/mit_press
Vijay Janapa Reddi 73a956a09b chore(volumes,vscode-ext): batch volume updates and tooling improvements
Checkpoint the branch-wide content/config revisions together with workbench enhancements so chapter rendering and developer workflows stay aligned. This captures the current validation-driven formatting and parallel build/debug improvements in one commit.
2026-02-15 14:03:27 -05:00
..

MIT Press Assets

Scripts and generated files for MIT Press submission.

Figure List Generator

Extracts figure metadata from QMD source files:

# From the quarto/ directory:
python3 scripts/mit_press/figure_list_for_press.py --vol 1 -o scripts/mit_press/FIGURE_LIST_VOL1.txt
python3 scripts/mit_press/figure_list_for_press.py --vol 1 --format csv -o scripts/mit_press/FIGURE_LIST_VOL1.csv

Output Formats

  • Text (default): Human-readable, organized by chapter
  • CSV: Spreadsheet format with columns: Figure Number, Label, Caption, Alt-Text
  • Markdown: Formatted for documentation

Output Fields

Field Description
Figure Number Chapter.Figure format (e.g., 1.1, 2.3)
Label Source reference (e.g., fig-ai-timeline)
Caption Full caption text
Alt-Text Accessibility description

Generated Files

  • FIGURE_LIST_VOL1.txt - Text format, 152 figures
  • FIGURE_LIST_VOL1.csv - CSV format for spreadsheets