[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

318.0. "def list, reason for syntax err?" by TOOLS::CRIMMIN (DTN 381-2015) Tue Apr 17 1990 12:45

    Sorry if this is a duplicate, I couldn't make the margin icon
    keyword work. (Aside: How do you do a DIR/KEY when the keyword
    is 2 words and has a linefeed in it?)
    
    Thanks for any advice. This is urgent.
    
    Peter
    -----------------------------------------------------
    
    Problem:
    	A <definition_list> doesn't work in the bookreader, it does
    	work for hardcopy. The problem isn't obvious to me or a couple
    	others that have tried to help.
    
    Error:
    		Cannot open included file:<CR>
    		DISK$DECDESIGN_2:[CRIMMIN.UTOX]5325_ICON_FIG_A_TWICE.SDML
    		-RMS-F-SYN, file specification syntax error
    		%TAG-W-ERROPEINC, tag <INCLUDE>, line 108, file<CR>
    		5325_CHAP2.SDML<CR>
    
                Cannot open included file:<CR>
    		DISK$DECDESIGN_2:[CRIMMIN.UTOX]^P 5325_ICON_FIG_B_TWICE.SDML
    		-RMS-F-SYN, file specification syntax error
    		%TAG-W-ERROPEINC, tag <INCLUDE>, line 120, file<CR>
    	   	5325_CHAP2.SDML<CR>
    
    	Note that the error is different (^P) for the second error (and all
    	subsequent errors).
    	   
    Source code:
    
    	Inside chap2 (abbreviated):
    		
    		<definition_list>
    		<include>(<reference>(ART_WORK)5325_ICON_FIG_A_TWICE.SDML)
    		<deflist_item>(Partition icon -- An open file folder)
    		<deflist_def>
    		Indicates an expanded partition.
    		When highlighted, this icon indicates that another user
    		made a change that affects the partition or its contents.
    
    	Note that the art_work symbol is defined as
    	DISK$DECDESIGN_2:[CRIMMIN.UTOX]. The same symbol is used for all
    	figures files, and it works for them.
    
    	Inside the include file (5325_ICON_FIG_B_TWICE.SDML):
    
    		<comment>(This file was generated by UTOX 3.0-1)
	    	<CONDITION>(BOOKREADER)
    		<margin_icon>(bookreader\<REFERENCE>(ART_WORK)5325_ICON_FIG_B_TWICE.fse\1.2)
    		<ENDCONDITION>
    		<margin_icon>(ps\<REFERENCE>(ART_WORK)5325_ICON_FIG_B_TWICE.ps\1.2)
    		<margin_icon>(ln03\<REFERENCE>(ART_WORK)5325_ICON_FIG_B_TWICE.six\1.2)
    		<margin_icon>(line_printer\SPACE\1.2)
T.RTitleUserPersonal
Name
DateLines
318.1Fixed in next releaseVAXUUM::GRANTI&#039;ve saved $2436.00 since I quit smoking.Tue Apr 17 1990 15:1414
    This problem was first noted in the CLOSET::DOCUMENT notes conference,
    note 2885.  
    
    The ^P has the same effect as a <CR> and the system sure does have a
    problem digesting it when it's in the middle of a filespec.  (The first
    problem in your .LIS file actually has the ^P at the end of the
    filespec.)  
    
    The problem has been fixed and will be available in the  next release. 
    
    As far as workarounds, I'm afraid that the only one I can think of is
    to remove the <REFERENCE> tags from within the <INCLUDE> tags.
    
    Wayne
318.2another queryTOOLS::CRIMMINDTN 381-2015Thu Apr 19 1990 11:2617
    
    I looked at note 2885 in VAXUUM::DOCUMENT for more info, but that
    is not the correct note. (I assume that VAXUUM is gets me the same
    notesfile as CLOSET.)
    
    Anyway, I removed the <reference> tag from the source and replaced
    it w/ a hardcoded directory spec. The result was a runaway argument
    during TEX processing (but no prob w/ the source files indicated). In
    the output file, there are no margin icons; instead, my filespecs are
    displayed. 
    
    Questions:
    
    	Are the margin icons disallowed in the bookreader?
    	Are the dirspecs (even hardcoded) disallowed in deflists?
    
    pc
318.3Problems fixed in next releaseCLOSET::GRANTI&#039;ve saved $2455.00 since I quit smoking.Mon Apr 30 1990 10:0622
    Peter,
    
    	I've done some testing using the examples you provided in your
    previous note.  The problem you're having has been fixed, as noted in
    note 2885 of the CLOSET::DOCUMENT conference.  (Note that CLOSET:: is
    the correct node for that conference.  CLOSET:: will soon be removed
    from the VAXUUM::/CLOSET:: cluster and will handle the notes
    conferences standalone.)  The first error message indicated that the
    <INCLUDE> in your chapter .SDML file had a bad reference.  The second 
    one was complaining about the <REFERENCE> in the included file.
    
    	To answer your two questions, yes, <MARGIN_ICON> is usable in the 
    ONLINE doctypes.  And yes, hardcoded filespecs should work OK.  At
    least they worked in my test file.  Could you send me a short example
    of a .SDML file that failed?
    
    	By the way, the only time I was able to duplicate your error
    message about the incorrect filespec, I had removed the <DEFINE_SYMBOL>
    tag that defined the ART_WORK symbol.  Is it possible that you had a
    typo or had forgotten your definition?
    
    Wayne