[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::online_bookbuilding

Title:Online Bookbuilding
Notice:This conference is write-locked: see note 1.3.
Moderator:VAXUUM::UTT
Created:Fri Aug 12 1988
Last Modified:Mon Jul 15 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:440
Total number of notes:2134

54.0. "Where do I start?" by RABBET::FARRELL (Money, there is no substitute!) Tue Dec 27 1988 10:34

    
    Hello,
    
    Could someone tell me the procedure I must go through to be able
    to get a .DECW$BOOK output?  Any/all documentation would also be
    appreciated.
    
    thanks in advance,
    
    		$$$$ ted $$$$
T.RTitleUserPersonal
Name
DateLines
54.1SAVE THE TREES GO ONLINECLOSET::FITZELLput nifty saying hereTue Dec 27 1988 12:122
    See note 30 and its replies to get started
    
54.2trying to go online...RABBET::FARRELLMoney, there is no substitute!Wed Jan 04 1989 10:2520
    
    hi again,
    
    I have followed all the instructions posted in note 30.*, but I
    am still having problems.  Firstly,  when I copy the 
    WRITERS_GUIDELINES.DECW$BOOK to sys$common:[decw$book], the bookreader
    doesn't see it.  If I append WRITERS_GUIDELINES.DECW$BOOKSHELF to
    the existing LIBRARY.DECW$BOOKSHELF, the bookreader sees the book,
    but gives me a 'incorrect version' error when I go to open it.
    
    Also, I am getting this error:
    
    $ doc /contents test.sdml online bookreader
    %DOC-I-IGNOR_DESIGN, Ignoring optional DOC$LOCAL_FORMATS: design data file
    %DOC-F-UNR_DESIGN, Unrecognized design - please check your spelling
    $
    
    Any help would be appreciated,
    
    		$$$$ ted $$$$
54.3VAXUUM::UTTWed Jan 04 1989 12:0314
    Ooops. Sorry. I inadvertently built that book with an old version
    of the tools. I just rebuilt it and it works, so copy the new version
    from VAXUUM::KITS_:[DOCUMENT.V11]WRITER_GUIDELINES.DECW$BOOK. Thanks
    for letting me know.
    
    As for your other problem: it looks like something in the way you've
    got DOCUMENT set up or the way you're running it is keeping it from
    reading the design.dat file in DOC$LOCAL_FORMATS. This has not been
    a problem with other installations: check with whoever installed
    DOCUMENT and/or does DOCUMENT system administration to see what's
    going on. The .dat file defines the ONLINE doctype so if it's
    ignored, DOCUMENT won't recognize the design (as you found out).
    
    Mary
54.4I just can't find it!RABBET::FARRELLMoney, there is no substitute!Wed Jan 04 1989 14:1211
    
    Thanks Mary,
    
    I installed DOCUMENT on this machine, I it appeared to be installed
    correctly. I however, cannot locate the DESIGN.DAT file in 
    DOC$LOCAL_FORMATS, or any DOCUMENT directories, or in any of the
    DOC011, or DOCINT011 savesets?
    
    Is there something I am missing??
    
    		$$$$ ted $$$$
54.5LISTNH::SIMONSAl Simons 381-2187Wed Jan 04 1989 15:2611
This may help.

Did you have a DOCUMENT installation previously? If not, sorry. If so, read on.

After I installed V1.1 with the online stuff, etc. It turned out that I had
*TWO* DOC$STARTUP.COM files. One was in SYS$STARTUP, the other in SYS$MANAGER.
One defined DOC$LOCAL_FORMATS to be NL:, the other defined it correctly.

Guess which one executed? (hint: it got me frustrated!)

-Al
54.6??RABBET::FARRELLMoney, there is no substitute!Wed Jan 04 1989 15:529
    
    Thanks for the try Al,
    
    My logicals are all set up correctly, I just can't find the DESIGN.DAT
    file mentioned in .3 anywhere!
    
      "DOC$LOCAL_FORMATS" = "DOC$ROOT:[LOCAL.FORMATS]"

		$$$$ ted $$$$                         
54.7CRAYON::GENTThere is no poetry without madness -- DemocritusThu Jan 05 1989 08:274
    This may be a stupid question, but you do realize that the file
    name is DOC$DESIGNS.DAT, not DESIGN.DAT, correct? 
    
    --Andrew
54.8at last!RABBET::FARRELLMoney, there is no substitute!Thu Jan 05 1989 12:0611
    
    thanks Andrew, you sparked the idea which lead to the solution.
    
    This whole time I, and VAX DOCUMENT, was looking for a file called
    DOC$DESIGNS.DAT.  In my DOC$LOCAL_FORMATS directory, I have a file
    called CUP$DESIGNS.DAT.  When I copied the CUP$ file to be DOC$
    file, the procedure worked fine.
    
    Did I have an old version??
    
    		$$$$ ted $$$$
54.9CUP$ vs. DOC$CRAYON::GENTThere is no poetry without madness -- DemocritusThu Jan 05 1989 13:5412
    CUP$DESIGNS.DAT is the file created by either the internal kit
    or the ZK kit (can't remember which). After the installation,
    you are supposed to manually merge that file with DOC$DESIGNS.DAT.
    (Unless you see the message fly past during the installation, it is
    easy to miss this step!)
        
    The reason DOC$DESIGNS.DAT is not created directly is because
    it would supercede existing designs, if you had any.

    Glad to hear you got it fixed.
    
    --Andrew
54.10hold the phone!RABBET::FARRELLMoney, there is no substitute!Thu Jan 05 1989 14:0911
    
    Thanks again Andrew,
    
    One last, minor detail....
    
    'Error opening myfile as input.  Invalid book version'  when I go
    to open my book???
    
    What now??
    
    		$$$$ ted $$$$
54.11Solution foundRABBET::FARRELLMoney, there is no substitute!Wed Jan 11 1989 12:3013
Since the solution to my problem was solved off-line. I figured I would post
the answer here for anyone else ever running into this problem.

My invalid book version was caused by including a file before the <TITLE_PAGE>
tag. (shame on me).

This solved my problem, but another reason for this would have been incompatable
software (bookreader software version (DECW) & Bookreader creatation tools)

Thanks for the help,

		$$$$ ted $$$$