[nycbug-talk] using css for printed materals

Marc Spitzer mspitzer
Tue Feb 22 12:26:02 EST 2005


On Tue, 22 Feb 2005 11:40:31 -0500, George Georgalis <george at galis.org> wrote:
> Goal, develop documentation model that will easily port to SGML.
> Requirements, standard technical report type formatting, outline type
> formatting, with lots of tables.

Why not use sgml as the master format and then derive html/pdf/ps/etc from it?

> 
> Sounds like standard html (table header, and column identifiers on top
> of each table). But there is a catch, the documents will be printed
> and on each printed page should appear the table header and column
> labels. Is there a css (media=print) tag that will put Table header and
> col identifiers on each page, like below?  Any templates for this?

Look at CSS 2.0, I think it has page  formating directives in it.

marc


> 
> // George
> 
> ----------------------page break----------------------------
> 
> 1.2.3 section
>  1.2.3.4 section
> 
>          Some text....
>  +-------+--------------------------------------+----+----+
>  |                   Table header                         |
>  +-------+--------------------------------------+----+----+
>  |col1   |col2                             col3 |col4|col5|
>  +-------+--------------------------------------+----+----+
>  |yack   |yack yack yack                        |:)  |:(  |
>  |       |                                      |    |    |
>  +-------+--------------------------------------+----+----+
>  |yack   |yack yack yack                        |aa  |    |
>  |       |yack yack                             |bb  |    |
>  |       |                                      |    |    |
>  |       |                                      |    |    |
>  +-------+--------------------------------------+----+----+
> 
> ----------------------page break----------------------------
> 
>  +-------+--------------------------------------+----+----+
>  |                   Table header                         |
>  +-------+--------------------------------------+----+----+
>  |col1   |col2                             col3 |col4|col5|
>  +-------+--------------------------------------+----+----+
>  |yack   |yack yack yack                        |:)  |:(  |
>  |       |                                      |    |    |
>  +-------+--------------------------------------+----+----+
>  |yack   |yack yack yack                        |aa  |    |
>  |       |yack yack                             |bb  |    |
>  +-------+--------------------------------------+----+----+
>  |yack   |yack yack yack                        |:)  |:(  |
>  |       |                                      |    |    |
>  +-------+--------------------------------------+----+----+
> 
> 1.2.3 section
>  1.2.3.5 section
> 
>          Some text....
> 
>  +-------+--------------------------------------+----+----+
>  |                   Table header                         |
>  +-------+--------------------------------------+----+----+
>  |col1   |col2                             col3 |col4|col5|
>  +-------+--------------------------------------+----+----+
>  |yack   |yack yack yack                        |:)  |:(  |
>  |       |                                      |    |    |
>  +-------+--------------------------------------+----+----+
>  |yack   |yack yack yack                        |aa  |    |
>  |       |yack yack                             |bb  |    |
>  +-------+--------------------------------------+----+----+
>  |yack   |yack yack yack                        |:)  |:(  |
>  |       |                                      |    |    |
>  +-------+--------------------------------------+----+----+
> 
> ----------------------page break----------------------------
> 
>  +-------+--------------------------------------+----+----+
>  |                   Table header                         |
>  +-------+--------------------------------------+----+----+
>  |col1   |col2                             col3 |col4|col5|
>  +-------+--------------------------------------+----+----+
>  |yack   |yack yack yack                        |:)  |:(  |
>  |       |                                      |    |    |
>  +-------+--------------------------------------+----+----+
>  |yack   |yack yack yack                        |aa  |    |
>  +-------+--------------------------------------+----+----+
> 
>          Some text....
> 
> --
> George Georgalis, systems architect, administrator Linux BSD IXOYE
> http://galis.org/george/ cell:646-331-2027 mailto:george at galis.org
> _______________________________________________
> % NYC*BUG talk mailing list
> http://lists.nycbug.org/mailman/listinfo/talk
> %Be sure to check out our Jobs and NYCBUG-announce lists
> %We meet the first Wednesday of the month
>




More information about the talk mailing list