Matthew Flatt
625ee5db99
fix misc tests for error-message change
...
original commit: b5ab6cec7e3038cfd917af16e082c8bc98384807
2012-05-26 08:18:19 -06:00
Matthew Flatt
45e9a0fd33
scribble/eval: fix error line wrapping
...
The `wrap-line' function from `scribble/text/wrap' wants a
string that's a single line, so break the initial string
based on explicit lines, first.
original commit: 9b7ef7bf699c7997ad2c254827ca6528491a6f10
2012-05-25 12:47:39 -06:00
Asumu Takikawa
aaad158068
Fix doc breakage.
...
`abstract` from racket/class conflicted with `abstract`
in scribble paper modules.
original commit: 94545a7cd7c108688c2299bb5f0e0f2e0a63c025
2012-05-22 19:55:44 -04:00
Matthew Flatt
e1f816952c
fix Scribble module languages to allow submodules
...
That is, recognize `module' and `module*' as top-level forms.
original commit: ec85dd913d75250e5be244bc07789604dfe5fd34
2012-05-20 07:39:05 -06:00
Matthew Flatt
2cdcf15d24
fixes for `scribble/srcdoc'
...
Use the new `relative-in' form to make imports
resolve correctly when they are shifted among modules.
original commit: 0c95475f4ffbc343291e5529a6f4b32a91159ef1
2012-05-15 20:03:41 -06:00
Matthew Flatt
24acfab0ad
implement scribble/srcdoc' via submodules instead of
expand'
...
Also add a `for-doc' require form, make `proc-doc' et al. provide
forms, make `provide/doc' an alias for `provide'.
original commit: 964020f288a73340052b471327bfe873d804eea8
2012-05-12 01:37:50 -06:00
Jay McCarthy
757b462154
Better error messages, plus fix for the tag syntax
...
original commit: 93d8e89b66a3e1f659a6c4e59a6d8086debe0d0a
2012-05-11 20:13:29 -06:00
Jay McCarthy
ec73f42c1b
scribble/lp on racket/base vs scheme/base
...
original commit: f675514a2b47fdf3cb1b1c9447c96bea468a401c
2012-05-10 10:36:29 -06:00
Matthew Flatt
681837dc32
scribble/eval: add eval:result' and
eval:results'
...
original commit: 2d027e7ee5885b8c70e720db968f348df7fa2949
2012-05-09 19:11:21 -06:00
Eli Barzilay
bad524ff54
Do the xref test only if "doc/reference/out.sxref" exists/
...
(Since the nightly build includes the documentation only on the main
machine.)
original commit: a4381dd1f62f701227ead8efa6be15d5b950dc7d
2012-05-07 09:12:00 -04: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
Eli Barzilay
dcb28604ca
Use the new `wrap-line' in the scribble text renderer.
...
Looks like it's not making any changes in the current tests (which use
the text renderer), but with words that are longer than the width the
old version would stop wrapping afetr these words. Added a test file
that fails with that and succeeds with the new one. If anyone cares
about this, it's easy to make hyphenate words that are too long for a
line.
(Also fixed some redundant frustration in the bib test...)
original commit: 084f1dcea7707adc83d180f79e6c68149dc03644
2012-05-06 08:17:36 -04:00
Eli Barzilay
6bec5dbd28
Some racketization (and outdent).
...
original commit: 34ec39119442c4202e3779a929b8406aee58e524
2012-05-06 06:29:18 -04:00
Eli Barzilay
c3d02f1416
Use the new wrap-line' in
scribble/eval'.
...
This might have output that is a little better in cases where the
wrapped string is longer than `maxlen', for example, with an input of:
" x xxxxxxxxxxxxxxxx..."
and wrapping at 10 characters, the output was
" x\nxxxxxxxxxx\nxxxxxx..."
and now it's
" x xxxx\nxxxxxxxxxx\nxx..."
original commit: efda1706d87045cbe2882c9c4b77b34a72e3594b
2012-05-06 06:15:04 -04:00
Eli Barzilay
63427f262e
Streamline all scribble tests.
...
original commit: 36394500e552b1f00fca97b2e99fc674cd3a5857
2012-05-06 05:53:19 -04:00
Eli Barzilay
283bcc6ff5
New wrap-line' function in a new
scribble/text/wrap' module.
...
This should probably become documented if it's stable enough. For now
it's intended for building wrapping functions, so it's only documented
in comments the file.
original commit: 89b9ad0dde5298516934f4df016c27b60e10f86d
2012-05-06 05:38:04 -04:00
Robby Findler
95575d09b0
fix proc-doc/names documentation
...
closes PR 12739
original commit: f2816e72b4a106399ea075988d337c6ab0f38076
2012-05-03 11:36:09 -05:00
Asumu Takikawa
c89374a441
Add an example to scriblib/autobib docs.
...
original commit: 420b66ca4e4ab0a06ba4b620f8ce729c4a5dd083
2012-05-02 22:39:06 -04:00
Matthew Flatt
bca4c000ba
racket/sandbox: change syntax-object wrappers generated for locations
...
Generate wrappers consistent with a reader-level absence of `.'s,
instead of wrapping every pair. This change fixes the `syntax-e'
example in the Guide's description of syntax objects.
original commit: 54a6ba8d363f441d0bf3d4b15df0170215b84b8e
2012-05-01 16:48:15 -06:00
Matthew Flatt
548627c404
scribble/eval: change string or byte-string expression handling
...
Use `datum->syntax' instead of `begin' to protect the string or byte
string. Danny Yoo suggested this change.
original commit: 23296615ec7cddb34257486b62094048b085ff6e
2012-05-01 16:48:15 -06: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
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