help: add more bold table headings.

master
John Benediktsson 2020-02-13 15:18:43 -08:00
parent dc0a5ba216
commit 38bfcd4bf1
12 changed files with 17 additions and 17 deletions

View File

@ -105,7 +105,7 @@ $nl
ARTICLE: "c-types.primitives" "Primitive C types" ARTICLE: "c-types.primitives" "Primitive C types"
"The following numerical types are defined in the " { $vocab-link "alien.c-types" } " vocabulary; a " { $snippet "u" } " prefix denotes an unsigned type:" "The following numerical types are defined in the " { $vocab-link "alien.c-types" } " vocabulary; a " { $snippet "u" } " prefix denotes an unsigned type:"
{ $table { $table
{ "C type" "Notes" } { { $strong "C type" } { $strong "Notes" } }
{ { $link char } "always 1 byte" } { { $link char } "always 1 byte" }
{ { $link uchar } { } } { { $link uchar } { } }
{ { $link short } "always 2 bytes" } { { $link short } "always 2 bytes" }

View File

@ -62,7 +62,7 @@ HELP: compile-with-scope
ARTICLE: "html.templates.chloe.tags.component" "Component Chloe tags" ARTICLE: "html.templates.chloe.tags.component" "Component Chloe tags"
"The following Chloe tags correspond exactly to " { $link "html.components" } ". The " { $snippet "name" } " attribute should be the name of a form value (see " { $link "html.forms.values" } "). Singleton component tags do not allow any other attributes. Tuple component tags map all other attributes to tuple slot values of the component instance." "The following Chloe tags correspond exactly to " { $link "html.components" } ". The " { $snippet "name" } " attribute should be the name of a form value (see " { $link "html.forms.values" } "). Singleton component tags do not allow any other attributes. Tuple component tags map all other attributes to tuple slot values of the component instance."
{ $table { $table
{ "Tag" "Component class" } { { $strong "Tag" } { $strong "Component class" } }
{ { $snippet "t:checkbox" } { $link checkbox } } { { $snippet "t:checkbox" } { $link checkbox } }
{ { $snippet "t:choice" } { $link choice } } { { $snippet "t:choice" } { $link choice } }
{ { $snippet "t:code" } { $link code } } { { $snippet "t:code" } { $link code } }

View File

@ -66,7 +66,7 @@ $nl
ARTICLE: "math.vectors.simd.words" "SIMD vector words" ARTICLE: "math.vectors.simd.words" "SIMD vector words"
"For each SIMD vector type, several words are defined, where " { $snippet "type" } " is the type in question:" "For each SIMD vector type, several words are defined, where " { $snippet "type" } " is the type in question:"
{ $table { $table
{ "Word" "Stack effect" "Description" } { { $strong "Word" } { $strong "Stack effect" } { $strong "Description" } }
{ { $snippet "type-with" } { $snippet "( x -- simd-array )" } "creates a new instance where all components are set to a single scalar" } { { $snippet "type-with" } { $snippet "( x -- simd-array )" } "creates a new instance where all components are set to a single scalar" }
{ { $snippet "type-boa" } { $snippet "( ... -- simd-array )" } "creates a new instance where components are read from the stack" } { { $snippet "type-boa" } { $snippet "( ... -- simd-array )" } "creates a new instance where components are read from the stack" }
{ { $snippet "type-cast" } { $snippet "( simd-array -- simd-array' )" } "creates a new SIMD array where the underlying data is taken from another SIMD array, with no format conversion" } { { $snippet "type-cast" } { $snippet "( simd-array -- simd-array' )" } "creates a new SIMD array where the underlying data is taken from another SIMD array, with no format conversion" }

View File

@ -6,7 +6,7 @@ HELP: step1a
{ $description "Gets rid of plurals." } { $description "Gets rid of plurals." }
{ $examples { $examples
{ $table { $table
{ "Input:" "Output:" } { { $strong "Input" } { $strong "Output" } }
{ "caresses" "caress" } { "caresses" "caress" }
{ "ponies" "poni" } { "ponies" "poni" }
{ "ties" "ti" } { "ties" "ti" }
@ -20,7 +20,7 @@ HELP: step1b
{ $description "Gets rid of \"-ed\" and \"-ing\" suffixes." } { $description "Gets rid of \"-ed\" and \"-ing\" suffixes." }
{ $examples { $examples
{ $table { $table
{ "Input:" "Output:" } { { $strong "Input" } { $strong "Output" } }
{ "feed" "feed" } { "feed" "feed" }
{ "agreed" "agree" } { "agreed" "agree" }
{ "disabled" "disable" } { "disabled" "disable" }

View File

@ -5,7 +5,7 @@ IN: syndication
HELP: entry HELP: entry
{ $description "An Atom or RSS feed entry. Has the following slots:" { $description "An Atom or RSS feed entry. Has the following slots:"
{ $table { $table
{ "Name" "Class" } { { $strong "Name" } { $strong "Class" } }
{ "title" { $link string } } { "title" { $link string } }
{ "url" { "any class supported by " { $link present } } } { "url" { "any class supported by " { $link present } } }
{ "description" { $link string } } { "description" { $link string } }
@ -20,7 +20,7 @@ HELP: <entry>
HELP: feed HELP: feed
{ $description "An Atom or RSS feed. Has the following slots:" { $description "An Atom or RSS feed. Has the following slots:"
{ $table { $table
{ "Name" "Class" } { { $strong "Name" } { $strong "Class" } }
{ "title" { $link string } } { "title" { $link string } }
{ "url" { "any class supported by " { $link present } } } { "url" { "any class supported by " { $link present } } }
{ "entries" { "a sequence of " { $link entry } " instances" } } { "entries" { "a sequence of " { $link entry } " instances" } }

View File

@ -98,7 +98,7 @@ HELP: deploy-directory
HELP: deploy-io HELP: deploy-io
{ $description "The level of I/O support required by the deployed image:" { $description "The level of I/O support required by the deployed image:"
{ $table { $table
{ "Value" "Description" } { { $strong "Value" } { $strong "Description" } }
{ "1" "No input/output" } { "1" "No input/output" }
{ "2" "Basic ANSI C streams" } { "2" "Basic ANSI C streams" }
{ "3" "Non-blocking streams and networking" } { "3" "Non-blocking streams and networking" }
@ -109,7 +109,7 @@ HELP: deploy-io
HELP: deploy-reflection HELP: deploy-reflection
{ $description "The level of reflection support required by the deployed image." { $description "The level of reflection support required by the deployed image."
{ $table { $table
{ "Value" "Description" } { { $strong "Value" } { $strong "Description" } }
{ "1" "No reflection" } { "1" "No reflection" }
{ "2" "Retain word names" } { "2" "Retain word names" }
{ "3" "Prettyprinter" } { "3" "Prettyprinter" }

View File

@ -306,7 +306,7 @@ $nl
ARTICLE: "embedding" "Embedding Factor into C applications" ARTICLE: "embedding" "Embedding Factor into C applications"
"The Factor " { $snippet "Makefile" } " builds the Factor VM both as an executable and a library. The library can be used by other applications. File names for the library on various operating systems:" "The Factor " { $snippet "Makefile" } " builds the Factor VM both as an executable and a library. The library can be used by other applications. File names for the library on various operating systems:"
{ $table { $table
{ "OS" "Library name" "Shared?" } { { $strong "OS" } { $strong "Library name" } { $strong "Shared?" } }
{ "Windows XP/Vista" { $snippet "factor.dll" } "Yes" } { "Windows XP/Vista" { $snippet "factor.dll" } "Yes" }
{ "Mac OS X" { $snippet "libfactor.dylib" } "Yes" } { "Mac OS X" { $snippet "libfactor.dylib" } "Yes" }
{ "Other Unix" { $snippet "libfactor.a" } "No" } { "Other Unix" { $snippet "libfactor.a" } "No" }

View File

@ -214,7 +214,7 @@ ARTICLE: "tuple-examples" "Tuple examples"
{ $code "TUPLE: employee name position salary ;" } { $code "TUPLE: employee name position salary ;" }
"This defines a class word named " { $snippet "employee" } ", a predicate " { $snippet "employee?" } ", and the following slot accessors:" "This defines a class word named " { $snippet "employee" } ", a predicate " { $snippet "employee?" } ", and the following slot accessors:"
{ $table { $table
{ "Reader" "Writer" "Setter" "Changer" } { { $strong "Reader" } { $strong "Writer" } { $strong "Setter" } { $strong "Changer" } }
{ { $snippet "name>>" } { $snippet "name<<" } { $snippet ">>name" } { $snippet "change-name" } } { { $snippet "name>>" } { $snippet "name<<" } { $snippet ">>name" } { $snippet "change-name" } }
{ { $snippet "position>>" } { $snippet "position<<" } { $snippet ">>position" } { $snippet "change-position" } } { { $snippet "position>>" } { $snippet "position<<" } { $snippet ">>position" } { $snippet "change-position" } }
{ { $snippet "salary>>" } { $snippet "salary<<" } { $snippet ">>salary" } { $snippet "change-salary" } } { { $snippet "salary>>" } { $snippet "salary<<" } { $snippet ">>salary" } { $snippet "change-salary" } }

View File

@ -1904,7 +1904,7 @@ ARTICLE: "sequences-destructive-discussion" "When to use destructive operations"
ARTICLE: "sequences-destructive" "Destructive sequence operations" ARTICLE: "sequences-destructive" "Destructive sequence operations"
"Many operations have destructive variants that side effect an input sequence, instead of creating a new sequence:" "Many operations have destructive variants that side effect an input sequence, instead of creating a new sequence:"
{ $table { $table
{ "Constructive" "Destructive" } { { $strong "Constructive" } { $strong "Destructive" } }
{ { $link suffix } { $link suffix! } } { { $link suffix } { $link suffix! } }
{ { $link remove } { $link remove! } } { { $link remove } { $link remove! } }
{ { $link remove-eq } { $link remove-eq! } } { { $link remove-eq } { $link remove-eq! } }

View File

@ -153,7 +153,7 @@ ARTICLE: "syntax-words" "Word syntax"
ARTICLE: "escape" "Character escape codes" ARTICLE: "escape" "Character escape codes"
{ $table { $table
{ "Escape code" "Meaning" } { { $strong "Escape code" } { $strong "Meaning" } }
{ { $snippet "\\\\" } { $snippet "\\" } } { { $snippet "\\\\" } { $snippet "\\" } }
{ { $snippet "\\s" } "a space" } { { $snippet "\\s" } "a space" }
{ { $snippet "\\t" } "a tab" } { { $snippet "\\t" } "a tab" }

View File

@ -91,7 +91,7 @@ ARTICLE: "word-props" "Word properties"
$nl $nl
"The following are some of the properties used by the library:" "The following are some of the properties used by the library:"
{ $table { $table
{ "Property" "Documentation" } { { $strong "Property" } { $strong "Documentation" } }
{ {
{ $snippet "\"declared-effect\"" } { $link "effects" } { $snippet "\"declared-effect\"" } { $link "effects" }
} }
@ -162,7 +162,7 @@ $nl
} }
"Properties which are defined for classes only:" "Properties which are defined for classes only:"
{ $table { $table
{ "Property" "Documentation" } { { $strong "Property" } { $strong "Documentation" } }
{ { $snippet "\"class\"" } { "A boolean indicating whether this word is a class - " { $link "classes" } } } { { $snippet "\"class\"" } { "A boolean indicating whether this word is a class - " { $link "classes" } } }
{ { $snippet "\"coercer\"" } { "A quotation for converting the top of the stack to an instance of this class" } } { { $snippet "\"coercer\"" } { "A quotation for converting the top of the stack to an instance of this class" } }

View File

@ -16,7 +16,7 @@ HELP: run-brainfuck
"The eight language commands, each consisting of a single character, " "The eight language commands, each consisting of a single character, "
"are the following:\n" "are the following:\n"
{ $table { $table
{ "Character" "Meaning" } { { $strong "Character" } { $strong "Meaning" } }
{ ">" "increment the data pointer (to point to the next cell to the right)." } { ">" "increment the data pointer (to point to the next cell to the right)." }
{ "<" "decrement the data pointer (to point to the next cell to the left)." } { "<" "decrement the data pointer (to point to the next cell to the left)." }
{ "+" "increment (increase by one) the byte at the data pointer." } { "+" "increment (increase by one) the byte at the data pointer." }
@ -31,7 +31,7 @@ HELP: run-brainfuck
"substitutions, assuming ptr is of type unsigned char* and has been " "substitutions, assuming ptr is of type unsigned char* and has been "
"initialized to point to an array of zeroed bytes:\n" "initialized to point to an array of zeroed bytes:\n"
{ $table { $table
{ "Character" "C equivalent" } { { $strong "Character" } { $strong "C equivalent" } }
{ ">" "++ptr;" } { ">" "++ptr;" }
{ "<" "--ptr;" } { "<" "--ptr;" }
{ "+" "++*ptr;" } { "+" "++*ptr;" }