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

Improving the Samples page or Getting started page #128

Open
shinokada opened this issue Oct 1, 2022 · 2 comments
Open

Improving the Samples page or Getting started page #128

shinokada opened this issue Oct 1, 2022 · 2 comments

Comments

@shinokada
Copy link

I quite like practical examples in the doc. For example:

vivliostyle build https://vivliostyle.github.io/vivliostyle_doc/samples/gutenberg/Alice.html -s A4 -o Alice.pdf

By using this command, I can see the result. However it stops there. The commands after this example are generic and I can't see the results.

My suggestion is that using the Samples page. I tried HTML with the above code but I didn't get the image you mentioned in the page.

image

Is it possible to post commands how to create this or this as a PDF?

It will be very hands-on and new uses like me can benefit from it.

What do you think?

@MurakamiShinyu
Copy link
Member

Is it possible to post commands how to create this or this as a PDF?

vivliostyle build https://vivliostyle.github.io/vivliostyle_doc/samples/webmag/index.html \
  --style https://vivliostyle.github.io/vivliostyle_doc/samples/webmag/css/viv-style-v.css
vivliostyle build https://vivliostyle.github.io/vivliostyle_doc/samples/webmag/index.html \
  --style https://vivliostyle.github.io/vivliostyle_doc/samples/webmag/css/viv-style-h.css

Your suggestion is to put these examples to the CLI document, the Specifying additional style sheets section?

@shinokada
Copy link
Author

Yes, that will be a good place to put them.
I can see how to use to style a html page.
It will be great to see more of these.
Thanks.

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

2 participants