Commit Graph

1596 Commits

Author SHA1 Message Date
James Ian Johnson
ce2dc58b4c Better disambiguation for autobib. Delays rendering bib elements because the disambiguation must be accounted for.
original commit: f3dc5796bedcc4390382f0c9d6790caf68d11a99
2012-03-13 18:38:30 -04:00
James Ian Johnson
403058dcf2 Added the ability to disambiguate between citations using autobib.
original commit: 6f1c6b7d92f9654f84dba446edd0df377ee262eb
2012-03-13 18:38:30 -04:00
David Van Horn
c50afd054e Fix contract on filebox to reflect documentation.
original commit: b8d3219b1b8000f367f6660f09e1870a2b857b72
2012-02-28 19:40:21 -05:00
Jay McCarthy
e517a09290 Squelch newline citations
original commit: d7aa944ebac6bed0c7986ede99bd0fa1fb1e61c3
2012-02-20 10:50:47 -07:00
Eli Barzilay
404c08f8c3 Revise commented code so it can replace exiting code without dependency issues.
original commit: 31746a2d9e52202e752850012bb509f7e167e2ff
2012-01-26 13:20:26 -05:00
Jay McCarthy
3b50061de1 Throw an error when required fields are missing, rather than letting scribble error
original commit: 2d0d4823a78147cc9fa4dfa85fc09a5a609ac2d1
2012-01-25 16:48:11 -07: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
bf6b952964 add ffi/com', ffi/unsafe/com'
original commit: ff41a896bc03ccba95da0ba0a8e4b38c70bab278
2012-01-10 18:35:32 -07:00
Matthew Flatt
3f4465aada make scriblib/figure' work with scribble/jfp'
original commit: 3b87b735554b216d78690e4bc25f586988c08311
2012-01-09 13:29:56 -07:00
Matthew Flatt
54de2e9413 fix typo
Reported by J. Ian Johnson

original commit: fb46daafa09c39a5029efd872933f8db20822c41
2011-12-31 06:32:13 -07:00
Eli Barzilay
65e44be261 Make a `resource' struct so it is identifiable.
(Also, change a `define-struct' to a `struct'.)

original commit: 787f3151de5f803fa5b54e6a4d4d2219c72d0b4c
2011-12-28 21:07:24 -05:00
Eli Barzilay
73784d91d9 Remove the `referrer' argument from resources.
This turned out to be a bad idea.  The thing is that some resources need
to be referred to in multiple ways -- for example, different texts in
links of different kinds, or using the URL directly in some cases.  The
existence of `get-resource-path' is a witness for this problem, since it
was used for such cases -- this function is removed as well.

There's no point in trying to generalize this here: instead, go back to
a simpler system where a resource always returns its URL (with an
optional argument to get an absolute URL).  When a `referrer'
functionality is needed, build it on top of that, in a place where it
makes more sense.  (That is, in a specific code for generating content,
where there could be a decision that resources have plain links and also
a very short link for use in navbars.)  Otherwise, it's usually simpler
to just define resources and referrers separately (as different
bindings, the latter uses the former).

original commit: 180651d04d554bb29a6128dd66a292d354140535
2011-12-28 21:07:24 -05:00
Eli Barzilay
984496bef4 Switch delay's to lazy's.
original commit: c8c13e46bb8412b10a97acf490e015dd72079615
2011-12-28 21:07:24 -05:00
Eli Barzilay
27ac7bce2f Clarify a comment for future work; a bunch of new internal definition uses.
original commit: ace5fdf1f3609fff3c583f8ea8fa050a99ac2cf3
2011-12-28 21:07:24 -05:00
Matthew Flatt
f330897ca1 fix for `scribble --text' and tables
original commit: dcedd6e2be5b58bf5f26e1a5c7f5305502d889f8
2011-12-21 11:27:06 -07:00
Matthew Flatt
f5ce9df901 scribble: avoid line-break between "#" and "<void>"
original commit: 1b4f13e674a640cfca5808a024393e047b4d7b19
2011-12-18 07:27:32 -07:00
Matthew Flatt
27d597b71f intern strings, etc. only when making syntax objects, not in `read'
Rename `read-intern-literal' to `datum-intern-literal'.

Interning is needed only in `read-syntax' or `datum->syntax' to
set up the invariants that the bytecode compiler needs for cross-module
optimization. When `read'ing numbers from a data file, meanwhile,
interning slows things down a lot and doesn't seem worthwhile.

original commit: ee775c3cc3088a8de848399b3c1eec97bbc52b89
2011-12-14 16:03:44 -07:00
Matthew Flatt
9d0ff0cdfd more interning related to Scribble xref
original commit: 17504a960eb552992818a9b303457d58f9171b2a
2011-12-10 11:43:58 -07:00
Matthew Flatt
4dacb9f7a8 strip value from 'dep tag
The value isn't used; a 'dep tag is ony to establish
dependencies, and the relevant value is with a 'form or
'def tag. Avoiding the extra value saves another 5% in
cross-reference files.

original commit: 28ee1570ae2ac68007af5798b5964a859ffcb49b
2011-12-10 11:43:58 -07:00
Matthew Flatt
f1a593d3a3 read-intern strings generated by Scribble; other interning
This change saves a small amount of space in cross-reference files
and some space in loaded cross-reference information.
It also saves work converting strings to mutable on deserialize,
although the performance difference seems negligible.

original commit: b2fade9206590173e4c2e346357ad13150525387
2011-12-10 11:43:58 -07:00
Matthew Flatt
c17636d399 fix `defform[*]' handling of #:id and grammar production
In @defform*[#:id x1 [(qqq x1)]], for example, `#:id x1' needs to
calcel the default treatment of `x1' within `(qqq x1)' as
a metavariable, while treating `qqq' as a meta-variable.

original commit: 7d2914fc8a8f2647605da1d6699d0bc54685a5f3
2011-12-03 10:03:13 -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
44a9f835da switch `codeblock' to strings instead of bytes
Also, fix scribble lexer line counting.

Closes PR 12225

original commit: fca5ceecc97dfff28ae52bb404a8761426f64145
2011-11-27 11:06:21 -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
16ff0ec9a4 at-exp, scribble: remove distinctness of @{}-introduced newlines
original commit: fe3b6ea0032a6cdee6aa8720b349ef1032fed803
2011-11-24 09:17:34 -07:00
Matthew Flatt
3ddff1f507 update sigplanconf to the version with Creative Commons license
original commit: 2de0a853dd4b42f719f260df7039df309deace7e
2011-11-11 16:32:16 -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
28a795d6a3 add missing `render%' init argument doc
original commit: 3885f4683bb7093f9bf2c448d9b0075ff6a94a67
2011-11-02 08:12:58 -06:00
Matthew Flatt
0ffb9f2b48 fix contract
original commit: 932ef94cb3172fab489b2543a9efa9e613727188
2011-10-28 06:43:20 -06:00
Ryan Culpepper
5218126773 scribble/eval: pretty-print results by default
original commit: eed6016793c9646f5dce28e2660c2a8cd0db1122
2011-10-16 05:41:58 -06: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
5faa598ff1 fix `scribble -h' output
original commit: 8711feae2d7109348352687721cd3960f7d80947
2011-09-26 18:07:18 -06:00
Robby Findler
9717b74876 use new copy-file argument that Matthew provided; this is a better fix than
commit f9e1c41cb0a7f84766207d7a092443dbb5a17e1c was for the same problem

original commit: 76e55071b056d87eb60950f0b08326e09668fa5f
2011-09-19 15:19:04 -05:00
Robby Findler
f258c1ca85 minor Rackety
original commit: de62ac2f061ef2d5c40e2025b81f265f40fd0fdf
2011-09-18 21:20:27 -05:00
Robby Findler
7265c614d4 Change scribble so that is overwrites the destination file when it makes a .pdf file
instead of copying the file into place. This makes Lion's Preview happier (specifically
it now recognizes the file as a revision of the old one and updates itself instead of
treating it as a new file and opening a second window)

original commit: f9e1c41cb0a7f84766207d7a092443dbb5a17e1c
2011-09-18 21:20:27 -05:00
Eli Barzilay
867af4149a Make `defproc' throw an error if two arguments have the same name.
Related to the already fixed PR 12114 and PR 12133, which motivated the
error, and a few additional typos of the same kind.

(Note that it uses the symbols, but that's how they'll render anyway.)

original commit: 16cd1ad78d6495816a4869621154024652fd8da0
2011-09-16 11:14:18 -04:00
Eli Barzilay
240449694b Some selective #:when (not ...)' -> #:unless ...'.
original commit: 623c7493ed2bbf7c89caea877a7b94a5f4c42c73
2011-09-16 10:48:18 -04:00
Matthew Flatt
5a16309b24 scribble CSS: force text-align left in RktBlk
Because IE seems to default to inherit while other browsers
default to left.

original commit: 87652cd32e285ac9c37494c49feff867e7ab0e21
2011-09-15 07:25:57 -06:00
Matthew Flatt
4622f11e5f scribble: fix HTML navigation when the main part has 'toc
original commit: 9bd50695b5778902d626fa707cd2ebe7d59dba03
2011-09-15 07:12:58 -06:00
Matthew Flatt
f622c4755c scribble: more nowraps in HTML output
Avoids line-wraps for `examples' output and in function contracts

original commit: 7a2e1aa9001ec002892be146b7e5b425fa757c01
2011-09-12 19:17:08 -06:00
Matthew Flatt
48581ad3d0 generalized `begin-for-syntax'
original commit: d3c56c9f13327d07513f8b6bf7ea0230acb7f489
2011-09-08 14:06:00 -06:00
Vincent St-Amour
a33001e62f here-figures shouldn't be on a page of their own.
original commit: 371fcba252ca2ea2a4389e1a9273436253e62be4
2011-09-06 16:35:16 -04:00
Matthew Flatt
077c95eb87 avoid an internal error
Closes PR 12138

original commit: fd0a2e98798073ba9baf8d805ce31923f1468b1c
2011-09-04 15:55:26 -06:00
Matthew Flatt
037d6f0f4c add `schemecommentfont'
original commit: 0b2beace40ceccbdeda4f66c3124b725730bc895
2011-09-03 14:57:57 -06:00
Matthew Flatt
78886fda93 document `scribble/pdf-render;
original commit: e7ec9f5eb7c157fa3d9ab4c1dc87ee5be89611e4
2011-09-01 07:14:03 -06:00
Matthias Felleisen
37ab802f76 Closes PR12140
original commit: e4039661d4f814587a1d35a478b1c64e51c0a424
2011-08-30 17:21:54 -04:00
Matthias Felleisen
b5c4c4fb07 basic fixes to figure.tex; partially addresses PR 12140
original commit: c5155b6b75842c5f362150396859b5538e970609
2011-08-30 17:21:53 -04:00
Eli Barzilay
7510247e3a Documentation typo.
original commit: 0e31b37aa4581f7bdda5bcee4573966b5733dbcb
2011-08-29 15:13:01 -04:00
Matthew Flatt
d1d35d28bf Guide corrections
original commit: bedd7b16713bcea67f44e8bc7e30a5782b8a1f66
2011-08-26 10:04:19 -06:00