This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

New parameters for HTML Help stylesheet


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]