| 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 | 
    The people in my group are having a problem with Default directory
    and DOCUMENT /BATCH.
    
    If default directory (as set by SET DEFAULT) is a search list
    (rather than a single) specific directory, DOCUMENT gets all
    confused (in BATCH mode).  It comes up with strange directory
    names when it reaches the Text Formatting stage.
    
    Even if I am explicit in my command:
    
    	DOCUMENT $DISK1:[USER.DOC]foo.sdml S.SPEC POST /CONTENTS /BATCH
    
    it still gets confused.  It cannot find the contents file that it
    created, etc.  If I SET DEFAULT to the specific directory, then
    the problems go away.
    
    I will try to include an example of this as a reply to this note.
    
    					Lester Waters
    
    
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 800.1 | Problem Example | EDWIN::WATERS | Lester Waters | Thu Aug 13 1987 01:18 | 37 | 
|     The problem is not just with /BATCH alone.  It shows up in interactive
    mode also:
    
    
    	$ SHOW DEFAULT
	    DOC$:[WATERS]
	    =     WRKD$:[ISS.DOC]
	    =     RESD$:[ISS.DOC]
	    =     MASD$:[ISS.DOC]
	$ SHOW LOG DOC$
	    "DOC$" = "WRKD$:[ISS.DOC]"   (LNM$PROCESS_TABLE)
		   = "RESD$:[ISS.DOC]"
		   = "MASD$:[ISS.DOC]"
	$ SHOW LOG WRKD$
	    "WRKD$" = "_EDWIN$DUA1:[WATERS.WRKD.]"  (LNM$PROCESS_TABLE)
	$ DOCUMENT USERA$:[WATERS.WRKD.ISS.DOC]ISS_CONCEPTS.SDML
          s.spec LN03 /CONTENTS
%DOC-I-IDENT, VAX DOCUMENT T1.0-008
[ T a g   T r a n s l a t i o n ]...
%TAG-I-TAG_IDENT, T1.0-002
	...
	... (no errors)
	...
[ T e x t   F o r m a t t i n g ]...
%I, T1.0-005
%E, file not found
%W, no such file
%I, 0 pages written
%I, 'doc$:[waters].DVI_LN03'
%F, access violation, reason mask=04, virtual address=00000000,
    PC=08018033, PSL=00000001
	and that's what happens...
 | |||||
| 800.2 | Thanks... stay tuned... | WRONGO::PARMENTER | Venusian or Venerean? | Fri Aug 14 1987 16:06 | 8 | 
|     Thanks very much for thoroughly describing your problem.  What seems to
    be happening is that TeX is confused by the search list default
    directory.  In this case it *may* be even more confusing since rooted
    directories are involved.  I need to study the problem and find out
    what you can and can't *currently* do, and what sort of work-around we
    can provide.  Any additional thoughts are welcome. 
                 
    David Parmenter
 | |||||
| 800.3 | See also note 803 | WRONGO::PARMENTER | Venusian or Venerean? | Fri Aug 14 1987 16:07 | 4 | 
|     Incidentally a similar problem is reported in note 803.  I will
    post information in both notes when we know what's going on.
    
    David
 | |||||