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

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

156.0. "Problems printing chapters of books" by IJSAPL::KLERK (Theo de Klerk) Thu Mar 26 1987 06:11

Two small but annoying problems:


1.
 I have some problems with making partial books using the GENERAL docstyle.
 The <profile> contains the file <element>s, and making an entire book
 through
     
    DOCUMENT entirebook GENERAL LN03

 works fine.  Following the directions in the User's Guide to format just
 one file with

    DOCUMENT chaptern  GENERAL LN03 /PROFILE=entirebook

 always crashes out of the Gutentag with the error of "incomplete cross
 reference" file. 
 Question: how do I format & print just one chapter of a book?


2. LN03 direction queues the final LN3 file to our LN03 printer which is
   setup with /FORM=A4. However, the Document queues it with /FORM=DEFAULT,
   hence it always remains pending. Where can I modify the PRINT command
   issued by Document?

Thanks for the help,

Theo de Klerk
T.RTitleUserPersonal
Name
DateLines
156.1delete the highest version of .CRF fileVAXUUM::KOHLBRENNERThu Mar 26 1987 08:3518
    If the book build completed without crashing or being ^Yed,
    the cross reference file was probably correctly written.
    I suspect that you then did an element build and for some
    reason failed to complete the tag translator part.  Either
    it crashed or you type ^Y to terminate it early.  If you
    catch it at the right time, you will have written a partial
    CRF file.  
    
    At the next element build, the tag translator realizes that it is
    being asked to load a CRF file that is incomplete and it issues
    the "incomplete" message.  The cure is to delete the CRf file
    with the highest version number, and then repeat the element
    build.
    
    Looks like we should be either documenting this pretty thoroughly,
    or putting in some failsafe code that won't leave a partial CRF
    there...
    
156.2PRINTING CHAPTERS WILL WORKCUPOLA::LMELEWSKIThu Mar 26 1987 08:405
    You might try
         DOCUMENT/PROFILE=entirebook chaptern GENERAL LN03
    Note the sequence of profile and chaptern...this works for me.
    
    
156.3qualifers are not position-sensitiveVAXUUM::KOHLBRENNERThu Mar 26 1987 08:516
    re: .2
    
    THere should be NO effect from specifying the qualifier in one
    place or another on the command line.  If someone gets DOCUMENT
    to do something different by placing the qualifiers in different
    places on the command line, WE WANT TO HEAR ABOUT IT!
156.4Worked!IJSAPL::KLERKTheo de KlerkThu Mar 26 1987 15:3813
 Re. -.2: The qualifier position was not important, as it should!

 Removing the CRF files did do the trick. However, I'm positive
 that I tried this solution myself before without any luck. Let's
 assume I did something wrong then. Main thing is it worked.

Still the one question left:

  Can I modify Document to specify a PRINT/QUE=LN03/FORM=A4 instead
  of /FORM=DEFAULT?
    If so, how?

Theo
156.5Incomplete CRF FIle and DOC/PRINT=FORM=...VAXUUM::ETZELMikeThu Mar 26 1987 17:2019
    1. Just encountered the same error as .1, "incomplete crf file"
       only there was no .CRF file. I'll mail Bill the location of the
       file. 

    
    2. Theo: you may be able to use a different form using the following
       DOCUMENT command:
    
    		$ DOCUMENT/PRINT=(FORM=A4,PASSALL,NOFEED) ... LN03
    
       Usually there is a form called DEFAULT defined on your system.
       A system manager can redefine it as needed (DEFINE /FORM),
       as is done below for 8 1/2 x 11 paper:

    	$   define /form DEFAULT                0  -
	    /stock=default   /desc="System-defined default"  /nowrap -
	    /notruncate /width=132 /length=66 /margin=(bottom=6)