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

EPUB and/or PDF export for dev environment #546

Closed
sulmanweb opened this issue Jun 5, 2018 · 12 comments
Closed

EPUB and/or PDF export for dev environment #546

sulmanweb opened this issue Jun 5, 2018 · 12 comments
Labels
type: feature request Request to add a new feature

Comments

@sulmanweb
Copy link

Feature request

What problem does this feature solve?

For writers the best way to have online book in html and offline books to sell in epub and / or pdf.

What does the proposed API look like?

vuepress export epub should export epub book

How should this be implemented in your opinion?

Not sure how

Are you willing to work on this yourself?**

No I am not so good in it

@ulivz ulivz added the type: feature request Request to add a new feature label Jun 5, 2018
@Yeeler
Copy link

Yeeler commented Jun 5, 2018

this is an awesome feature.

@eyleron
Copy link

eyleron commented Jun 6, 2018

Not just selling books, but just publishing documentation as PDF is a common feature of help authoring software, so this is inline with the use cases of the mainline project.

We have several clients (state government agencies) that in contracts expect printed documentation (alongside online), and I was wondering how we'd single-source / multiple-publish target for PDF too.

@mlinschulte
Copy link

Export to PDF would be highly appreciated since we already evaluated vuepress as an alternative for our online user manual but are missing this option heavily

@eyleron
Copy link

eyleron commented Jun 30, 2018

Pandoc?

Does that auto-generate +TOC+ from hierarchy of pages? Or would Vuepress have to use site map and pass as first pages?

Features, options, settings?

Is the homepage theme what one would expect in first page of manual?

@gmoralesc
Copy link

I tried Pandoc to generate the PDF from the build, but the assets' urls generated with the build script are absolute to the server path ( / ), that's mean that only work with a http-server not for open locally.

@chbndrhnns
Copy link

I wrote a small Python script [1] that could help with exporting single vuepress pages. It uses a head-less Chrome instance to render and modify the page and exports it to PDF.

[1] https://github.com/chbndrhnns/vuepress2pdf

@SimeonRoss
Copy link

This would be a really handy feature to have. The old GitBook CLI did this and we've used that feature before.

@ulivz
Copy link
Member

ulivz commented Jan 29, 2019

Try VuePress 1.x and https://github.com/ulivz/vuepress-plugin-export

@ulivz ulivz closed this as completed Jan 29, 2019
@SimeonRoss
Copy link

From the VuePress home page, "for now we recommend that you use the 0.x in the production environment."

There no way to get this to work with 0.x?

@calaoa
Copy link

calaoa commented Jan 14, 2020

vuepress-plugin-export looks great for pdf export indeed, but what about the epub format? Is there any plan to evolve vuepress-plugin-export to support epub as well, unless the feature should rather be developed in a distinct plugin, what's your view on this?

@WhileLoop
Copy link

WhileLoop commented May 20, 2020

@ulivz I am not able to to get vuepress-plugin-export to run.

$ vuepress --version
vuepress/1.5.0 darwin-x64 node-v10.15.1
$ vuepress export docs

Unknown command: export docs

docs/.vuepress/config.js

module.exports = {
  plugins: ['vuepress-plugin-export'],
...
}

@condorheroblog
Copy link

This is a screenshot of a generated outline PDF case.

PDF-demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request Request to add a new feature
Projects
None yet
Development

No branches or pull requests