[okular] [Bug 401944] Copy listings created in Latex not copied properly

David Hurka bugzilla_noreply at kde.org
Mon Dec 10 13:53:56 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=401944

--- Comment #1 from David Hurka <david.hurka at mailbox.org> ---
I'm sure this is not an okular bug, because it also happens with pdftotext.
pdftotext related to poppler, so it might be a poppler bug.

$ pdftotext /tmp/OkularBug.pdf
$ cat /tmp/OkularBug.txt
Listing 1: Skript um für Eclipse die Projektdateien zu erstellen
#! / b i n / b a s h
sudo apt−g e t i n s t a l l l i b e v d e v −dev l i b g l i b 2 .0− dev
sudo apt−g e t i n s t a l l l i b p c r e 3 l i b p c r e 3 −dev lzma lzma−dev

1

Looks like lstlisting with language=bash recognizes the dashes as short command
line option, and tries to do some formatting.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list