Skip to content

Output manuscript-rendered.md with pandoc markdown#382

Draft
dhimmel wants to merge 4 commits into
manubot:mainfrom
dhimmel:build-md
Draft

Output manuscript-rendered.md with pandoc markdown#382
dhimmel wants to merge 4 commits into
manubot:mainfrom
dhimmel:build-md

Conversation

@dhimmel

@dhimmel dhimmel commented Oct 30, 2020

Copy link
Copy Markdown
Member

Helps with #381.

Runs common filters and produces markdown output that should be portable to other Pandoc systems like Rmarkdown.

pandoc-eqnos upgrade addresses the following error:
tomduck/pandoc-eqnos#43
UnboundLocalError: local variable 'ret' referenced before assignment
@AppVeyorBot

Copy link
Copy Markdown

AppVeyor build 1.0.171 for commit b9c9b0c is now complete.

Found 52 potential spelling error(s). Preview:content/02.delete-me.md:44:adipiscing
content/02.delete-me.md:44:aliqua
content/02.delete-me.md:44:amet
content/02.delete-me.md:44:consectetur
content/02.delete-me.md:44:dolore
content/02.delete-me.md:44:eiusmod
content/02.delete-me.md:44:elit
content/02.delete-me.md:44:incididunt
content/02.delete-me.md:44:ipsum
content/02.delete-me.md:44:labore
content/02.delete-me.md:44:Lorem
content/02.delete-me.md:44:magna
content/02...
The rendered manuscript from this build is temporarily available for download at:

@agitter

agitter commented Nov 1, 2020

Copy link
Copy Markdown
Member

Will the Markdown output be generated all the time or conditionally based on an environment variable?

@AppVeyorBot

Copy link
Copy Markdown

AppVeyor build 1.0.180 for commit 0592860 is now complete.

Found 52 potential spelling error(s). Preview:content/02.delete-me.md:44:adipiscing
content/02.delete-me.md:44:aliqua
content/02.delete-me.md:44:amet
content/02.delete-me.md:44:consectetur
content/02.delete-me.md:44:dolore
content/02.delete-me.md:44:eiusmod
content/02.delete-me.md:44:elit
content/02.delete-me.md:44:incididunt
content/02.delete-me.md:44:ipsum
content/02.delete-me.md:44:labore
content/02.delete-me.md:44:Lorem
content/02.delete-me.md:44:magna
content/02...
The rendered manuscript from this build is temporarily available for download at:

@dhimmel

dhimmel commented Nov 1, 2020

Copy link
Copy Markdown
Member Author

Will the Markdown output be generated all the time or conditionally based on an environment variable?

I am not sure whether we should add this to rootstock at all. Currently, brainstorming all the types of markdown output users might wan. I think the two most common would be

  1. --to=markdown (pandoc markdown after running filters, citations and references not rendered unless --to=markdown-citations.
  2. --to=commonmark should render citations and bibliography.

@agitter do you think those two markdown flavors would cover most use cases?

@agitter

agitter commented Nov 1, 2020

Copy link
Copy Markdown
Member

I think those two would cover it. I don't recall anyone specifically needing the --to=commonmark version yet, but it does fill a gap.

If this is a niche and advanced use case, keeping the unmerged pull request could be a good solution so we can point to it when the question does arise.

@AppVeyorBot

Copy link
Copy Markdown

AppVeyor build 1.0.182 for commit 6645e8b is now complete.

Found 52 potential spelling error(s). Preview:content/02.delete-me.md:44:adipiscing
content/02.delete-me.md:44:aliqua
content/02.delete-me.md:44:amet
content/02.delete-me.md:44:consectetur
content/02.delete-me.md:44:dolore
content/02.delete-me.md:44:eiusmod
content/02.delete-me.md:44:elit
content/02.delete-me.md:44:incididunt
content/02.delete-me.md:44:ipsum
content/02.delete-me.md:44:labore
content/02.delete-me.md:44:Lorem
content/02.delete-me.md:44:magna
content/02...
The rendered manuscript from this build is temporarily available for download at:

@dhimmel dhimmel changed the base branch from master to main December 11, 2020 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants