On 3/26/24 09:48, Ihor Radchenko wrote:
Adam Porter <a...@alphapapa.net> writes:
What is the purpose of centering text if not to make it stand out?
To align text. I am not sure why anything more is necessary - it
is certainly counter-intuitive for me that "center" means something more
than just alignment.
Again, what is the purpose of centering text? The answer, "To align
text," is tautological.
I am very confused. Of course, it is tautological. "center" container is
aiming to align the text. That's why it is named "center".
Yes, but why do we center text? That's what I'm asking.
Especially, on Worg, where the whole site serves as a kind of extended
user manual, the purpose of centering text is, what, if not to make it
stand out?
To align text... I really do not understand why one would _anticipate_
that #+begin_center is doing anything other than center alignment.
Of course, I'm not suggesting that this be the default for Org's HTML
export CSS. I'm suggesting that, on Worg, since the .org-center class
hasn't even been styled, we might as well use it for this purpose--to
make text stand out--since that's generally the purpose of centering
text anyway.
If you need extra highlighting, we may introduce a dedicated style and
apply it via special block.
Why, when we already have #+begin_center? Currently it's not even used
at all. This would not change anything that already exists; it would
make something that already exists useful.
It would break expectations.
It will also differ from ox-html output with the default css style
`org-html-style-default':
Worg already differs significantly from the ox-html default styles, so
why not in this way also?
Mostly because it is unexpected, as I described above.
I'd prefer to stick closer to the semantics and just apply alignment to
center blocks.
*shrug* Worg has existed for years without even doing anything with
#+begin_center blocks--not even centering them. I propose that we make
it useful and serve its natural purpose, rather than adding a special
new block that most users won't even know about (having to find it in
the voluminous Worg content isn't likely to happen for most users).
I do not see how, without documentation, one would expect that
#+begin_center can be used for highlighting and not for text alignment.
From my point of view, it is worse than a special block - not only this
ad-hoc convention is not documented; it will also break expectations
about what #+begin_center does.
Again, this is just for Worg, and centering hasn't even had any effect
for years. There seem to be no expectations to break.
What about:
1. Introducing a new special block for highlighting
2. Documenting it in https://orgmode.org/worg/worg-editing.html
I think that such a new special block would likely go unused in favor of
default blocks. The cognitive load of learning how to contribute to
Worg is already pretty high. We see this same pattern in contributions
to Emacs and Org themselves: code is often unidiomatic because it takes
a long time to learn all the idioms, and it's often not obvious what the
idiomatic way to do something is. The same is true for contributions to
documentation. Worg is no different.
So I would still suggest that, on Worg, we use my suggested styling on
#+begin_center blocks. This would make them useful and fulfill their
natural purpose.
I understand your general objection--and I wouldn't suggest it for Org's
default export CSS--but I think that, for Worg specifically, it needn't
apply.
Since Worg is updated with relatively low frequency, anyway, perhaps
this suggestion could be tried as an experiment. If problems are found
with it, then the extra styling, beyond merely centering the text, could
be reverted. Nothing is permanent here; we've probably spilled more
virtual ink on this topic than would be affected by the change.
Anyway, if this idea is vetoed, it would still be good to have some way
to make text stand out in a standard way, similar to various HTML
documentation styles in other projects (to avoid resorting to inline
HTML). It seems like a missing feature on Worg.
And the other changes in the patch would be good to have, regardless.
Thanks,
Adam