Repository navigation
Make the graph follow the reading; open the paper beside its graph and Lean - #16
Merged
Merged
Conversation
…de its graph and Lean On a paper with many results the graph only moved on a click, so it stayed on the main theorem while the Lean followed the reading. It now shows the declaration under the reading line with what it uses, under the result the paper states. Choosing a card or result holds the graph until the reader asks it to follow again. Also: a fresh visit opens with the graph above the Lean (beside it on very wide screens); a closed proof pane reopens on the next visit; a draggable divider between the paper and the proof, after the Quartic Reader; one line with a menu in place of a wall of result buttons; the caption names the statement followed; a lone card says why nothing is drawn beneath it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A statement quoted on the Lean page, in a declaration's "In the paper" list
or on the statement sheet now reads as the reading copy sets it: formulas
are typeset by the same KaTeX output, with inline Markdown kept, instead of
the flattened text ("Val vanishes on H m"). The build writes this as
passage.quote_html for Markdown-sourced papers; PDF-sourced papers keep the
plain quote, and quote itself is unchanged for labels, search and checks.
A formula that cannot be set still stops the build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What a reader sees
Checks run on this branch
python3 -m unittest discover -s tests: passpython3 tools/paper.py checkfor all five papers: passpython3 tools/paper.py build,npm run test:source,VITE_BASE_PATH=/proof-reader/ npm run build: passpython3 tests/journey.py: 443 checks passed (new stage: graph following, hold and resume, divider drag, reload, reset, keys)Not in this change
For most PCP results the graph draws one card, because those declarations were read from the source and Lean has not been run on them here. Extracting real dependencies is separate work in progress.
🤖 Generated with Claude Code