emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yasushi SHOJI <yasushi.shoji@gmail.com>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: exporting a big project in multiple files to both pdf and html
Date: Fri, 2 Feb 2018 18:41:51 +0900	[thread overview]
Message-ID: <CAELBRW+49LGzPnh0Txvvt3GS7zYoD-eqU+kZGf13Cjup2v+m=Q@mail.gmail.com> (raw)
In-Reply-To: <m2o9l77s97.fsf@charm-ecran.irisa.fr>

Hi,

On Fri, Feb 2, 2018 at 4:41 PM, Alan Schmitt
<alan.schmitt@polytechnique.org> 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

  reply	other threads:[~2018-02-02 14:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-25 17:37 exporting a big project in multiple files to both pdf and html Alan Schmitt
2018-02-01  2:17 ` Yasushi SHOJI
2018-02-01  8:45   ` Alan Schmitt
2018-02-01 11:09     ` Yasushi SHOJI
2018-02-01 12:29       ` Alan Schmitt
2018-02-01 12:56         ` Nicolas Goaziou
2018-02-01 13:47           ` Alan Schmitt
2018-02-02  0:38         ` Yasushi SHOJI
2018-02-02  7:41           ` Alan Schmitt
2018-02-02  9:41             ` Yasushi SHOJI [this message]
2018-02-02 13:13               ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAELBRW+49LGzPnh0Txvvt3GS7zYoD-eqU+kZGf13Cjup2v+m=Q@mail.gmail.com' \
    --to=yasushi.shoji@gmail.com \
    --cc=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).