Parse figure references from a LaTeX slide file
parse_slide_figures.RdExtracts figure paths referenced via \\includegraphics, \\image,
\\imageC, \\imageL, \\imageR, and \\imageFixed commands.
Value
A character vector of figure basenames (without extension), as referenced by the slide. Duplicates are removed.
Details
By default, returns references to figure/ paths (skipping cross-chapter
../ references, ../../slides-pdf/, etc.). Set prefix to extract
references for other directories, e.g. "figure_man".
Note: This uses regex on .tex source and cannot resolve dynamic
paths (e.g. \\foreach loops). For more robust detection after
compilation, use audit_chapter() with method = "fls".