Commit Graph

1665 Commits

Author SHA1 Message Date
Matthias Felleisen
c971d20757 add a form to declare a module/library deprecated
original commit: 9ef66b80eac46a18fd200cef2f8c084ca7f6a0b7
2012-04-28 13:25:32 -04:00
Danny Yoo
876b221b05 small typo
original commit: a067380622833a9c5153d88f71f614234e7fb57c
2012-04-28 05:27:34 -04:00
Matthew Flatt
6a773e5078 scribble/bnf: add `BNF-seq-lines'
original commit: 563909c3285cd30f076b37619b5623c24888f2c0
2012-04-26 17:59:19 -06:00
Matthias Felleisen
497a6e15cb removed code:comment hack that clearly never should have been there
original commit: 3e1e9c876312de7a844303e2fec553bf0bd61728
2012-04-23 20:01:58 -04:00
Eli Barzilay
eb02149bb7 Make it possible to run each scribble test file by itself.
original commit: 115a3dfbac711d1ef8de2f52d9d1599bbf708333
2012-04-17 14:04:57 -04:00
Robby Findler
9a97f6693f adjust the way 'new' is laid out in the documentation to be more DrRacket-like
original commit: 0b71ebecafca03470c2e26783e5afbf05df30dce
2012-04-14 14:54:19 -05:00
Matthew Flatt
da393a6b19 add #:line-number-sep' to codeblock'
original commit: c5e5a0349a9202e2f997eca16029835b9885d740
2012-04-11 11:49:01 -06:00
J. Ian Johnson
743e0afbfb Sort bibliographies by authors' last names.
(Tweaked by Vincent.)

original commit: 3caf0aca23a293271dd7245f42b28dccaab535f6
2012-04-05 19:04:54 -04:00
Matthew Flatt
d327ca1190 scribble: add 'block style for `table'
original commit: 20256a3f1504f44ccb10c128910b4d822bd857cf
2012-04-05 06:58:53 -06:00
Jay McCarthy
e287958185 Moving tests re: Sam
original commit: 1d19a844f4e63de3d3709cd828bb9922c8c952eb
2012-03-30 23:54:42 -06:00
Jay McCarthy
b33bd7bf33 Autobib errors with no authors or dates on a bib entry. Test included.
original commit: 13e36fbec4d50813ced3ae80db8c1a641952f719
2012-03-29 15:44:27 -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
70332eb7ce make HTML rednering work when a `part' has not tags
original commit: 2d87d48ebdb831fafc398a603c2582bb87ce8592
2012-03-25 19:25:35 -06:00
Matthew Flatt
219c78cc7b add missing "jfp.css"
original commit: 6c1e1635abfd125d866c5202e8d19cc548cd2299
2012-03-25 19:25:35 -06:00
Vincent St-Amour
9a091e2d4f Fix bug in autobib's handling of urls.
original commit: 999de5a4884e07f4f5cc48910bd658b57ef46fdb
2012-03-19 11:10:22 -04:00
Robby Findler
5be58073cb disable the drracket toolbar buttons for scribble/lp files
original commit: 4fe8cd344c09390b20eb7c9cca415d79753d642b
2012-03-17 19:24:33 -05:00
James Ian Johnson
f280030d0c Bibliographies had a nondeterministic render order. Fixed. Added tests for disambiguation.
original commit: 6e7fb4e7efd6efc692f4305740754a91ebf70dde
2012-03-13 18:38:31 -04:00
James Ian Johnson
875843a4e1 It was possible for a multi-citation to be ambiguous and mention a something not referenced anywhere else. Added a safeguard so that the citation hash is properly populated.
original commit: 337be4a677bdbd3aeae9926fd45727944ed63d3d
2012-03-13 18:38:30 -04:00
James Ian Johnson
ca961ce44b Added the ability to disambiguate between citations using autobib.
original commit: 2c63ce2286da4113baa9c32d5d75bf8189bcbb35
2012-03-13 18:38:30 -04:00
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