Re: [docbook-apps] Problems with <?dbhtml> and graphics.

From
"Cob Rtayton"
Date
2008-02-07T06:42:24+00:00
ID
3FEC846C85A648B1B4E6BD99AEB88FB7@sheeta
Thread
Re: [docbook-apps] Problems with <?dbhtml> and graphics.
Thanks for the test file.  But I can't tell 
from this what is not working.  Can you describe where your HTML 
output goes, where the actual images reside (relative to the output files), 
what a IMG src value looks like in the HTML, and what you expected it to 
be?

 

Bob Stayton
Sagehill Enterprises


 

 

  
----- Original Message ----- 

  
From: 
  Christian-Josef 
  Schrattenthaler 

  
To:  
  

  
Sent: Tuesday, February 05, 2008 1:53 
  PM

  
Subject: Re: [docbook-apps] Problems with 
  <?dbhtml> and graphics.

  

  

  
Hi!

  
 

  
At this time, I am still 
  testing DocBook and JavaHelp. Here is my testfile:

  
 

  
***

  
<?xml 
  version="1.0" encoding="UTF-8"?>

  
<!DOCTYPE 
  book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.docbook.org/xml/4.5/docbookx.dtd">

  
<book 
  lang="de" 
  id="book">

  
    
  <bookinfo 
  id="bookinfo">

  
        
  <title>Do 
  it!</title>

  
    
  </bookinfo>

  
    
  <chapter 
  id="introduction">

  
        
  <?dbhtml 
  filename="introduction.html" ?>

  
        
  <title>Einleitung</title>

  
        
  <para>Vielen Dank, 
  dass Sie sich für 'Do it!' entschieden haben!</para>

  
        
  <screenshot>

  
            
  <screeninfo>1680x1050x32Bit</screeninfo>

  
            
  <graphic 
  fileref="images_de/screenshot_doit.jpg"/>

  
        
  </screenshot>

  
    
  </chapter>

  
    
  <chapter 
  id="menu.file">

  
        
  <?dbhtml 
  dir="menu" filename="file.html" ?>

  
        
  <title>Das Menu 
  DATEI</title>

  
        
  <para>In diesem 
  Kapitel werden die Menüpunkte des Menüs DATEI beschrieben.</para>

  
        
  <section 
  id="menu.file.exit">

  
            
  <?dbhtml 
  dir="file" filename="exit.html" ?>

  
            
  <title>Der 
  Menüpunkt BEENDEN</title>

  
            
  <para>Über diesen 
  Menüpunkt können Sie das Programm verlassen.</para>

  
        
  </section>

  
    
  </chapter>

  
    
  <chapter 
  id="menu.edit">

  
        
  <?dbhtml 
  dir="menu" filename="edit.html" ?>

  
        
  <title>Das Menu 
  BEARBEITEN</title>

  
        
  <para>In diesem 
  Kapitel werden die Menüpunkte des Menüs BEARBEITEN beschrieben.</para>

  
        
  <section 
  id="menu.edit.new_task">

  
            
  <?dbhtml 
  dir="edit" filename="new_task.html" ?>

  
            
  <title>Der 
  Menüpunkt NEUE AUFGABE<indexterm>

  
                    
  <primary>Aufgabe 
  hinzufügen</primary>

  
                
  </indexterm></title>

  
            
  <para>Über diesen 
  Menüpunkt können Sie eine neue Aufgabe hinzufügen.</para>

  
            
  <screenshot>

  
                
  <screeninfo>1680x1050x32Bit</screeninfo>

  
                
  <graphic 
  fileref="images_de/screenshot_new_task.jpg"/>

  
            
  </screenshot>

  
        
  </section>

  
        
  <section 
  id="menu.edit.delete_task">

  
            
  <?dbhtml 
  dir="edit" filename="delete_task.html" ?>

  
            
  <title>Der 
  Menüpunkt AUFGABE LÖSCHEN<indexterm>

  
                    
  <primary>Aufgabe 
  löschen</primary>

  
                
  </indexterm></title>

  
            
  <para>Über diesen 
  Menüpunkt wird die aktuelle markierte Aufgabe gelöscht.</para>

  
            
  <screenshot>

  
                
  <screeninfo>640x480x256</screeninfo>

  
                
  <graphic 
  fileref="images_de/screenshot_delete_task.jpg"/>

  
            
  </screenshot>

  
        
  </section>

  
        
  <section 
  id="menu.edit.administer_categories">

  
            
  <?dbhtml 
  dir="edit" filename="administer_categories.html" ?>

  
            
  <title>Der 
  Menüpunkt KATEGORIEN BEARBEITEN<indexterm>

  
                    
  <primary>Kategorie 
  bearbeiten</primary>

  
                
  </indexterm></title>

  
            
  <para>Über diesen 
  Menüpunkt gelangen Sie zur Verwaltung Ihrer Kategorien.</para>

  
            
  <screenshot>

  
                
  <screeninfo>1680x1050x32Bit</screeninfo>

  
                
  <graphic 
  fileref="images_de/screenshot_administer_categories.jpg"/>

  
            
  </screenshot>

  
        
  </section>

  
    
  </chapter>

  
    
  <chapter 
  id="menu.help">

  
        
  <?dbhtml 
  dir="menu" filename="help.html" ?>

  
        
  <title>Das Menu 
  HILFE</title>

  
        
  <para>In diesem 
  Kapitel werden die Menüpunkte des Menüs HILFE beschrieben.</para>

  
        
  <section 
  id="menu.help.programinfo">

  
            
  <?dbhtml 
  dir="help" filename="programminfo.html" ?>

  
            
  <title>Über Do 
  it!...</title>

  
            
  <para>Über diesen 
  Menüpunkt erhalten Sie weitere Informationen über das Programm 'Do

  
                
  it!'.</para>

  
            
  <screenshot>

  
                
  <screeninfo>1680x1050x32Bit</screeninfo>

  
                
  <graphic 
  fileref="images_de/screenshot_programinfo.jpg"/>

  
            
  </screenshot>

  
        
  </section>

  
    
  </chapter>

  
</book>

  
 

  
***

  
 

  
I need a solution, which fixes 
  the links to the image files after converting from DocBook to JavaHelp. The 
  directory information will not be updated to fit the generated file and folder 
  structure.

  
 

  
All other problems while 
  converting from DocBook to JavHelp are solved, and the system is working verry 
  good!

  
 

  
Thanks,

  
Christian.

  
 

  
 

  

  

  
Von: Bob 
  Stayton [mailto:] 
Gesendet: Dienstag, 05. Februar 
  2008 19:58
An: Christian-Josef Schrattenthaler; 
  
Betreff: Re: [docbook-apps] 
  Problems with <?dbhtml> and graphics.

  
 

  

  
Hi,

  

  
More details are 
  needed to see how you are using the processing instructions, what your output 
  is, and what you expect it to be.

  

  
 

  

  
Bob 
  Stayton
Sagehill Enterprises


  

  
 

  

  
 

  
    

    
----- Original 
    Message ----- 

    

    
From: Christian-Josef 
    Schrattenthaler 

    

    
To:  
    

    

    
Sent: Monday, February 
    04, 2008 11:22 AM

    

    
Subject: [docbook-apps] 
    Problems with <?dbhtml> and graphics.

    

    
 

    
Hi!

    
 

    
I use the <?dbhtml>-tag to specify a directory and 
    a filename for my JavaHelp. This system seems to be working, and there is a 
    logical structure in my JavaHelp.

    
 

    
But now I must assert, that my links to the graphic files 
    are broken. The directory information to the files will not be 
    updated.

    
 

    
Any idea?

    
 

    
Greetings,

    
Christian.