D.5 Markup by API#
[1] rv.R Markup#
The Run API function executes markup and scripts.
[1-2] rv.R Commands#
Command |
Description |
|---|---|
| PYTHON | relative path | namespace |
|
| MARKUP | relative path | type |
[2] rv.I Markup#
The Insert API function inserts and formats static sources into the doc, including images, tables, links and formatted text.
[2-3] rv.I Commands#
Command |
Description |
|---|---|
| IMAGE | relative path | scale, caption, figure |
|
| IMAGE2 | rel path1, rel path2 | s1, s2, c1, c2, fig1, fig2 |
|
| TEXT | relative path | language |
|
| TABLE | rel path | title, width, rows, align, head |
[3] rv.V Markup#
The Values API function defines values and evaluates equations and functions.
[3-3] Commands#
Format files and calculations
Command |
Description |
|---|---|
TABLE | rel path | title,width,rows,align,head,num
|
|
IMAGE | relative path | scale, caption, figure
|
|
IMAGE2 | rel path1, rel path2 | c1, c2, s1, s2, f1, f2
|
|
VALTABLE | rel path | title, width, rows
|
|
PYTHON | relative path | namespace
|
|
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 |
[4] rv.T Markup#
The Tool API function executes shell commands.
[4-1] Block Tags#
Block Tag |
Description |
|---|---|
_[[SHELL]] process parameters |
|
_[[END]] |
[4-2] Commands#
Command |
Description |
|---|---|
| SHELL | relative path | os, wait |
[5] rv.D Markup#
The Doc API publishes formatted docs from the rivt API strings.
[5-1] Block Tags#
Block Tag |
Description |
|---|---|
_[[METADATA]] label |
|
_[[END]] |
[5-2] Commands#
Command |
Description |
|---|---|
| PDFATTACH | relative path | place, cover |
|
| PUBLISH | ini rel. path | type |