This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
New parameters for HTML Help stylesheet
- From: Jirka Kosek <jirka at kosek dot cz>
- To: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Cc: "Bradford, Denis" <denisb at rational dot com>
- Date: Wed, 28 Nov 2001 10:47:55 +0100
- Subject: DOCBOOK-APPS: New parameters for HTML Help stylesheet
- List-id: <docbook-apps.lists.oasis-open.org>
Hi,
I have just added some new functionality to HTML Help stylesheet related
to automatic generation of map and alias files. These files are used to
glue application and context sensitive help made in HTML Help.
>From now, you can use special PI in documents:
<chapter>
<title>Some title</title>
<?dbhh topicname="some_title" topicid="42"?>
...
This will automatically create corresponding entries in map and alias
files:
context.h:
#define some_title 42
alias.h:
some_title=name_of_chunk_for_chapter.html
If you want different names for context.h and alias.h, you can use
parameters htmlhelp.map.file and htmlhelp.alias.file to change it.
If you want create context.h and alias.h manually, stylesheet can
automatically include reference to them in project file if you set
parameter htmlhelp.force.map.and.alias to 1.
I will appreciate your feedback about this extension as I personally
don't use it in any real application. The idea comes from my
correspondence with Denis Bradford.
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz