Skip to content

Releases

bench-kit 1.9.8

Choose a tag to compare

@dmberry dmberry released this 12 Nov 18:03
  • Settings ▸ Book fits its pane (David): the pane ran to nearly a thousand pixels, the trim's four boxes and buttons under a tall picture and Highlight links below those, so the dialog scrolled and Save was out of sight. The page is now shown at a modest height with its controls beside it (left and right, top and bottom, two to a row), the hints are shorter, and Highlight links is one row; nothing scrolls.

bench-kit 1.9.7

Choose a tag to compare

@dmberry dmberry released this 12 Nov 17:55
  • Book: the stage slider turns “every revision” off (David, via Melville): with every revision shown, the slider was disabled and ◀ ▶ changed the stage with nothing to show for it; only the run through the stages unticked the box. The slider now stays usable, drawn fainter while every revision is on, and moving it, ◀ or ▶ unticks the box and shows the text at the stage, with Strike deletions offered again. The box's tip says so.

bench-kit 1.9.6

Choose a tag to compare

@dmberry dmberry released this 12 Nov 17:51
  • A passage's highlight has a little room (David): with its edge gone the fill sat tight on the characters; it now runs two pixels past the place above and below, in its own colour, on the page's image, and to the same measure in Share highlight's picture. The sides are as they were.

bench-kit 1.9.5

Choose a tag to compare

@dmberry dmberry released this 12 Nov 17:46
  • A passage that crosses a page turn tinted the page's image (David): a page's last sentence runs on over the turn, and its mark in the text was one stretch from its first word to its last, which took in what lies between: the page break and the next page's image, tinted whole. The passage is now marked paragraph by paragraph, its own words only. Its words in the enlarged page's tip and in Share highlight no longer take in the page break's number either.
  • A passage's highlight has no edge (David): a passage's place lit or held on the page's image was filled and edged in the links' colour, and so was the place in Share highlight's picture; the edge is gone from both, and the fill is a little stronger. The faint edges that show where the places are, while the pointer is on the image, stay. Lines and revisions' boxes are as they were.

bench-kit 1.9.4

Choose a tag to compare

@dmberry dmberry released this 12 Nov 17:39
  • Share highlight cites in the bench's words (David, via kuki): the picture, the dialog and the email gave the bench's reference by file and line ("Translation (2026), translation/….md, l. 394 [REF: …]"), which is for annotating, not for a reader sent a page. A bench can now give its own wording: SW.BENCH.doc.shareCite, a text with {page}, {version} and {label} in it, or a function of { page, version, label, cite }. Without it, or where the function gives nothing, the reference is used as before. The picture and the dialog now say what the passage is once: the bench's wording alone, which names the page, or the page and the reference; "Page 81 · Translation · Translation (2026), …" named the text three times.

bench-kit 1.9.3

Choose a tag to compare

@dmberry dmberry released this 12 Nov 17:32
  • Book: Share highlight (David, via kuki): while a passage's highlight link is held, ✦ Share highlight in the toolbar makes a picture to send: the page with the passage's place drawn on it in the links' colour, the passage beside it, and under that the page's name, the text, the citation, the bench and the image's credit (and, for an estimated place, that it is approximate). In the order David gave: Copy link gives a link that opens Book with the same highlight held (hr: the page, the place and the first of its words, so a place is found again after its file is remade); Email… hands the picture and the passage to the system's sharing where the browser can pass a file, and elsewhere starts a message with the passage, the citation and the link, with the picture copied to paste in (a page cannot attach a file to an email); Download PNG and Copy PNG give the picture.
  • Book: Share is Share page (David): the toolbar's link to Book as it is set, as before, under the name that tells it from Share highlight.
  • Edit's text in a box of its own (David, via kuki): Edit set the file's text in the same face on the same ground as the pages of Book, with only the padlock in the toolbar to tell them apart. The text is now in a field with a head: greyed, with a plain edge, while locked; white (in a dark theme, the lighter surface) with an edge in the bench's accent once unlocked. The head says which, and what the box holds (the text as its file has it, Markdown), and its padlock locks and unlocks as the toolbar's does.

bench-kit 1.9.2

Choose a tag to compare

@dmberry dmberry released this 12 Nov 17:07
  • Book: highlight links for a page's passages, both ways (David): for a text whose lines are not the page's (a translation beside its source), a bench names a support file of each page's places (SW.BENCH.doc.regions: 'regions.json', or 'regions/{page}.json' for a file to each page): the boxes a passage takes on the image, the source's words there, and the words of the text it holds (quote, one for every version or one to each). Book finds the words in the text as it is set, so the file keeps no lines or offsets and follows the text when it is edited elsewhere; a quote not found leaves its place drawn and untied. A passage under the pointer lights its place on the page and a place its passage; a click on either holds both; text selected lights every place it runs over; the enlarged page shows a place's source words and its passage by the pointer. est marks a place or match as estimated (a dashed edge). SW.book.regionsReport() lists the places not found. A page's places are fetched when its image comes near the view, or, with the images folded away, when the pointer first comes over its text. A bench that names no file is as before.
  • Book: highlight links, their colour and a switch (David): a highlight link is a line, a box or a passage lit on the page's image with its words in the text. Their colour was the theme's; a bench can now set it (SW.BENCH.doc.linkColor, a CSS colour), and a reader can choose their own in Settings ▸ Book ▸ Highlight links, or go back to the bench's. The same pane turns highlight links off, for a reader who wants the page's image as a picture only. Both are kept in the browser (book.link, book.linkOff).
  • Settings ▸ Book: “Bench’s default trim” (David): the button that goes back to the bench's trim is so named, and the highlight links' colour has one to match.
  • Settings saves on a bench that trims each page by its own measure: Settings ▸ Book's trim boxes took steps of half a percent, and a page's own trim (kuki's, measured to a tenth) was shown to a tenth, so the browser held the form as not valid and Save did nothing while Book was open at such a page. The boxes now take tenths.
  • Book: the text lights its lines on the page (David): where a page gives its lines' places (pb.lines, as Melville's manuscript does), a band on the image already lit its line in the text; now a line of the text under the pointer lights its band on the page beside it, and text selected lights the band of every line it covers, until the selection is let go. A line the page gives no place for is not lit.

bench-kit 1.9.1

Choose a tag to compare

@dmberry dmberry released this 12 Nov 12:12
  • Glossary renderings separated by a comma (David, via kuki): an English cell was split on ";" only, so "basis, foundation" was one rendering, never found in the translation, and the Glossary called it not in the translation though each word occurs there 40 times. A cell is now split on "," as on ";", in a Markdown table and in glossary.csv, and each part is counted and warned of on its own. A description beside a rendering goes in brackets, where it is a note: "decision; determination (in the causal sense)".

bench-kit 1.9.0

Choose a tag to compare

@dmberry dmberry released this 09 Nov 14:29
  • 1.8.29 renumbered (David): the same code as 1.8.29, released as 1.9.0. A bench on 1.8.29 can move to 1.9.0 with no other change.

bench-kit 1.8.29

Choose a tag to compare

@dmberry dmberry released this 09 Nov 11:29
  • A Glossary that tells renderings apart by case (David, via kuki): translation.glossary.caseSensitive: true reads a rendering with its case, for a translation that keeps two terms apart by a capital (Ground for 根據, ground for 理由): the ⚠ no longer marks the pair, and each one's places in the translation are counted apart. Without it the Glossary reads without regard to case, as before.
  • The Glossary's sort tips name their column as it is headed (kuki): "Sort by English", not "Sort by english"; Source and Reading likewise.