home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Writer's Workshop
/
EOWWW1_WIN.iso
/
pc
/
workshop.z
/
temp.tmp
< prev
next >
Wrap
Text File
|
1995-12-29
|
3KB
|
135 lines
#Master Doc
# save as rtf
# if MAC then
# begin
# E-help "Convert from Winhelp" (makes .md and multidoc files)
# run HelpScripts 1-5 below on the .md files (to fix underlining, etc)
# Run HelpScript 6 on Multidoc from HelpScripts file
# E-help "compiler" -- make help file
# Add special resources in Resedit
# end
# Otherwise (if windows)
# begin
# run HelpScripts 10+ on a copy of the RTF file (dashes, bullets)
# put new rtf file in Windows Compiler area
# Make sure Doc.HPJ is valid
# compile using HC.EXE
# end
# Test
# Certify
#############################################################
#### e-help scripts -- run on converted .md files ###
#### run one script at a time, too. ###
#############################################################
# 0. these commands fix the underline problems with :
find •
# replace /" \ul;"/ " \ul;" -c ∞
find •
# replace /"\ul-;"/ "\ul-; " -c ∞
### New Script, aimed at catching the \ul; situation ONLY when it needs it
### a and b together are pretty solid
# 1.
# 1.a
find •
replace /" \ul;"/ " \ul;" -c ∞
# 1.b
find •
replace (/"\ul-;"[¬.,;?!:∂n∂)∂]\]/Δ¡2:/?/) "; " -c ∞
# 1.c
# find •
# replace (/"\ul-;\"[∂[∂(]/Δ¡2:/?/) " \" -c ∞
# 2. and these place the no-scroll zone in the right place
find •
# loop # loop to put this color in every topic (for context-sens. entry)
find Δ/@/
find Δ!1
replace § '\topicfunc SetNoScrollColor(MAIN_WINDOW,51000,58650,58650);'∂n
# end
# 3. this fixes the space after italics problem :
find •
loop
find /pushstyle;\i;/
find /popstyle/Δ!1
replace § " "
end
# 5.if there are pictures defined in the file, do the following to the .md file
find •
loop
find /pictl/
replace § "\pictl"
end
####################################################
#### e-help scripts -- run on converted ###
#### MultiDoc file only ###
####################################################
# 6. Fixes Topic 17 weirdness
find •
find Δ/∂t17∂n/!1
replace § 9
# 7. if we want another color link (blue, here), put this just before the
find •
find Δ/$M hyperlink/
find /"\c "[0123456789]/Δ¡1:/;/Δ¡1
replace § "4" # blue
find •
find Δ/$M notelink/
find /"\c "[0123456789]/Δ¡1:/;/Δ¡1
replace § "4" # blue
# The colors 0-7 are predefined by the EHelp Compiler to be
# Black(0), Red(1), Green(2), Yellow(3), Blue(4), Magenta(5), Cyan(6), and White(7).
# Other pre-defined hot-links are as follows, and can be substituted in the
# formula above
# $M notelink
# $M starjump
# $M starnote
#############################################################
#### RTF scripts -- to change Mac to Windows sources ###
#############################################################
# 10. Replace bullets with a bitmap of a bullet :
find •
replace /"∂\bullet "/ "∂\∂{bmc∂ bullet∂.bmp∂\∂}" -c ∞
# replace /"∂{∂\bullet ∂}"/ "∂\∂{bmc∂ bullet∂.bmp∂\∂}" -c ∞
# 11. Replace em-dashes properly :
find •
replace /"\emdash "/ "--" -c ∞
find •
replace /"\endash "/ "--" -c ∞
# {\bullet } this is the way word leaves it normally with •
# \{bmc bullet.bmp\} this is how it's converted in rtf
# 12. replace pict files with bmp files -- type in the right name below
find •
juarez:utilities:ehelp:authoring:lester:LesterScript