Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow turning off center alignment of tables #175

Closed
jidanni opened this issue Mar 12, 2021 · 8 comments
Closed

Allow turning off center alignment of tables #175

jidanni opened this issue Mar 12, 2021 · 8 comments

Comments

@jidanni
Copy link

jidanni commented Mar 12, 2021

Lynx has

       -center
              Toggle center alignment in HTML TABLE.

But for w3m we need to do

$ sed 's/align="center"//' file.html | w3m -T text/html

(Even if we own a wide monitor, we don't always want text pushed so far
to the right.)

@Boruch-Baum
Copy link

Boruch-Baum commented Mar 14, 2021 via email

@jidanni
Copy link
Author

jidanni commented Mar 14, 2021

OK, but I get error: (void-variable w3m-filter-configuration), so I had to comment it out on
https://www.jidanni.org/comp/configuration/.gnus.el .

@Boruch-Baum
Copy link

Boruch-Baum commented Mar 14, 2021 via email

@jidanni
Copy link
Author

jidanni commented Mar 18, 2021

@Boruch-Baum I see. I needed to wrap it in
eval-after-load "w3m"
OK. but wait, there is even tougher centering that needs to be conquered, like in

o.htm.gz

@Boruch-Baum
Copy link

Boruch-Baum commented Mar 19, 2021 via email

@jidanni
Copy link
Author

jidanni commented Apr 8, 2021 via email

@Boruch-Baum
Copy link

Boruch-Baum commented Apr 9, 2021 via email

tats added a commit that referenced this issue Jul 3, 2021
@tats
Copy link
Owner

tats commented Jul 3, 2021

New option disable_center is now available. e.g. w3m -o disable_center=1

It will be included in Debian bullseye+1.

@tats tats closed this as completed Jul 3, 2021
bptato pushed a commit to bptato/w3m that referenced this issue Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants