{copy-paste} is about copying text and other elements from one place (often a PDF file) and allowing it to be pasted. Searching for text (in a PDF file) is a process closely related to copying because both use the OCR (optical character recognition) layer in the PDF file.

learn more… | top users | synonyms

1
vote
0answers
33 views

Unwanted space around punctuation in copied & pasted listing

When I compile the .tex file below into .pdf using rubber -d mwe.tex and try to copy & paste the contents of the listing, I get spaces around . characters that were not present in the original ...
0
votes
0answers
97 views

Symbols do not copy correctly from latex pdf to ms word

I have text containing 3 symbols in pdflatex and produce pdf. It is OK. Then i copy these symbols and paste in MS word 2013 and have another symbols or from one symbols two are produced: Before ...
1
vote
0answers
45 views

Not possible to search for umlaute in LaTeX [duplicate]

I am using \usepackage[utf8]{inputenc} so I am able write umlaute inside the tex file, but I can't search for a word that contains umlaute inside the compiled pdf. Is this a "bug" inside LaTeX or do ...
2
votes
1answer
60 views

Green cursor in ShareLaTeX - Lost functionalities

After some weeks working with ShareLaTeX, the cursor has turned green. This wouldn't be a great concern but since then I am unable to Ctrl+C and Ctrl+V chunks of text in my text file when I am ...
1
vote
0answers
45 views

How to make Æ Ø Å copyable from the PDF output [duplicate]

When building a PDF file with LaTeX the character å gets uncopyable. It only results in ̊a when copied. \documentclass{article} \usepackage[norsk]{babel} \begin{document} Try copying ...
3
votes
2answers
97 views

Copy-Paste error in LaTeX

When I try to copy some text from a Word page or pdf an paste it to LaTeX, I get the error below. Any idea how to fix this? PS: I am using LaTeX on a Mac While the text which I typed my self works ...
5
votes
2answers
122 views

Make pdflatex output UTF-8 copy-pasteable when using Times font

I would like to use Adobe Times Roman font or its equivalent (like URW Nimbus Roman and fonts based on it), compiling with pdflatex to PDF -- the original intent was to have PDF smaller by using ...
5
votes
1answer
151 views

When I convert a PDF to plain text, the text is scrambled [duplicate]

When I convert a PDF created in MiKTeX to plain text, all diacritics are at the wrong place. I need to send my thesis to online antiplagiator checking page. Example: pr´ce a diskusia mˆˇu tvorit ...
0
votes
0answers
61 views

Copy/Paste from PDF with Multiple Columns

I'm generating a PDF using rubber/pdflatex on Linux for a LaTeX document with multiple columns. When viewing the PDF in evince and trying to copy/paste from it, the selection always crosses the ...
0
votes
0answers
36 views

Copying from PDF gives crypted string [duplicate]

I got a book for "Lebensmittelanalytik" as a PDF. When I copy anything in the PDF I get strings like this: bflyflNSMàTTflLxNxLYTàü. I tried to compile it with LaTeX and the pdfpages package, but it ...
3
votes
1answer
187 views

Can or will pdf with MinionPro produced by ps2pdf allow to search for words with ligatures, such as “final”?

This is either a question or an encouragement, depending on the situation. If a pdf typeset with latex and made into a pdf with ps2pdf contains the word "final", searching for that word in the pdf ...
0
votes
0answers
49 views

How to protect a PDF generated via LaTeX [duplicate]

I've seen several questions similar to this one, but mine is how I can protect my PDF: Extract contents. Print. And, eventually, customize all the meta tag.
1
vote
1answer
66 views

mmap/cmap problem: text in equations is not properly copy-pastable

\documentclass[12pt,a4paper]{article} \usepackage[noTeX]{mmap} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \begin{document} $(A\to B)\vdash B$ sample text ...
2
votes
1answer
63 views

How can I maintain TeX code layout when pasting into a LyX ERT inset?

When I paste TeX code from a text editor in an ERT inset in a LyX document, the text layout from the text editor is lost, I have to enter the newlines and the tabulations manually in order to regain ...
2
votes
2answers
74 views

TeXnicCenter: Copying compilation errors [to google]

When a compilation error occurs in TeXnicCenter 2.02, I would like to copy it from the "Build Output" window [to google] So far I'm failing to do so, having to type manually the error description. ...
5
votes
3answers
318 views

Cut and Paste Non-Math Text from MS Word to a .tex file

I am helping a friend use LaTeX to generate a book of short stories. The stories are received from the authors in MS Word -- unfortunately that is only text editor most of the world knows. There is no ...
1
vote
0answers
187 views

How to use cmap to create an un-copyable pdf with pdftex?

For some reason I want to create a pdf with an un-copyable text. There is a solution which manipulates the font. It's from an older post(see Is it possible to produce a PDF with un-copyable text?): % ...
3
votes
1answer
194 views

How to copy/paste multiple spaces from lstlistings?

This is a continuation of a question that I asked already: How to copy/paste from lstlistings?. The solution presented there does not work if the text within the lstlistings environment contains ...
0
votes
0answers
193 views

Copy/Pastable output in Friggeri's CV

I'm rather new to TeX, but I find the editor a great tool and I'm starting to use it as much as I can - love the clean output you can achieve with it! Speaking about outputs, I have a problem when ...
0
votes
0answers
160 views

Script to extract and copy from LaTeX files

I have a large LaTeX document, one main and a lot of \input{file} for each chapter. For each of these files I would like to copy them and only keep the Theorems, in other words I'd like to extract and ...
6
votes
2answers
161 views

copy and reuse the content of an environment

is there a way to embed an text in several environments (or structures, \chapter, \section etc.) in one file and "copy"/insert the content of single environment items in other files? i've noticed the ...
2
votes
0answers
236 views

Embed all fonts by “exporting as PDF”, but cannot copy text any more?

I am using Fontin as the font style and XeLaTeX my document. In order to ensure every computer can display the font style correctly, I decided to re-export the document as PDF with Mac Preview so that ...
2
votes
1answer
61 views

How to mantain verse indendation and numbering when copy from PDF

I am trying to adapt this answer to produce the same result with a verse environment: I want to be able to copy a poem out of a PDF maintaining its indentation (numbering included) as typeset in the ...
1
vote
0answers
66 views

Copy verse out of pdf mantaining margin structure [closed]

I use LaTeX to nicely typeset poems with the package verse. Here a MWE \documentclass{article} \usepackage{verse} \verselinenumbersleft \poemlines{2} \setlength{\vrightskip}{-3em} ...
0
votes
0answers
201 views

How can I make the copied-pasted text from an pdflatex output still readable/compilable by pdflatex?

The issue I compile a latex document which contains accents ("é" for instance), then I copy the text from the pdf generated by pdflatex. Then, I paste this text to my latex file. The resulting file ...
2
votes
1answer
340 views

Copy to clipboard using Javascript macro

I'm pretty inexperienced with Javascript, especially within LaTeX, so I'd like some pointers, guidance or even an MWE of my proposed "button": I want to create a button to copy data to the system ...
6
votes
0answers
416 views

Copy to clipboard feature in PDF output

I want a clickable copy to clipboard feature in my PDF document. Ideally the macro also allows for graphical elements to be embedded inside them (say, a button that will automatically copy paste ...
4
votes
2answers
137 views

How can I repeat some commands before each paragraph?

I have to use EasyBib to make my bibliography, and I've put it into my LaTeX document by copying/pasting. But I need to have a hanging indent for each item. I've been able to get the effect I want ...
12
votes
1answer
359 views

How to produce unicode copyable alternative text? (with accsupp)

In the following example, I can't manage to make accsupp store the unicode alternative text. The resulting PDF looks as expected but the copyable text is not the correct one. I tried this with ...
4
votes
1answer
102 views

MinionPro and Searchability/Encoding

I'm using pdflatex with the MinionPro package. The PDF looks fine, but apparently some characters (specifically "W" and the "Th" ligature) are put in the PDF in a way that breaks searchability. For ...
1
vote
0answers
38 views

obfuscate latex->pdf document [duplicate]

Is there any package that can easily allow you to obfuscate a Latex->PDF generated document such that copy-paste is not longer possible and produces random letters for instance. And if yes, is it ...
9
votes
1answer
66 views

Protect footnotemarks from selection in pdf

Inspired by this question i used accsupp to protect the headers of my pdf from being copied which works nicely so far. I tried to do the same thing for the footnotemarks which hasn't worked so far. ...
5
votes
1answer
202 views

How can I preclude copying & pasting of listings?

When I include code snippets in my documents, my lazier readers, i.e. students :), are often tempted to just copy and paste those snippets instead of typing them themselves. However, there are risks ...
7
votes
2answers
241 views

