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

Enclose pasted (La)TeX commands in \verb #379

Closed
ktraunmueller opened this Issue Jan 21, 2019 · 1 comment

Comments

1 participant
@ktraunmueller
Copy link
Owner

ktraunmueller commented Jan 21, 2019

Pasting text that contains (La)TeX commands is currently not guarded against. For example, pasting this sentence will break the document:

Compositor currently does not support documents built up from several 
source files (using \include or \import).

Solution: wrapping anything that starts with a backslash in a \verb is probably the desired behavior in most cases:

Compositor currently does not support documents built up from several 
source files (using \verb|\include| or \verb|\import|).

@ktraunmueller ktraunmueller added this to the 1.6 milestone Jan 21, 2019

@ktraunmueller ktraunmueller changed the title Escape backslashes in pasted text Enclose pasted (La)TeX commands in `\verb` Jan 21, 2019

@ktraunmueller

This comment has been minimized.

Copy link
Owner Author

ktraunmueller commented Jan 27, 2019

Added in 1.6

@ktraunmueller ktraunmueller changed the title Enclose pasted (La)TeX commands in `\verb` Enclose pasted (La)TeX commands in \verb Jan 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment