... | ... | @@ -18,25 +18,25 @@ https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_ |
|
|
* 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
|
|
|
1. `handle-notes.xsl`
|
|
|
|
|
|
## 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
|
|
|
1. `scrub.xsl`
|
|
|
|
|
|
## 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
|
|
|
1. `join-elements.xsl`
|
|
|
|
|
|
## 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
|
|
|
1. `collapse-paragraphs.xsl`
|
|
|
|
|
|
## 6. List Handler
|
|
|
* Pulls live from:
|
... | ... | @@ -44,8 +44,8 @@ https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_ |
|
|
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
|
|
|
1. `mark-lists.xsl`
|
|
|
2. `itemize-lists.xsl`
|
|
|
|
|
|
## 7. Xsweet Header Promoter
|
|
|
* Pulls live from:
|
... | ... | @@ -53,15 +53,15 @@ https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_ |
|
|
2. https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/header-promote/make-header-escalator-xslt.xsl
|
|
|
* Step definition: https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_conversion/ink_step/coko/xsweet_pipeline/header_promote/header_promotion_step.rb
|
|
|
* XSLTs:
|
|
|
1. digest-paragraphs.xsl
|
|
|
2. make-header-escalator-xslt.xsl
|
|
|
1. `digest-paragraphs.xsl`
|
|
|
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
|
|
|
* 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
|
|
|
1. `final-rinse.xsl`
|
|
|
|
|
|
## 9. Xsweet Editoria Preparer
|
|
|
* Pulls live from:
|
... | ... | @@ -71,17 +71,21 @@ https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_ |
|
|
4. https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/editoria-reduce.xsl
|
|
|
* Step definition: https://gitlab.coko.foundation/INK/inkstep_coko_conversion/blob/master/lib/coko_conversion/ink_step/coko/xsweet_pipeline/prepare_for_editoria/editoria_prepare_step.rb
|
|
|
* XSLTs:
|
|
|
1. p-split-around-br.xsl
|
|
|
2. editoria-notes.xsl
|
|
|
3. editoria-basic.xsl
|
|
|
4. editoria-reduce.xsl
|
|
|
1. `p-split-around-br.xsl`
|
|
|
2. `editoria-notes.xsl`
|
|
|
3. `editoria-basic.xsl`
|
|
|
4. `editoria-reduce.xsl`
|
|
|
|
|
|
# UPDATED “Editoria Typescript” INK recipe
|
|
|
* Step definitions all come from https://gitlab.coko.foundation/INK/inkstep_coko_conversion/
|
|
|
* XSLTs all come from the `ink-api-publish` branches of these 2 repos:
|
|
|
1. https://gitlab.coko.foundation/XSweet/XSweet/
|
|
|
2. https://gitlab.coko.foundation/XSweet/editoria_typescript/
|
|
|
* 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
|
|
|
* Hasn't moved
|
|
|
* XSLTs:
|
|
|
1. `docx-html-extract.xsl`
|
|
|
* 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
|
|
|
|
|
|
## 2. Xsweet Notes Handler
|
|
|
* Pulls live from: https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/handle-notes.xsl
|
... | ... | |