|
|
# Current “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
|
|
|
* Pulls live from: https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/docx-html-extract.xsl
|
|
|
* Step definition:
|
|
|
https://gitlab.coko.foundation/INK/inkstep_coko_conversion/tree/master/lib/coko_conversion/ink_step/coko/xsweet_pipeline/docx_extract/docx_to_html_extract_step.rb
|
|
|
* XSLTs:
|
|
|
1. `docx-html-extract.xsl`
|
|
|
|
|
|
## 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
|
|
|
|
|
|
## 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
|
|
|
|
|
|
## 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
|
|
|
|
|
|
## 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
|
|
|
|
|
|
## 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
|
|
|
|
|
|
## 7. 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
|
|
|
* 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
|
|
|
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
|
|
|
|
|
|
## 9. 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
|
|
|
3. https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/editoria-basic.xsl
|
|
|
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/tree/master/lib/coko_conversion/ink_step/coko/xsweet_pipeline/handle_lists/handle_lists_step.rb
|
|
|
* XSLTs:
|
|
|
1. p-split-around-br.xsl
|
|
|
2. editoria-notes.xsl
|
|
|
3. editoria-basic.xsl
|
|
|
4. editoria-reduce.xsl |
|
|
\ No newline at end of file |