[latex3-commits] [latex3/latex3] main: Units nc and nd are not supported by pTeX/XeTeX/upTeX (aa71cafe9)

github at latex-project.org github at latex-project.org
Mon May 22 12:06:23 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/aa71cafe99060c3df48cb0c072690144382cb0f0

>---------------------------------------------------------------

commit aa71cafe99060c3df48cb0c072690144382cb0f0
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon May 22 11:06:06 2023 +0100

    Units nc and nd are not supported by pTeX/XeTeX/upTeX


>---------------------------------------------------------------

aa71cafe99060c3df48cb0c072690144382cb0f0
 l3kernel/CHANGELOG.md            |  2 +-
 l3kernel/l3skip.dtx              |  7 -------
 l3kernel/testfiles/m3skip002.lvt |  4 ----
 l3kernel/testfiles/m3skip002.tlg | 16 ----------------
 4 files changed, 1 insertion(+), 28 deletions(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 27f6331e7..c0220232f 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -12,7 +12,7 @@ this project uses date-based 'snapshot' version identifiers.
   one argument from up to nine arguments
 - `\coffin_(g)reset_poles:N`
 -  `\dim_to_decimal_in_<unit>:n`, for `<unit>` types
-    `cc`, `cm`, `dd`, `in`, `mm`, `nd`, `nc` and `pc`
+    `cc`, `cm`, `dd`, `in`, `mm` and `pc`
 - `\int_if_zero:n(TF)`
 - `\str_mdfive_hash:n`
 
diff --git a/l3kernel/l3skip.dtx b/l3kernel/l3skip.dtx
index fc7b637d3..01ba93988 100644
--- a/l3kernel/l3skip.dtx
+++ b/l3kernel/l3skip.dtx
@@ -536,8 +536,6 @@
 %     \dim_to_decimal_in_dd:n ,
 %     \dim_to_decimal_in_in:n ,
 %     \dim_to_decimal_in_mm:n ,
-%     \dim_to_decimal_in_nd:n ,
-%     \dim_to_decimal_in_nc:n ,
 %     \dim_to_decimal_in_pc:n
 %   }
 %   \begin{syntax}
@@ -561,7 +559,6 @@
 %       226.70540 & in \\
 %     15312.02584 & dd \\
 %      5758.31742 & mm \\
-%      1279.62627 & nc \\
 %      1365.33333 & pc \\
 %     \end{tabular}
 %   \end{center}
@@ -1773,8 +1770,6 @@
 %     \dim_to_decimal_in_dd:n ,
 %     \dim_to_decimal_in_in:n ,
 %     \dim_to_decimal_in_mm:n ,
-%     \dim_to_decimal_in_nd:n ,
-%     \dim_to_decimal_in_nc:n ,
 %     \dim_to_decimal_in_pc:n
 %   }
 % \begin{macro}[EXP]{\@@_to_decimal_aux:w}
@@ -1839,8 +1834,6 @@
   \@@_tmp:w { bp } {  400 /   803 } % delta = 7227/7200
   \@@_tmp:w { dd } { 1157 /  2476 } % delta = 1238/1157
   \@@_tmp:w { cc } { 1157 / 29712 } % delta = 14856/1157
-  \@@_tmp:w { nd } {  321 /   685 } % delta = 685/642
-  \@@_tmp:w { nc } {  107 /  2740 } % delta = 1370/107
 \group_end:
 %    \end{macrocode}
 %   The tokens after \cs{@@_to_decimal_aux:w} shall have the following form:
diff --git a/l3kernel/testfiles/m3skip002.lvt b/l3kernel/testfiles/m3skip002.lvt
index 24fcf1749..650b9742a 100644
--- a/l3kernel/testfiles/m3skip002.lvt
+++ b/l3kernel/testfiles/m3skip002.lvt
@@ -253,8 +253,6 @@
     \dim_to_decimal_in_cm:n {   575.83174cm } \NEWLINE
     \dim_to_decimal_in_dd:n { 15312.02584dd } \NEWLINE
     \dim_to_decimal_in_in:n {   226.70540in } \NEWLINE
-    \dim_to_decimal_in_nc:n {  1279.62627nc } \NEWLINE
-    \dim_to_decimal_in_nd:n { 15355.51532nd } \NEWLINE
     \dim_to_decimal_in_mm:n {  5758.31742mm } \NEWLINE
     \dim_to_decimal_in_pc:n {  1365.33333pc }
   }
@@ -266,8 +264,6 @@
     \dim_to_decimal_in_cm:n {   575.83175cm } \NEWLINE
     \dim_to_decimal_in_dd:n { 15312.02585dd } \NEWLINE
     \dim_to_decimal_in_in:n {   226.70541in } \NEWLINE
-    \dim_to_decimal_in_nc:n {  1279.62628nc } \NEWLINE
-    \dim_to_decimal_in_nd:n { 15355.51533nd } \NEWLINE
     \dim_to_decimal_in_mm:n {  5758.31743mm } \NEWLINE
     \dim_to_decimal_in_pc:n {  1365.33334pc }
   }
diff --git a/l3kernel/testfiles/m3skip002.tlg b/l3kernel/testfiles/m3skip002.tlg
index 60d894c18..642b855ef 100644
--- a/l3kernel/testfiles/m3skip002.tlg
+++ b/l3kernel/testfiles/m3skip002.tlg
@@ -154,8 +154,6 @@ TEST 12: \c_max_dim conversion
 575.83174
 15312.02583
 226.7054
-1279.62627
-15355.51532
 5758.31741
 1365.33333
 ============================================================
@@ -204,25 +202,11 @@ Continue and I'll use the largest value I can.
 l. ...  }
 I can't work with sizes bigger than about 19 feet.
 Continue and I'll use the largest value I can.
-! Dimension too large.
-<to be read again> 
-                   \__dim_eval_end: 
-l. ...  }
-I can't work with sizes bigger than about 19 feet.
-Continue and I'll use the largest value I can.
-! Dimension too large.
-<to be read again> 
-                   \__dim_eval_end: 
-l. ...  }
-I can't work with sizes bigger than about 19 feet.
-Continue and I'll use the largest value I can.
 16322.78954
 1276.00215
 575.83174
 15312.02585
 226.70541
-1279.62628
-15355.51532
 5758.31741
 1365.33333
 ============================================================





More information about the latex3-commits mailing list.