This forum has been archived. All content is frozen. Please use KDE Discuss instead.
Please use bugs.kde.org for bug reports or feature requests. Development related questions should be directed to the okular-devel mailing list.

Can we edit the table of contents?

Tags: None
(comma "," separated)
timlee
Registered Member
Posts
22
Karma
0

Can we edit the table of contents?

Sun Apr 06, 2014 3:52 am
When a pdf file is opened in Okular, we can see on the left panel its table of content. I wonder if we can edit the table of content directly? Note: A table of content is different from bookmarks in Okular. Thanks!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I'm afraid editing the table of contents would require PDF editing capabilities, which Okular does not have. Okular is intended as a document reader, rather than an editor.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
timlee
Registered Member
Posts
22
Karma
0
bcooksley wrote:I'm afraid editing the table of contents would require PDF editing capabilities, which Okular does not have. Okular is intended as a document reader, rather than an editor.


Thanks! What applications running under Gnome or KDE can edit the table of contents?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I'm afraid i've never had to edit a PDF on a Linux system - so i'm not aware which applications you could use. I haven't heard of any KDE or GNOME specific PDF editors though - due to the nature of such applications, they're likely going to be cross-desktop.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
john_hudson
Registered Member
Posts
549
Karma
2
OS
The table of contents is generated as hyperlinks from the 'Heading' styles. It is not a separate element in the document. For example, in Kile (or LyX or any other LaTeX editor), you use the hyperref package to generate hyperlinks; if you change the headings in a document, the table of contents will change because it is simply a set of hyperlinks to the headings.

However, you can only use hyperlinks for web-based PDFs or for digitally printed ones; PDFs intended for litho offset printing do not have hyperlinks in them. So these do not have a table of contents.


John Hudson, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]