Re: index for HTML export

2022-07-14 Thread Fraga, Eric
On Thursday, 14 Jul 2022 at 09:18, Jens Lechtenboerger wrote: > That is strange. File theindex.inc should contain the index entries. > I believe that “:makeindex t” on the Org source files with #+INDEX: > entries should do the job. Well, it seems that index generation by publishing works with

Re: index for HTML export

2022-07-14 Thread Jens Lechtenboerger
On 2022-07-14, Fraga, Eric wrote: > On Thursday, 14 Jul 2022 at 08:13, Jens Lechtenboerger wrote: >> (list "index-terms" > > [...] > >> :preparation-function 'oer-reveal--add-advice-link >> :completion-function 'oer-reveal--remove-advice-link >> :publishing-function

Re: index for HTML export

2022-07-14 Thread Fraga, Eric
On Thursday, 14 Jul 2022 at 08:13, Jens Lechtenboerger wrote: > (list "index-terms" [...] > :preparation-function 'oer-reveal--add-advice-link > :completion-function 'oer-reveal--remove-advice-link > :publishing-function '(org-html-publish-to-html) >

Re: index for HTML export

2022-07-14 Thread Jens Lechtenboerger
On 2022-07-13, Fraga, Eric wrote: > Publishing works, in the sense that my org file is exported to HTML just > fine. An index file is created but is not populated with any index > links. What am I missing? The info page is less than helpful > unfortunately. Are index lines, e.g. > > #+index:

Re: index for HTML export

2022-07-13 Thread Ihor Radchenko
"Fraga, Eric" writes: > I know (well, I believe as I haven't tried yet) I can /publish/ a > project and generate an index using the #+index entries in the org > files. However, for a single file, is it possible to generate the index > as part of the export process directly (or even separately

Re: index for HTML export

2022-07-13 Thread Fraga, Eric
(apologies for flurry of emails) Publishing works, in the sense that my org file is exported to HTML just fine. An index file is created but is not populated with any index links. What am I missing? The info page is less than helpful unfortunately. Are index lines, e.g. #+index: test!org

Re: index for HTML export

2022-07-13 Thread Fraga, Eric
So publishing cannot have the target directory be the same as the source directory, it would seem? Having a different directory for :publishing-directory makes publishing work. I still do not understand the error, however. My original question remains: can we create an index for HTML export

Re: index for HTML export

2022-07-13 Thread Fraga, Eric
... and following up on this, when trying to /publish/ instead of just export, I am failing miserably. I created a simple project definition but every time I try to publish either a specific file or the project, I get (with file name partly elided): --8<---cut

index for HTML export

2022-07-13 Thread Fraga, Eric
Hello all, I know (well, I believe as I haven't tried yet) I can /publish/ a project and generate an index using the #+index entries in the org files. However, for a single file, is it possible to generate the index as part of the export process directly (or even separately from the export