CSS3 Paged Media stylesheet

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

CSS3 Paged Media stylesheet

Dill

Does anybody know about a CSS3 paged media stylesheet for asciidoctor html output?
























Reply | Threaded
Open this post in threaded view
|

Re: CSS3 Paged Media stylesheet

mojavelinux
Administrator
I've played around with the paged styles in the past. Unfortunately, that spec isn't well supported.


Of course, nothing is stopping you from using it. You could use a docinfo file to add additional CSS to the HTML or just create a custom stylesheet and use that.

Did you have a more specific question about it?

Cheers,

-Dan

On Sat, Nov 19, 2016 at 1:01 AM, Dill [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Does anybody know about a CSS3 paged media stylesheet for asciidoctor html output?



























If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/CSS3-Paged-Media-stylesheet-tp5120.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: CSS3 Paged Media stylesheet

Dill
paged media is not well supported in webbrowsers, but there are several converters that output very good quality PDFs.
Here is a good overview: https://print-css.rocks/
Also have a look at this sample page: http://www.pdfreactor.com/samples/

Right now I use asciidoctor to output docbook5 (I have a basic docbook print css) and convert it with pdfreactor.
Compared to the direct docbook xml editing and xsl-fo rendering, asciidoctor and css print is a great step forward for me.






Reply | Threaded
Open this post in threaded view
|

Re: CSS3 Paged Media stylesheet

mojavelinux
Administrator

On Sun, Nov 20, 2016 at 6:51 AM, Dill [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Compared to the direct docbook xml editing and xsl-fo rendering, asciidoctor and css print is a great step forward for me.

I 100% agree with that. I think messing with XSL-FO is way too expensive.

-Dan


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux