From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yasushi SHOJI Subject: Re: exporting a big project in multiple files to both pdf and html Date: Fri, 2 Feb 2018 18:41:51 +0900 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehcXh-0007Yo-3s for emacs-orgmode@gnu.org; Fri, 02 Feb 2018 09:42:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehcXf-0001J9-Nh for emacs-orgmode@gnu.org; Fri, 02 Feb 2018 09:42:17 -0500 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:33499) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehcXf-0001II-FU for emacs-orgmode@gnu.org; Fri, 02 Feb 2018 09:42:15 -0500 Received: by mail-lf0-x22f.google.com with SMTP id t139so31831010lff.0 for ; Fri, 02 Feb 2018 06:42:15 -0800 (PST) In-Reply-To: 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" To: Alan Schmitt Cc: emacs-orgmode Hi, On Fri, Feb 2, 2018 at 4:41 PM, Alan Schmitt wrote: >> What you want is to have multiple pdf files, say a.pdf and b.pdf, and link from >> a.pdf to some specific page on the b.pdf, right? > > No, I want multiple html files and a single pdf file generated from > multiple org files. It seems the simplest solution is to call a function > that fixes the links for the pdf export. I'll report here once I have > that function. https://github.com/yashi/multi-html-single-pdf I have to use macro expansion and `org-export-global-macros` to swap the link. I don't think we have conditionals to switch an internal and an external link. HTML outputs are still not good at all (wrong chapter number, excess toc, etc.), but at least you can see the body of the text. -- yashi