[w3m-dev-en 00212] Re: Problem with -cols/-dump

From: aito@ei5sun.yz.yamagata-u.ac.jp
Date: Wed Sep 06 2000 - 22:21:48 CDT

  • Next message: Felix Rosencrantz: "[w3m-dev-en 00213] Re: Problem with -cols/-dump"

    In article <20000907030417.1842.qmail@web1105.mail.yahoo.com>,
            Felix Rosencrantz <w3m-dev-en@mi.med.tohoku.ac.jp> writes:
    > There seems to be a problem with the -cols flag and tables. I recently tried
    > converting an html file with tables into text with w3m. Some of the tables
    > were wider than 80 columns. I tried to reduce the width by adding the "-cols"
    > flag with values a little less than 80 like 78/79/76. Though, w3m still
    > produced tables wider than 80 characters. Is this a bug or pilot error?

    It's not a bug nor pilot error. It's a specification :-)

    w3m tries to obey WIDTH attribute in <TABLE> tag even if
    the width of the table exceeds the screen width. As MS word
    generates tables with WIDTH attribute, -cols option doesn't
    affect the width of the rendered tables.

    If you want to fit the table into the screen width, please
    remove WIDTH attribute in the <table>.

    --
    Akinori Ito, Dr.Eng.
    Department of Informatics, Faculty of Engineering
    Yamagata University
    tel&fax: 0238-26-3369   E-mail: aito@eie.yz.yamagata-u.ac.jp
    



    This archive was generated by hypermail 2b29 : Wed Sep 06 2000 - 22:56:36 CDT