OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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:bobs@sagehill.net]
Gesendet: Donnerstag, 07. Februar 2008 07:42
An: Christian-Josef Schrattenthaler; docbook-apps@lists.oasis-open.org
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
bobs@sagehill.net

 

 

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

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:bobs@sagehill.net]
Gesendet: Dienstag, 05. Februar 2008 19:58
An: Christian-Josef Schrattenthaler; docbook-apps@lists.oasis-open.org
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
bobs@sagehill.net

 

 

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

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.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]