diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..a2147765 --- /dev/null +++ b/LICENSE @@ -0,0 +1,10 @@ +This component of Racket is distributed under the under the Apache 2.0 +and MIT licenses. The user can choose the license under which they +will be using the software. There may be other licenses within the +distribution with which the user must also comply. + +See the files + https://github.com/racket/racket/blob/master/racket/src/LICENSE-APACHE.txt +and + https://github.com/racket/racket/blob/master/racket/src/LICENSE-MIT.txt +for the full text of the licenses. diff --git a/README.md b/README.md new file mode 100644 index 00000000..0b339ec8 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# scribble-text-lib + +This the source for the Racket packages: "scribble", "scribble-doc", "scribble-html-lib", "scribble-lib", "scribble-test", "scribble-text-lib". + +### Contributing + +Contribute to Racket by submitting a [pull request], reporting an +[issue], joining the [development mailing list], or visiting the +IRC or Slack channels. + +### License + +Racket, including these packages, is free software, see [LICENSE] +for more details. + +By making a contribution, you are agreeing that your contribution +is licensed under the [Apache 2.0] license and the [MIT] license. + +[MIT]: https://github.com/racket/racket/blob/master/racket/src/LICENSE-MIT.txt +[Apache 2.0]: https://www.apache.org/licenses/LICENSE-2.0.txt +[pull request]: https://github.com/racket/scribble-text-lib/pulls +[issue]: https://github.com/racket/scribble-text-lib/issues +[development mailing list]: https://lists.racket-lang.org +[LICENSE]: LICENSE diff --git a/scribble-doc/LICENSE.txt b/scribble-doc/LICENSE.txt deleted file mode 100644 index 1b827862..00000000 --- a/scribble-doc/LICENSE.txt +++ /dev/null @@ -1,11 +0,0 @@ -scribble-doc -Copyright (c) 2010-2014 PLT Design Inc. - -This package is distributed under the GNU Lesser General Public -License (LGPL). This means that you can link this package into proprietary -applications, provided you follow the rules stated in the LGPL. You -can also modify this package; if you distribute a modified version, -you must distribute it under the terms of the LGPL, which in -particular means that you must release the source code for the -modified software. See http://www.gnu.org/copyleft/lesser.html -for more information. diff --git a/scribble-doc/scribblings/scribble/base.scrbl b/scribble-doc/scribblings/scribble/base.scrbl index cecb9163..cf32ca7d 100644 --- a/scribble-doc/scribblings/scribble/base.scrbl +++ b/scribble-doc/scribblings/scribble/base.scrbl @@ -467,7 +467,9 @@ gets progressively smaller.} gets progressively larger.} @defproc[(emph [pre-content pre-content?] ...) element?]{ -The same as @racket[italic].} +Like @racket[elem], but emphasised. Typically, italics are used for +emphasis. Uses of @racket[emph] can be nested; typically this causes +the text to alternate between italic and upright.} @defproc[(literal [str string?] ...+) element?]{ diff --git a/scribble-doc/scribblings/scribble/config.scrbl b/scribble-doc/scribblings/scribble/config.scrbl index 093fca40..07781950 100644 --- a/scribble-doc/scribblings/scribble/config.scrbl +++ b/scribble-doc/scribblings/scribble/config.scrbl @@ -332,7 +332,7 @@ The style classes: [@css{versionbox} @elem{Outer wrapper for version}] [@css{version} @elem{Inner wrapper for version in the case of search box and/or navigation.}] - [@css{versionNoNav} @elem{Inner wrapper for version in the acse of no search box and navigation.}] + [@css{versionNoNav} @elem{Inner wrapper for version in the case of no search box and navigation.}] [@spacer @spacer] diff --git a/scribble-doc/scribblings/scribble/core.scrbl b/scribble-doc/scribblings/scribble/core.scrbl index b17c5ab0..95b05936 100644 --- a/scribble-doc/scribblings/scribble/core.scrbl +++ b/scribble-doc/scribblings/scribble/core.scrbl @@ -441,6 +441,14 @@ The recognized @tech{style properties} are as follows: listing except when those sub-parts are top-level entries in the listing.} + @item{@indexed-racket['no-toc+aux] --- As a @tech{style property} for + the main part of a rendered page, causes the HTML output to not + include a margin box for the main table of contents, ``on this + page'', or tables with the @racket['aux] style property. The + @racket['no-toc+aux] property effectively implies + @racket['no-toc] and @racket['no-sidebar], but also suppresses + @racket['aux] tables.} + @item{@indexed-racket['no-toc] --- As a @tech{style property} for the main part of a rendered page, causes the HTML output to not include a margin box for the main table of contents; the ``on this page'' box that @@ -541,7 +549,8 @@ sub-parts). The @racket[parts] field contains sub-parts. @history[#:changed "1.25" @elem{Added @racket['no-index] support.} - #:changed "1.26" @elem{Added @racket[link-render-style] support.}]} + #:changed "1.26" @elem{Added @racket[link-render-style] support.} + #:changed "1.27" @elem{Added @racket['no-toc+aux] support.}]} @defstruct[paragraph ([style style?] [content content?])]{ @@ -590,10 +599,6 @@ The currently recognized @tech{style properties} are as follows: @item{@racket[attributes] structure --- Provides additional HTML attributes for the @tt{

}, @tt{

}, or alternate tag.} - @item{@racket[body-id] structure --- For HTML, uses the given string - as an @tt{id} attribute of the @tt{

}, @tt{

}, or - alternate tag.} - @item{@indexed-racket['never-indents] --- For Latex and @tech{compound paragraphs}; see @racket[compound-paragraph].} @@ -649,9 +654,6 @@ The following @tech{style properties} are currently recognized: @item{@racket[attributes] structure --- Provides additional HTML attributes for the @tt{} tag.} - @item{@racket[body-id] structure --- For HTML, uses the given string - as an @tt{id} attribute of the @tt{
} tag.} - @item{@indexed-racket['aux] --- For HTML, include the table in the table-of-contents display for the enclosing part.} @@ -698,9 +700,6 @@ The following @tech{style properties} are currently recognized: @item{@racket[attributes] structure --- Provides additional HTML attributes for the @tt{