On 04/25/2018 10:04 AM, John Kane wrote:
Presumably a feature. If one does a copy and paste, one usually wants the format to remain the same.

If you want to change formats, aste and then apply the new format seems the way to go.

On 25 April 2018 at 03:40, Bernt Lie <bernt....@usn.no <mailto:bernt....@usn.no>> wrote:

    I'm using the basic LaTeX article style in LyX 2.2.3 on 64 bit Win
    10, latest update. The following must be a bug??

    If I copy (Ctrl+c) text from a bulleted list, and paste it
    (Ctrl+v) into, say, a data listing, footnote, etc, the bullet is
    inserted into the construct (data listing, bullet, etc.).

    Is this a "feature" or a "flaw"?

    -B




--
John Kane
Kingston ON Canada
While I agree in general that structure (in this case, bullet item) might be something you'd want to carry along, in this particular case I'm pretty sure it's a bug. As Bernt says, if you copy a bullet item and paste it into a listing, it shows up in the LyX GUI as a bullet item -- but if you preview as a PDF, it compiles without the bullet, and the LaTeX source code shows no indication of a bullet (or item tag). So there's a mismatch between what you see and what you get.

In the particular case of bullet items, I'm not sure there's any virtue to carrying the item context with you in a copy/paste. Either you're pasting into an itemize environment (in which case it automatically becomes an item) or you're not (in which case you most likely do not want it to be an item).

Bernt: Would you care to file a bug ticket for this?

Paul

Reply via email to