C.4 Values - rv.V#
<i>
[1] Summary#
The Value API function inserts static sources including images, tables and formatted text.
Line Tags |
Description (doc scope) |
|---|---|
text _[#] |
endnote number (all) |
text _[C] |
center text (all) |
text _[R] |
right justify text (all) |
label _[E] |
equation number and label (all) |
caption _[I] |
image number and caption (all)[1] |
title _[T] |
table number and title (all)[1] |
text _[S] section link |
link section within doc (all) |
text _[D] report link |
link doc within report (all) |
text _[U] external url |
external url link (all) |
----- |
>4 dashes inserts line (all)[2] |
===== |
>4 underscores inserts page (all)[2] |
[1] tag may be added to the label parameter in the IMAGE and TABLE commands
[2] must start in first indented column (absolute column 4)
Block Tags |
Description (doc scope) |
|---|---|
_[[INDENT]] spaces (4 default) |
Indent (all) |
_[[ITALIC]] spaces (4 default) |
Italic indent - (all) |
_[[NOTES]] optional label |
Endnote descriptions (all) |
_[[TEXT]] optional language |
literal, code (all) |
_[[TOPIC]] topic |
Topic (all) |
_[[VALUES]] table title (_[T]) |
Define values(all) |
_[[END]] |
End block (all) |
Command | path | parameters
|
R/W |
input types |
|---|---|---|
| IMAGE | relative path | scale, caption (_[I]) |
R |
.png, .jpg |
| IMAGE2 | relative path | s1, s2, c1, c2 (_[I]) |
R |
.png, jpg |
| TABLE | relative path | width, l;c;r, title |
R |
csv, txt, xlsx |
| TEXT | relative path | normal;literal ;code |
R |
txt, code |
| VALUES | relative path | title, show;hide (_[T]) |
R |
csv |
a := 1*IN | unit1, unit2, decimal | label (_[E])[1] |
W |
define value |
b <= a + 3*FT | unit1, unit2, decimal | label (_[E]) |
W |
assign value |
c <= func1(x,y) | unit1, unit2, decimal | label (_[E]) |
W |
assign value |
[1] The equation tag (_[E]) is ignored when values are defined in a block
<i>
[2] _[#] : endnote number#
This tag assigns an endnote number to the text. Endnotes are defined with the block tag _[[NOTE]] and are listed at the end of the doc. Numbers are assigned in the order they are processed.
outputs: text, pdf, html
<i>
[3] _[C] : center text#
Center text within the page margins.
outputs: text, pdf, html
<i>
[4] _[R] : right justify text#
The LaTeX math expression will be formatted in PDF and HTML.
outputs: pdf, html
outputs: text, pdf, html
<i>
[5] _[E] : equation label#
Labels and numbers equation.
outputs: text, pdf, html
<i>
[6] _[I] : image label#
Labels and numbers images.
outputs: text, pdf, html
<i>
[7] _[T] : table label#
Labels and numbers tables.
outputs: text, pdf, html
<i>
[8] _[S] : link sections#
Links sections within a doc. Text will be continued and wrapped when formatted.
outputs: text, pdf, html
<i>
[9] _[D] : link docs#
Links docs within a report. Text will be continued and wrapped when formatted.
outputs: text, pdf, html
<i>
[10] _[U] : external url#
External url link. Text will be continued and wrapped when formatted.
outputs: text, pdf, html
<i>
[11] ______ : horizontal line#
Draws a horizontal line the width of the page.
outputs: text, pdf, html
<i>
[12] ======== : new page#
Starts a new page. Pages indicated with double dashed line in text output.
outputs: text, pdf, html
<i>
[13] _[[INDENT]] : indent text#
Indents text four spaces.
<i>
[14] _[[ITALIC]] : indent italic#
Indents the specified number spaces and italicizes block.
outputs: pdf, html
<i>
[15] _[[NOTE]] : endnote text#
Formats and numbers an endnote in order of processing.
outputs: text, pdf, html
<i>
[16] _[[TEXT]] : literal text or code#
This block formats text as literal or code. The parameters specify formatting and syntax coloring. Languages include: - python - bash - sh - cmd
outputs: text, pdf, html
<i>
[17] _[[TOPIC]] : topic#
Formats a highlighted block.
outputs: pdf, html
<i>
[18] _[[VALUES]] : topic#
Defines values and writes them to out folder.
outputs: pdf, html
<i>
[19] | IMAGE | : insert image#
Reads PNG and JPEG files (.png, jpg) and inserts them in the doc. The Image tag may be added to the captions.
outputs: PDF, HTML
<i>
[20] | IMAGE2 | : insert adjacent images#
Reads PNG and JPEG files (.png, jpg) and inserts them side by side in the document. The Image tag may be added to the captions.
outputs: PDF, HTML
<i>
[21] | TABLE | : format table#
Reads text, csv and EXCEL files (.txt, .csv, .xls) and outputs formatted tables. The width parameter specifies the maximum column width. The l,c,r parameter specifies cell justification (left, center, right). The Table tag may be added to the caption.
outputs: text, PDF, HTML
<i>
[22] | TEXT | : format text#
Reads and formats text and code files. The parameters specify formatting and syntax coloring. Languages include:
python
bash
sh
cmd
outputs: text, PDF, HTML
<i>
<i>
[23] | VALUES | : table title#
Defines values and writes them to out folder.
outputs: pdf, html
[24] := : define value#
Defines a value and writes to a file vnum-s.csv where num is the doc number and s is the section number. The file is written to the folder out/values unless rv_localB is set to True in the Meta API function.
outputs: text, PDF, HTML
<i>
[25] <= : assign value#
Assigns a value to an equation or function variable and writes the values to a file vnum-s.csv where num is the doc number and s is the section number. The file is written to the folder out/values unless rv_localB is set to True in the Meta API function.
outputs: text, PDF, HTML