textmarkup/
mgtmlanguage__define.pro
Parent class for different output classes, i.e., HTML, LaTeX, rst.
Class description for mgtmlanguage
Subclasses: mgtmdocbook mgtmhtml mgtmlatex mgtmplain mgtmrst
Routines
Routines from mgtmlanguage__define.pro
result = mgtmlanguage::markup_listing(lines)
Add markup to specify prompts and output as opposed to input.
result = mgtmlanguage::_textMerge(str1, str2)
Merges two string arrays into a single string array where the last line of the first and first line of the second are concatenated onto a single line in the middle of the result.
result = mgtmlanguage::process(formatTree [, /_newline])
Process a MGtmNode tree of markup to produce a string array of the result.
mgtmlanguage__define
Parent class for all markup language definitions.
Routine details
top mgtmlanguage::markup_listing
result = mgtmlanguage::markup_listing(lines)
Add markup to specify prompts and output as opposed to input.
Return value
string array
Parameters
- lines in required type=strarr
lines to markup
top mgtmlanguage::_textMerge
result = mgtmlanguage::_textMerge(str1, str2)
Merges two string arrays into a single string array where the last line of the first and first line of the second are concatenated onto a single line in the middle of the result.
Return value
strarr
Parameters
- str1 in required type=strarr
first string array
- str2 in required type=strarr
second string array
top mgtmlanguage::process
result = mgtmlanguage::process(formatTree [, /_newline])
Process a MGtmNode
tree of markup to produce a string array of the result.
Return value
Parameters
Keywords
- _newline in optional type=boolean
set if should start outputing to the next line of the result
File attributes
Modification date: | Wed May 14 15:07:14 2014 |
Lines: | 49 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.