Repository navigation
Hyphenate and justify as Pages 15.4 does (B-023, W1 step 17) - #182
Merged
Merged
Conversation
…does (B-023, work in progress) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NiPLVSJ4urMWCnygLAWw8C
…15.4 does (B-023, work in progress) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NiPLVSJ4urMWCnygLAWw8C
…ages 15.4 does (B-023, work in progress) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NiPLVSJ4urMWCnygLAWw8C
… hyphenates by (B-023, B-045) Pages 15.4 breaks some words where only the dictionary of macOS does, so the three hyphenation documents are not compared whole (B-045, moved to W2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NiPLVSJ4urMWCnygLAWw8C
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.
Requested by Brahm · project thread
The third piece of step 17 of docs/phases/W1.md.
What changes
en-US), as Pages 15.4 does. Pages '09 didn't hyphenate it.txt-09-hyphenation-widthscase, where the same sentences repeat at measures 1 pt apart. With this rule Desk switches to "extraor-" at 98 pt and to "extraordi-" at 107 pt, the same widths as 15.4.txt-09-hyphenation-casesandtxt-09-hyphenation-widthsare added.justify-casesandtxt-09-never-hyphenatenow use the PDFs of Pages 15.4, and the manifest says so.Moved to W2 (B-045)
Pages 15.4 breaks some words at different points because it uses the macOS dictionary, which can't be copied: pho-tographs, cel-ebration, extra-ordinarily and extraordinari-ly. So the three hyphenation documents can't match Pages whole, and their whole-document tests are left out, as the owner chose. This removes
txt_09_words_never_hyphenated_match_pages. The rules are tested in desk-text instead. B-045 records the difference, moved from W1 to W2.Not verified
justify-spacingandjustify-space-limitkeep their Pages '09 PDFs. The Mac lacks Liberation Mono and the corpus fonts, so 15.4 substituted Helvetica. They need those fonts installed on the Mac.Tests
txt_09_a_word_breaks_only_before_the_first_letter_that_does_not_fit.txt_09_automatic_hyphenation_breaks_words_by_their_languagenow checks that text with no language set breaks like English.Generated by Claude Code