C.5 Tool - rv.T#
<i>
[1] Summary#
Files processed by the Tools API function are usually read and written to the src/ folder unless the rv_localB variable is set to True in the Meta API function. In that case files are read and written to the rivt file folder.
Block Tags |
Description (doc scope) |
|---|---|
_[[HTML]] label |
HTML markup (html) |
_[[LATEX]] label |
LaTeX markup (pdf)[1] |
_[[PYTHON]] label, rv-space;newspace |
Python script (all) |
_[[END]] |
End block (all) |
Command | path | parameters
|
R/W |
input types |
|---|---|---|
| HTML | src/path | label |
R |
html |
| LATEX | src/path | label |
R |
tex |
| PYTHON | src/path | rv-namespace; userspace |
R |
py |
<i>
[2] _[[HTML]] : HTML code#
_[[HTML]] label
code
code
...
_[[QUIT]]
Inserts HTML into doc.
outputs: text, pdf, html
<i>
[4] _[[LATEX]] : LaTeX code#
_[[LATEX]] label
code
code
...
_[[END]]
Inserts TeX into doc. May require installation of LaTeX.
outputs: text, pdf, html
<i>
[5] _[[PYTHON]] : Python code#
_[[PYTHON]] *rv-namespace*; user namespace
code
code
...
_[[END]]
Executes Python script in the rivt namespace or a user specified namespace. File paths in the script are relative to the rivt file folder.
outputs: text, pdf, html
<i>
[6] | HTML | HTML markup#
Reads and inserts .html and .htm files into doc.
outputs: text, pdf, html
<i>
[7] | LATEX | LaTeX markup#
Reads and inserts .tex files into doc. May require installation of LaTeX.
outputs: text, pdf, html
<i>
[8] | PYTHON | Python script#
Executes Python code in the rivt namespace or user specified namespace. File paths used in the script are relative to the rivt file folder.
outputs: text, pdf, html