[latex3-commits] [l3svn] branch master updated: A few places where we acutally want roman numerals

noreply at latex-project.org noreply at latex-project.org
Sat Aug 22 19:48:45 CEST 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  9988ee8   A few places where we acutally want roman numerals
9988ee8 is described below

commit 9988ee85ef4933b883dda8975f4068c9a8e91fd5
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Aug 22 18:47:04 2015 +0100

    A few places where we acutally want roman numerals
    
    Looking over the use of \tex_romannumeral:D, these cases do actually
    expand to numerals rather than being expansion tricks. As such, they should
    use the (internal) interface \__int_to_roman:w.
---
 l3kernel/l3fp-aux.dtx  |    2 +-
 l3kernel/l3fp-expo.dtx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3kernel/l3fp-aux.dtx b/l3kernel/l3fp-aux.dtx
index bef8368..f3d35ef 100644
--- a/l3kernel/l3fp-aux.dtx
+++ b/l3kernel/l3fp-aux.dtx
@@ -734,7 +734,7 @@
       \if_int_compare:w \__int_eval:w #1 > \c_sixteen
         tiny
       \else:
-        \tex_romannumeral:D \__int_eval:w #1
+        \__int_to_roman:w \__int_eval:w #1
       \fi:
       :Nnnnn
     \cs_end:
diff --git a/l3kernel/l3fp-expo.dtx b/l3kernel/l3fp-expo.dtx
index dc2da6d..9891544 100644
--- a/l3kernel/l3fp-expo.dtx
+++ b/l3kernel/l3fp-expo.dtx
@@ -236,7 +236,7 @@
 \cs_new:Npn \@@_ln_x_ii:wnnnn #1; #2#3#4#5
   {
     \exp_after:wN \@@_ln_div_after:Nw
-    \cs:w c_@@_ln_ \tex_romannumeral:D #1 _fixed_tl \exp_after:wN \cs_end:
+    \cs:w c_@@_ln_ \__int_to_roman:w #1 _fixed_tl \exp_after:wN \cs_end:
     \__int_value:w
       \exp_after:wN \@@_ln_x_iv:wnnnnnnnn
       \int_use:N \__int_eval:w
@@ -760,7 +760,7 @@
 \cs_new:Npn \@@_exp_pos_large:NnnNwn #1#2#3 #4#5; #6
   {
     \exp_after:wN \exp_after:wN
-    \cs:w @@_exp_large_\tex_romannumeral:D #6:wN \exp_after:wN \cs_end:
+    \cs:w @@_exp_large_ \__int_to_roman:w #6 :wN \exp_after:wN \cs_end:
     \exp_after:wN \c_@@_one_fixed_tl
     \exp_after:wN ;
     \__int_value:w #3 #4 \exp_stop_f:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list