Interpreter that reads source code and outputs geological columnar section as HTML file in the current directory.
GitHub: https://github.com/YujiSODE/gCS
Wiki: https://github.com/YujiSODE/gCS/wiki
Copyright (c) 2017 Yuji SODE <yuji.sode@gmail.com>
This software is released under the MIT License.
See LICENSE or http://opensource.org/licenses/mit-license.php
Tcl
::gCS::_Run filePath ?encoding?;
Shell
tclsh gCS.tcl filePath ?encoding?;
Parameters
$filePath: file path of a file to load$encoding: encoding name
It requires Tcl/Tk 8.6+.
gCS.tcl: Interpreter- source code of geological columnar section as a tcl file; formatted with following syntaxes
Source code of geological columnar section consits of three blocks: @VAR, @FIG and @TXT.
All descriptions should be put between relating blocks. These blocks must be escaped with # as follows:
#@VAR
...
#@VAR
#@FIG
#...
#@FIG
#TXT
#...
#TXT
Tcl variables in namespace ::gCS are declared in this block.
Title, size of figure, names of strata etc. are declared here.
All descriptions in this block must be escaped with #.
A columnar section is described using declared names of strata between @VAR.
All descriptions in this block must be escaped with #.
All descriptions in this block are regarded as additional information.
- gCS.js (Yuji SODE,2017): the MIT License; https://gist.github.com/YujiSODE/a8d3ba4f02567533124a6fd05563f125
(base64 encoded dataurl version on Mon_Nov_06_14:28:14_GMT_2017)