[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Introduction
From: |
Dorai Sitaram |
Subject: |
Re: [Groff] Introduction |
Date: |
Thu, 20 Oct 2005 13:13:14 -0400 (EDT) |
Meg McRoberts wrote
>
> I prefer HTML as an output format from the same source that can also
> generate PS, PDF, formatted ASCII... It's great to get a technical
> document into HTML to display on the web but if I want a printed
> copy, the HTML doc isn't compact enough to be satisfying...
I would have thought so myself, but I've been lately reading about CSS's
"@media print", and it seems to be a highly tweakable way to tell a browser
how it should print an HTML document -- fonts, spacings and margins, text
decoration, ignoring elements that have no relevance for the printed page.
Just last night, I tried adding some "@media print" options to my program
for converting TeX to HTML, and the versions I get by printing (well, I
used preview) from the browser seem to be eerily close to what I'd get by
running TeX on the document. And I wasn't trying really hard at all.
My respect for CSS shot up several notches... -- and it also made me
wonder (I'm sure the thought will pass...) why I needed TeX/troff at all,
if I could bring myself to authoring directly in HTML.
Some online blogs that talk about this:
http://www.maratz.com/blog/archives/2004/09/21/10-minutes-to-printer-friendly-pages/
http://www.alistapart.com/articles/goingtoprint/ (by CSS guru Erik Meyer)
http://www.456bereastreet.com/archive/200509/printfriendly_css_and_usability/
Some lateral searching may help as well.
Back to lurking. Thanks for being an interesting crowd.
--d
- Re: [Groff] Introduction, (continued)
- Re: [Groff] Introduction, Joerg van den Hoff, 2005/10/22
- Re: [Groff] Introduction, Larry Kollar, 2005/10/22
- Re: [Groff] Introduction, Werner LEMBERG, 2005/10/23
- Re: [Groff] Introduction, Miklos Somogyi, 2005/10/21
- Re: [Groff] Introduction, Werner LEMBERG, 2005/10/21
- Re: [Groff] Introduction, Larry Kollar, 2005/10/19
- Re: [Groff] Introduction, Meg McRoberts, 2005/10/20
- Re: [Groff] Introduction, Larry Kollar, 2005/10/20
- Re: [Groff] Introduction,
Dorai Sitaram <=
- Re: [Groff] Introduction, Miklos Somogyi, 2005/10/20
- [Groff] groff/xml/word, Meg McRoberts, 2005/10/20
- [Groff] Colors, PowerPoint and PDFs, Clarke Echols, 2005/10/20
- Re: [Groff] Colors, PowerPoint and PDFs, Robert Goulding, 2005/10/20
- [Groff] Displaying PDF slides (was: Colors, PowerPoint and PDFs), Greg 'groggy' Lehey, 2005/10/21
- Re: [Groff] Displaying PDF slides (was: Colors, PowerPoint and PDFs), Michael Parson, 2005/10/21
- Re: [Groff] Displaying PDF slides (was: Colors, PowerPoint and PDFs), Greg 'groggy' Lehey, 2005/10/23
- Re: [Groff] Displaying PDF slides (was: Colors, PowerPoint and PDFs), Michael Parson, 2005/10/23
- Re: [Groff] Introduction, Werner LEMBERG, 2005/10/18
Re: [Groff] Introduction, Werner LEMBERG, 2005/10/18