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   [email protected]
_______________________________________________________________________________

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to