From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: generating ToC for existing PDF? Date: Sat, 26 Oct 2013 14:11:30 +0100 Message-ID: <20131026131130.GK12437@pacific.linksys.moosehall> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va3eQ-00021k-Kz for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 09:11:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Va3eP-0001sS-Sk for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 09:11:34 -0400 Received: from coral.adamspiers.org ([2001:ba8:1f1:f27f::2]:34087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va3eP-0001sM-ND for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 09:11:33 -0400 Received: from localhost (2.7.6.8.f.2.c.3.3.9.4.8.5.8.d.c.0.d.3.7.6.a.1.1.0.b.8.0.1.0.0.2.ip6.arpa [IPv6:2001:8b0:11a6:73d0:cd85:8493:3c2f:8672]) by coral.adamspiers.org (Postfix) with ESMTPSA id 16D9E2EB82 for ; Sat, 26 Oct 2013 14:11:31 +0100 (BST) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode mailing list Hi all, I have an existing PDF, along with a text file table of contents. Is it possible to use org to generate a new PDF which includes a ToC at the beginning, where each item in the ToC is hyperlinked to its corresponding page in the original PDF? I see that org understands hyperlinks like: docview:papers/last.pdf::NNN but I'm not sure if exporting to PDF would preserve those hyperlinks, and even if so, when merging the generated ToC with the original PDF, there would need to be a way to adjust them to point within the new merged file. Thanks, Adam