B.2 | Markup#
[2] rv.R Markup#
The Run API executes scripts commands.
Command |
Description |
|---|---|
_[[SHELL]] process parameters |
|
_[[END]] |
|
| SHELL | relative path | os, wait |
[3] rv.I Markup#
The Insert API inserts and formats static sources into the doc, including images, tables, links and formatted text.
Tags / Commands |
Description |
|---|---|
text _[C] |
|
text _[#] text |
|
text _[G] text, term | text |
|
text _[S] text, section link | text |
|
text _[U] text, label | text |
|
text _[V] var_name | text |
|
math text _[M] description |
|
LaTeX math _[L] description |
|
text title _[T] |
|
_[[ENDNOTES]] |
|
_[[END]] |
|
| IMAGE | file | scale, caption, num, time |
|
| IMAGE2 | file | s1, s2, c1, c2, fig1, fig2, num1, num2, |
|
| TABLE | file | title, width, rows, align, head |
[4] rv.V Markup#
The Values API defines values and evaluates equations and functions.
Tags / Commands / Assignment |
Description |
|---|---|
_[[ENDNOTES]] |
|
_[[END]] |
|
TABLE | file | title,width,rows,align,head,num
|
|
IMAGE | file | scale, caption, figure
|
|
IMAGE2 | file1, file2 | c1, c2, s1, s2, f1, f2
|
|
VALTABLE | file | title, width, rows
|
|
VALSTOR | file name | title, width, num;non
|
|
a ==: 1*IN | unit1, unit2, decimal, num | label |
|
c <=: expression | unit1, unit2, decimal, num | label |
|
c :=: expression | unit1, unit2, decimal | label, number |
|
a < c | decimal | text1,text2,align, num |
[5] rv.T Text#
The Text API processes text and scripts. It does not use markup. The header substring takes an additional parameter that specifies the type of text or script. The header substring has the form:
rv.(T"""Section title | script_type, file: filename""")
script type |
Description |
|---|---|
PYTHON |
run Python code |
python |
Python code |
text |
literal text |
rst |
reStructuredText |
html |
HTML markup |
mermaid |
Mermaid diagram (requires mermaid installation) |
latex |
LaTeX (requires LaTeX installation) |
[6] rv.D Markup#
The Doc API publishes formatted docs from the rivt API strings.
Tags / Commands / Assignment |
Description |
|---|---|
_[[METADATA]] label |
|
_[[END]] |
|
| PDFATTACH | relative path | place, cover |
|
| PUBLISH | doc title | type |