Skip to content
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

Export to "PDF (Latex / pandoc)" fails #5483

Closed
3 tasks done
charraeus opened this issue Oct 25, 2022 · 1 comment
Closed
3 tasks done

Export to "PDF (Latex / pandoc)" fails #5483

charraeus opened this issue Oct 25, 2022 · 1 comment

Comments

@charraeus
Copy link

charraeus commented Oct 25, 2022

  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

  • Searched http://support.typora.io/


Issue
Exporting the attached markdown document results in an error:
pandoc: pdflatex: createProcess: posix_spawnp: illegal operation (Inappropriate ioctl for device)
For the settings used, please see the attached screenshots below.

To Reproduce
Steps to reproduce the behavior:

  1. delete the base.user.css-file
  2. set the settings I use
  3. load the attached file Markdown-Test-2.md
  4. File / Export ... / PDF (Latex / Pandoc)
  5. See error message

Expected behavior

  • No error messag
  • and a pdf document should have been generated

Screenshots / Screencasts

  • error-message.png error-message
  • export-settings.png export-settings
  • export-settings-2.png export-settings-2

Sample Markdown File
Markdown-Test-2.md

Desktop (please complete the following information):

  • OS: macOS Monterey 12.5.1
  • pandoc: 2.19.2
  • pdflatex:
    christian % which pdflatex
    /Library/TeX/texbin/pdflatex
    christian % pdflatex
    This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
    restricted \write18 enabled.
    **^C
    christian % 
    

Typora Version
1.4.4

Additional context
I tried pandoc on the command line with the following results:

christian % pandoc -f markdown -s -o /Users/christian/Desktop/Markdown-Test-2.pdf Markdown-Test-2.md
christian % 

--> works.

christian % pandoc -f native -s -o /Users/christian/Desktop/Markdown-Test-2.pdf Markdown-Test-2.md
couldn't read native
christian % 

--> error message "couldn't read native" and and no pdf generated

And yes, I know, currently Typora does not support the grid table markdown extension.

@abnerlee
Copy link
Contributor

Please set full path of pdf engine (see jgm/pandoc#7570)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants