Repository navigation
Conversation
Recognize quotation-local [17] citations and [17]: definitions without changing ordinary document footnotes. Preserve legacy quote notation, scope repeated labels by quotation, and add regression tests and documentation. Co-authored-by: Codex Web <noreply@openai.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Gate caret-free [11] source-quotation references and definitions behind a default-off setting in the web configurator, Python renderer, and CLI. Retain caret-prefixed notes, restrict shorthand to locally defined numeric labels, and cover configuration persistence, Markdown conflicts, and PDF rendering. Co-authored-by: Codex Web <noreply@openai.com>
This branch was successfully deployed
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.
Summary
Add opt-in caret-free, numeric source-footnote markers for PDF Compiler's sourced
[!QUOTE]blockquotes, modeled on the inline copied-footnote notation introduced in PDF-magic/viewer#187. The regular[^11]and[^11]:quotation markers continue to work with no setting change.By default,
[11]remains literal text because bracketed numbers also occur in quotations, bibliographies, and ordinary prose. Enable Inline numbered footnotes ([11]) in sourced blockquotes under Sections & TOC, or pass--quote-inline-number-footnotesto the CLI, to interpret matching markers in a sourced quote:Behavior and compatibility
[11]and[11]:remain literal instead of silently becoming citations or definitions.[!QUOTE]are converted to superscript footnotes. Source labels are preserved, including gaps such as 4 and 17.[^key]footnotes. Independent quotations can reuse the same local numbers.[^key]quote-local footnotes remain supported regardless of the toggle.[!QUOTE]blocks, bracket-only numbers are unaffected.Integration
pdf-compiler-config.jsonsettings, preserving the opt-in choice across sessions.Regression coverage
Updated the existing quotation tests so previously implicit bare-number recognition is explicitly enabled. Added tests for the disabled default, conflict avoidance, numeric-only/local-only substitution, web-generated PDF output, and config import/export behavior. The tests were added and the resulting Git tree and branch diff were verified, but the full suite was not executed in this connector workflow.
This updates the earlier quote-local footnote feature from #30; it does not change document-wide footnote numbering.