[Cin] [spam?] Re: old script - mkframelist

Georgy Salnikov sge at nmr.nioch.nsc.ru
Mon Dec 13 09:34:44 CET 2021


On Mon, 13 Dec 2021, Andrea paz via Cin wrote:

> file and that works fine too. However, copying and pasting from the
> pdf brings an error on line 20 and doesn't work. Finally doing the

Copypasting from pdf is not always a good idea. Usually, when a pdf document
contains one page (or less) of plain text, then copypasting works. But

if the text is partly fed to the next page, something can fall in between
(for example, page numbers)

if there are some non-flat constructions (for example, tables, or floating
objects with captions), the ordering of the parts of the text can be
intermixed

if some font switching takes place, then the driver which produces that pdf
can also change (perhaps optimize in some way) the text layout

And then, the copypaster can actually follow the ordering of the letters as
they appear in the (complex structured) pdf file, which can easily differ
from the order in which they appear on the screen.
_______________________________________________________________________________

Georgy Salnikov
NMR Group
Novosibirsk Institute of Organic Chemistry
Lavrentjeva, 9, 630090 Novosibirsk, Russia
Phone   +7-383-3307864
Email   sge at nmr.nioch.nsc.ru
_______________________________________________________________________________



More information about the Cin mailing list