diff --git a/collects/scribblings/framework/canvas.scrbl b/collects/scribblings/framework/canvas.scrbl index 9d59200a..5735b866 100644 --- a/collects/scribblings/framework/canvas.scrbl +++ b/collects/scribblings/framework/canvas.scrbl @@ -10,10 +10,10 @@ @defmixin[canvas:basic-mixin (editor-canvas%) (canvas:basic<%>)]{ } @definterface[canvas:color<%> (canvas:basic<%>)]{ - \index{background color} + @index{background color} Mixins that implement this interface initialize the background color of the canvas to the value of the - \index{'framework:basic-canvas-background} + @index{'framework:basic-canvas-background} @scheme['framework:basic-canvas-background] preference. Adds a callback so that when that preference is modified, the background color changes. diff --git a/collects/scribblings/framework/menu.scrbl b/collects/scribblings/framework/menu.scrbl index 09a653ca..2f9b84ef 100644 --- a/collects/scribblings/framework/menu.scrbl +++ b/collects/scribblings/framework/menu.scrbl @@ -18,7 +18,7 @@ } @definterface[menu:can-restore-underscore<%> (labelled-menu-item<%>)]{ These menus can save and restore the underscores (indicated - via the \& characters in the original labels) in their + via the @litchar{&} characters in the original labels) in their labels. If the preference @scheme['framework:menu-bindings] diff --git a/collects/scribblings/gui/eventspace-funcs.scrbl b/collects/scribblings/gui/eventspace-funcs.scrbl index 496d93e6..195b899c 100644 --- a/collects/scribblings/gui/eventspace-funcs.scrbl +++ b/collects/scribblings/gui/eventspace-funcs.scrbl @@ -137,7 +137,7 @@ A second (optional) boolean argument indicates whether the callback boolean?] [(yield [v (or/c (one-of/c 'wait) evt?)]) any/c])]{ -@;\index{pause}\index{wait} +@;@index{pause}@index{wait} Yields control to event dispatching. See @secref["eventspaceinfo"] for details. diff --git a/collects/scribblings/gui/key-event-class.scrbl b/collects/scribblings/gui/key-event-class.scrbl index ef139688..3923044b 100644 --- a/collects/scribblings/gui/key-event-class.scrbl +++ b/collects/scribblings/gui/key-event-class.scrbl @@ -134,7 +134,7 @@ Gets the virtual key code for the key event. The virtual key code is @item{@indexed-scheme['f24]} @item{@indexed-scheme['numlock]} @item{@indexed-scheme['scroll]} -@item{@indexed-scheme['wheel-up] --- \index["wheel on mouse"]{mouse} wheel up one notch} +@item{@indexed-scheme['wheel-up] --- @index["wheel on mouse"]{mouse} wheel up one notch} @item{@indexed-scheme['wheel-down] --- mouse wheel down one notch} @item{@indexed-scheme['release] --- indicates a key-release event} @item{@indexed-scheme['press] --- indicates a key-press event; usually only from @scheme[get-key-release-code]} diff --git a/collects/scribblings/gui/timer-class.scrbl b/collects/scribblings/gui/timer-class.scrbl index d29ca13d..c9818ce4 100644 --- a/collects/scribblings/gui/timer-class.scrbl +++ b/collects/scribblings/gui/timer-class.scrbl @@ -70,7 +70,7 @@ Starts (or restarts) the timer. If the timer is already running, its 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[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} diff --git a/collects/scribblings/gui/top-level-window-intf.scrbl b/collects/scribblings/gui/top-level-window-intf.scrbl index 7bdd2882..2e0db90e 100644 --- a/collects/scribblings/gui/top-level-window-intf.scrbl +++ b/collects/scribblings/gui/top-level-window-intf.scrbl @@ -278,7 +278,7 @@ In a dialog, if @scheme[event] is an Escape key event, the event is @item{ If @scheme[event] is an alphanumeric key event and the current top-level window contains a control with a mnemonic matching the key (which is - installed via a label that contains ``\&''; see + installed via a label that contains @litchar{&}; see @method[window<%> get-label] for more information), then the keyboard focus is moved to the matching control. Furthermore, if the matching control is a @scheme[button%], @scheme[check-box%], or diff --git a/collects/scribblings/gui/win-overview.scrbl b/collects/scribblings/gui/win-overview.scrbl index d7549008..84a55aa0 100644 --- a/collects/scribblings/gui/win-overview.scrbl +++ b/collects/scribblings/gui/win-overview.scrbl @@ -345,7 +345,7 @@ with the following program: @schemeblock[ (code:comment #, @t{Create a dialog}) -(define dialog (instantiate dialog\% ("Example"))) +(define dialog (instantiate dialog% ("Example"))) (code:comment #, @t{Add a text field to the dialog}) (new text-field% [parent dialog] [label "Your name"]) diff --git a/collects/scribblings/gui/window-intf.scrbl b/collects/scribblings/gui/window-intf.scrbl index e7ec2963..9fb1f82f 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 @cpp{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 (``\&''), which serve as +The label string may contain ampersands (@litchar{&}), 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),