Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Dita Plugin Generates Wrong image path

Guest
May 19, 2009 May 19, 2009

Copy link to clipboard

Copied

When I use DITA > Generate Output > Html to generate HTML from a DITA file containing an imported image reference the resulting output directory contains an image directory with image files but the html actually points to the source's image directory two directories up. For example the url should be ./images/26.gif and not ../../images/26.gif.

Where is this controled?

TOPICS
Structured

Views

1.1K
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 19, 2009 May 19, 2009

Copy link to clipboard

Copied

Moving the location of the ditamap two directories up solves the problem. It doesn't answer the question as to where this behavior is controlled though.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
May 19, 2009 May 19, 2009

Copy link to clipboard

Copied

Hi Rick...

The Generate Output command, basically just passes the map file off to the Open Toolkit for processing. I don't think that any processing is done by FM (or the DITA plugin) at all. What version of the OT are you using? I assume that the image is referenced correctly when viewed in FM? In general, your map should be at the top level of the fiels in the scope. Does your map have any references to files that go up a level ("../")?

...scott

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 21, 2009 May 21, 2009

Copy link to clipboard

Copied

LATEST

I'm using DITA-OT1.4.3 and yes, I think the correct answer is the map belongs at the top level. I was a little quick to post the question. I discovered the answer shortly after. Thanks for the reply.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines