我无法将我在 okular 中所做的注释和突出显示保存为 pdf。我有最新的 okular 版本:
Qt: 4.8.2
KDE: 4.13.0
Okular: 0.19.0
并使用 ubuntu 12.04 (精确)。
我已经尝试过这个线程的前两个解决方案:如何在 12.04 LTS 上安装 Okular 0.15?但它们对我没有作用。
我认为问题在于(如其他帖子中提到的)libpoppler 包。当我使用
sudo apt-cache okular
它说
...depends: ....libpoppler-qt4-3 (>= 0.18)....
我现在知道我需要 okular 来使用 libpoppler 的 0.20 版本,但我不知道如何强制它使用它。如前所述,我已尝试了其他线程中的解决方案。
编辑:
:~$ apt-cache policy libpoppler-qt4-3
libpoppler-qt4-3:
Installiert: 0.18.4-1ubuntu3.1
Kandidat: 0.18.4-1ubuntu3.1
Versionstabelle:
*** 0.18.4-1ubuntu3.1 0
500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
100 /var/lib/dpkg/status
0.18.4-1ubuntu2 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
编辑
添加 PPA 后
sudo apt-add-repository ppa:kalakris/okular
并使用更新我的系统
sudo apt-get update && sudo apt-get upgrade
编辑
我得到了输出
:~$ sudo apt-get update && sudo apt-get upgrade
OK http://dl.google.com stable Release.gpg
OK http://dl.google.com stable Release
OK http://repository.spotify.com stable Release.gpg
Hole:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
OK http://dl.google.com stable/main amd64 Packages
OK http://archive.canonical.com precise Release.gpg
OK http://repository.spotify.com stable Release
OK http://ppa.launchpad.net precise Release.gpg
OK http://ppa.launchpad.net precise Release.gpg
OK http://ppa.launchpad.net precise Release.gpg
OK http://dl.google.com stable/main i386 Packages
OK http://repository.spotify.com stable/non-free amd64 Packages
Ign http://dl.google.com stable/main TranslationIndex
Hole:2 http://security.ubuntu.com precise-security Release [49,6 kB]
OK http://repository.spotify.com stable/non-free i386 Packages
Hole:3 http://extras.ubuntu.com precise Release.gpg [72 B]
OK http://archive.canonical.com precise Release
OK http://ppa.launchpad.net precise Release
OK http://ppa.launchpad.net precise Release
OK http://extras.ubuntu.com precise Release
OK http://archive.canonical.com precise/partner amd64 Packages
Ign http://repository.spotify.com stable/non-free TranslationIndex
OK http://ppa.launchpad.net precise Release
OK http://extras.ubuntu.com precise/main Sources
OK http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
OK http://ppa.launchpad.net precise/main Sources
OK http://ppa.launchpad.net precise/main amd64 Packages
OK http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
OK http://ppa.launchpad.net precise/main Sources
OK http://ppa.launchpad.net precise/main amd64 Packages
OK http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hole:4 http://security.ubuntu.com precise-security/restricted Sources [2.494 B]
OK http://extras.ubuntu.com precise/main amd64 Packages
OK http://extras.ubuntu.com precise/main i386 Packages
OK http://de.archive.ubuntu.com precise Release.gpg
Ign http://extras.ubuntu.com precise/main TranslationIndex
OK http://de.archive.ubuntu.com precise-updates Release.gpg
Hole:5 http://security.ubuntu.com precise-security/main Sources [104 kB]
OK http://ppa.launchpad.net precise/main Sources
OK http://de.archive.ubuntu.com precise Release
OK http://ppa.launchpad.net precise/main amd64 Packages
OK http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
OK http://de.archive.ubuntu.com precise-updates Release
OK http://de.archive.ubuntu.com precise/restricted Sources
OK http://de.archive.ubuntu.com precise/main Sources
OK http://de.archive.ubuntu.com precise/multiverse Sources
OK http://de.archive.ubuntu.com precise/universe Sources
OK http://de.archive.ubuntu.com precise/main amd64 Packages
OK http://de.archive.ubuntu.com precise/restricted amd64 Packages
OK http://de.archive.ubuntu.com precise/universe amd64 Packages
OK http://de.archive.ubuntu.com precise/multiverse amd64 Packages
OK http://de.archive.ubuntu.com precise/main i386 Packages
OK http://de.archive.ubuntu.com precise/restricted i386 Packages
Hole:6 http://security.ubuntu.com precise-security/multiverse Sources [1.794 B]
Hole:7 http://security.ubuntu.com precise-security/universe Sources [30,9 kB]
Hole:8 http://security.ubuntu.com precise-security/main amd64 Packages [385 kB]
OK http://de.archive.ubuntu.com precise/universe i386 Packages
OK http://de.archive.ubuntu.com precise/multiverse i386 Packages
OK http://de.archive.ubuntu.com precise/main TranslationIndex
OK http://de.archive.ubuntu.com precise/multiverse TranslationIndex
OK http://de.archive.ubuntu.com precise/restricted TranslationIndex
OK http://de.archive.ubuntu.com precise/universe TranslationIndex
OK http://de.archive.ubuntu.com precise-updates/restricted Sources
Ign http://dl.google.com stable/main Translation-de_DE
OK http://de.archive.ubuntu.com precise-updates/main Sources
OK http://de.archive.ubuntu.com precise-updates/multiverse Sources
OK http://de.archive.ubuntu.com precise-updates/universe Sources
Ign http://dl.google.com stable/main Translation-de
OK http://de.archive.ubuntu.com precise-updates/main amd64 Packages
OK http://de.archive.ubuntu.com precise-updates/restricted amd64 Packages
OK http://de.archive.ubuntu.com precise-updates/universe amd64 Packages
Ign http://dl.google.com stable/main Translation-en
OK http://de.archive.ubuntu.com precise-updates/multiverse amd64 Packages
OK http://de.archive.ubuntu.com precise-updates/main i386 Packages
OK http://de.archive.ubuntu.com precise-updates/restricted i386 Packages
OK http://de.archive.ubuntu.com precise-updates/universe i386 Packages
OK http://de.archive.ubuntu.com precise-updates/multiverse i386 Packages
OK http://de.archive.ubuntu.com precise-updates/main TranslationIndex
OK http://de.archive.ubuntu.com precise-updates/multiverse TranslationIndex
OK http://de.archive.ubuntu.com precise-updates/restricted TranslationIndex
OK http://de.archive.ubuntu.com precise-updates/universe TranslationIndex
OK http://de.archive.ubuntu.com precise/main Translation-de
Ign http://repository.spotify.com stable/non-free Translation-de_DE
OK http://de.archive.ubuntu.com precise/main Translation-en
OK http://de.archive.ubuntu.com precise/multiverse Translation-de
OK http://de.archive.ubuntu.com precise/multiverse Translation-en
OK http://de.archive.ubuntu.com precise/restricted Translation-de
OK http://de.archive.ubuntu.com precise/restricted Translation-en
Hole:9 http://security.ubuntu.com precise-security/restricted amd64 Packages [4.627 B]
Hole:10 http://security.ubuntu.com precise-security/universe amd64 Packages [93,1 kB]
Ign http://repository.spotify.com stable/non-free Translation-de
OK http://de.archive.ubuntu.com precise/universe Translation-de
OK http://de.archive.ubuntu.com precise/universe Translation-en
OK http://de.archive.ubuntu.com precise-updates/main Translation-de
OK http://de.archive.ubuntu.com precise-updates/main Translation-en
Hole:11 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2.453 B]
Ign http://repository.spotify.com stable/non-free Translation-en
Hole:12 http://security.ubuntu.com precise-security/main i386 Packages [414 kB]
OK http://de.archive.ubuntu.com precise-updates/multiverse Translation-de
OK http://de.archive.ubuntu.com precise-updates/multiverse Translation-en
OK http://de.archive.ubuntu.com precise-updates/restricted Translation-de
OK http://de.archive.ubuntu.com precise-updates/restricted Translation-en
OK http://de.archive.ubuntu.com precise-updates/universe Translation-de
OK http://de.archive.ubuntu.com precise-updates/universe Translation-en
Ign http://archive.canonical.com precise/partner Translation-de_DE
Ign http://extras.ubuntu.com precise/main Translation-de_DE
Hole:13 http://security.ubuntu.com precise-security/restricted i386 Packages [4.620 B]
Hole:14 http://security.ubuntu.com precise-security/universe i386 Packages [97,6 kB]
Hole:15 http://security.ubuntu.com precise-security/multiverse i386 Packages [2.636 B]
OK http://security.ubuntu.com precise-security/main TranslationIndex
OK http://security.ubuntu.com precise-security/multiverse TranslationIndex
OK http://security.ubuntu.com precise-security/restricted TranslationIndex
OK http://security.ubuntu.com precise-security/universe TranslationIndex
Ign http://ppa.launchpad.net precise/main Translation-de_DE
Ign http://ppa.launchpad.net precise/main Translation-de
Ign http://archive.canonical.com precise/partner Translation-de
Ign http://extras.ubuntu.com precise/main Translation-de
OK http://security.ubuntu.com precise-security/main Translation-en
OK http://security.ubuntu.com precise-security/multiverse Translation-en
OK http://security.ubuntu.com precise-security/restricted Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-de_DE
Ign http://ppa.launchpad.net precise/main Translation-de
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-de_DE
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en
OK http://security.ubuntu.com precise-security/universe Translation-en
Ign http://ppa.launchpad.net precise/main Translation-de
Ign http://ppa.launchpad.net precise/main Translation-en
Es wurden 1.194 kB in 2 s geholt (459 kB/s)
Paketlisten werden gelesen... Fertig
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
Die folgenden Pakete werden aktualisiert (Upgrade):
libxml2 libxml2:i386 libxml2-utils python-libxml2
4 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 1.561 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? J
Hole:1 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main libxml2 i386 2.7.8.dfsg-5.1ubuntu4.7 [662 kB]
Hole:2 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main libxml2 amd64 2.7.8.dfsg-5.1ubuntu4.7 [673 kB]
Hole:3 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main libxml2-utils amd64 2.7.8.dfsg-5.1ubuntu4.7 [39,9 kB]
Hole:4 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main python-libxml2 64 2.7.8.dfsg-5.1ubuntu4.7 [186 kB]
Es wurden 1.561 kB in 3 s geholt (469 kB/s)
(Lese Datenbank ... 1113479 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Ersetzen von libxml2:i386 2.7.8.dfsg-5.1ubuntu4.6 (durch ./libxml2_2.7.8.dfsg-5.1ubuntu4.7_i386.deb) ...
libxml2 wird de-konfiguriert ...
Ersatz für libxml2:i386 wird entpackt ...
Vorbereitung zum Ersetzen von libxml2 2.7.8.dfsg-5.1ubuntu4.6 (durch .../libxml2_2.7.8.dfsg-5.1ubuntu4.7_amd64.deb) ...
Ersatz für libxml2 wird entpackt ...
libxml2:i386 (2.7.8.dfsg-5.1ubuntu4.7) wird eingerichtet ...
libxml2 (2.7.8.dfsg-5.1ubuntu4.7) wird eingerichtet ...
Trigger für libc-bin werden verarbeitet ...
ldconfig deferred processing now taking place
(Lese Datenbank ... 1113479 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Ersetzen von libxml2-utils 2.7.8.dfsg-5.1ubuntu4.6 (durch .../libxml2-utils_2.7.8.dfsg-5.1ubuntu4.7_amd64.deb) ...
Ersatz für libxml2-utils wird entpackt ...
Vorbereitung zum Ersetzen von python-libxml2 2.7.8.dfsg-5.1ubuntu4.6 (durch .../python-libxml2_2.7.8.dfsg-5.1ubuntu4.7_amd64.deb) ...
Ersatz für python-libxml2 wird entpackt ...
Trigger für man-db werden verarbeitet ...
libxml2-utils (2.7.8.dfsg-5.1ubuntu4.7) wird eingerichtet ...
python-libxml2 (2.7.8.dfsg-5.1ubuntu4.7) wird eingerichtet ...
抱歉,信息量太大了,请随意编辑掉所有不必要的内容(我不确定这里什么是重要的)
使用
apt-cache policy libpoppler-qt4-3
我得到了输出
:~$ apt-cache policy libpoppler-qt4-3
libpoppler-qt4-3:
Installiert: 0.18.4-1ubuntu3.1
Kandidat: 0.18.4-1ubuntu3.1
Versionstabelle:
*** 0.18.4-1ubuntu3.1 0
500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
100 /var/lib/dpkg/status
0.18.4-1ubuntu2 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
因此,和以前一样。
但它仍然不起作用。(当我尝试“另存为”时,我收到一条错误消息,当我“保存副本”时,注释未保存。)
我很感激任何帮助,谢谢,汉娜