diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-05-23 08:00:06 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-05-23 08:00:06 +0200 |
| commit | efc49c3e902a7ab89db2e669867e0e2aab3cdc50 (patch) | |
| tree | 210c65c38e98b6b0f32fafff98672f597b05fb0a /workflow/phases.cwl | |
| parent | 7e56c94c03727894dec1b65da923bb4bd532df52 (diff) | |
add argument output_format to workflow
Diffstat (limited to 'workflow/phases.cwl')
| -rwxr-xr-x | workflow/phases.cwl | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/workflow/phases.cwl b/workflow/phases.cwl index 95df658..e4562be 100755 --- a/workflow/phases.cwl +++ b/workflow/phases.cwl @@ -12,10 +12,10 @@ inputs: outputs: annotated_html: type: File - outputSource: convert/html_with_rdfa + outputSource: convert_to_html/html_with_rdfa annotated_pdf: type: File - outputSource: convert/latex_with_xmp + outputSource: convert_to_pdf/latex_with_xmp markdown_with_metadata: type: File outputSource: extract/markdown @@ -24,9 +24,20 @@ outputs: outputSource: strip/markdown steps: - convert: + convert_to_html: in: input_file: annotated_markdown + output_format: + default: html + run: pandoc-filter-tool.cwl + out: + - html_with_rdfa + - latex_with_xmp + convert_to_pdf: + in: + input_file: annotated_markdown + output_format: + default: pdf run: pandoc-filter-tool.cwl out: - html_with_rdfa @@ -34,12 +45,16 @@ steps: extract: in: input_file: annotated_markdown + output_format: + default: commonmark run: pandoc-filter-tool.cwl out: - markdown strip: in: input_file: annotated_markdown + output_format: + default: commonmark run: pandoc-filter-tool.cwl out: - markdown |
