From ccafad9b3811a3ed70812b17628541c4723a1038 Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 12 Jul 2026 15:54:00 +0000 Subject: [PATCH 1/2] Add PageBreak{Above,Below} Adjust formating in CHANGES.md --- CHANGES.md | 48 ++++++++++------------- mathics_scanner/data/named-characters.yml | 18 +++++++++ 2 files changed, 39 insertions(+), 27 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 0ba158a..868f331 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,7 +4,7 @@ May 6, 2026 -Revise due to packaging missing a yaml file. Some small changes since release have been added too. +Revise due to packaging missing a YAML file. Some small changes since release have been added too. ## 10.0.0 @@ -28,8 +28,7 @@ The name `Mathics3` replaces `Mathics`. `Mathics` was the monolithic Python 2-is subcomponents, and the scanner and the character and operators tables in YAML are now in this repository. -2.0.0 ------ +## 2.0.0 August 28, 2025 @@ -56,8 +55,8 @@ Bugs Fixed * #125 Hex escape sequence in string literal doesn't work. * #136 Is the YAML file valid? -1.4.1 ------ +## 1.4.1 + Jan 26, 2025 @@ -65,8 +64,8 @@ Jan 26, 2025 Re-release to include `operators.yml` into the tarball/wheel. -1.4.0 ------ +## 1.4.0 + A new operator table, ``operators.yml`` was added to contain operator information. This information is based on information from Robert Jacobson. @@ -95,8 +94,8 @@ information, such as URL links to Unicode pages. Operator precedence values have been gone over. -1.3.1 ------- +## 1.3.1 + Aug 9, 2024 @@ -108,8 +107,8 @@ Various dependencies elsewhere force 3.8 or newer. * Files now follow current Python black formatting and isort import ordering * Some Python code linting. -1.3.0 ------- +## 1.3.0 + Feb 25, 2025 @@ -127,8 +126,8 @@ Feb 25, 2025 * Python 3.11 operation verified -1.2.4 ------ +## 1.2.4 + * Start adding AMSLateX names. * Add `ApplyTo` @@ -138,15 +137,14 @@ Feb 25, 2025 * Add `named-characters.yml `to distribution packages; Issue #32. * Use SPDX identifier in license; PR #31. -1.2.2-1.2.3 ------ +## 1.2.2-1.2.3 + Redo for packaging problems. Many thanks to Victor the packager for AUR for pointing this out. -1.2.1 ------ +## 1.2.1 * Add tables for operator precedence. * Start to add AMSLaTeX symbols. (A future release will finish this.) @@ -155,14 +153,13 @@ Many thanks to Victor the packager for AUR for pointing this out. * Make `ujson ` optional. -1.2.0 ------ +## 1.2.0 + Tag unicode operators that have no definition and add the ability to dump them. This is useful for mathics-pygments. -1.1.2 ------ +## 1.1.2 Release 1.1.1 introduced a small bad interaction with Mathics3 and the unicode infix form of ``Function[]``. @@ -175,15 +172,13 @@ used the name Function, which precluded using it for the Unicode, where it is mandatory. For ASCII operators, it isn't necessary, but still nice to do when there is no conflict. -1.1.1 ------ +## 1.1.1 * Finish adding operator names. * Generate ``IndentingNewline`` (``\n``) properly in GNU Readline inputrc tables. * Adjust expectation on test since there can be duplicate function operators (for ``Apply`` and ``Function``). -1.1.0 ------ +## 1.1.0 * Add operator-name and ASCII fields. See named-characters.yml for a description of these * Add some whitespace characters like IndentingNewLine and RawReadLine @@ -194,8 +189,7 @@ nice to do when there is no conflict. Note: not all operators have been tagged, so expect another release soon when that's done. -1.0.0 ------ +## 1.0.0 * The scanner split off from Mathics3. * Tables added for converting between WL names and Unicode, ASCII, and character properties. See ``implementation.rst`` for details. diff --git a/mathics_scanner/data/named-characters.yml b/mathics_scanner/data/named-characters.yml index be6056b..689ce0b 100644 --- a/mathics_scanner/data/named-characters.yml +++ b/mathics_scanner/data/named-characters.yml @@ -7992,6 +7992,24 @@ OverParenthesis: wl-unicode: "\uFE35" wl-unicode-name: PRESENTATION FORM FOR VERTICAL LEFT PARENTHESIS +# Note that while \[PageBreakAbove] is tolerated, it is not documented as Character, +# but instead only as an option. +PageBreakAbove: + # esc-alias: pba ? No escape exists here. + has-unicode-inverse: false + is-letter-like: false + wl-reference: https://reference.wolfram.com/language/ref/PageBreakAbove.html + wl-unicode: "\uF3BD" + +# Note that while \[PageBreakBelow] is tolerated, it is not documented as Character. +# but instead only as an option. +PageBreakBelow: + # esc-alias: pbb ? No escape exists here. + has-unicode-inverse: false + is-letter-like: false + wl-reference: https://reference.wolfram.com/language/ref/PageBreakBelow.html + wl-unicode: "\uF3BE" + Paragraph: has-unicode-inverse: false is-letter-like: true From 7f894a75e96e64d17679ae82aa5cf9c617bca485 Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 12 Jul 2026 15:57:37 +0000 Subject: [PATCH 2/2] Update project urls in pyproject.toml --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b2f1114..00f5353 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,9 @@ classifiers = [ dynamic = ["version"] [project.urls] -Homepage = "https://mathics.org/" +Homepage = "https://github.com/Mathics3/Mathics3-scanner" +Changelog = "https://github.com/Mathics3/Mathics3-scanner/blob/master/Changes.md" +Downloads = "https://github.com/Mathics3/Mathics3-scanner/releases" [project.optional-dependencies] dev = [