-
Notifications
You must be signed in to change notification settings - Fork 350
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
Copy TeX LaTeX text without TeX markup. e.g:TeX \& freinds -> TeX & friends #32
Comments
You could just copy-paste from the PDF file. |
this is a task for scripting/macro. So if anybody wants to publish something here or better on the wiki, go ahead |
@dbitouze Copying and pasting from pdf is often a fatally bad idea. I find you often get symbols that look very much like what you expect but are subtly different which then appear completely incorrectly when, for example, printed. The most popular culprit is the dash “-“. |
I disagree: if the text you copied isn't meant to be reused in a |
@dbitouze I find the most problematic issue when copying from pdf is hyphenation of long words at the end of lines, which you obviously don't want to appear in the resulting paste. @antmw1361 I find it hard for anyone to help (with scripting) if there are no examples of what kind of text to expect. Would there be inline math? Superscripts, subscripts etc.? References, cites, labels? Anyway, I concur that the easiest way is still to copy from pdf, then fixing hyphenation patterns etc. |
@thatlittleboy No such an issue with \documentclass{article}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\end{document} processed with:
generates a
|
This would be helpful when we copy text from @TEXStudio and paste into plain text boxes
For example, while submitting a paper to a journal we often need to copy paste abstract to a plain text box in ManuscriptCentral, Evise websites. I often have to de-TeX the text and hide LaTeX markups. It would be great if TeXstudio can help.
The text was updated successfully, but these errors were encountered: