Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying LaTeX does not work well with default settings #3463

Closed
PHPirates opened this issue Feb 23, 2024 · 2 comments · Fixed by #3520
Closed

Copying LaTeX does not work well with default settings #3463

PHPirates opened this issue Feb 23, 2024 · 2 comments · Fixed by #3520
Labels
alpha Targets an alpha build bug Deficiencies in TeXiFy behaviour. high-priority Critical issues that must be solved ASAP.
Milestone

Comments

@PHPirates
Copy link
Collaborator

PHPirates commented Feb 23, 2024

The html paste handler escapes all things to be valid LaTeX, but it also does that when the clipboard content is already valid LaTeX, e.g. when copying from TeXiFy documentation. I don't see a way to detect LaTeX so I think we shouldn't do this escaping by default.

Also, pasting content from Libre Office Calc / Excel is broken on Windows (working fine with gnumeric on Linux), it will paste as image instead

Maybe the new paste handler should be turned off by default for now

@PHPirates PHPirates added bug Deficiencies in TeXiFy behaviour. high-priority Critical issues that must be solved ASAP. alpha Targets an alpha build labels Feb 23, 2024
@PHPirates PHPirates added this to the Next milestone Feb 23, 2024
PHPirates added a commit that referenced this issue Apr 19, 2024
…eft/right as that does not work in tables and is generally not the solution anyway, see #3463
@Steve-Li-1998
Copy link
Contributor

Hello, same problem (paste tables as image rather than latex-table-code) occurred in the latest texify. Could you please talk about how to turn off the new paste handler? Thanks a lot

@PHPirates
Copy link
Collaborator Author

For reference: reported in #3676

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha Targets an alpha build bug Deficiencies in TeXiFy behaviour. high-priority Critical issues that must be solved ASAP.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants