[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

279.0. "TEX-W-RUNAWAY error only during ONLINE formatting" by CASEE::CLARK (Ward Clark) Tue Feb 13 1990 08:36

    Once I got a clean build of the PostScript form of my document, I decided
    to save a few trees and review the online form.

    However, simply changing the doctype and destination yielded a
    TEX-W-RUNAWAY error during the text formatting phase.

    Is there an easy way to determine whether this is my error or a
    doctype error?  If it's mine, how to I find it?

    -- Ward

DOCUMENT memex_developers_guide ONLINE.REFERENCE BOOKREADER     /DIAGNOSTICS/NOB
ATCH/LOG/NOPRINT /CONTENTS /INDEX /OUTPUT=my_list: /SYMBOLS=dg_tags.sdml
%DOC-I-IDENT, VAX Document V1.2-B    25-JAN-1990 11:47:33.75
[ T a g    T r a n s l a t i o n ]...
%TAG-I-DEFSLOADD, End of Loading of Tag Definitions
%TAG-I-TMPTAGDEF, You cannot redefine <arg_info> using <PARA>.
%TAG-I-TMPTAGDEF, You cannot redefine <c_usage> using <PARA>.
%TAG-I-TMPTAGDEF, You cannot redefine <return> using <PARA>.
%TAG-I-ENDPASS_1, End of first pass over the input
[ T e x t    F o r m a t t i n g ]...
%TEX-I-INFO, loading online doctype design file, TEX$V2REFERENCE - on page [1]
%TEX-I-PAGETOOSHORT, Page too short - on page [8]
%TEX-I-LINETOOSHORT, Line too short - on page [13]
%TEX-W-RUNAWAY, Runaway 'argument'
%TEX-I-SHOWTOKEN, '{'
%TEX-W-EOP, Paragraph ended before the following completed:
-TEX-W-DURING, Error occurred during a '\topichunk'
-TEX-W-MISSINGRBRACE, Possible missing '}'
%TEX-I-SHOWCONTEXT, '                   \par '
%TEX-I-LINE, Error occurred on or around line number: 300
%TEX-I-FILENAME, 'SYS$MMXP:[CLARK.MEMEX.DOC_DEV]MEMEX_DEVELOPERS_GUIDE.TEX;1'
-TEX-I-ONPAGE, on page [22]

%TEX-W-IGNORED, Extra '}' ignored
%TEX-I-LINE, Error occurred on or around line number: 302
%TEX-I-SHOWCONTEXT, '}'
%TEX-I-SHOWCONTEXT, ' %'
%TEX-I-FILENAME, 'SYS$MMXP:[CLARK.MEMEX.DOC_DEV]MEMEX_DEVELOPERS_GUIDE.TEX;1'
-TEX-I-ONPAGE, on page [22]
T.RTitleUserPersonal
Name
DateLines
279.1send pointersCLOSET::UTTTue Feb 13 1990 08:5712
    Ward,
    
    Send me a pointer to memex_developers_guide.sdml. (I assume that's
    a profile, so include pointers to the <element> files, too.) Has
    this book built before for online?
    
    Thanks,
    
    Mary
    
    PS. This note also belongs more in the ONLINE_BOOKBUILDING
    notes conference than it does here (cf. note 2776.*).
279.2TAVENG::PARMENTERTue Feb 13 1990 12:228
    
    Hi Ward,
    
    In 278.4, I get this error by renaming my destination.  Does that ring
    a bell?
    
    David
    
279.3No quick fixCASEE::CLARKWard ClarkThu Feb 15 1990 18:3217
    .2> I get this error by renaming my destination.  Does that ring a
    .2> bell?

    I hoped that it was something as easy as that.  I am using /OUTPUT to
    put the formatted file into a special "listing" directory.  But I just
    tried building without that qualifier and the RUNAWAY bug remained.

    .1> Send me a pointer to memex_developers_guide.sdml.

    Thanks for offering to take a look.  The list is on its way off-line.

    .1> Has this book built before for online?

    The basic book as been evolving thru many months of book building.  I
    just added a few completely new sections, and the failure appeared.

    -- Ward
279.4line 300?RAGMOP::UTTFri Feb 16 1990 06:387
    Can you tell from the .tex file (line 300) whether it was one of
    your new sections that it bombed on? (Line 300  would be pretty
    close to the beginning of the book in a .tex file.)
    
    Thanks,
    
    Mary
279.5the old backslash/CR problem...CLOSET::UTTMon Feb 19 1990 09:2732
    Ward,
    
    The problem is in the <head1> tag on line 68 of dg_memex_concepts.sdml.
    This is the old backslash-at-the-end-of-a-line problem that is
    documented under 'known problems' in 'Coding Documentation Source
    Files for the DECwindows Bookreader.'
    
    The tag is coded as follows:
    
    <head1>(The Application/<REFERENCE>(memex_package_name) Partnership\
    partnership_head)
    
    That backslash/carriage-return causes problems for online builds
    (this is a bug that is on the wishlist for fixing for DOCUMENT V2,
    since the above is a perfectly reasonable way to code things).
    
    Change the coding to the following and you'll be fine:
    
    <head1>(The Application/<REFERENCE>(memex_package_name) 
    Partnership\partnership_head)
    
    A nit: your 'profile', memex_developers_guide.sdml is actually a
    file of <include>s and not a true profile with <element>s. Had
    you used <element> tags, a .tex file would have been written out
    for each element and it would have been immediately obvious which
    file contained the runaway problem. With the <include>s, one big
    memex_developers_guide.tex file was produced and it was harder to
    isolate the error. As I said, a nit: you may have 700 irrefutable
    reasons for using the <include>s but it made it a bit harder for
    me to find your problem.
    
    Mary
279.6Thanks for getting me back onlineCASEE::CLARKWard ClarkMon Feb 19 1990 10:1124
    .5> This is the old backslash-at-the-end-of-a-line problem ...

    The offending line used to be OK ... until I replaced literal text with
    a <REFERENCE>.  Then the symbol name ran off the end of the line, so
    I split the line (forgetting about the old bug).

    Thanks for debugging my pilot error.

    .5> this is a bug that is on the wishlist for fixing for DOCUMENT V2

    While we're talking about wishes, it sure would be nice if Pass "n"
    (where n > 1) errors pointed to the offending source lines.  I realize
    that's not easy, but neither is the user's task of tracking down the
    problems.

    .5> A nit: your 'profile', memex_developers_guide.sdml is actually a
    .5> file of <include>s and not a true profile with <element>s. ... you
    .5> may have 700 irrefutable reasons for using the <include>s

    Actually, it's only 2 or 3, but at this point I don't remember what
    they are.  A long while ago we had problems with our profiles; changing
    them to simple includes corrected the problems.

    -- Ward
279.7line numbersCLOSET::UTTMon Feb 19 1990 10:4520
    Re .6: line numbers -- DOCUMENT does in fact point to the line number
    and that's how I found the problem: it was on line 300 of the .TEX
    file. (My problem with the profile was that I had to guess at how many
    of the <include>s to actually include to reproduce the error; I
    commented out most of the profile so as not to waste time processing
    the entire book, not to mention copying all the files in the first
    place.)  The tag trans also gives line numbers, but didn't here, this
    problem being a bug not a feature...:-)
    
    I doubt that it's possible for DOCUMENT to say 'the problem is on line
    300 of the .tex file and line 176 of the .sdml file.' What we try to
    do is catch all the user errors in tag translation and report the
    nature of the error and line number in the source file, stopping
    processing if the error is bad enough. In other words, we try to
    prevent users from ever getting TeX error messages. As you can see,
    it doesn't always work. But when it does happen, it generally indicates
    a DOCUMENT problem (as it did here) and you did exactly the right
    thing: you reported it.
    
    Mary
279.8Wish list: better error diagnosisCASEE::CLARKWard ClarkMon Feb 19 1990 18:5513
    Mary's right -- pass 1 errors do point to the source line in error.
    I'll bet that 99%+ of all errors get fixed as a result of these
    messages and you/we don't hear about them.

    It's just the tricky errors, and the avoidable DOCUMENT errors, that
    I'd like to be able to deal with better.  Internally, we have a couple
    of conferences to help us.  What do DOCUMENT customers do?

    I personally believe that the most useful feature in a new version of
    DOCUMENT would be to make it bulletproof.  Investing in better error
    recovery is one key aspect of this.

    -- Ward
279.9agreedCLOSET::UTTTue Feb 20 1990 08:4310
    Yep, bulletproof software would be useful in *any* version of *any*
    software and I'm sure it's what we all try for. In fact, error
    recovery is not what it should be for the online processing and is
    one of the top wishlist items for DOCUMENT V2.0, when the online tools
    will be put in the hands of the users who, as you note, have fewer
    resources at hand to help bail them out of problems.
    
    Thanks, Ward.
    
    Mary