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

pdf generated as .pdf.md and attempting to convert pdfs #9

Open
mfoulds opened this issue Mar 29, 2023 · 0 comments
Open

pdf generated as .pdf.md and attempting to convert pdfs #9

mfoulds opened this issue Mar 29, 2023 · 0 comments

Comments

@mfoulds
Copy link

mfoulds commented Mar 29, 2023

Hi - I've noticed two problems when running mkdocs build:

  1. Combined pdf is a markdown file called combined.pdf.md
  2. Attempts to convert from pdf files instead of to pdf

Can you suggest anything to fix?

Combined markdown instead of pdf

When I set combined=true, the resulting combined file from mkdocs build is a markdown file that combines all other files, instead of a pdf.

Settings are as below:

plugins:
  - search
  - pandoc:          # requires mkdocs-pandoc-plugin
      # enabled_if_env: ENABLE_PANDOC_EXPORT
      combined: true

Attempts to convert from pdf

There are repeated errors in the terminal like this:

Unknown input format pdf
Pandoc can convert to PDF, but not from PDF.

With combined=true then the combined file is created as a markdown (as above).

If I set combined=false, then no pdf files are created in the subdirectories of mkdocs_site/pandoc.

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

No branches or pull requests

1 participant