Spaces:
Sleeping
Sleeping
Claude Claude Opus 4.8 commited on
Commit ·
b3c77b3
1
Parent(s): bdf08d3
Use single-backslash LaTeX in PROMPTS.md
Browse filesThe math examples showed Python-literal double backslashes (\\(x^2\\));
the actual prompt text Claude receives has single backslashes (\(x^2\)).
Match what's sent.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EM8jiYxdVFy1w3LeJ9GBJg
- PROMPTS.md +3 -3
PROMPTS.md
CHANGED
|
@@ -55,7 +55,7 @@ they're numbered `1.`, `2.`, … in this order:
|
|
| 55 |
> - Doubles as the long-form image description: BOTH sighted and non-sighted readers will encounter it as body text, so write it to be useful to either.
|
| 56 |
> - Open with what's visually shown ("A gallery of purple flower stem macro photographs is shown."), then explain what the visual contributes to the lecturer's point ("These demonstrate different perspectives and processing techniques and illustrate how visual experimentation leads to new clarity.").
|
| 57 |
> - Plain prose. No markdown, no bullet lists, no leading "Image of" / "Slide showing". 2–4 sentences per paragraph.
|
| 58 |
-
> - When the slide carries displayed math or on-screen text essential to the argument, include the meaning of it inline ("…and the equation \
|
| 59 |
> - If the frame is purely an instructor talking-head, say so plainly in one short sentence.
|
| 60 |
|
| 61 |
**alt_text**
|
|
@@ -72,13 +72,13 @@ they're numbered `1.`, `2.`, … in this order:
|
|
| 72 |
> - Include headings, bullets, callouts, captions, axis labels, and equations exactly as they appear. Use plain text (no markdown).
|
| 73 |
> - Preserve line breaks the slide actually uses; one blank line between blocks.
|
| 74 |
> - Skip purely decorative elements (logos, page numbers).
|
| 75 |
-
> - Render math expressions as LaTeX inline (e.g. "\
|
| 76 |
> - Empty string if the frame has no on-screen text.
|
| 77 |
|
| 78 |
**math_equations**
|
| 79 |
|
| 80 |
> math_equations — equations VISIBLY DISPLAYED on the slide.
|
| 81 |
-
> - latex: a clean LaTeX expression suitable for MathJax (no $ delimiters; no \
|
| 82 |
> - aria_label: a plain-English screen-reader description of the equation.
|
| 83 |
> - Skip equations that are only spoken, not on screen, or simple inline labels.
|
| 84 |
> - Empty list if the slide has no displayed equation.
|
|
|
|
| 55 |
> - Doubles as the long-form image description: BOTH sighted and non-sighted readers will encounter it as body text, so write it to be useful to either.
|
| 56 |
> - Open with what's visually shown ("A gallery of purple flower stem macro photographs is shown."), then explain what the visual contributes to the lecturer's point ("These demonstrate different perspectives and processing techniques and illustrate how visual experimentation leads to new clarity.").
|
| 57 |
> - Plain prose. No markdown, no bullet lists, no leading "Image of" / "Slide showing". 2–4 sentences per paragraph.
|
| 58 |
+
> - When the slide carries displayed math or on-screen text essential to the argument, include the meaning of it inline ("…and the equation \(E = mc^2\) is displayed."). Never invent content not in the frame or narration.
|
| 59 |
> - If the frame is purely an instructor talking-head, say so plainly in one short sentence.
|
| 60 |
|
| 61 |
**alt_text**
|
|
|
|
| 72 |
> - Include headings, bullets, callouts, captions, axis labels, and equations exactly as they appear. Use plain text (no markdown).
|
| 73 |
> - Preserve line breaks the slide actually uses; one blank line between blocks.
|
| 74 |
> - Skip purely decorative elements (logos, page numbers).
|
| 75 |
+
> - Render math expressions as LaTeX inline (e.g. "\(x^2 + y^2\)"), not as ASCII approximations.
|
| 76 |
> - Empty string if the frame has no on-screen text.
|
| 77 |
|
| 78 |
**math_equations**
|
| 79 |
|
| 80 |
> math_equations — equations VISIBLY DISPLAYED on the slide.
|
| 81 |
+
> - latex: a clean LaTeX expression suitable for MathJax (no $ delimiters; no \begin{equation}).
|
| 82 |
> - aria_label: a plain-English screen-reader description of the equation.
|
| 83 |
> - Skip equations that are only spoken, not on screen, or simple inline labels.
|
| 84 |
> - Empty list if the slide has no displayed equation.
|