Skip to content

Fix equations in PDF build - #42

Merged
agentmess merged 1 commit into
mainfrom
agentmess-full-content-pdf-download
Sep 11, 2026
Merged

Fix equations in PDF build#42
agentmess merged 1 commit into
mainfrom
agentmess-full-content-pdf-download

Conversation

@agentmess

Copy link
Copy Markdown
Member

The PDF build now passes GIF conversion but fails when Sphinx nests legacy align environments inside its generated split environment. Replace the affected notebook equations with aligned, which preserves their multi-line alignment while allowing them to be safely nested in display math.

Fixes: #37

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 11, 2026 22:49
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The reviewed equation updates address the PDF build compatibility issue without unresolved concerns.

Pull request overview

Updates notebook equations from align to aligned to prevent Sphinx PDF build failures.

Changes:

  • Preserves multiline equation alignment.
  • Makes equations safely nestable in generated split environments.
File summaries
File Description
Notebooks/K-space.ipynb Fixes MRI signal equation alignment for PDF output.
Notebooks/In Vivo Contrast Mechanisms.ipynb Fixes active and commented contrast equations.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@agentmess

Copy link
Copy Markdown
Member Author

Thanks for the ReviewNB link. No actionable feedback was included in this comment.

@agentmess
agentmess merged commit 711295f into main Sep 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Full-content pdf download

2 participants