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 is truncated to first page (using materials theme) #121

Open
k-vaughn opened this issue Oct 12, 2024 · 2 comments
Open

pdf is truncated to first page (using materials theme) #121

k-vaughn opened this issue Oct 12, 2024 · 2 comments

Comments

@k-vaughn
Copy link

I just installed this tool. Everything seems to be configured correctly, yet the individual PDF files are truncated to a single page (plus a blank pre-pended page if the file requires more than one page). If I use the combined mode, I get the combined result (i.e., each document presented in order - for one-page documents, the flow is as one would expect, but for documents requiring multiple pages, there is a blank page prepended and then only one page of the document provided.

I simplified my mkdocs.yml file (below) to be as simple as possible, but I still get the same results.

site_name: ITS Open Source Process
repo_url: https://github.com/k-vaughn/ITS-open-source
nav:
  - Front Matter:
    - Title Page: index.md
    - Notices: notices.md
    - Acknowledgements: acknowledgements.md
    - Foreword: foreword.md
    - Introduction: introduction.md
  - 1 General: general.md
  - 2 Overview: overview.md
  - 3 Commenter Responsibilities: commenter-responsibilities.md
  - 4 Contributor Responsibilities: contributor-responsibilities.md
  - 5 Maintainer Responsibilities: maintainer-responsibilities.md
  - 6 WG Responsibilities: wg-responsibilities.md
  - A Code of Conduct: code-of-conduct.md
  - B Documentation Conventions: documentation-conventions.md
  - C Coding Conventions: coding-conventions.md
site_url: https://github.com/k-vaughn/ITS-open-source
copyright: <p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://github.com/k-vaughn/ITS-open-source">ITS Open-Source Process</a> by <span property="cc:attributionName">NTCIP</span> is licensed under <a href="https://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC BY 4.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" alt=""></a></p>
theme:
  name: material
plugins:
  - pdf-export
@darosio
Copy link

darosio commented Oct 14, 2024

Same here. Switched to https://github.com/brospars/mkdocs-page-pdf

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

3 participants
@darosio @k-vaughn and others