-
Notifications
You must be signed in to change notification settings - Fork 8
MyST Markdown Refactor #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
We have README.md
Support pixi run build as a default that works without a LaTeX distribution.
Fewer, common targets for `build`. Rename build-paper to build-pdf and only include the PDF build targets.
Update CMakeLists.txt. Update manuscript tasks and their names.
These have now been replaced.
Verify the submitted article bundle can be reproduced.
Fixed in upstream mystmd 1.6.1.
Update and fix versions of the actions used and runners. Replace build-complete with build-meca and other pixi tasks. The MECA build target now targets the reproducible MECA zip with built PDFs, JATS XML, source code and data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Matt, Pablo, this is incredibly nice 💯 !! Thanks both for having worked on this.
I have not tested it locally, but I trust it works.
One small comment before approving: should Python wrapping and/or code (e.g. examples) be considered somehow ?
@jhlegarreta thanks for the review!
Yes, in future iterations we should integrate a version of this into the ITKModuleTemplate. This is intended as a starting point for a submission that does not necessarily extend or rely on ITK even though it is used in a sample. |
This pull request updates the Insight Journal Article Template to adopt MyST Markdown as the primary authoring format, implements reproducible dependency management with Pixi, adds support for MECA output for standardized journal submission, and introduces integrated source code testing and validation workflows.
Transition to MyST Markdown
The template now leverages MyST Markdown for manuscript drafting—enabling rich scientific writing with support for figures, equations, citations, and cross-references. MyST bridges the simplicity of Markdown with features needed for scholarly publishing, supporting outputs in HTML, PDF, DOCX, and LaTeX formats without sacrificing authoring flexibility.
Advantages of MyST Markdown
Reproducible Dependency Management with Pixi
Dependency management and build automation now use Pixi. Pixi environments ensure that all contributors share the same set of tools and libraries, supporting completely reproducible builds—from manuscript generation to source code compilation and testing.
Key benefits:
Standardized MECA Output
The build system adds direct support for producing MECA (Manuscript Exchange Common Approach) archives—a standardized packaging format recognized by scientific journals. MECA output includes all necessary manuscript content, figures, code, and supporting data, streamlining the submission process.
Integrated Source Code Testing and Validation
The template contains a dedicated workflow for managing and testing source code (e.g., ITK-based C++ examples) alongside the manuscript. Features include:
This overhaul empowers scientific authors to rapidly create, test, and submit Insight Journal manuscripts with robust reproducibility and modern open science standards.