Joining newlines in paste (was: Pasting latex in a lyx file)

Richard Kimberly Heck rikiheck at gmail.com
Fri Jul 28 02:28:51 UTC 2023


On 7/27/23 12:07, Pavel Sanda wrote:
> On Thu, Apr 22, 2021 at 12:38:32PM -0400, Scott Kostyshak wrote:
>> On Tue, Apr 20, 2021 at 12:15:56AM +0200, Dr Eberhard W Lisse wrote:
>>> On 2021-04-19 14:47 , Christoph Schmitz wrote:
>>>>> Am 19.04.2021 um 14:43 schrieb Daniel <xracoonx at gmx.de>:
>>>>>
>>>>> On 10/4/21 16:07, Mario D wrote:
>>>>>> Paul,
>>>>>> Ctrl+Shift+V works just fine for me, thanks!
>>>>>> My fault, and I beg your pardon for this, for not having tried the
>>>>>> relative option in "Edit -> Paste Special" : I just tried the "Paste
>>>>>> from LaTeX", which doesn't work in my case (I am pasting tikz
>>>>>> figures, so @rich: I was referring to the second option).  Thank you
>>>>>> everybody.  :)
>>>>> Actually, I am wondering whether preserving newlines should be the
>>>>> default.  I don't think one can expect that the default paste command
>>>>> changes the format that way.  Instead the "special" option should be
>>>>> paste with removing newlines, I think.
>>>>> --
>>>>> Daniel
>>> [...]
>>>> I want to second this proposal!
>>>>
>>>> I do not know how much work it would be to create a new setting, which
>>>> would allow users to use whatever method they prefer.  If I have to
>>>> chose between the two options, Daniel's proposal is my preference.
>>>>
>>>> Chris
>>>>
>>> Me three :-)-O
>> I also get confused by this and I think new LyX users are especially confused.
>> I also vote for considering a change of the default behavior.
> Dear all,
>
> this is one of my last items on the TODO list for the 2.4 release.
>
> Bunch of people expressed their opinion that our default for paste operation
> should preserve newlines. I do not have strong opinion but agree that in my
> experience I have to go to Paste Special sub menu quite often to preserve
> the newlines.
>
> Before looking what would need change, is there reasonable unanimous agreement
> that this should be the default or are there folks who prefer current behaviour
> which joins the lines by default?

I agree that the default should be to preserve newlines.

Riki




More information about the lyx-users mailing list