Commit Graph

42 Commits

Author SHA1 Message Date
Matthew Flatt
1bb78b43fe scribble: for Latex/PDF output, use \makebox for precise pict widths
Otherwise, the width of a pict is implicitly rounded up, since
the PDF bounding box is an integer.

original commit: 4735666cd9a3a5de4e40202b23a9d8da034ef22e
2012-03-27 13:14:54 -06:00
Matthew Flatt
e151e32b82 change Scribble xref formats, so that HTML info works for Latex
There's no particular reason that any one format will have all
the information that other formats need, but it conveniently works
for now that HTML info can subsume Latex info.

original commit: a1fd742ed022035732b4a0c778168cc6b862933a
2012-01-11 16:39:52 -07:00
Matthew Flatt
ef02b4039c scribble: fix HTML rendering of table in nested flow starting item
original commit: 07342303e5eb63c0d255cacaa49faabc8c667d19
2011-12-03 08:41:15 -07:00
Matthew Flatt
201f279940 scribble: use Latex skull package only if needed
original commit: 93bcc58a0c348429a6fc145d83211d4e038f95e6
2011-11-26 09:01:46 -07:00
Matthew Flatt
c3adb61eee scribble: Latex/PDF rendering of some Unicode superscript characters
original commit: 9f81387e85e2fd18f869c60632bba69159476df3
2011-11-11 07:05:16 -07:00
Matthew Flatt
80d1ff2273 scribble: fix Latex renderer treatment of table cell/column styles
The renderer was using symbol style names as command names, but only
strings should be treated that way.

original commit: 0f5b53d3498f857920ff7fa438269727553dc058
2011-10-06 07:47:38 -06:00
Ryan Culpepper
02d8332600 removed useless requires
original commit: c7f86d276c68b12e87dc46cef4a8e1b95538f88d
2011-09-27 19:28:44 -06:00
Matthew Flatt
db4d7c9add Scribble: support for "boxable" blocks in Latex output
For example, if you make a multi-column table with a
`racketblock' in each column, then the columns size
to fit the code --- instead of forcing the table width
to match the page width and forcing each column to take
an equal share width.

original commit: b7afb3cf8fbbf448af18805db2f32c130ba4d47b
2011-08-05 10:03:38 -06:00
Matthew Flatt
2e8e709b7f Scribble: style adjustments to deter code wrapping
For HTML, the style used in the output of `racketblock' now
disables line wrapping, and the Rkt text styles inherit
line-wrap behavior. This doesn't solve the general problem
of code overflowing the horizontal space, but it makes the
failure mode usefully better.

A new 'vertical-inset nested-flow style is used by
`defproc', `defform', etc. It has no effect for HTML,
but it introduces suitable vertical space for Latex output
(in case you want to use `defproc' in a SIGPLAN-format
paper, for example).

original commit: 4ac85de974ec2e6326df129745228b3ffcbb778f
2011-08-05 10:03:37 -06:00
Matthew Flatt
825e3fcea8 Scribble Latex: change 'boxed to use a blue vertical bar
... to the left of a definition, instead of a horizontal line
before the definition

original commit: 378ca5ffc26168a52a03f46fd83bace49b301ead
2011-08-05 10:03:37 -06:00
Eli Barzilay
45a9cd48c2 ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Matthew Flatt
9f6f5d9812 add --latex-section' mode to scribble'
original commit: 3f95fabf7c4ef7616633820e79bf4d1ea472bbb9
2011-06-22 07:49:15 -06:00
Matthew Flatt
41b848edda Scribble Latex Unicode fixes
original commit: c9e98a5f1f3e93815352e4177730d7704c5ecda9
2011-06-16 15:06:15 -06:00
Matthew Flatt
a37d3fc996 fix 'exact-chars Latex rendering for `multiarg-element'
original commit: b44f217cddd166412c56bd80e810ebdeebcd1337
2011-05-19 06:36:54 -07:00
Matthew Flatt
e4f618d24d scribble: add support for setting a document date
in Latex output, and also document and generalize
 the 'pretitle paragraph style

original commit: 66178570b6f13fe2f6163d7b15e9e4118a4d0bad
2011-05-15 19:42:22 -06:00
Matthew Flatt
befd85c2d8 Scribble: simplify content that is conditioned on the render mode
including a new `scriblib/render-cond' library

original commit: df2a875ff4aaff90b20906a80dff6218470eb455
2011-04-04 10:45:02 -06:00
Casey Klein
442283d9be Adds caron s to LaTeX renderer
original commit: 7edfa58ef109abd91a358d2eef068040b43fe1ea
2011-04-01 14:00:45 -05:00
Matthew Flatt
742843af7b Scribble: change the way `racketblock' etc. indent/inset works
- introduce 'code-inset style for nested blocks
 - use style instead of spaces for code indentation
 - sigplanconf adds vertical space around 'code-inset
 - more ...0 variants to compose better

original commit: bbc5533938b1dac8f14005210fa9fe552dfa7e8c
2011-03-30 15:12:30 -06:00
Matthew Flatt
1f7cb9b151 Scribble: fix Latex-renderer bug introduced by 67b7c8f3f4e54
original commit: ba70e05ae24728a30e85618657b52c8da8d08b4a
2011-03-29 08:32:14 -06:00
Matthew Flatt
32be99330c adjust inline-PDF descent to account for rounding
of the PDF bounding box

original commit: a20a77508fe8bba052b15574b9601ef6a204f7f7
2011-03-27 16:27:19 -06:00
Vincent St-Amour
ce0e91fe1b Add the capital version of an accented character to Scribble.
original commit: 2e811060c5ded00a8946303aae7391ebac9febe6
2011-03-23 18:21:27 -04:00
Robby Findler
d145d03176 added one more accented char to scribble
original commit: 85b846f5f382c5b020aea006fb166e86492f93eb
2011-03-23 17:03:58 -05:00
Vincent St-Amour
16f2364f42 Fix Scribble's handling of the trademark symbol.
original commit: 4b1e4f9312e5379d60c8e8344ae74aba0e5b4f3a
2011-03-22 16:27:12 -04:00
Vincent St-Amour
3a7876b93a Fix Scribble's handling of L with stroke.
original commit: 6e9fea94e0748c7feef2999c73d11488591e4b32
2011-03-22 12:30:29 -04:00
Vincent St-Amour
c7fe077d3b Handle more accented characters in Scribble.
original commit: 0641d7bd7829551cefba6253e39eea354f32fcbd
2011-03-21 12:08:36 -04:00
Matthew Flatt
7ebc1ae0e4 Scribble: add 'multicommand support to `nested-flow'
original commit: cbca2f395bc2aa21a1c2c17667f10978b8cb43c3
2011-03-19 09:26:41 -06:00
Matthew Flatt
597196ae0e revese accidental change in 28be0c6e8938426668937add84c53647790aa736
original commit: 03e42ce6181f4ca881ffd96f4b797fe15d141272
2011-03-15 11:12:50 -06:00
Robby Findler
180aa8f478 adjust the size calculation of picts in the file/convertible connection to take into account the current-ps-setup's scale
original commit: 28be0c6e8938426668937add84c53647790aa736
2011-03-15 09:00:37 -05:00
Matthew Flatt
436582c382 fix Scribble Latex/PDF handling of images w/o bounding boxes
original commit: 3207efddb0abfc5a4648c99946171f18a850fafc
2011-03-15 07:20:36 -06:00
Robby Findler
30733a2b80 added pdf-bytes+bounds to the docs for file/convertible and then used it
to make scribble render inline picts with a nearly good looking baseline

original commit: 615bc86668f237635b9e5b10c94f63ef41d0544b
2011-03-14 19:38:29 -05:00
Matthew Flatt
f96e6f14e0 Scribble: add #:left?' optional argument to margin-note'
original commit: ec2a9177492705c66d39c2e48d909ba3bd2115b6
2011-03-02 11:00:21 -07:00
Kevin Tew
1c13277c98 [Scribble] Fix width of multicolumn table cells
original commit: f7d89009a42559e65fcabc93e68d083d0527962d
2011-02-16 09:26:17 -07:00
Matthew Flatt
ab1fe071d1 Scribble soft-hyphen support for Latex rendering; ?-' in scribble/base'
original commit: 21d324a1696daa84954959696052163fa5488021
2011-01-07 09:48:03 -07:00
Matthew Flatt
6c51ec9a9c better Scribble support for disabling line breaks
- make 'no-break element style work consistently
 - document 'no-break
 - add `nonbreaking' to `scribble/base'

original commit: 315fdf071a2905ff4d634c7b8004e32c0d6a1b58
2011-01-07 09:48:03 -07:00
Matthew Flatt
4faeb1744e Scribble LaTeX rendering of non-breaking hyphen; add ~' and -~-'
original commit: 163d10cab31ce844b34e7d11f2245842bf69691b
2011-01-07 09:48:03 -07:00
Matthew Flatt
8c37f24f40 re-fix Scribble Latex image support
original commit: 36669b821a350a5f8efb466bb3f6b13c0feb73c4
2010-11-28 08:01:07 -07:00
Matthew Flatt
d2293dc223 Scribble Latex image support (missed an earlier commit)
original commit: cc82d3728525b5bac3f2cb91d249d5404a7a3bd0
2010-11-28 08:01:06 -07:00
Matthew Flatt
90ded4003f bitmap% convertible to 'png-bytes; more Scribble Latex; pict in Slideshow docs
original commit: e97414b7bfc5182702c946dc7fcd024a19f7b191
2010-11-27 07:36:12 -07:00
Matthew Flatt
6fb5dc58de scribble: render `pict' content directly
--- actually, any value that is convertible to PNG/PDF

original commit: 0f86dc15afe6d0bf48a77f8aec7d66fda356082b
2010-11-26 20:40:43 -07:00
Matthew Flatt
42c4576533 fix Scribble Latex rendering of consecutive dashes and quotes
original commit: 96d528db9edac819d209ed184ab94e7075316576
2010-07-24 20:43:17 -05:00
Matthew Flatt
f15af6e90b add fix-point finding traverse pass to Scribble
original commit: 8b7c8d08bdaeed5f0ec42fc1a4855ad19e7354b2
2010-05-21 19:40:33 -06:00
Matthew Flatt
7e5406e889 rename all files .ss -> .rkt
original commit: 28b404307793f041bb3363135a2968e283855318
2010-04-27 16:50:15 -06:00