Semantic Linefeeds

Joel Kulesza jkulesza at gmail.com
Sat Oct 15 14:04:28 UTC 2022


On Sat, Oct 15, 2022 at 3:17 AM Yuriy Skalko <yuriy.skalko at gmail.com> wrote:

> Hello all,
>
> What do you think about adapting semantic linefeeds
> (https://rhodesmill.org/brandon/2012/one-sentence-per-line/) for stored
> paragraph text in LyX files? Mainly to breaks lines only after the
> punctuation marks. Then the diffs in Git for edited documents can be
> much more readable.
>

Yuriy,

Thanks for these thoughts!  I've heard of this approach, but I've never
used it.  I'm reluctant to place the burden on myself to enforce that, but
if it can be codified, then I think it's a good idea and would likely help
review.

There was some discussion on this in 2020 (
https://www.mail-archive.com/search?l=lyx-devel%40lists.lyx.org&q=Significant+.lyx+EOL+White+Space+Inquiry&submit.x=15&submit.y=15),
and I think the consensus was difficulty in reconciling intra-word breaks
and how to update lyx2lyx to perform the necessary conversions.   I wonder
if you see good ways to contend with these obstacles.  Unfortunately, I do
not.

Thank you again,
Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221015/5363d858/attachment.html>


More information about the lyx-devel mailing list