Re: [Lynx-dev] Adding a style

2024-04-04 Thread rbell--- via Lynx-dev
I like my paragraphs indented, so I modify DefaultStyle.c, make it indent for and . Unless I'm mistaken, lynx ignores the role="paragraph", so lynx should indent them. Maddeningly, after weeks of not-indenting for such tags, lynx started. I have another intermittent

Re: [Lynx-dev] Adding a style

2024-04-04 Thread KIHARA Hideto
> There is no correct. I decide what I want. How do I add a > style? FYI. For example, this patch adds two styles (for pre-format and that have style {white-space:pre}). https://gist.github.com/deton/ebc9d4b4af6c216bd49cdb656a9b0ebc -- KIHARA, Hideto / de...@m1.interq.or.jp

Re: [Lynx-dev] Adding a style

2024-04-03 Thread Thomas Dickey
On Wed, Apr 03, 2024 at 11:08:42AM -0600, rbell--- via Lynx-dev wrote: > > Quoth mouse: > > 'since there is a spec, there is a well-defined "correct", at > least to the extent that the spec is properly done.' > > Quoth https://www.w3.org/Library/src/HTStyle.html (the spec): >

Re: [Lynx-dev] Adding a style

2024-04-03 Thread rbell--- via Lynx-dev
Quoth mouse: 'since there is a spec, there is a well-defined "correct", at least to the extent that the spec is properly done.' Quoth https://www.w3.org/Library/src/HTStyle.html (the spec): 'The manager doesn't contain any styles - it only provides a mechanism

Re: [Lynx-dev] Adding a style

2024-04-03 Thread Mouse
> 'That's correct for s in general' > There is no correct. I decide what I want. How do I add a style? Well, since there is a spec, there is a well-defined `correct', at least to the extent that the spec is properly done. (I don't know the spec well enough myself to know what it says is

Re: [Lynx-dev] Adding a style

2024-04-03 Thread rbell--- via Lynx-dev
'That's correct for s in general' There is no correct. I decide what I want. How do I add a style? You un-answered my question, a waste of everyone's time. russell bell

Re: [Lynx-dev] Adding a style

2024-04-03 Thread Thorsten Glaser
rbell--- via Lynx-dev dixit: > NEJM has started using to demarcate the >beginning of a paragraph. lynx renders this the same as , which >makes it hard to read. That’s correct for s in general, though: upon encountering the start tag, if not at column 1, emit a newline. Tell NEJM to use

[Lynx-dev] Adding a style

2024-04-03 Thread rbell--- via Lynx-dev
NEJM has started using to demarcate the beginning of a paragraph. lynx renders this the same as , which makes it hard to read. I tried to add a new style, ST_Div, in WWW/Library/Implementation/HTStyle.h and rely on the fall-through handling of div in src/HTML.c and src/LYCharUtils.c but