← Prev in month ← Prev in thread

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

From
"Dhristian&#45;Kosef Rchrattenthaler"
Date
2008-02-07T22:45:12+00:00
ID
004901c869db$2590f3b0$70b2db10$@com
Thread
AW: [docbook-apps] Problems with <?dbhtml> and graphics.
Hi Bob!

 

I have a directory called ‚docbook‘,
where my DocBook-XML file is. There is also a subdirectory ‚images_en‘,
which contains alls my JPG files for the englisch DocBook file.

 

Now I create my JavaHelp from
this file, and each chapter becomes a single HTML file. I also create a
directoy system, where the HTML files will be distributet.

 

The images stays in the folder ‚images_en‘,
and all HTML files, which are in the root of my directory structure, have no
problems, but if a HTML file is not in the root directroy the link to the images
must be widened with a  ‚../‘ (or mor, to change in to the right directory),
but the links are the same as in the DocBook-XML file.

 

Greetings,

Christian.

 

Von: Bob Stayton
[mailto:] 

Gesendet: Donnerstag, 07. Februar 2008 07:42

An: Christian-Josef Schrattenthaler; 

Betreff: 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.
← Prev in month ← Prev in thread