- From: <Irene.Vatton@inrialpes.fr>
- Date: Wed, 09 Feb 2000 13:13:47 +0100
- To: ron@fnal.gov
- cc: www-amaya@w3.org, ron@fnapcf.fnal.gov
Hi, Amaya doesn't implement "page-break-before" yet. The thotlib is able to do that, but we didn't find the time to add the needed glue between the CSS parser to thotlib. In-reply-to: Your message of Mon, 07 Feb 2000 09:14:51 -0600." <200002071514.JAA15946@fnapcf.fnal.gov> > Hi, > > Does amaya's printing/postscript generating engine support > "page-break-before" yet? (is it planned?) (I'm somewhat inexperienced/ > ignorant about web concepts so sorry if this easy...) > > I did try several thinks (included below) and searched the w3 web site > and mail archives. I did not see anything specifically say amaya supports this. > I did see a couple of "this is how you do it, but I don't know if any > browsers support it..." > > I'm running on Redhat 6.1 Linux. (I did check that netscape 4.7 does not > support it.) (Maybe someone knowns of an "html2ps" that supports controlling > page-breaks) > > Thanks for any suggestions, > Ron > > Things I've tried with amaya: > > In the html (various combinations of inclusion of): > <head> > ... > <style> BR.page { page-break-before: always } </style> > <STYLE type="text/css" media="print"> H2 { page-break-before: always } > </STYLE> > <STYLE type="text/css" media="print"> H2 { page-break-before: 2 } </STYLE> > <STYLE type="text/css" media="print"> H2 { break-before: page } </STYLE> > ... > </head> > ... > <br class=page> > ... > > > And in the stylesheet > <link href="/home/ron/.amaya/amaya.css" rel="stylesheet" type="text/css"> > > H1, H2, H3, H4, H5, H6 { > page-break-before: auto; /* the default */ > page-break-inside: avoid; /* no page breaks inside... */ > page-break-after: avoid; /* ... or after */ > } > H1, H2 { > page-break-before: always; /* begin new chapters; overrides previous rule */ > } > BR.page { page-break-before: always } > > @media print { > H1, H2 { page-break-before: always } > BR.page { page-break-before: always } > } > > > Could someone please help? > Thanks, > Ron > > > > Irene.
Received on Wednesday, 9 February 2000 07:14:29 UTC