Commit Graph

58 Commits

Author SHA1 Message Date
Matthew Flatt
b951c48fca Scribble PDF/Latex: Hangul support
original commit: 008f476210498537dc4e6812b154aadb9cf4e864
2012-11-02 07:45:57 -06:00
Matthew Flatt
d5a9bdadb8 Scribble Latex: more complete and consistent handling of accented letters
original commit: 6a82c8bb7c2dce32838dd3dbbb68d76930fcb96a
2012-10-10 07:13:05 -06:00
Matthew Flatt
0b1c035661 Scribble: add some macron accents for Latex
Merge to v5.3.1

original commit: de9ccea7f1b11b43c17f34a2c715dcb452a39e2d
2012-10-10 06:49:01 -06:00
Matthew Flatt
5084b1a133 scribble: make `linebreak' work more for Latex/PDF rendering
original commit: 683e72e9e39f3e8536f9fc0ba0ad8c6f5aca050a
2012-10-04 06:40:36 -06:00
Matthew Flatt
d373434241 scribble: decode a lone ` as a left "curly quote"
Also, add 'lsquo as allowed content.

Omitting the ` conversion in the first place was over-conservative.
There's a backward-compatibility issue with this addition (i.e., a
document might contain a backquote in a decoded context that is
meant to be rendered as a backquote), but the potential problems
seem minor.

original commit: cb041850f424644937c8b494c64c066bbe5f2069
2012-09-21 07:37:30 -06:00
Vincent St-Amour
7a8e517a5e Add comment about the current state of the latex character table.
original commit: a85438bc6950351c6372b18daf53a2baacb2d9f4
2012-08-31 19:31:20 -04:00
Matthew Flatt
b1ddcb292a scribble: for Latex output, use `\Ssection', etc. for section
A style override might change `\section' to `\chapter', etc.

original commit: 7b2e18afc5859b6dfc71d83b1c57e647387d27b2
2012-08-31 16:07:10 -06:00
Vincent St-Amour
0d977a560c Add scribble support for additional letters from the Czech alphabet.
original commit: f036b0bd12faf7bcad812f516d938ce5afaf0bc1
2012-07-12 17:40:01 -04:00
Matthew Flatt
9650c4767b scribble/*-properties: allow literal bytes in *-additions
For example, a `tex-addition' structure can have literal bytes
to include in the generated Latex, instead of a path to a file that
holds the content.

original commit: 2b9f57b01d55a39a70f0d0df22bc97b1874727ea
2012-07-06 13:17:35 -06:00
Danny Yoo
e48b814b17 Correcting type error in latex-match: target-url-addr can be a path, which can't be consumed by regexp-replace
original commit: 0a5e92c299c7f2edd8540d1d127f5c887ce750c7
2012-07-06 12:03:47 -04:00
Matthew Flatt
3d84458aa7 scribble Latex: add \SNumberOfAuthors{} in output
original commit: 814c974d015b647e8482a46720f0728d3b318175
2012-07-01 10:00:58 -06:00
Matthew Flatt
3ac30a1f35 scribble: fix duplicate call to `render-element' callback
This change should cut the time to generate the search index
roughly in half.

original commit: 00e1ed9369d8401ef349f9c9fb9475d30ab2cda1
2012-06-08 16:08:55 +08:00
Eli Barzilay
36eea932a8 A bunch of fprintf' -> eprintf' conversions (and a few related things).
original commit: 17090fca4f19298f01d03fea419edb20f315d040
2012-05-06 12:06:00 -04:00
Matthew Flatt
2c0f9c9480 scribble: for Latex, pick tt encoding of <, >, and | explicitly
original commit: 393a1f441ac1cab46000c72ea0901c3adac163e2
2012-04-29 11:23:37 -06:00
Matthew Flatt
a9cb0003ec scribble: change Latex rendering of empty hidden part titles
original commit: fc1089c84220582e627e0931438c275965228550
2012-04-29 10:37:11 -06:00
Matthew Flatt
d327ca1190 scribble: add 'block style for `table'
original commit: 20256a3f1504f44ccb10c128910b4d822bd857cf
2012-04-05 06:58:53 -06:00
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