From a229eee5c4e4492f0c9e62eac85002fc530768ce Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Wed, 27 Aug 2008 12:28:24 +0000 Subject: [PATCH] fix some remaining Latex-isms that Eli found in the docs svn: r11454 original commit: 744df67d4e9564bb34cbe6c1efe68499ce9e3d21 --- collects/scribblings/gui/blurbs.ss | 3 +++ collects/scribblings/gui/style-delta-class.scrbl | 4 ++-- collects/scribblings/gui/timer-class.scrbl | 6 +++--- collects/scribblings/gui/window-intf.scrbl | 4 ++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/collects/scribblings/gui/blurbs.ss b/collects/scribblings/gui/blurbs.ss index 4e40a47d..921a626c 100644 --- a/collects/scribblings/gui/blurbs.ss +++ b/collects/scribblings/gui/blurbs.ss @@ -283,5 +283,8 @@ information@|details|, even if the editor currently has delayed refreshing (see (define (boxisfillnull which what) @elem{The @|which| box is filled with @|what|, unless @|which| is @scheme[#f].}) + (define (slant . s) + (make-element "slant" (decode-content s))) + ) diff --git a/collects/scribblings/gui/style-delta-class.scrbl b/collects/scribblings/gui/style-delta-class.scrbl index 615e53e4..5917802c 100644 --- a/collects/scribblings/gui/style-delta-class.scrbl +++ b/collects/scribblings/gui/style-delta-class.scrbl @@ -11,9 +11,9 @@ by a delta include: @item{changing the font size to a new value} @item{enlarging the font by an additive amount} @item{enlarging the font by a multiplicative amount, etc.} -@item{changing the font style (normal, @italic{italic}, or {\sl slant})} +@item{changing the font style (normal, @italic{italic}, or @slant{slant})} @item{toggling the font style} -@item{changing the font to @italic{italic} if it is currently {\sl slant}, etc.} +@item{changing the font to @italic{italic} if it is currently @slant{slant}, etc.} @item{changing the font weight, etc.} @item{changing the underline, etc.} @item{changing the vertical alignment, etc.} diff --git a/collects/scribblings/gui/timer-class.scrbl b/collects/scribblings/gui/timer-class.scrbl index c9818ce4..1592c93b 100644 --- a/collects/scribblings/gui/timer-class.scrbl +++ b/collects/scribblings/gui/timer-class.scrbl @@ -72,9 +72,9 @@ The timer's alarm expires after @scheme[msec] milliseconds, at which point @method[timer% notify] is called (on an event boundary). If @scheme[just-once?] is @scheme[#f], the timer expires @italic{every} @scheme[msec] milliseconds until the timer is explicitly -stopped;\footnote{More precisely, the timer expires @scheme[msec] -milliseconds after @method[timer% notify] returns each time} -otherwise, the timer expires only once. +stopped. (More precisely, the timer expires @scheme[msec] +milliseconds after @method[timer% notify] returns each time.) +Otherwise, the timer expires only once. } diff --git a/collects/scribblings/gui/window-intf.scrbl b/collects/scribblings/gui/window-intf.scrbl index 62e1df4e..25777c8e 100644 --- a/collects/scribblings/gui/window-intf.scrbl +++ b/collects/scribblings/gui/window-intf.scrbl @@ -110,7 +110,7 @@ Returns the window's cursor, or @scheme[#f] if this window's cursor exact-integer?]{ Returns an exact integer representing a handle to the window in the -current platform's GUI toolbox. Cast this number from a C \cpp{long} +current platform's GUI toolbox. Cast this number from a C @tt{long} to a platform-specific C type: @itemize{ @@ -153,7 +153,7 @@ Gets a window's label, if any. Control windows generally display their label can be an icon symbol @scheme['app], @scheme['caution], or @scheme['stop]. -The label string may contain ampersands (@litchar{&}), which serve as +The label string may contain @litchar{&}s, which serve as keyboard navigation annotations for controls under Windows and X. The ampersands are not part of the displayed label of a control; instead, ampersands are removed in the displayed label (under all platforms),