shaneataylor / ditasearch

DITA-OT plugin to build a search index and search box for HTML5 output.
9 stars 3 forks source link

fullditamap.list not found #15

Open SmartLayer opened 4 years ago

SmartLayer commented 4 years ago

Reproduce:

  1. Install the ditasearch plugin

  2. clone this repo:

    $ git clone git@github.com:AlphaWallet/TokenScript-Documents.git

  3. Enter the repo

    $ cd TokenScript-Documents

  4. Try html5:

$ dita --input=Documents.ditamap --format=html5
Error: The following error occurred while executing this line:
/opt/dita-ot-3.5.2/plugins/com.taylortext.ditasearch/build_ditasearch.xml:24: Includesfile /tmp/temp20200817142254584/fullditamap.list not found.

Operating system being Ubuntu 20.04. Dita version 3.5.2 as you can see in the error message.

Any hint what to do from here?

tboenig commented 3 years ago

Have you found a solution for your issue? @colourful-land

vicmortelmans commented 2 years ago

Hi, the reason is that fullditamap.list has been removed in recent DITA-OT versions:

https://www.dita-ot.org/dev/topics/migrating-to-3.5.html#migrating-to-3.5__3.5-legacy-target-removal

Looks like this breaks compatibility!

tboenig commented 2 years ago

@vicmortelmans Thanks for the tip. Can you resolve the incompatibility and provide a new version of the tool?

vicmortelmans commented 2 years ago

@tboenig sorry, no my tool, just bumping into the same problem.... I'm currently looking into a solution for adding search to DITA-OT html5 output, but they are few. Flexsearch is on my shortlist, but it seems to rely on node.js for building the index. Not sure if that can be incorporated in DITA-OT. HTMLSearch may be an alternative, being XSLT-based, but I don't think it's maintained either.

tboenig commented 2 years ago

@vicmortelmans Sorry, I didn't see it at first that the tool is from @shaneataylor. I am also looking for a light and flexible search solution. Currently we use a custom google search. See https://tboenig.github.io/gt-guidelines_reverse/html/trans/index.html or https://github.com/tboenig/gt-guidelines_reverse. But that one is not up to date.

Gurushesh-Metapercept commented 11 months ago

hey guys have you found a solution for this issue? I'm facing same issue

RichieL17 commented 10 months ago

Hi all,

I am also running into errors pertaining to dita looking for the fullditamap.list. I am using dita 3.0, when I download the source off github I see a fullditamap.list but there is nothing in the file.

But when I download the zip, I do not see a fullditamap, it seems that at some point there was a fullditamap file. Does anyone know at what release this taylortext is suppose to work for? I dont mind going to an earlier version to get the taylor text to work properly.

Thank you!