An interesting Mif2Go project - will this work?

2013-08-04 Thread Jeremy H. Griffith
On Sun, 4 Aug 2013 16:20:31 -0400, John Sgammato  
wrote:

>I have no [OmniHelpOptions] at all.
>I renamed the HTML version, changing nothing but the name.
>That failed, so I tried editing Config= to point to he OmniHelp file -
>see below.
>I know something's not right, but I don't understand this path well
>enough to figure it out.

The path looks fine.  I gather you aren't using the
Documents template for HTML either?  That's OK,
as long as the two projects are the same with that.
The rest of your settings look OK.  Oh, add:

[HelpContentsLevels]
Title=1
Heading1=1
Heading2=1

If you make them all level 1, your first replace
will always be of "[1,", no wildcard needed.

See par. 7.4.3, "Including contents entries in 
HTML-based Help".

Perhaps I should have been more explicit about
what to do in the Choose project dialog.  Select
the HTML project, but don't push any buttons yet.

Change the name in the top field, and for the 
second field push [...] and choose the new 
Omnihelp output directory,  Then select Omnihelp 
in the last field.

NOW, press Add, then OK.  It should go on to the
Export dialog, just continue as usual.

-- Jeremy H. Griffith, at Omni Systems Inc.
  http://mif2go.com/


An interesting Mif2Go project - will this work?

2013-08-04 Thread Jeremy H. Griffith
On Sun, 4 Aug 2013 15:50:36 -0400, John Sgammato  
wrote:

>I've got 14 oh*.js files, all of them old, and 
>none of them AppManager_OHC.js

Then something isn't set up right for the OH project.
If you have set [OmniHelpOptions]ProjectName, it will
use that instead of the book name, but that's not
possible if you used the process I described and
copied your HTML .ini to the OH output dir and then
renamed it.  The HTML inis never have that setting.

You do NOT want to create a new ini for the OH project,
as then the split points may be different between the two.

See par. 10.2.4, "Examining generated control and 
data files".

>I don't need to ship anything today, so I will deal 
>with the zip issue later

The step by step instructions for setting up the
archiver are in par. 35.11, "Archiving deliverables".

-- Jeremy H. Griffith, at Omni Systems Inc.
  http://mif2go.com/


An interesting Mif2Go project - will this work?

2013-08-04 Thread Jeremy H. Griffith
On Sun, 4 Aug 2013 13:56:49 -0400, John Sgammato  
wrote:

>I am making progress, but I cannot find an AppManager _ohc.js or any
>other _ohc.js file. I can't see any new .js files anywhere in the
>project. I got OmniHelp output.
>Do I have to turn it on somewhere?

No, it's definitely there.  The name is YOUR project name,
FOLLOWED by _ohc.js.  So if your Frame book is "MyFrame.book",
it would be "MyFrame_ohc.js".  It is in the output directory.
There are six *_oh?.js files that contain the TOC, index, etc.
for every OmniHelp project.

>In possibly related news - I do not have pkzip25 anywhere on my
>machine. The log says it was used to make the ship zip, but that's not
>so - there's nothing in \ship and I do not even have pkzip.
>Should I install it? Or was it supposed to be installed with Mif2Go?

Yikes!  No, that's an *example* entry, in
  %omsyshome%\common\local\configs\local_omsys.ini

;
; Archiving output for distribution
;

[Automation]
; To have Mif2Go or DITA2Go package output, you need an archiving program 
; that can be run from a command line, such as WinZip (wzzip) or PKZip.
; Specify the command to run the archiver:  

; For WinZip (for example):
;ArchiveCommand = "c:\program files\winzip\wzzip"

; For PKZip (for example):
ArchiveCommand = C:\bin\pkzip25
;
; Command-line parameters required before the archive name:
ArchiveStartParams = -add
; Command-line parameters required after the archive name:
ArchiveEndParams = *.*


You need to edit it to use the command and parameters
of whatever you use to make zips; there are numerous
free programs out there for it.  I suggest 7-zip if
you don't already have one:
  http://www.7-zip.org/


-- Jeremy H. Griffith, at Omni Systems Inc.
  http://mif2go.com/


Re: An interesting Mif2Go project - will this work?

2013-08-04 Thread Jeremy H. Griffith
On Sun, 4 Aug 2013 16:20:31 -0400, John Sgammato  
wrote:

>I have no [OmniHelpOptions] at all.
>I renamed the HTML version, changing nothing but the name.
>That failed, so I tried editing Config= to point to he OmniHelp file -
>see below.
>I know something's not right, but I don't understand this path well
>enough to figure it out.

The path looks fine.  I gather you aren't using the
Documents template for HTML either?  That's OK,
as long as the two projects are the same with that.
The rest of your settings look OK.  Oh, add:

[HelpContentsLevels]
Title=1
Heading1=1
Heading2=1

If you make them all level 1, your first replace
will always be of "[1,", no wildcard needed.

See par. 7.4.3, "Including contents entries in 
HTML-based Help".

Perhaps I should have been more explicit about
what to do in the Choose project dialog.  Select
the HTML project, but don't push any buttons yet.

Change the name in the top field, and for the 
second field push [...] and choose the new 
Omnihelp output directory,  Then select Omnihelp 
in the last field.

NOW, press Add, then OK.  It should go on to the
Export dialog, just continue as usual.

