jupyter-book / mystmd

Command line tools for working with MyST Markdown.
https://mystmd.org/guide
MIT License
220 stars 65 forks source link

Problem in PDF rendering #640

Open satishchaudhary382 opened 1 year ago

satishchaudhary382 commented 1 year ago

Version of Myst used

v1.1.20

Installation of Myst

npm

OS used

Windows

Description

I was trying to render the markdown into pdf and docx. The markdown gets converted into docx with ease however it gives error while rendering into the pdf format.

image

Additional notes

Any help what is going wrong here

welcome[bot] commented 1 year ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

dressedfez commented 1 year ago

The template you are using needs an abstract part, i.e. something like this in the paper.md

+++ {"part": "abstract"}

abstract text here

+++

The second error means that you need to provide an authors part in the frontmatter of the paper, i.e. something like this:

authors:
  - name: Rowan Cockett
    affiliations:
      - Executable Books
      - Curvenote
    orcid: 0000-0002-7859-8394
    email: rowan@curvenote.com

Please have a look at https://mystmd.org/guide/quickstart-myst-documents

@rowanc1 maybe it would be a good idea to update the webpage in such a way that the initial setup is described in a different way as in the provided link. I personally think that the removing errors approach might not be a good start. It works nicely in your presentation, but if you want to start from scratch without assistance from others than this approach is misleading.