{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

11
votes
1answer
166 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
63 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
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 ...
7
votes
1answer
37 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. ...
4
votes
1answer
88 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
132 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
277 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
91 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
155 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
86 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
146 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
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: ❉✐❡ ▼❡♥❣❡ ❛♥ ...
31
votes
2answers
413 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
54 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 ...
3
votes
0answers
120 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
167 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
1k 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 ...
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
76 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
227 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 ...
5
votes
2answers
212 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
250 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 ...
9
votes
1answer
202 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 ...
5
votes
0answers
254 views

Making LaTeX tabular environment behave well under copy/paste

Whenever I copy a table created with the LaTeX tabular environment from the output .pdf file and paste it into a word processor, all the entries go to different lines. Worse, the first column is ...
110
votes
1answer
3k views

Making equations copyable in pdf

I would like to write a .pdf, where my readers could copy the rendered formulae and paste them directly in their TeX documents. And the copied text would automatically be: \int x\sin ...
4
votes
1answer
290 views

How to copy/paste from lstlistings? [duplicate]

I'm trying to write code in a LaTeX document that can be copy/pasted from an outputted pdf using Adobe Reader and that also word wraps, rather than breach the right margin. I've found that in ...
15
votes
2answers
822 views

Cannot copy text from the simplest PDF file?

Consider the following code: \documentclass{article} \begin{document} We define multiplication by $$v_1x = 0,\quad v_2x = v_1,\quad v_1y = -v_1,\quad v_2y = v_1$$ \end{document} which looks ...
7
votes
1answer
169 views

Change the way XeTeX sees a string before running/building PDF

For some reason, I'm really struggling to articulate my question, so let me apologise in advance. I may not be approaching this from the right angle. I'm working in XeTeX (and it's far too late to ...
3
votes
0answers
108 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 ...
1
vote
1answer
157 views

TeXShop auto-deletion of certain groups of pasted in characters

For my LaTeX equations I use Mathtype's excellent capability of copying equations as TeX code. My minor problem arises when I want numbered equations in LaTeX and also want to type the equation in ...
2
votes
1answer
131 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.
1
vote
1answer
288 views

import/(copy in) math from Pdf

Is it possible to import/(copy in) a pdf-file including formulas and math to Lyx while keeping the math unchanged/editable/usable?
0
votes
0answers
31 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 ...
1
vote
0answers
90 views

How can I get a PDF with copyable text if I need to use \usepackage[T1]{fontenc}? [duplicate]

Consider the following situation: A .tex file with the following content: \documentclass{article} \usepackage[T1]{fontenc} \begin{document} Let it be. \end{document} The file is compiled by ...
2
votes
1answer
153 views

Is \Copy already in use by any package?

I'm working on my copypaste package to address a confusing feature that Seamus has kindly drawn my attention to. \yank copies text and commands from a LaTeX document onto a "clipboard", and \paste ...
12
votes
1answer
782 views

Copy from PDF without line breaks at end of each line

When I produce the PDF, open it and copy the paragraph into notepad, there is a forced line break at the end of every line in the PDF. Is there a way to get over this, so that I can copy the paragraph ...
12
votes
2answers
341 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 ...
16
votes
1answer
447 views

Are there any (La)TeX editors that accept pasting rich text?

If I copy text to the clipboard from a PDF file, web page, email, or Word document and then paste it to Word or Thunderbird, it is recognized as rich text and converted to Word's or Thunderbird's ...
11
votes
1answer
414 views

Can we make ligatures copy-and-pastable?

Is there a straightforward way to make ligatures more copy-and-pastable? I know that by using \usepackage[t1]{fontenc} that many glyphs like accented and umlauted characters become ...
8
votes
1answer
610 views

Copying LaTeX from a PDF

Is there a way to copy from a PDF to a LaTeX document? Whenever I do it, it copies in with weird symbols in the place of LaTeX commands for example: $$f:\mathbb{R}\rightarrow \mathbb{R}$$ copies in ...
8
votes
1answer
324 views

How can I make source code included with minted copyable?

Is it possible to make source code with minted copyable? Here is a minimal example how I include source code (completely, with minimal java code, on GitHub): \documentclass{beamer} ...
6
votes
0answers
186 views

PDF that can be scanned faster by a PDF reader [closed]

Searching words with Ctrl+F in common PDF readers takes sometimes very long. The time does not correlate with the number of pages, or the number of embedded pictures. What causes slow fulltext ...
7
votes
1answer
239 views

Copy Czech characters from PDF with charter font

I wanna be able to copy czech characters from PDF, but for some reason it doesn´t work. here is my code: \usepackage{cmap} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{charter} ...
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
11
votes
2answers
344 views

How to produce character-by-character-pastable visual output that is a function of the (intended-to-paste-as-such) source code input?

Note: The original phrasing of my question was this: How to use accsupp to produce all-upercase in the visual output from input that should paste in its original, ordinary-case form? However I think a ...
12
votes
1answer
312 views

Hyphens at end of line disappear upon pasting, even if they were present in the input

When I paste text from pdflatex output, there are two things about hyphens that I would like to change: Hyphens paste as "hyphen-minus" (U+002D, "-"), but I would prefer the newer Unicode character ...
5
votes
1answer
690 views

How to make slash (/) paste with correct Unicode codepoint depending on context?

Unicode offers different characters for the slash: U+002F (/) for the ordinary slash U+2215 (∕) for the mathematical division operator U+2044 (⁄) to designate vulgar fractions How can I have these ...
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, ...
5
votes
1answer
237 views

pasting small circled (\textcircled) letters leads to incorrect (reversed) Unicode codepoint sequence for combining circle

When I try to circle a small letter, compile (using glyphtounicode.tex), and then paste the resulting text, the combining circle (U+20DD) appears before the letter (here: "b") even though it, being a ...
1
vote
1answer
162 views

How do I paste codepoints outside of the basic multilingual plane with accsupp or \pdfglyphtounicode?

As described in the answers to this question, the accsupp package can be used to have symbols paste as arbitrary Unicode codepoints. For example you might want to write something like the following, ...