blob: 3158170d858acd0f8e8b6ffaa2170650f92b6fa6 (
plain)
- #!/usr/bin/env cwl-runner
- cwlVersion: v1.0
- class: Workflow
- $namespaces:
- dc: http://purl.org/dc/elements/1.1/
- license: https://spdx.org/licenses/
- inputs:
- annotated_Markdown: File
- outputs:
- Markdown_with_metadata:
- type: File
- outputSource: phase2_extract/markdown
- annotated_HTML:
- type: File
- outputSource: phase3_translate_to_RDFa/html_with_rdfa
- annotated_PDF:
- type: File
- outputSource: phase3_translate_to_XMP/latex_with_xmp
- plain_Markdown:
- type: File
- outputSource: phase1_strip/markdown
- steps:
- phase1_strip:
- in:
- input_file: annotated_Markdown
- output_format:
- default: commonmark
- run: pandoc-filter-tool.cwl
- out:
- - markdown
- phase2_extract:
- in:
- input_file: annotated_Markdown
- output_format:
- default: commonmark
- run: pandoc-filter-tool.cwl
- out:
- - markdown
- phase3_translate_to_RDFa:
- in:
- input_file: annotated_Markdown
- output_format:
- default: html
- run: pandoc-filter-tool.cwl
- out:
- - html_with_rdfa
- - latex_with_xmp
- phase3_translate_to_XMP:
- in:
- input_file: annotated_Markdown
- output_format:
- default: pdf
- run: pandoc-filter-tool.cwl
- out:
- - html_with_rdfa
- - latex_with_xmp
- dc:license: license:GPL-3.0-or-later
- dc:rights: Copyright 2025, Jonas Smedegaard <dr@jones.dk>
|