[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] exporting a big project in multiple files to both pdf and html
From: |
Nicolas Goaziou |
Subject: |
Re: [O] exporting a big project in multiple files to both pdf and html |
Date: |
Thu, 01 Feb 2018 13:56:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
Alan Schmitt <address@hidden> writes:
> On 2018-02-01 20:09, Yasushi SHOJI <address@hidden> 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 headline
>>
>> This is the first file.
>>
>> #+INCLUDE: b.org :minlevel 1
>>
>> $ cat b.org
>> * Second headline
>>
>> The first headline is number [[*A headline]]
>
> …
>
>> hmm... latex export will generate \ref{sec:\#head}
>> if you have CUSTOM_ID set. html exporter works, though.
>
> 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
> exporting it as a standalone file.
If you don't mind broken links, there's also
`org-export-with-broken-links'.
Regards,
--
Nicolas Goaziou
- Re: [O] exporting a big project in multiple files to both pdf and html, Alan Schmitt, 2018/02/01
- Re: [O] exporting a big project in multiple files to both pdf and html, Yasushi SHOJI, 2018/02/01
- Re: [O] exporting a big project in multiple files to both pdf and html, Alan Schmitt, 2018/02/01
- Re: [O] exporting a big project in multiple files to both pdf and html, Yasushi SHOJI, 2018/02/01
- Re: [O] exporting a big project in multiple files to both pdf and html, Alan Schmitt, 2018/02/02
- Re: [O] exporting a big project in multiple files to both pdf and html, Yasushi SHOJI, 2018/02/02
- Re: [O] exporting a big project in multiple files to both pdf and html, Alan Schmitt, 2018/02/02