This was a very helpful response. I figured out how to do it.
Thanks,
Tavis
--- On Mon, 11/10/08, Rob Chandler <robertc@...> wrote:
> From: Rob Chandler <robertc@...>
> Subject: Re: [H2Reg] Generating help files and registering via command line
> To: H2Reg@yahoogroups.com
> Received: Monday, November 10, 2008, 2:52 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 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]
__________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your
favourite sites. Download it now at
http://ca.toolbar.yahoo.com.