diff --git a/pollen/private/ts.rktd b/pollen/private/ts.rktd index f565e96..6d6c75e 100644 --- a/pollen/private/ts.rktd +++ b/pollen/private/ts.rktd @@ -1 +1 @@ -1457655648 +1457715783 diff --git a/pollen/scribblings/command.scrbl b/pollen/scribblings/command.scrbl index 6a8a02c..2ed27c1 100644 --- a/pollen/scribblings/command.scrbl +++ b/pollen/scribblings/command.scrbl @@ -48,7 +48,6 @@ When you use DrRacket, you'll see a button in the toolbar that says @onscreen{In Courtesy of @link["https://github.com/maphew"]{Matt Wilkie}: ``Here's a working AHK script to have double-tap backtick send the lozenge character. It took way more time than I want to think about, once started I couldn't let go.'' -@fileblock["tick-tick-lozenge.ahk"]{ @foreign-code{ ; ; Double-tap backtick sends Pollen command character (◊) @@ -81,7 +80,11 @@ TheKey: ; Regardless of which action above was triggered, reset the count to ; prepare for the next series of presses: winc_presses = 0 -return}} +return} + +An alternative, courtesy of @link["http://www.barzilay.org"]{Eli Barzilay}: ``this turns M-\ to the lozenge'': + +@foreign-code{!\:: Send {U+25CA}} @subsubsection{Emacs script} @@ -105,6 +108,11 @@ Courtesy of @link["https://github.com/lerichard95"]{Richard Le}: ``If you're usi ;; Bind key to M-\ a la DrRacket for lambda (global-set-key "\M-\\" 'insert-lozenge)} +@link["http://www.barzilay.org"]{Eli Barzilay} offers an even more concise version: + +@foreign-code{(global-set-key "\M-\\" "◊")} + + @section[#:tag "the-two-command-styles"]{The two command styles: Pollen style & Racket style} Pollen commands can be entered in one of two styles: @italic{Pollen style} or @italic{Racket style}. Both styles start with a lozenge (@litchar["◊"]): diff --git a/pollen/scribblings/mb.css b/pollen/scribblings/mb.css index 76ce174..aa3f181 100644 --- a/pollen/scribblings/mb.css +++ b/pollen/scribblings/mb.css @@ -34,10 +34,6 @@ border-bottom: none; } -.terminal .SIntrapara, .browser .SIntrapara { - margin: 0 0 0 0; -} - .terminal, .browser { margin-bottom: 1em; padding: 0.5em; @@ -53,3 +49,6 @@ color: #666; } +.terminal .SIntrapara, .browser .SIntrapara, .foreign-code .SIntrapara { + margin: 0 0 0 0; +}