[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

22.0. "No TOC with BOOKREADER destination!" by STAR::AKI (Kemlo) Mon Oct 31 1988 09:48

I'm using the "real" DOCUMENT V1.1 (not the pre-release version) and
the latest BOOKREADER destination files to build a large book. The
book builds fine for postscript, but won't build for online.

The failure to build is obviously due to the following error:

%DVC-3-DVCNOCONTENTS, no contents file found

However, there *is* a table of contents, because TEX formatted the contents
just fine: 

%TEX-I-PAGESOUT, 3 pages written.
%TEX-I_OUTFILENAME, 'RONYON$DUA0:[PVAX]S1015PRO_CONTENTS.DVI_BOOKREADER'

There are no TAG errors in the log file. (I also ran the build with /DIAG,
which indicated no errors.) The only Text Formatting errors are "Line too
long" errors, which shouldn't affect the table of contents, and two 
informational messages on "Possible table paging problem."

The book is a three part book (three part pages) with 16 chapters, 3
appendices, and a glossary. According to TEX, there were 708 pages
written to the .DVI_BOOKREADER file.

What am I missing? Anyone know what could be happening here? I'm open to
any and all suggestions...

Thanks!

Kemlo
T.RTitleUserPersonal
Name
DateLines
22.1Are you using <CONTENTS_FILE>?CRAYON::GENTThere is no poetry without madness -- DemocritusMon Oct 31 1988 12:076
    Hi Kemlo,
    
    I believe you have to include the <CONTENTS_FILE> tag in your book.
    The TOC has to be *in* the book. It can't be separate file.
    
    --Andrew
22.2CLOSET::FITZELLnice seeing meMon Oct 31 1988 12:309
    
    The "no contents file found" means the Device converter didn't process
    a contents file (or at least it believes that it didn't) .1's answer
    sounds like a good bet but if thats not it I'd appreciate a pointer
    to your files so I can see what the DVC is doing.
    
    Thanks
    
    Mike (The online device converter person)
22.3Argh... missing <CONTENTS_FILE>ROXXY::AKIKemloFri Nov 04 1988 16:5910
Hi Andrew,

Thanks for the suggestion - I was using someone else's front matter file
for the build (we've got several writers contributing to each of our books)
and didn't think to check for <CONTENTS_FILE>. Sure enough, it wasn't
there.

I'll try it again - if there are any problems, I'll let you know.

Kemlo
22.4DSSDEV::EPPESI&#039;m not making this up, you knowTue Apr 04 1989 17:20119
    I'm getting the same error message as .0 did, but it's when DOCUMENT is
    trying to include the *index* file!  I'm trying to process one chapter,
    so I'm using a "mini-profile" as follows:
    
<PROFILE>

       <ELEMENT>(front_matter.sdml)    <comment>(title pg and preface for test)

       <ELEMENT>(4804intro_chap.sdml)  <comment>(Chapter 1)

       <index_file>

<ENDPROFILE>

    FRONT_MATTER.SDML contains the title page, the <contents_file> tag, and
    the preface.

    Here's the log file in all its glory.  (I'm not concerned about the
    undefined references, but I am concerned about the trademark table,
    which I will mention in another note.)  Any suggestions would be
    appreciated.  FWIW, another writer on my cluster was able to build
    chapters of her book (and ultimately the entire book) for online with
    no problem...
							-- Nina

$ if F$MODE() .eqs. "NETWORK" then exit
$ if F$MODE() .eqs. "BATCH" then set noverify
$ set default SYS$LOGIN_DEVICE:[EPPES.FORMS.ONLINE]
$ DOCU USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE.SDML; ONLINE.HANDBOOK
    BOOKREADER/CONT/INDE=( GUIDE_HEADINGS,SORT=(LETTER))
    /KEEP=(DVI,INT_TEX,INX,TEX)/LIST=USERF$:[EPPES.FORMS.ONLINE]
    INTRO_PROFILE.LIS;/LOG/NOPRIN/SYMB=USERF$:[EPPES.FORMS]BOOKNAMES.SDML;
%DOC-I-IDENT, VAX Document V1.1
[ T a g    T r a n s l a t i o n ]...
%TAG-I-TAG_IDENT, TAG$TRANSLATESHR, V1.1-P1
%TAG-I-DEFSLOADD, End of Loading of Tag Definitions
%TAG-I-LCL_MSG01, Using online bookbuilding tools, 20-MAR-89 baselevel
%TAG-W-TAGNOTDEF, at text on line 21 in file
    FRONT_MATTER.SDML
    Tag <TRADEMARK_TABLE> is undefined
%TAG-I-ENDPASS_1, End of first pass over the input
%TAG-I-FILEWRTOK, File FRONT_MATTER.TEX written
%TAG-W-SYMNOTDEF, at tag <REFERENCE> on line 85 in file
    4804INTRO_CHAP.SDML
    Symbol form_structure_chap is undefined
%TAG-W-SYMNOTDEF, at tag <REFERENCE> on line 328 in file
    4804INTRO_CHAP.SDML
    Symbol control_form_process_chap is undefined
%TAG-W-SYMNOTDEF, at tag <REFERENCE> on line 368 in file
    4804INTRO_CHAP.SDML
    Symbol samp_chap is undefined
%TAG-I-FILEWRTOK, File 4804INTRO_CHAP.TEX written
%TAG-I-UNDEFTAGS, There were 2 undefined tag invocations
[ T e x t    F o r m a t t i n g ]...
%TEX-I-INFO, loading online doctype design file, CUP$O_DECWINDOWS_HAND - on
    page [1]
%TEX-I-SHOWTOKEN, 'loading online doctype design file, CUP$O_DECWINDOWS_HAND
%TEX-I-PAGESOUT, 22 pages written.
-TEX-I-OUTFILENAME, 'SYS$LOGIN_DEVICE:[EPPES.FORMS.ONLINE]INTRO_PROFILE.DVI_BOOKREADER'
[ C o n t e n t s   G e n e r a t i o n ]...
[ T e x t    F o r m a t t i n g   C o n t e n t s ]...
%TEX-I-INFO, loading online doctype design file, CUP$O_DECWINDOWS_HAND - on
    page [1]
%TEX-I-PAGESOUT, 1 page written.
-TEX-I-OUTFILENAME, 'SYS$LOGIN_DEVICE:[EPPES.FORMS.ONLINE]
    INTRO_PROFILE_CONTENTS.DVI_BOOKREADER'
[ I n d e x    G e n e r a t i o n ]...
%INX-I-CREATED, 'SYS$LOGIN_DEVICE:[EPPES.FORMS.ONLINE]INTRO_PROFILE.INX' created
%INX-S-TRUNCATED, string too long - truncated
%INX-S-ENDPASS_2, End of second pass over input file.
[ T e x t    F o r m a t t i n g   I n d e x ]...
%TEX-I-INFO, loading online doctype design file, CUP$O_DECWINDOWS_HAND - on
    page [1]
%TEX-I-PAGESOUT, 2 pages written.
-TEX-I-OUTFILENAME, 'SYS$LOGIN_DEVICE:[EPPES.FORMS.ONLINE]
    INTRO_PROFILE_INDEX.DVI_BOOKREADER'
[ D e v i c e    C o n v e r s i o n ]...
$ !  input from DOCUMENT verb:	DVC$INPUT = name of .dvi file
$ !
$ if ("" .eqs. "") then -
	define/nolog DVC$VOILA DOC$VOILA_TOOLS:DVC$VOILA.EXE
$ $$drivoila := $ dvc$voila
$!
$ Filespec = f$parse("DVC$INPUT",,,,"SYNTAX_ONLY")
$ Nodename = f$parse("USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE.DVI_BOOKREADER;",,,"NODE","SYNTAX_ONLY")
$ Devname  = f$parse("USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE.DVI_BOOKREADER;",,,"DEVICE","SYNTAX_ONLY")
$ Dirname  = f$parse("USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE.DVI_BOOKREADER;",,,"DIRECTORY","SYNTAX_ONLY")
$ Filename = f$parse("USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE.DVI_BOOKREADER;",,,"NAME","SYNTAX_ONLY")
$ Filetype = f$parse("USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE.DVI_BOOKREADER;",,,"TYPE","SYNTAX_ONLY")
$ Version = f$parse("USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE.DVI_BOOKREADER;",,,"VERSION","SYNTAX_ONLY")
$ DVIspec = "USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE.DVI_BOOKREADER;"
$!
$ $$drivoila "USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE.DVI_BOOKREADER;" /h=36 /v=36
%DVC-I-INCLUDING, including input file:
    doc$local_formats:small_logo.rags
%DVC-I-INCLUDING, including input file:
    USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE_CONTENTS.DVI_BOOKREADER;
%DVC-I-INCLUDING, including input file:
    donvan::artout:zk-7901.decw$bookfig
%DVC-I-INCLUDING, including input file:
    donvan::artout:zk-7903.decw$bookfig
%DVC-I-INCLUDING, including input file:
    donvan::artout:zk-7904.decw$bookfig
%DVC-I-INCLUDING, including input file:
    USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE_INDEX.DVI_BOOKREADER;
%DVC-E-NOCONTENTS,  no contents file found
-DVC-I-INPUTFILE, input file is:
    USERF$:[EPPES.FORMS.ONLINE]INTRO_PROFILE.DVI_BOOKREADER;
-DVC-I-ONPAGE, on page [2] 
%DVC-E-BOOKABORT, aborting run -- book not created
-DVC-I-BOOKABORT, book INTRO_PROFILE.DECW$BOOK not created
$ exit
  EPPES        job terminated at  4-APR-1989 15:15:51.24
Accounting information:
  Buffered I/O count:          454      Peak working set size:  5833
  Direct I/O count:           1008      Peak page file size:   12131
  Page faults:                5099      Mounted volumes:           0
  Charged CPU time:     0 00:01:30.14   Elapsed time:     0 00:02:47.18
    
22.5Somethings not right hereCLOSET::FITZELLput nifty saying hereTue Apr 04 1989 18:463
    Please send a pointer to these files and I'll look right into it.
    
    Mike
22.6Curious...CURIE::GERBERGThu Apr 06 1989 14:297
    Has anything been found out about this error yet? I have the same 
    problem. 
   
    Judy
    

22.7It's a bugCLOSET::FITZELLput nifty saying hereThu Apr 06 1989 14:539
    Yep just found it. The pronblem Nina had in .4 was the argument
    to the <contents_file> tag was in lowercase. A quick fix is to change
    it to uppercase or don't supply an argument and let Document generate
    the filename.
    
    Mike
    
    If this doesn't fix your error Judy send me a pointer to your
    dvi_bookreader files. 
22.8success!DSSDEV::EPPESI&#039;m not making this up, you knowThu Apr 06 1989 15:2111
RE <<< Note 22.7 by CLOSET::FITZELL "put nifty saying here" >>>

>    Yep just found it. The pronblem Nina had in .4 was the argument
>    to the <contents_file> tag was in lowercase. A quick fix is to change
>    it to uppercase or don't supply an argument and let Document generate
>    the filename.

    Yup, I removed the <contents_file> argument and my chapter built
    successfully!  Thanks, Mike.

							-- Nina
22.9Oops...CURIE::GERBERGThu Apr 06 1989 16:2572
    Oops... I'm sorry... I am getting different errors then previously
    listed here.... The errors I am getting follow. One thing, we currently
    don't have the lastest baselevel for the Bookbuilding tools. But,
    it will be installed shortly.
    
    Could that be my problem.? If so, sorry to bother you....
    
    Judy
    
    -----------------------------------------------------------------------
    

[ T e x t    F o r m a t t i n g ]...
%TEX-W-CANNOTRESETMAG, Cannot change magnification, using old value: 8
%TEX-I-SCALED, Font was scaled: 1
%TEX-W-IGNORING, Ignored the following: '!AD'
-TEX-W-LINETOOSHORT, Line too short - on page !AS
-TEX-W-BADCHAR, Text line contains an invalid character
%TEX-I-SHOWCONTEXT, '                   \par '
%TEX-I-MAXINPUTS, Maximum number of simultaneous input files is: 454
%TEX-I-FILENAME, 'BUCKY$DUA1:[GERBERG.IVCS]CHAPTER3.TEX;2'
-TEX-I-ONPAGE, on page [24] 
%TEX-W-ENDDURING, '\end' occurred during '}'
%TEX-I-MAXINPUTS, Maximum number of simultaneous input files is: 456
%TEX-I-SHOWCONTEXT, '}'
%TEX-I-SHOWCONTEXT, ' %'
---------------------------------------------------------------------
%TEX-I-ATPT, Font was read at 7 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 7 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 7 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 7 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 7 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 47 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 47 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 74 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 74 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 74 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 74 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 74 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-I-ATPT, Font was read at 74 pt
-TEX-I-ONPAGE, on page [20] 
%TEX-W-CANNOTRESETMAG, Cannot change magnification, using old value: 8
%TEX-I-SCALED, Font was scaled: 1
%TEX-W-IGNORING, Ignored the following: '!AD'
-TEX-W-LINETOOSHORT, Line too short - on page !AS
-TEX-W-BADCHAR, Text line contains an invalid character
%TEX-I-SHOWCONTEXT, '                   \par '
%TEX-I-MAXINPUTS, Maximum number of simultaneous input files is: 399
%TEX-I-FILENAME, 'BUCKY$DUA1:[GERBERG.IVCS]CHAPTER3.TEX;4'
-TEX-I-ONPAGE, on page [53] 
%TEX-W-ENDDURING, '\end' occurred during '}'
%TEX-I-MAXINPUTS, Maximum number of simultaneous input files is: 401
%TEX-I-SHOWCONTEXT, '}'
%TEX-I-SHOWCONTEXT, ' %'
%TEX-I-FILENAME, 'BUCKY$DUA1:[GERBERG.IVCS]CHAPTER3.TEX;4'
-TEX-I-ONPAGE, on page [53] 
%TEX-I-PAGESOUT, 484 pages written.
-TEX-I-OUTFILENAME, 'BUCKY$DUA1:[GERBERG.IVCS]PROFILE.DVI_BOOKREADER'
%DOC-E-ERROR_INDEXER, Errors found by the indexer

22.10Probably a corrupted message fileCLOSET::THOMASOne L in first, two firsts for restTue Apr 11 1989 13:367
    Judy, the text-formatter errors that you have listed in reply 9
    seem to be coming from a corrupted DOC$MESSAGE file. What we need
    to see now is the first part of your log file which states what version
    of DOCUMENT you are running, and the ID of the tag-translator.
    
    Thanks,
    - Philip
22.11too many index references?CURIE::GERBERGTue Apr 11 1989 15:1416
    
    
    It says that I am running DOCUMENT V1.1-P1
    and TAG$TRANSLATESHR, V1.1-P1
    
    Judy
    
    p.s. I have been rethinking what I have done to my files since the
    errors have started to appear. All that I can think of is that I
    added many index entries. One suggestion someone gave me was that
    the indexer 'chokes' on index entries that have many page no.
    references to them. I did add entries that probably have many
    references to them but 'many' is a relative term. I don't even think
    each index entry has more than say 5-7 page references to them so..
    could that be the problem??
    
22.12Yup, its the message file...VAXUUM::THOMASOne L in first, two firsts for restTue Apr 11 1989 16:5417
    Judy, we have discovered that there is an error with the message
    file (DOC$MSG.EXE) file distributed with TAG$TRANSLATESHR V1.1-P1.
    It is for this reason that I needed to know what version you were
    running.
    
    The V1.1-P1 versions were an interim release for SDMLHELP field-test
    and specialised Bookreader applications. Since a new saveset of the
    Bookreader, compatible with VAX DOCUMENT T1.2, is on its way we
    will not be fixing the V1.1-P1 software. 
    
    The message file errors have been fixed for DOCUMENT T1.2 and higher
    versions. So your best option may be to upgrade to DOCUMENT T1.2 on 
    your system.

    I hope this helps.
    
    - Philip