← Prev in month ← Prev in thread
Next in thread → Next in month →

AW: AW: [docbook-apps] html help and image paths

From
Hinrich Aue <>
Date
2006-12-18T13:12:18+00:00
ID
007b01c722a6$2a1df3b0$
Thread
AW: AW: [docbook-apps] html help and image paths
I rearranged my directory tree.
Thanks, that helped!

-----Ursprüngliche Nachricht-----
Von: Jirka Kosek [mailto:] 
Gesendet: Freitag, 15. Dezember 2006 18:33
An: Hinrich Aue
Cc: 
Betreff: Re: AW: [docbook-apps] html help and image paths

Hinrich Aue wrote:
> Probably the compiler cannot handle paths that start above the base
> document.
> Every image path starts with a ..\..\
> 
> Is there a know issue with that?

Yes, this is known problem of HTML Help compiler. You have two
possibilities:

1. Put images bellow directory with generated HTML files

2. Copy images to the same directory as HTML files, HTML Help compiler
should then do match based only on a filename ignoring wrong path like ..\..

Usually 1st solution is better, you can create symbolic link from some
subdirectory (e.g. foo) to ..\..\xxx and then use <xsl:param
name="img.src.path">foo/foo/foo</xsl:param> to mangle image references
back to correct location understood by HTML Help compiler.

It is Friday evening here, so sorry if you can't understand to my advice
;-)

			Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek     e-mail:      http://www.kosek.cz
------------------------------------------------------------------
  Profesionální školení a poradenství v oblasti technologií XML.
     Podívejte se na náš nově spuštěný web http://DocBook.cz
       Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                   Nejbližší termíny školení:
** XML pro vývojáře 19.-22.3.2007 ** XML schémata 16.-18.4.2007 **
        ** XSL-FO 15.-16.5.2007 ** DocBook 26.-28.6.2007 **
------------------------------------------------------------------
  http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------
← Prev in month ← Prev in thread
Next in thread → Next in month →