-- Jeremy H. Griffith, at Omni Systems Inc.
  http://mif2go.com/
___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Re: An interesting Mif2Go project - will this work?

2013-08-04 Thread Jeremy H. Griffith
On Sun, 4 Aug 2013 15:50:36 -0400, John Sgammato  
wrote:

>I've got 14 oh*.js files, all of them old, and 
>none of them AppManager_OHC.js

Then something isn't set up right for the OH project.
If you have set [OmniHelpOptions]ProjectName, it will
use that instead of the book name, but that's not
possible if you used the process I described and
copied your HTML .ini to the OH output dir and then
renamed it.  The HTML inis never have that setting.

You do NOT want to create a new ini for the OH project,
as then the split points may be different between the two.

See par. 10.2.4, "Examining generated control and 
data files".

>I don't need to ship anything today, so I will deal 
>with the zip issue later

The step by step instructions for setting up the
archiver are in par. 35.11, "Archiving deliverables".

-- Jeremy H. Griffith, at Omni Systems Inc.
  http://mif2go.com/
___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Re: An interesting Mif2Go project - will this work?

2013-08-04 Thread Jeremy H. Griffith
On Sun, 4 Aug 2013 13:56:49 -0400, John Sgammato  
wrote:

>I am making progress, but I cannot find an AppManager _ohc.js or any
>other _ohc.js file. I can't see any new .js files anywhere in the
>project. I got OmniHelp output.
>Do I have to turn it on somewhere?

No, it's definitely there.  The name is YOUR project name,
FOLLOWED by _ohc.js.  So if your Frame book is "MyFrame.book",
it would be "MyFrame_ohc.js".  It is in the output directory.
There are six *_oh?.js files that contain the TOC, index, etc.
for every OmniHelp project.

>In possibly related news - I do not have pkzip25 anywhere on my
>machine. The log says it was used to make the ship zip, but that's not
>so - there's nothing in \ship and I do not even have pkzip.
>Should I install it? Or was it supposed to be installed with Mif2Go?

Yikes!  No, that's an *example* entry, in
  %omsyshome%\common\local\configs\local_omsys.ini

;
; Archiving output for distribution
;

[Automation]
; To have Mif2Go or DITA2Go package output, you need an archiving program 
; that can be run from a command line, such as WinZip (wzzip) or PKZip.
; Specify the command to run the archiver:  

; For WinZip (for example):
;ArchiveCommand = "c:\program files\winzip\wzzip"

; For PKZip (for example):
ArchiveCommand = C:\bin\pkzip25
;
; Command-line parameters required before the archive name:
ArchiveStartParams = -add
; Command-line parameters required after the archive name:
ArchiveEndParams = *.*


You need to edit it to use the command and parameters
of whatever you use to make zips; there are numerous
free programs out there for it.  I suggest 7-zip if
you don't already have one:
  http://www.7-zip.org/


-- Jeremy H. Griffith, at Omni Systems Inc.
  http://mif2go.com/
___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


An interesting Mif2Go project - will this work?

2013-08-04 Thread Jeremy H. Griffith
On Sun, 4 Aug 2013 01:14:59 -0400, John Sgammato  
wrote:

>Ah! I guess I could just conditionalize the 
>knowledge base and non-kb content...
>It took too long to think of that :(

That would be the most robust method, and
probably the quickest.  I'd suggest that you
conditionalize the NON-KB part. then hide it.

Set up your output directory for HTML below
the Frame book file, as usual, and make
another one for OH next to it.  When you
have the HTML as you want it, copy the
_m2html.ini to the OH directory and rename
it to _m2omnihelp.ini.  Then run the OH
project.

All you want from it is the projname_ohc.js
file.  Delete the first line, and edit the 
last line to match the rest.  Now you can 
do two search/replaces, say in Notepad++,
to replace field 1, "[?,", with "1,", and
the ending "]" with ",PAS_51,sites,en_US".
All done, in a minute or two.  ;-)

Use your list with the HTML files of the
HTML project, not the ones from the OH
project, which have some JS used only by OH.
The filenames and titles will all be identical.

HTH!

-- Jeremy H. Griffith, at Omni Systems Inc.
  http://mif2go.com/


Re: An interesting Mif2Go project - will this work?

2013-08-04 Thread Jeremy H. Griffith
On Sun, 4 Aug 2013 01:14:59 -0400, John Sgammato  
wrote:

>Ah! I guess I could just conditionalize the 
>knowledge base and non-kb content...
>It took too long to think of that :(

That would be the most robust method, and
probably the quickest.  I'd suggest that you
conditionalize the NON-KB part. then hide it.

Set up your output directory for HTML below
the Frame book file, as usual, and make
another one for OH next to it.  When you
have the HTML as you want it, copy the
_m2html.ini to the OH directory and rename
it to _m2omnihelp.ini.  Then run the OH
project.

All you want from it is the projname_ohc.js
file.  Delete the first line, and edit the 
last line to match the rest.  Now you can 
do two search/replaces, say in Notepad++,
to replace field 1, "[?,", with "1,", and
the ending "]" with ",PAS_51,sites,en_US".
All done, in a minute or two.  ;-)

Use your list with the HTML files of the
HTML project, not the ones from the OH
project, which have some JS used only by OH.
The filenames and titles will all be identical.

HTH!

-- Jeremy H. Griffith, at Omni Systems Inc.
  http://mif2go.com/
___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.