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

[BUG] Print to pdf #21

Open
AlleNeri opened this issue Apr 29, 2023 · 3 comments
Open

[BUG] Print to pdf #21

AlleNeri opened this issue Apr 29, 2023 · 3 comments
Labels
bug Something isn't working question Further information is requested wontfix This will not be worked on

Comments

@AlleNeri
Copy link

Bug description

In the webview I can't print all the pages, but only the first. I left an example in the Screenshots section.
I guess it's a problem about webview, should I open an issue in webview repository?

Result from CocInfo

## versions

vim version: NVIM v0.9.0
node version: v16.20.0
coc.nvim version: 0.0.82-28e0edd 2022-12-31 20:57:39 +0800
coc.nvim directory: /home/myHome/.local/share/nvim/plugged/coc.nvim
term: xterm-256color
platform: linux

Steps to reproduce

  • Start nvim.
  • execute :CocCommand markdown-preview-enhanced.openPreview; in my case it will open a firefox tab.
  • click on sandwich menu in the header.
  • click on Print.

Expected behavior

This Print button should allow me to print the whole document.

Screenshots

exemple

@AlleNeri AlleNeri added the bug Something isn't working label Apr 29, 2023
@weirongxu
Copy link
Owner

As far as I know. I'm afraid this problem is difficult to fix, you may need to use prince/ebook instead of this function.

This is a right-click menu.
image

@weirongxu weirongxu added question Further information is requested wontfix This will not be worked on labels May 2, 2023
@AlleNeri
Copy link
Author

AlleNeri commented May 2, 2023

you may need to use prince/ebook instead of this function.

The 'eBook > PDF' returns the error: [coc.nvim] Error: spawn ebook-convert ENOENT.
The 'PDF (prince)' returns the error: [coc.nvim] "princexml" is required to be installed.
Could you help me to solve them?

@weirongxu
Copy link
Owner

This requires you to install an external program.

https://www.princexml.com/doc-install/
https://manual.calibre-ebook.com/generated/en/ebook-convert.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants