aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_latex.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-12-17 13:22:51 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-01-13 16:06:43 -0500
commit9c42b4567f35aceacce1298a6d4789d6789e5bfe (patch)
tree90d698066a2f895a152bb942ecdeed5faeff50af /org/out_latex.org
parentpresent per document metadata (diff)
specify Tuple content for read in files, remove traits.std
Diffstat (limited to 'org/out_latex.org')
-rw-r--r--org/out_latex.org32
1 files changed, 16 insertions, 16 deletions
diff --git a/org/out_latex.org b/org/out_latex.org
index 4e0ff3e..b88324e 100644
--- a/org/out_latex.org
+++ b/org/out_latex.org
@@ -861,24 +861,24 @@ auto tablarize(O)(
string _tablenote;
foreach(row_idx, row; _table_rows) {
_table_cols = row.split(rgx.table_delimiter_col);
- _table ~= "";
- foreach(col_idx, cell; _table_cols) {
- if ((_table_cols.length == 1)
- && (_table_rows.length <= row_idx+2)) { // check row_idx+2 (rather than == ++row_idx)
- _tablenote ~= cell;
- } else {
- // // _table ~= "\\bfseries ";
- // _table ~= cell;
- // _table ~= (_table_cols.length > (col_idx + 1)) ? "&" : "";
- _table ~= format(q"ā”ƒ%s%sā”ƒ",
- cell,
- (_table_cols.length > (col_idx + 1)) ? "&" : ""
- );
- }
+ _table ~= "";
+ foreach(col_idx, cell; _table_cols) {
+ if ((_table_cols.length == 1)
+ && (_table_rows.length <= row_idx+2)) { // check row_idx+2 (rather than == ++row_idx)
+ _tablenote ~= cell;
+ } else {
+ // // _table ~= "\\bfseries ";
+ // _table ~= cell;
+ // _table ~= (_table_cols.length > (col_idx + 1)) ? "&" : "";
+ _table ~= format(q"ā”ƒ%s%sā”ƒ",
+ cell,
+ (_table_cols.length > (col_idx + 1)) ? "&" : ""
+ );
}
- _table ~= "\\\\";
}
- auto t = tuple(
+ _table ~= "\\\\";
+ }
+ Tuple!(string, string) t = tuple(
_table,
_tablenote,
);