span / em / pdf
2004/10/08 11:15
Viewed 79739 times
Replies: 1/1

First off, I think it's awesome that we're using HTMLArea in this new editor. Secondly, I work for a non-profit organization and we're trying to fit HTMLArea into a php/mysql project I'm doing. If this can work, we will definitely contribute. (I know you've heard this promise before, but if the organization doesn't, I will.)

I'm not sure if these forums are open yet -- I figured I'd register and give it a try.

I'm currently using RC1 to write documents - For printing, I have two choices. The first (and current implementation) is to run the output through a converter like html2ps/HTML_To_PDF (@ rustyparts.com) - The bad side of this is that html2ps doesn't like span tags. - The bad news about span tags is that HTMLArea via Mozilla loves them. IE5.5 (my current version) still outputs <em>, <strong> etc, though (most of) these tags are deprecated. I don't want to force my users to be on IE5.5.. in fact, quite the opposite. My hope is to eventually go to a thin-client setup where all users will be on Mozilla via ltsp.org -- The second choice for printing is to slap the HTML into a 600-pixel width table and just hope for the best. This is much less desirable.

My question is - Will the 3.0 release magically (heh) alleviate my problems? Should I just wait and see? Is there a better Linux alternative to html2ps (other than htmldoc - no love there either) that I should be looking into? I've dug the far reaches of the Internet for a solution to this.

Thanks,
  Michael Blinn
  People Places, Inc.

Re: span / em / pdf
2004/10/08 12:05
Viewed 84033 times
Replies: 0/0

I'm not sure if these forums are open yet -- I figured I'd register and give it a try.

They are open, but not very polished. ;-)

For printing, I have two choices. [...] The second choice for printing is to slap the HTML into a 600-pixel width table and just hope for the best. This is much less desirable.

I wouldn't say so.  For instance, if you hit the print icon from Mozilla, wouldn't it print well?  I just tried it and the output looks more than acceptable.  And there's no need for a 600px table :-)  But anyway, if you want customization like repeating table headings on each page a table spans, or using custom header/footer, then this wouldn't work.

Mozilla seems to do a good job repeating table headers, if the header cells are properly identified (i.e. in a THEAD element).  But currently HTMLArea does not support this.

My question is - Will the 3.0 release magically (heh) alleviate my problems? Should I just wait and see?

Well, about printing there's nothing new in 3.0.

Is there a better Linux alternative to html2ps (other than htmldoc - no love there either) that I should be looking into?

Well, it should be--at least theoretically--possible to create a command line script that calls Gecko to render HTML.  And Gecko has superb support for CSS too so it would really be "what you see is what you get".  But anyway, this is far beyond the scope of HTMLArea.

last
Google