diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-04-12 15:23:23 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | da0f051e1aced4fa1fd5cd13c0548279bf04b2a0 (patch) | |
tree | 3c74421c4ce35e28e93512eb01606219e37e0dfb /org/ao_doc_abstraction.org | |
parent | start work on block outputs (diff) |
0.13.9 sisupod & epub3, zipped output
Diffstat (limited to 'org/ao_doc_abstraction.org')
-rw-r--r-- | org/ao_doc_abstraction.org | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/org/ao_doc_abstraction.org b/org/ao_doc_abstraction.org index 355c126..240b8df 100644 --- a/org/ao_doc_abstraction.org +++ b/org/ao_doc_abstraction.org @@ -14,6 +14,22 @@ [[./sdp.org][sdp]] [[./][org/]] * 0. the document notes +** abstraction +- abstract for downstream processing + - identify document structure and objects + - identify document structure (headings/levels/sections) + - identify objects + - set document, generate common abstraction for downstream parsing + - set different document sections, toc, body, endnotes, book index, etc. + - object numbers, heading/ chapter numbering etc, endnote numbers + - unify object representations + - multiple markups for same object type given single representation + - extract object attributes + - unify inline markup on objects + - inline markup made easier to identify + +- simplify downstream parsing + ** document sections |--------------+--------------+---+---+--------------------------------------------------+---+---+---| @@ -1784,6 +1800,12 @@ this can be extracted earlier) Build here: - DOM structure - ancestors and decendants + - ancestors could be determined earlier, but convenient to have here + - descendants could be in the form of: headings contained under current + heading, and/or; the range of objects under the current heading +- you could decide on a sequential object list, containing all objects (both + substantive and non-substantive objects), in addition to ocn, which are for + substantive/ citable objects within the document (as needed) up to document heading 1~, lev4 html: @@ -3126,6 +3148,22 @@ void _poem_block_(L,O,T,C,N,Ma)( ***** table block :table: +there are 3 types of table markup that need to be nomalized (given a single representation) here + +- curly brace block +- tic block +- special notation block + +you need: +- identify the type for the munging to create uniform presentation + - curly, tick, special + - table heading row, bool +- present table header info in uniform way + - table_number_of_columns, int (count) + - table_column_widths, int[] column widths (as given or calculate average) + - show table walls, bool +- table content marked up in uniform way + #+name: abs_functions_block_table #+BEGIN_SRC d void _table_block_(L,O,T,Ma)( |