lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Version 3.35 of Lout now available


From: Ludovic Courtès
Subject: Re: Version 3.35 of Lout now available
Date: Wed, 18 Apr 2007 18:44:15 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi,

address@hidden (Jeff Kingston) writes:

>    Precedences and associativities now specifiable by invoking a macro

Thanks!

A potentially troubling side-effect is that definitions (not macros)
also seem to somehow interfere with precedence specifications, as
illustrated by the change you made to `eq' (moving the definitions of
"0", "1", etc., to the bottom of the file---see attached patch).
Hopefully, this only breaks code that actually defines digits similarly.

Anyway, thanks for this new version (looking forward to testing the new
clipping functions...).

Ludo'.

--- orig/include/eqf
+++ mod/include/eqf
@@ -59,8 +59,6 @@
        triangle backslash forall exists neg
        circle filledcircle square
 
-       "0" "1" "2" "3" "4" "5" "6" "7" "8" "9"
-
        sum prod coprod int oint bcap bcup bvee bwedge bodot botimes
        boplus buplus
 
@@ -105,6 +103,8 @@
        nextcol above labove cabove rabove mabove
        matrix pmatrix bmatrix brmatrix fmatrix cmatrix amatrix
 
+       "0" "1" "2" "3" "4" "5" "6" "7" "8" "9"
+
 def @Eq                  
     named initzunit { 1f }
     body @Body
@@ -592,24 +592,6 @@
 
     ###################################################################
     #                                                                 #
-    #   Group 5 (digits)                                              #
-    #                                                                 #
-    ###################################################################
-
-    def "0" { zero            }
-    def "1" { one             }
-    def "2" { two             }
-    def "3" { three           }
-    def "4" { four            }
-    def "5" { five            }
-    def "6" { six             }
-    def "7" { seven           }
-    def "8" { eight           }
-    def "9" { nine            }
-
-
-    ###################################################################
-    #                                                                 #
     #   Group 6 ("Large" operators)                                   #
     #                                                                 #
     #   Knuth's large operators automatically change size depending   #
@@ -1692,6 +1674,24 @@
     macro cmatrix  { matrix atleft { blceil  } atright { brceil  } }
     macro amatrix  { matrix atleft { blangle } atright { brangle } }
 
+    ###################################################################
+    #                                                                 #
+    #   Group 5 (digits)                                              #
+    #                                                                 #
+    ###################################################################
+
+    def "0" { zero            }
+    def "1" { one             }
+    def "2" { two             }
+    def "3" { three           }
+    def "4" { four            }
+    def "5" { five            }
+    def "6" { six             }
+    def "7" { seven           }
+    def "8" { eight           }
+    def "9" { nine            }
+
+
     { Slope xheight2mark nostrut } @Font { separate @SpaceGap } @Space
     initzunit @ZUnit 1f @YUnit @Body
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]