You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update CLAUDE.md with Jupyter Book conversion guidelines
Added explicit guidelines for maintaining content fidelity when converting LaTeX to Jupyter Book format. Emphasizes preserving all original content while making only necessary technical adjustments for the web medium.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,4 +58,24 @@ The project uses these Python libraries:
58
58
When modifying or creating figures:
59
59
1. Python scripts should save outputs to the appropriate `figures/` subdirectory
60
60
2. Use consistent naming between .py files and their .pdf outputs
61
-
3. Many scripts demonstrate specific matplotlib techniques mentioned in the book text
61
+
3. Many scripts demonstrate specific matplotlib techniques mentioned in the book text
62
+
63
+
## Jupyter Book Conversion Guidelines
64
+
65
+
When converting LaTeX content to Jupyter Book format:
66
+
67
+
1.**Content Fidelity**: Keep the Jupyter Book content as close as possible to the LaTeX content. The primary goal is preserving the original text, code examples, and educational material.
68
+
69
+
2.**Acceptable Changes**:
70
+
- Convert LaTeX syntax to Markdown (equations, formatting, etc.)
71
+
- Adjust image paths and convert PDF figures to PNG format
72
+
- Use Markdown-specific features for better web readability
73
+
- Convert LaTeX cross-references to Markdown links
74
+
75
+
3.**Do NOT**:
76
+
- Abbreviate or summarize content
77
+
- Remove code examples or explanations
78
+
- Change the pedagogical flow or structure
79
+
- Add new content not present in the original LaTeX
80
+
81
+
4.**Figure Conversion**: Convert all PDF figures to PNG at 300 DPI for web compatibility while maintaining visual quality.
0 commit comments