Commit Graph

9 Commits

Author SHA1 Message Date
Matthew Flatt
e81cd0d8d7 add `slideshow/code-pict' and code transformers
The `slideshow/code-pict' library is the same as `slideshow/code', but
it works in non-GUI settings. Only the `slideshow/code' library connects
the code font size to `current-font-size', though.

The `code' macro, `define-code', etc., now support "code transformers",
which are syntax bindings that trigger otherwise-unescaped transformations
in the code to typeset (which can make the code easier to read and
friendlier to auto-indentation).
2012-09-18 10:03:26 -06:00
Robby Findler
1f2d0462a9 guard against strange syntax objects being passed to 'code' 2011-12-02 15:18:18 -06:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Matthew Flatt
c8f235ba1c fix `slideshow/code' for datum after multi-line datum
as in
   (a b
      c) d
 or
   (a b
      c) (code:comment "here")
2011-06-30 13:08:28 -06:00
Matthew Flatt
4f93672666 slideshow/code: handle infix notation
and also improve `code:line' alignment across lines
 Closes PR 8334
2011-03-08 07:55:52 -06:00
Matthew Flatt
2edadd6113 add pdf-dc%; make slideshow/pict depend on racket/draw, not racket/gui 2010-11-26 10:35:05 -07:00
Sam Tobin-Hochstadt
da80d6c034 allow +,-,(,) in code subscripts and superscripts 2010-10-07 10:18:06 -04:00
Robby Findler
7c3b8eadf8 adjusted the default code keywords to include racket/base 2010-08-20 09:19:14 -05:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00