From 898f519773394d3b4efdf74ca959f7e41ade47dd Mon Sep 17 00:00:00 2001 From: govin Date: Fri, 18 Sep 2026 18:57:26 +0800 Subject: [PATCH] frontend: stop printing the paragraph position in the paper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Each heading carried a small chip with the paragraph's `sort` before its name. That number is how a sentence is addressed and how a template switch lands content on the right paragraph, but it is a writing detail: in the document it is an implementation number sitting in the middle of the paper, in front of every heading. The reading view now prints the heading and nothing else. The editor keeps it where it is acted on: the paragraph dialog names it in its title (`0 Abstract sort = 1`), every sentence row carries its own `sort` input, and the 所属段落 select lists the positions to move between. --- .../src/components/papers/PaperParagraph.vue | 28 ++++++------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/frontend/src/components/papers/PaperParagraph.vue b/frontend/src/components/papers/PaperParagraph.vue index b1f3714..9338b35 100644 --- a/frontend/src/components/papers/PaperParagraph.vue +++ b/frontend/src/components/papers/PaperParagraph.vue @@ -2,7 +2,7 @@ /** * One paragraph of a paper, as the reader sees it. * - * Two things about this component carry the feature's contracts: + * Three things about this component carry the feature's contracts: * * 1. **The structure is never skipped.** A paragraph with no sentences still * renders its heading and a quiet placeholder, because the paper's shape @@ -11,6 +11,10 @@ * `sort` order, one after another, with no separator added — Chinese * sentences already end in punctuation, and inserting anything between them * would show up in the text. + * 3. **Nothing but the writing is printed.** No position numbers, no ids, no + * counts — this is the paper, not the editor. `sort` is a writing detail and + * the places that show it are the paragraph dialog (its title and every + * sentence row) and the list, which is where it is acted on. * * A sentence that quotes something gets a superscript marker numbered by the * paper's citation list, so the marker and the 参考文献 entry cannot disagree. @@ -54,10 +58,11 @@ const anchor = computed(() => `paragraph-${props.paragraph.paper_template_filed_