4.8 Compatibility Libraries
4.8.1 Compatibility Structures And Processing
(require scribble/struct) | package: scribble-lib |
The following structure types and functions are re-exported directly:
The following structure types are re-exported, but the constructors and some selectors are replaced as documented further below:
part paragraph table itemization compound-paragraph element toc-element target-element toc-target-element toc-target2-element page-target-element redirect-target-element link-element index-element
Several additional compatibility functions and structure types are also exported.
procedure
(make-part tag-prefix tags title-content style to-collect blocks parts) → part? tag-prefix : (or/c false/c string?) tags : (listof tag?) title-content : (or/c false/c list?) style : any/c to-collect : list? blocks : (listof block?) parts : (listof part?)
procedure
(part-title-content p) → list?
p : part?
procedure
(make-versioned-part tag-prefix tags title-content style to-collect blocks parts version) → part? tag-prefix : (or/c false/c string?) tags : (listof tag?) title-content : (or/c false/c list?) style : any/c to-collect : list? blocks : (listof block?) parts : (listof part?) version : string?
procedure
(versioned-part? v) → boolean?
v : any/c
procedure
(make-unnumbered-part tag-prefix tags title-content style to-collect blocks parts) → part? tag-prefix : (or/c false/c string?) tags : (listof tag?) title-content : (or/c false/c list?) style : any/c to-collect : list? blocks : (listof block?) parts : (listof part?)
procedure
(unnumbered-part? v) → boolean?
v : any/c
procedure
(make-paragraph content) → paragraph?
content : list?
procedure
(paragraph-content p) → list?
p : paragraph?
procedure
(make-styled-paragraph content style) → paragraph?
content : list? style : any/c
procedure
(styled-paragraph? v) → boolean?
v : any/c
procedure
(styled-paragraph-style p) → style?
p : paragraph?
procedure
(make-omitable-paragraph content) → paragraph?
content : list?
procedure
(omitable-paragraph? v) → boolean?
v : any/c
procedure
(make-table style blocksss) → table?
style : any/c blocksss : (listof (listof (or/c (listof block?) (one-of/c 'cont))))
procedure
(table-flowss table)
→ (listof (listof (or/c (listof block?) (one-of/c 'cont)))) table : table?
procedure
(make-itemization blockss) → itemization?
blockss : (listof (listof block?))
procedure
(make-styled-itemization style blockss) → itemization?
style : any/c blockss : (listof (listof block?))
procedure
(styled-itemization? v) → boolean?
v : any/c
procedure
i : itemization?
procedure
(make-blockquote style blocks) → nested-flow?
style : any/c blocks : (listof block?)
procedure
(make-auxiliary-table style blocksss) → table?
style : any/c blocksss : (listof (listof (or/c (listof block?) (one-of/c 'cont))))
procedure
(auxiliary-table? v) → boolean?
v : any/c
procedure
(make-compound-paragraph style blocks) → compound-paragraph?
style : any/c blocks : (listof block?)
procedure
(make-element style content) → element?
style : any/c content : list?
procedure
(make-toc-element style content toc-content) → toc-element?
style : any/c content : list? toc-content : list?
procedure
(make-target-element style content tag) → target-element?
style : any/c content : list? tag : tag?
procedure
(make-toc-target-element style content tag) → toc-target-element?
style : any/c content : list? tag : tag?
procedure
(make-toc-target2-element style content tag toc-content) → toc-target2-element? style : any/c content : list? tag : tag? toc-content : content?
procedure
(make-page-target-element style content tag)
→ page-target-element? style : any/c content : list? tag : tag?
procedure
(make-redirect-target-element style content tag alt-path alt-anchor) → redirect-target-element? style : any/c content : list? tag : tag? alt-path : path-string? alt-anchor : string?
procedure
(make-link-element style content tag) → link-element?
style : any/c content : list? tag : tag?
procedure
(make-index-element style content tag plain-seq entry-seq desc) → index-element? style : any/c content : list? tag : tag? plain-seq : (and/c pair? (listof string?)) entry-seq : list? desc : any/c
procedure
v : any/c
procedure
(element-content e) → list?
e : element?
procedure
(element-style e) → element-style?
e : element?
procedure
(make-aux-element style content) → element?
style : any/c content : list?
procedure
(make-hover-element style content text) → element?
style : any/c content : list? text : string?
procedure
(make-script-element style content type script) → element? style : any/c content : list? type : string? script : (or/c path-string? (listof string?))
struct
(struct with-attributes (style assoc) #:extra-constructor-name make-with-attributes) style : any/c assoc : (listof (cons/c symbol? string?))
struct
(struct target-url (addr style) #:extra-constructor-name make-target-url) addr : path-string? style : any/c
struct
(struct image-file (path scale) #:extra-constructor-name make-image-file)
path :
(or/c path-string? (cons/c 'collects (listof bytes?))) scale : real?
procedure
(element->string element) → string?
element : content? (element->string element renderer p info) → string? element : content? renderer : any/c p : part? info : resolve-info?
4.8.2 Compatibility Basic Functions
(require scribble/basic) | package: scribble-lib |
procedure
(span-class style-name pre-content ...) → element?
style-name : string? pre-content : any/c
procedure
(itemize itm ... [#:style style]) → itemization?
itm : (or/c whitespace? an-item?) style : (or/c style? string? symbol? #f) = #f