[latex3-commits] [git/LaTeX3-latex3-latex3] master: Rename some penalties (fa6848a)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Sep 14 12:59:45 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/fa6848a160f51cedb13aab20b10a775062ff7a32

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

commit fa6848a160f51cedb13aab20b10a775062ff7a32
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Sep 14 11:59:45 2018 +0100

    Rename some penalties
    
    Shouldn't be public, I think


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

fa6848a160f51cedb13aab20b10a775062ff7a32
 l3experimental/xmarks/xmarks.dtx |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/l3experimental/xmarks/xmarks.dtx b/l3experimental/xmarks/xmarks.dtx
index 931ac71..7b392bc 100644
--- a/l3experimental/xmarks/xmarks.dtx
+++ b/l3experimental/xmarks/xmarks.dtx
@@ -605,12 +605,12 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{variable}{\c_marks_OR_i_penalty, \c_marks_OR_ii_penalty}
+% \begin{variable}{\c_@@_penaltyi_int, \c_@@_penaltyii_int}
 %   Two marker penalties for detected that the restore system is used
 %   correctly.
 %    \begin{macrocode}
-\int_const:Nn \c_marks_OR_i_penalty  { -20 203 }
-\int_const:Nn \c_marks_OR_ii_penalty { -20 204 }
+\int_const:Nn \c_@@_penaltyi_int  { -20 203 }
+\int_const:Nn \c_@@_penaltyii_int { -20 204 }
 %    \end{macrocode}
 % \end{variable}
 %
@@ -650,24 +650,24 @@
       { restoring~botmark~ \@@_trace_store:N \g_@@_last_prop }
 %</trace>
     \@@_store:N \g_@@_last_prop
-    \tex_penalty:D \c_marks_OR_i_penalty
+    \tex_penalty:D \c_@@_penaltyi_int
     \tex_global:D \tex_output:D
       {
 %<*trace>
         \trace_push:n { marks_restore_state~(inline~code~arg1) }
 %</trace>
-        \int_compare:nNnF \c_marks_OR_i_penalty = \tex_outputpenalty:D
+        \int_compare:nNnF \c_@@_penaltyi_int = \tex_outputpenalty:D
           { \__kernel_msg_error:nn { marks } { bad-restore } }
         \box_gclear:N \c_two_hundred_fifty_five
         \tex_hbox:D { }
-        \tex_penalty:D \c_marks_OR_ii_penalty
+        \tex_penalty:D \c_@@_penaltyii_int
         #1
         \tex_global:D \tex_output:D
           {
 %<*trace>
             \trace_push:n { marks_restore_state~(inline~code~arg2) }
 %</trace>
-            \int_compare:nNnF \c_marks_OR_ii_penalty = \tex_outputpenalty:D
+            \int_compare:nNnF \c_@@_penaltyii_int = \tex_outputpenalty:D
               { \__kernel_msg_error:nn { marks } { bad-restore } }
             \box_gclear:N \c_two_hundred_fifty_five
             #2





More information about the latex3-commits mailing list