dented42
9ba5507588
Enabled scribble toolbar
...
Wrapped `scribble-base-info` instead of `scribble-base-reader-info` for the reader `get-info` function. This version of the info function tells DrRacket to display the scribble toolbar.
2025-03-16 21:11:18 -06:00
Suzanne Soy
24fd9ca7ca
Renamed main branch
2021-04-04 07:22:30 +01:00
Suzanne Soy
a6226feee5
Added e-mail address
2021-03-04 21:00:35 +00:00
Suzanne Soy
05270bf10e
Changed my name :)
2021-03-04 20:37:39 +00:00
Georges Dupéron
ebdeed4cd3
Updated Racket versions in .travis.yml
2019-04-24 22:49:08 +02:00
Georges Dupéron
ae57a0d043
Correctly render spoilers with TeX
2017-06-08 23:44:04 +02:00
Georges Dupéron
1fc9c43010
Small improvements on spoilers
2017-05-30 23:13:41 +02:00
Georges Dupéron
51c7b9aed8
Possitility to toggle between a short and expanded version of the code (undocumented for now)
2017-05-29 13:31:10 +02:00
Georges Dupéron
a8a0eb8a28
Found quick&dirty way to embed the result of (init) whenever hlite is used. Added removed-but-with-another-style modes -/ -= -+
2017-05-22 04:25:23 +02:00
Georges Dupéron
ddf8b602b2
Fix in the documentation
2017-05-18 16:10:41 +02:00
Georges Dupéron
4ca6172660
Changed the section in which the documentation appears on the main page
2017-05-16 12:09:45 +02:00
Georges Dupéron
741a761476
Quick documentation & passable LaTeX support
2017-05-16 00:26:48 +02:00
Georges Dupéron
b495e59300
Cleanup; added example
2017-05-15 23:49:42 +02:00
Georges Dupéron
7d9ba126b7
Highlighting improvements
2017-05-15 23:44:56 +02:00
Georges Dupéron
4e19426d90
Bug fixes concerning handling of rest elements when removing parts of code.
2017-05-15 22:52:06 +02:00
Georges Dupéron
35871c47c9
Correctly handle added / kept elements within removed elements, for @hlite.
2017-05-15 22:05:06 +02:00
Georges Dupéron
a499901ead
Added support for highlighting parts of literate programs.
2017-05-15 21:38:49 +02:00
Georges Dupéron
d0a3a0b255
Allow the last expresion of the lang-line to span multiple lines. Stop providing #%top-interaction, so that one from the user's language is used instead (still can't access the bindings without providing them + (require (submod .)), but it's a step forward)
2017-05-11 23:38:46 +02:00
Georges Dupéron
a0e807ce43
Pulled the options out of the (lang . chain₊)
2017-04-26 14:20:58 +02:00
Georges Dupéron
08cb9cb52c
syntax colorer support for the custom command character.
2017-04-26 01:30:29 +02:00
Georges Dupéron
f7ec1fbb5f
Allow customization of the at-exp character.
2017-04-25 17:51:20 +02:00
Georges Dupéron
8e95ce9deb
Note: maybe we should use the 'scribble property instead of 'first-comments and 'comments-after
2017-02-01 07:56:13 +01:00
Georges Dupéron
5c75120b28
Closes FB case 174 Fix chunk arrows in hyper-literate => use syntax-local-introduce on the value of 'disappeared-use and 'disappeared-binding
2017-01-20 14:01:34 +01:00
Georges Dupéron
835e565e0e
Closes FB case 173 Fix arrows in hyper-literate. I Used a module-like scope when nesting the whole module body to allow overriding build-ins, as DrRacket doesn't draw the arrows properly when a (make-syntax-introducer) is used.
2017-01-20 13:47:17 +01:00
Georges Dupéron
40068c6410
Use only typed-map-lib, not typed-map
2017-01-13 01:52:14 +01:00
Georges Dupéron
674af96a89
Attempt at typing hide-#%comment, it looks horrible.
2017-01-13 00:56:08 +01:00
Georges Dupéron
0fbcd59af2
Build with fewer CPUS, to avoid OOM
2017-01-12 22:17:02 +01:00
Georges Dupéron
99c63ecd55
Moved typed-syntax files to tr-immutable.
2017-01-12 19:03:27 +01:00
Georges Dupéron
deca84c956
Finally managed to get syntax-properties-typed.rkt to typecheck, without relying on (Syntaxof Any) in the First-Comments and Comments-After types. The predicates are horrible to write, though :-(
2017-01-12 05:03:10 +01:00
Georges Dupéron
a110b20df1
Attempt at cross-phase structs, didn't work out well.
2017-01-12 02:27:00 +01:00
Georges Dupéron
b79ec821d4
Wrote wrappers for the configurable functions any->isyntax* syntax->isyntax* any->isyntax-e*
2017-01-11 20:39:47 +01:00
Georges Dupéron
503044660b
Made any->isyntax and similar functions configurable, to choose how non-syntax and non-sexp cases should be handled
2017-01-11 03:59:28 +01:00
Georges Dupéron
dc1561e595
Further work on typed syntax
2017-01-11 03:58:37 +01:00
Georges Dupéron
3b59681010
Provide stuff
2017-01-10 23:04:17 +01:00
Georges Dupéron
2fa55c0d3f
Mostly correct version of *->isyntax*
2017-01-10 21:17:20 +01:00
Georges Dupéron
10a5663ddf
Cleaned up hiding/restoring comments, partially typed
2017-01-10 15:54:34 +01:00
Georges Dupéron
eb586b1ddd
Bugfix: use (code:comment (unsyntax …)) in @chunk, and (code:comment (UNSYNTAX …)) in @CHUNK
2017-01-07 00:14:56 +01:00
Georges Dupéron
a51bf4c1a1
Support for comments with the new comment-reader
2017-01-06 19:02:30 +01:00
Georges Dupéron
5145a9cb7e
Copied comment-reader.rkt from 531ad440b7/scribble-lib/scribble/comment-reader.rkt
2017-01-04 19:59:40 +01:00
Georges Dupéron
66551c6901
Temporarily disable the "color the nested language in black" feature for hyper-literate, as it gives incorrect coloring and indentation on large files (I guess the parser is not always called from the start of the file)
2016-12-27 19:10:49 +01:00
Georges Dupéron
37a6b9a680
Don't build on older versions, as we now need a very recent patch
2016-12-16 17:19:57 +01:00
Georges Dupéron
2a8ee4f8d4
Removed debugging output
2016-12-16 17:19:23 +01:00
Georges Dupéron
fef2ed1769
Fixed potential conflicts with the injected (require lang).
2016-12-16 16:40:01 +01:00
Georges Dupéron
ae152d4ab9
Remove -x option on raco test in .travis.yml, so that all modules are run, including those without a test submodule.
2016-10-11 00:24:55 +02:00
Georges Dupéron
397680acb0
Workaround to be able to use @include-section to include several hyper-literate programs into a single document.
2016-09-30 16:30:58 +02:00
Georges Dupéron
a7f15cdfd5
Cleanup
2016-09-20 22:10:40 +02:00
Georges Dupéron
6f5e7d92ff
Added auto-parentheses for repeated chunks, and finally (hopefully) fixed the link numbering problems (last bug was that the save-as chunks had numbers total+i, but the references within the code were made to the number 1 which did not exist).
2016-09-20 07:12:44 +02:00
Georges Dupéron
fe2b582def
Cleaned up the definition of @chunk and @CHUNK. Fixed issues with subscript numbers on chunks, links, and conflicting tags. Now it's possible to re-print a chunk several times without problem.
2016-09-20 03:12:58 +02:00
Georges Dupéron
148ec8da08
Fixed bad bug when a #:save-as chunk contained a ...
2016-09-19 03:12:01 +02:00
Georges Dupéron
57a4d0184d
Closed #2 Wrong order of chunks: all @CHUNKs are inserted first, then the @chunks
2016-09-16 23:06:25 +02:00