{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
79 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?): % ...
37
votes
7answers
13k views

Is it possible to produce a PDF with un-copyable text?

Is it possible to produce a PDF with un-copyable text? I mean, when you want to copy text from the PDF, you can't copy it or what you copy is nonsense characters.
3
votes
1answer
63 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 ...
5
votes
1answer
149 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 ...
35
votes
2answers
593 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 ...
0
votes
0answers
54 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 ...
2
votes
1answer
211 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
2answers
90 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 ...
0
votes
0answers
63 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 ...
65
votes
6answers
4k views

What are good ways to make pdflatex output copy-and-pasteable?

One frequent aspect of pdflatex output that could be improved is to what extent one can select text output from the generated pdf-file and copy-and-paste it. This is essentially an issue of having the ...
11
votes
2answers
1k views

What can cause generated PDF document whose text are not correctly copyable?

I was wondering why some PDF documents compiled from some LaTeX code does not make its text correctly copyable, i.e. what you can get is nonsense text? For example, this pdf document (I don't have the ...
2
votes
0answers
89 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
52 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 ...
5
votes
0answers
248 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 ...
1
vote
0answers
40 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
85 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 ...
6
votes
1answer
319 views

Create alternative uppercase text automatically with accsupp

This is a follow-up question to Is it possible to provide alternative text to use when copying text from the PDF?. I am essentially trying to redefine textsc/scshape in order to use accsupp ...
4
votes
2answers
104 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 ...
9
votes
2answers
158 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 ...
11
votes
1answer
246 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
79 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 ...
11
votes
1answer
243 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 ...
1
vote
0answers
35 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
52 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. ...
61
votes
3answers
2k views

Is there a LaTeX trick to prevent a PDF viewer from copying the line number?

A PDF output is obtained by compiling the following code. \documentclass{article} \usepackage{xcolor} \usepackage{listings} \lstset { language={[LaTeX]TeX}, numbers=left, ...
20
votes
1answer
915 views

How to make text copy in PDF previewers ignore lineno line numbers?

I'm using lineno for a document. I have it configured to put line numbers in the margins of the document. I generate PDF using pdflatex. Here's the problem: when people copy a region of text in a ...
7
votes
2answers
175 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
1k 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 ...
7
votes
2answers
636 views

How do I encode foreign characters so that they are searchable in the resultant PDF file?

This may be a PDF problem rather than a LaTeX problem, but as it involves pdfLaTeX output I'm hoping I won't get my wrist slapped too hard. I'm creating a bibliography, and inevitably some of the ...
0
votes
1answer
125 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
227 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 ...
9
votes
1answer
245 views

Searching for Euro symbol

I found egreg's answer to the question "eurosym seems to not be working" some time ago and it works perfect if I compile using pdflatex, but if I compile using latex dvips ps2pdf the Euro symbol is ...
3
votes
0answers
89 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?
2
votes
0answers
60 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: ❉✐❡ ▼❡♥❣❡ ❛♥ ...
11
votes
4answers
1k views

Copy-and-paste of mathematical formulas pastes the unformatted, raw TeX

For instance: Copy Paste in a new location Result: x^{2} LyX 2.0.4 (new)/MiKTeX/Windows 7 Ultimate 64 bit
1
vote
0answers
67 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 ...
5
votes
0answers
154 views

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

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
209 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 ...
6
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 ...
3
votes
1answer
4k views

Copy and paste disabled in LyX 2.0

I try to copy and paste in a LyX document I am editing and it says that the command (paste) is disabled. This happens with anything, be it normal text, figures or formulae. I am working on a 64 bit PC ...
37
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 ...
5
votes
2answers
247 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 ...
10
votes
5answers
2k views

I just want to have the text in my pdf the same way I have it in my editor

I want to paste from the clipboard a plain text copied from a text editor (line wordpad++, vim, notepad etc), and I want TeX to respect the same line break formatting that the editor has. This works ...
3
votes
0answers
112 views

copy&paste: diacritics and special characters [closed]

Why can't I correctly copy&paste from my pdf documents (created by LuaLaTeX)? E.g., I get Faḫr al-Din̄ al-Rāzī instead of Faḫr al-Dīn al-Rāzī. Surprisingly, most other things (including Arabic ...
2
votes
1answer
145 views

How can I copy a text in Spanish, and avoid removing every single accent in the whole text?

That's my problem folks. I have to do a language work, and I can't copy text, without removing every accents.
0
votes
0answers
32 views

Problems With Text Encoding While Cutting [duplicate]

Introduction I'm learning how to type with LaTeX and I've found that the character encoding is very important to get good results. I find myself copying parts from pdf documents such as problem ...
4
votes
0answers
56 views

XeLaTeX oldstyle figures search/copy [duplicate]

Possible Duplicate: Small-caps, old-style numbers, and some ligatures produce odd symbols in PDF copy text? How can I make XeLaTeX produce PDFs that can be searched/copied? In particular, ...
12
votes
2answers
403 views

Encoding to be able to search pdf

I am writing a document in Czech. I want To be able to fully search the pdf (at the moment I can search only for words with non-Czech characters, but I want to be able to search with Czech ...
4
votes
0answers
266 views

Copy oldstyle numbers from pdf (Minion Pro)

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 ...