Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-02 Thread Alan Schmitt
On 2018-02-02 18:41, Yasushi SHOJI writes: > 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 al

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-02 Thread Alan Schmitt
> 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

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-02 Thread Yasushi SHOJI
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

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Yasushi SHOJI
Hi, On Thu, Feb 1, 2018 at 9:29 PM, Alan Schmitt wrote: > Not here. If I try to export the second file (the one with the link to > the first file), I get an error: > > user-error: Unable to resolve link: "*A headline" I now see that I totally misread your message. What you want is to have multi

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Alan Schmitt
On 2018-02-01 13:56, Nicolas Goaziou writes: >> Not here. If I try to export the second file (the one with the link to >> the first file), I get an error: >> >> user-error: Unable to resolve link: "*A headline" >> >> This is why I think I need to have the target file name in the link when >> expo

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Nicolas Goaziou
Hello, Alan Schmitt writes: > On 2018-02-01 20:09, Yasushi SHOJI writes: > >>> How do I change the link in the second headline so that I can split the >>> second headline into its own file and export it by itself? >> >> Using [[*A headline]] ? >> >> I might be still missing something but I got

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Alan Schmitt
On 2018-02-01 20:09, Yasushi SHOJI writes: >> How do I change the link in the second headline so that I can split the >> second headline into its own file and export it by itself? > > Using [[*A headline]] ? > > I might be still missing something but I got following: > > $ cat a.org > * A headlin

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Yasushi SHOJI
Hi, On Thu, Feb 1, 2018 at 5:45 PM, Alan Schmitt wrote: > On 2018-02-01 11:17, Yasushi SHOJI writes: >> On Fri, Jan 26, 2018 at 2:37 AM, Alan Schmitt >> wrote: >>> My question is about pdf export. Is it possible to take a document made >>> of multiple org files and generate a single book from i

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Alan Schmitt
On 2018-02-01 11:17, Yasushi SHOJI writes: > On Fri, Jan 26, 2018 at 2:37 AM, Alan Schmitt > wrote: >> I'm working on a project that is becoming too big to manage as a single >> file, so I'm looking at splitting it in several files. This would also >> have the benefit of generating several small

Re: [O] exporting a big project in multiple files to both pdf and html

2018-01-31 Thread Yasushi SHOJI
Hi, On Fri, Jan 26, 2018 at 2:37 AM, Alan Schmitt wrote: > I'm working on a project that is becoming too big to manage as a single > file, so I'm looking at splitting it in several files. This would also > have the benefit of generating several smaller html pages instead of a > single huge one.

[O] exporting a big project in multiple files to both pdf and html

2018-01-25 Thread Alan Schmitt
Hello, I'm working on a project that is becoming too big to manage as a single file, so I'm looking at splitting it in several files. This would also have the benefit of generating several smaller html pages instead of a single huge one. My question is about pdf export. Is it possible to take a d