... | ... | @@ -84,43 +84,34 @@ https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_ |
|
|
* The very first step is executed with the `DownloadAndExecuteXslViaSaxonOnDocx` INK utility method; all subsequent steps are executed with `DownloadAndExecuteXslViaSaxon`. Both these methods come from: https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_conversion/ink_step/coko/xsweet_pipeline/
|
|
|
|
|
|
## 1. Xsweet Docx to HTML Extractor
|
|
|
* Sheet hasn't moved
|
|
|
* This step would ideally run table extraction from inside it. The current recipe on `ink-api-publish` has table extraction pasted into the end of it. On `master`, though, it's done by a reference to the XSLT. So this step relies on an update to INK to allow XSLTs to be referenced within XSLTs
|
|
|
* `docx-html-extract.xsl` hasn't moved
|
|
|
* This step would ideally run table extraction from inside it. The current recipe on `ink-api-publish` has table extraction pasted into the end of it. On `master`, though, it's done by a reference to the XSLT (running `docx-table-extract.xsl` from within the `docx-html-extract.xsl`). So this step relies on an update to INK to allow XSLTs to be referenced within XSLTs
|
|
|
|
|
|
## 2. Xsweet Notes Handler
|
|
|
* Pulls live from: https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/handle-notes.xsl
|
|
|
* Step definition: https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_conversion/ink_step/coko/xsweet_pipeline/docx_extract/handle_notes_step.rb
|
|
|
* XSLTs:
|
|
|
1. handle-notes.xsl
|
|
|
* `handle-notes.xsl` hasn't moved
|
|
|
|
|
|
## 3. Xsweet Scrubber
|
|
|
* Pulls live from: https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/scrub.xsl
|
|
|
* Step definition: https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_conversion/ink_step/coko/xsweet_pipeline/docx_extract/scrub_step.rb
|
|
|
* XSLTs:
|
|
|
1. scrub.xsl
|
|
|
* `scrub.xsl` hasn't moved
|
|
|
|
|
|
## 4. Xsweet Elements Joiner
|
|
|
* Pulls live from: https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/join-elements.xsl
|
|
|
* Step definition: https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_conversion/ink_step/coko/xsweet_pipeline/docx_extract/join_elements_step.rb
|
|
|
* XSLTs:
|
|
|
1. join-elements.xsl
|
|
|
* `join-elements.xsl` hasn't moved
|
|
|
|
|
|
## 5. Xsweet Paragraph Collapser
|
|
|
* Pulls live from: https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/collapse-paragraphs.xsl
|
|
|
* Step definition: https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_conversion/ink_step/coko/xsweet_pipeline/docx_extract/collapse_paragraphs_step.rb
|
|
|
* XSLTs:
|
|
|
1. collapse-paragraphs.xsl
|
|
|
* `collapse-paragraphs.xsl` hasn't moved
|
|
|
|
|
|
## 6. List Handler
|
|
|
* Pulls live from:
|
|
|
1. https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/list-promote/mark-lists.xsl
|
|
|
2. https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/list-promote/itemize-lists.xsl
|
|
|
* Step definition: https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_conversion/ink_step/coko/xsweet_pipeline/handle_lists/handle_lists_step.rb
|
|
|
* XSLTs:
|
|
|
1. mark-lists.xsl
|
|
|
2. itemize-lists.xsl
|
|
|
## 6. INSERT: Hyperlinks
|
|
|
* Not currently in INK step
|
|
|
* Existing links/bookmarks are extracted at the beginning, before this step.
|
|
|
* `hyperlink-inferencer.xsl` is in `applications/local-fixup`; might be better to move it
|
|
|
|
|
|
## 7. Xsweet Header Promoter
|
|
|
## 7. List Handler
|
|
|
* Hasn't moved
|
|
|
* Current step runs 2 XSLTs, but it would be best as 1 sheet that runs both:
|
|
|
1. `mark-lists.xsl`
|
|
|
2. `itemize-lists.xsl`
|
|
|
* `PROMOTE-lists.xsl` runs both; swap it in once INK can handle running sheets in sheets
|
|
|
|
|
|
## 8. Xsweet Header Promoter
|
|
|
* Pulls live from:
|
|
|
1. https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/header-promote/digest-paragraphs.xsl
|
|
|
2. https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/header-promote/make-header-escalator-xslt.xsl
|
... | ... | @@ -130,13 +121,13 @@ https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_ |
|
|
2. make-header-escalator-xslt.xsl
|
|
|
3. applies the XSLT generated by the 2nd step to the original input file for this step
|
|
|
|
|
|
## 8. Xsweet Final Rinse
|
|
|
## 9. Xsweet Final Rinse
|
|
|
* Pulls live from: https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/html-polish/final-rinse.xsl
|
|
|
* Step definition: https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_conversion/ink_step/coko/xsweet_pipeline/finalise_typescript/final_rinse_step.rb
|
|
|
* XSLTs:
|
|
|
1. final-rinse.xsl
|
|
|
|
|
|
## 9. Xsweet Editoria Preparer
|
|
|
## 10. Xsweet Editoria Preparer
|
|
|
* Pulls live from:
|
|
|
1. https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/p-split-around-br.xsl
|
|
|
2. https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/editoria-notes.xsl
|
... | ... | @@ -147,4 +138,6 @@ https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_ |
|
|
1. p-split-around-br.xsl
|
|
|
2. editoria-notes.xsl
|
|
|
3. editoria-basic.xsl
|
|
|
4. editoria-reduce.xsl |
|
|
\ No newline at end of file |
|
|
4. editoria-reduce.xsl
|
|
|
|
|
|
* Is there any value to serializing to HTML5 at the end? After Typescript, it's only in near-HTML (what Wax wants) - is serialization still possible? |
|
|
\ No newline at end of file |