Skip to content

Restore automatic table formatting when pasting from spreadsheet from LibreOffice Calc #4186

@njpires

Description

@njpires

Feature request: Restore automatic table formatting when pasting from spreadsheet from LibreOffice Calc

Summary:
In older versions of TeXstudio (this worked until version 4.6.3), it was possible to copy a table from LibreOffice Calc and paste it directly into a LaTeX tabular or tblr environment. TeXstudio would automatically insert the & and \\ to properly format the table.

In recent versions, this functionality seems to be gone. When pasting a copied table, a dialog appears prompting to insert the table as an image instead.

Steps to reproduce:

  1. Open LibreOffice Calc
  2. Copy a table range (e.g. A1:C3)
  3. Paste into a LaTeX file within a tabular or tblr environment in TeXstudio

Expected behavior:
The pasted content should be converted into LaTeX syntax:

A1 & B1 & C1 \\
A2 & B2 & C2 \\
A3 & B3 & C3 \\

Current behavior:
A dialog appears offering to insert an image of the table instead of pasting the raw tabular content.

Request:
In version TeXstudio 4.5.2, this new feature appeared in the Changelog as:
pasting from LibreOffice Calc uses & and \\ as delimiters. If pasted where no table is defined, the table wizard is called.

I would like to request the restoration of the possibility of pasting the table from LibreOffice, as it appeared in TeXstudio 4.5.2 and worked up to TeXstudio 4.6.3, as it greatly facilitates the workflow when creating tables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions