[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

367.0. "Another undefined symbol error" by AZTECH::RYER () Fri Aug 10 1990 12:19

I've encountered a situation and I'm not sure if it's a bug or known behavior.
I have a document that has a <FOOTREF> tag inside the heading text argument
to a <HEAD> tag:


<footnote>(1\Smartmodem 2400 is a trademark of Hayes Microcomputer Products,
Inc.)
<P>
<HEAD2>(Hayes Smartmodem 2400<FOOTREF>(1)\hayes_setting)
The Hayes Smartmodem 2400<FOOTREF>(1) is set with the parameters listed
in <REFERENCE>(hayes_table):
 

When Document gets to the device conversion step, this produces the following:


[ D e v i c e    C o n v e r s i o n ]...
%DVC-I-INCLUDING, including input file:
   DSN$SUPPORT_TEST_CONTENTS
BOOKWRITER ERROR--The following symbols are undefined:
        pgid =  13, offset =   1887, symbol = '_DECW_HEADFN_1_1'
%DVC-E-OUTPUTFAIL, error writing to output file
-DVC-I-INPUTFILE, input file is:
   DISK$TRG_4:[RYER.DSN_MISC]DSN$SUPPORT_TEST.DVI_BOOKREADER
-DVC-I-ONPAGE, on page [43]

%DVC-E-BOOKABORT, aborting run -- book  DISK$TRG_4:[RYER.DSN_MISC]DSN$SUPPORT_TE
ST not created

Removing the <FOOTREF> tag from the heading causes the book to build with no
problems.  My question is, should I be able to do this?
T.RTitleUserPersonal
Name
DateLines
367.1Not quite coded right?VAXUUM::GRANTI&#039;ve saved $2608.50 since I quit smoking.Fri Aug 10 1990 14:517
    I believe that the correct way to do what you want is:
    
    <HEAD1>(Head title<FOOTREF>(1)\hd_sym)
    <FOOTNOTE_TEXT>(1\Text for the footnote)
    <P>
    Blah blah blah....<FOOTREF>(1)
    
367.2problem related to placement of <online_chunk> ?VIA::EPPESI&#039;m not making this up, you knowFri Sep 07 1990 14:4834
Could an <online_chunk> tag between a reference to a symbol and the place where
the symbol is defined cause one of these "undefined symbol" errors?  I got the
following message:

BOOKWRITER ERROR--The following symbols are undefined:
        pgid = 388, offset =  28221, symbol = 'EX_FB_ESC'
%DVC-E-OUTPUTFAIL, error writing to output file
-DVC-I-INPUTFILE, input file is:    SYS$LOGIN_DEVICE:[EPPES.GRAPHICS]PROFILE.
-DVC-I-ONPAGE, on page [37] 
%DVC-E-BOOKABORT, aborting run -- book  SYS$LOGIN_DEVICE:[EPPES.GRAPHICS]PROFIL
  EPPES        job terminated at  7-SEP-1990 13:28:39.65


When I searched my source files for EX_FB_ESC, I came up with the following
coding:


<reference>(ex_fb_esc) illustrates how this escape is used.

<ONLINE_CHUNK>

<EXAMPLE>(Using the FORTRAN Escape Function --440\ex_fb_esc)
<CODE_EXAMPLE>
   etc.


I commented the <online_chunk> tag out (not sure why it was there, anyway;
these are not my own files) and I'm currently building the book again to see
whether it made a difference.  However, the book takes about 3 hours (elapsed
time) to build...

This is DOCUMENT V1.2-B, by the way, and VMS 5.3.

							-- Nina
367.3<online_chunk> doesn't seem to be the problem after allVIA::EPPESI&#039;m not making this up, you knowFri Sep 07 1990 17:599
RE .2 - Well, commenting out that <online_chunk> tag didn't help.  I still got
the same message.  The symbol *is* defined and is only referenced just before
the example, as shown in my previous reply.  There are no other references to
it (at least, a search of all the .SDML files didn't turn up any others).

Any suggestions?  Oh, I'm using the CUP.TEST_ONLINE doctype, by the way, if that
makes any difference.  (And the book built fine for PS output.)

						-- Nina
367.4I'll look into it...VAXUUM::GRANTI&#039;ve saved $2653.50 since I quit smoking.Mon Sep 10 1990 10:435
    Nina, could you send me a pointer to the .SDML file?  I'll run some
    tests on it here and let you know what I find.
    
    Thanks,
    	Wayne
367.5Incorrect use of <ONLINE_CHUNK> tagVAXUUM::GRANTI&#039;ve saved $2656.50 since I quit smoking.Wed Sep 12 1990 12:047
    The problem turned out to be the use of an <ONLINE_CHUNK> tag in a
    formal example.  Removing it fixed the problem.
    
    As the documentation states, the <ONLINE_CHUNK> tag is NOT to be used
    in formal examples and tables.
    
    Wayne
367.6Yup, it was <online_chunk> after all - but a different oneVIA::EPPESI&#039;m not making this up, you knowWed Sep 12 1990 14:2810
Since I teach a class on coding SDML files for Bookreader, I'd just like to 
state, for the record, that I didn't code this file!  (I also mentioned this in
a previous reply.)  Must keep my reputation intact, you know...  :-)  :-)

I'd also like to express my enormous appreciation and gratitude to Wayne for
tracking down the problem.  Thanks, Wayne!  Now, if you can just do something
about a message that reports "undefined symbol" when it really means "you have
an <online_chunk> where you shouldn't, you dodo!"  :-)

							-- Nina
367.7Funny you should ask...VAXUUM::GRANTI&#039;ve saved $2656.50 since I quit smoking.Wed Sep 12 1990 19:198
    Ask and ye..... whatever....  ;^)
    
    In the next version of the software, the tag translator will check to
    see if <ONLINE_CHUNK> tags are coded in formal topics and issue an
    error message if so.
    
    Thanks,
    	Wayne
367.8Wow, what service! :-)VIA::EPPESI&#039;m not making this up, you knowThu Sep 13 1990 17:450