How to make ligatures searchable and copiable in LuaTeX? [closed]

I have a problem with ligatures in LuaLaTeX when using the font Adobe Minion Pro. The fi ligature displays fine but is neither searchable nor copiable. If I copy it, I get some Asian character. ...
3
votes
3answers
4k views

How to copy/paste from Word to LaTeX avoiding error?

With a few school mates, we have written a report in Word/Google Drive. I would like to format it in LaTeX. However, when I copy paste I see that certain characters are not as usual and trigger ...
0
votes
1answer
175 views

Copy/paste an existing (Word *.doc) 'pretty looking' bibliography into LaTeX

How can I add the list of references into LaTeX? I have a formatted references list in Word and would like to use it in LaTeX. I do not need the connections/the reference in the text itself (cite). ...
2
votes
2answers
295 views

Automated copy and paste?

I have found a program that can convert PDF to LaTeX, and so I have .tex files of various math textbooks. I want to make a list of theorems from the book, and so I have been manually copying and ...
3
votes
0answers
92 views

It is possible to lock up pdf? [duplicate]

I'm searching if it is possible to set permissions in LaTeX code to prevent copy/print/make changes of pdf? And if it is possible to encrypt pdf in LaTeX code?
9
votes
2answers
186 views

How to insert searchable value for PDF reader?

In a dictionary a headword can consist of special characters like in this example : Eyja·fjalla··jök|ull. I would like to achieve that the user in PDF reader in PDF file can search for ...
2
votes
0answers
62 views

PDFLaTeX encoding problem [duplicate]

I am generating a pdf file with PDFLaTeX. The content of the pdf looks well at a first glance. However if I try to copy and paste the text to somewhere else the text look like this: ❉✐❡ ▼❡♥❣❡ ❛♥ ...
38
votes
2answers
797 views

Viewer-independent copyable spaces at the beginning of a line?

I need to include a couple of Python code listings, where the indentation of the lines (using some number of spaces) is significant. I would like for the code listings to be copyable, so the spaces at ...
1
vote
0answers
86 views

tilde and scalable fonts

I regularly use a combination of pslatex.sty and pdflatex to produce pdf documents. Some of this are for student use and I have come across a problem with the tilde character. Using default LaTeX ...
6
votes
0answers
214 views

The pdf generated by xetex cannot be “copy-and-paste” [closed]

I just began to use xelatex generating my resume. As a matter of fact, I want the generated pdf file to be searchable, and the contents can be "copy-and-paste". But some parts of the pdf can be well ...
6
votes
1answer
325 views

Weird text when copying from PDF

\documentclass[12pt, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[swedish]{babel} \usepackage{fullpage} \begin{document} åäö \end{document} Making a PDF from this creates a ...
7
votes
2answers
2k views

Copy-pasting leading whitespace and blank lines in listings package (pdf) [duplicate]

I'm trying to use the listings package to typeset some code in a PDF document, in a way that allows me to copy-paste the resulting code. This mostly works well, if ...
38
votes
2answers
1k views

Making “C♯” on my resume searchable

As discussed on How to make the correct hash-symbol in C Sharp, I chose to render the name of the C# language on my resume as C$^\sharp$ I'd like to keep that typographical touch. But I'm afraid ...
0
votes
0answers
77 views

Deny copy in pdf [duplicate]

I want to create a pdf file with non-copyable properties for text. It can encrypt text to some code (such as ASCII), deny copy paragraph. I found some examples on web about this. I must use font 13pt ...
11
votes
1answer
269 views

Make a command to mark a text and class them for text analyze

Sorry for my English, I'm French and it's my first post on this forum, but I'm a frequent visitor of this forum, thanks for all ;) My problem is this : I'm working with transcriptions of 35 ...
6
votes
2answers
384 views

Creating PDF (resume) suitable for automated text extraction

I have created a nice LaTeX resume. However, having uploaded it to an online job search I am worried the automated extraction does not perform well. Are there any specific packages or other tips to ...
4
votes
0answers
326 views

Copy oldstyle numbers from pdf (Minion Pro) [closed]

I can't get LuaLaTeX (0.76.0-2013061707, current TeXLive) to produce a pdf with copyable (in adobe reader) oldstyle numbers with the Minion Pro font. I tried the method here, but I get the error ...