Search the web
Sign In
New User? Sign Up
H2Reg · H2Reg Product Support
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Generating help files and registering via command line   Message List  
Reply | Forward Message #40 of 50 |
Re: [H2Reg] Generating help files and registering via command line

Hi Travis

So you notice in H2 work there are 2 categories of HxC/HxK/HxT etc files.
One has DTD ref at the top and are used by the H2 compiler to
compile your content to a HxS title. So every Help project has a set of these
and produces one HxS.

The other set of Hx files do not have a DTD. These get shipped with
your compiled HxS files and allow H2 runtime to register the collection.

So when you run the FAR Wizard to create the collection level Hx files
(no DTD header, that ship with your HxS help files)... I would do
this once only.
Refresh only if Hx filenames change, or you add new HxS.

-

Now HxConv.exe is a lame little tool which is just meant to help you
port a project from HH to H2. Use this once only. It is not meant
for production work.

If you need to managing help both in HH and H2 formats, then
I suggest do what I do with H2Reg help.
* HTML files - Easy they work with either compiler
* HHP / HxC - The 2 project files wont change. Once created leave as
is or tweak individual projects as required.
* Toc and Index - FAR allows you to edit in one type and "save as" to
the other.
So if you create new TOC or Index items just remember at some stage to
perform a Save As to the other format. Alternatively FAR has a
batch command
that you can use in your build to convert from say HHC -> HxT,
HHK -> HxK or
visa-versa.
ExportNav=file1, file2
http://helpware.net/FAR/help/hh_goto.htm#farbatch.htm#HTML_Help_Commands


Is any of this helping?

Back to you
Rob

At 06:10 AM 11/11/2008, you wrote:

>I'm trying to setup a system where from a set of doxygen generated
>html files I can generate a help 2.0 file and register it to VS2005
>via H2Reg.
>
>I feel like I should be able to do it via running
>
>HxConv.exe to generate a .HxC file
>HxComp.exe to generate a .HxS file and other files
>
>and then register with H2Reg. I can go through this process and
>H2Reg's log will show that everything registered fine, but it doesn't
>show up in VS2005.
>
>I've read a bit that DTD refrences can mess this up, so I tried
>manually getting rid of the DTD reference from the generated .HxC
>file. If I do this and run the "H2 Collection Wizard" in FAR it
>registers fine. However if I remove the DTD reference from the .HxC
>file and then try to continue on doing this via a command line only
>method, running HxComp won't work.
>
>I'm not sure, surely there is a way to do this just via the command
>line? Doing things in the wizard in Far works, but I'd like to just
>run a single command to do all of this.
>
>Thanks,
>
>Tavis
>
>


[Non-text portions of this message have been removed]




Mon Nov 10, 2008 10:52 pm

helpwarenet
Offline Offline
Send Email Send Email

Forward
Message #40 of 50 |
Expand Messages Author Sort by Date

I'm trying to setup a system where from a set of doxygen generated html files I can generate a help 2.0 file and register it to VS2005 via H2Reg. I feel like I...
t.maccallum
Offline Send Email
Nov 10, 2008
9:50 pm

Hi Travis So you notice in H2 work there are 2 categories of HxC/HxK/HxT etc files. One has DTD ref at the top and are used by the H2 compiler to compile your...
Rob Chandler
helpwarenet
Offline Send Email
Nov 12, 2008
4:49 am

This was a very helpful response. I figured out how to do it. Thanks, Tavis ... __________________________________________________________________ Yahoo!...
Tavis MacCallum
t.maccallum
Offline Send Email
Nov 19, 2008
1:16 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help