[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

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

857.0. "DVC$PS trouble with figure" by CLUSTA::SIMON (Quality & Pride: VAX ACMS (VIA/TP)) Fri Aug 28 1987 00:09

DOC TYPE: SOFTWARE
DEVICE: POST

There's a bug when a sdml file and a figure file have the same name. DVC$PS
fails. Log below...

Lance

Crow>>> dir fig_01

Directory VIASYS$DISK:[SIMON.DOC.G1]

FIG_01.POST;2       FIG_01.SDML;1       

Total of 2 files.
Crow>>> ty fig_01.sdml
<chapter>(FIGURES\figs)

<figure>(The VAX ACMS transaction processing environment\fig01)
<figure_attributes>(WIDE)
<figure_file>(POSTSCRIPT\fig_01.post\20)
<endfigure>

7CROW::LAS_RTA2            VIASYS$DISK:[SIMON.DOC.G1]               27-AUG-1987  8
Crow>>> 


Crow>>> ty fig_01.post
%!PS-Adobe-1.0
%%DocumentFonts: (at end)
%%Creator: DVC$PS, Digital Equipment Corp.
%%Pages: (at end)
%%EndComments
%%  DVC$PROLOG.PS - prolog for PostScript files generated by DVC$PS.
%%  Copyright (c) 1986,1987 DIGITAL EQUIPMENT CORPORATION.  All Rights Reserved.
/$DviLaser where {pop}  {/$DviLaser 200 dict def}  ifelse 
/BeginDviLaserDoc	% Begin document
 {vmstatus pop pop 0 eq 
   {$DviLaser begin  InitializeState}
   {/DviLaserJob save def  $DviLaser begin  InitializeState
<INTERRUPT>
Crow>>> sh log fig_01
%SHOW-S-NOTRAN, no translation for logical name FIG_01
Crow>>> doc fig_01 soft post
%DOC-I-IDENT, VAX DOCUMENT V1.0
[ T a g   T r a n s l a t i o n ]...
%TAG-I-TAG_IDENT, V1.0
%TAG-I-DEFSLOADD, End of Loading of Tag Definitions
%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-IDENT, V1.0
%TEX-I-PAGESOUT, 1 page written.
-TEX-I-OUTFILENAME, 'viasys$disk:[simon.doc.g1]FIG_01.DVI_POST'
[ D e v i c e   C o n v e r s i o n ]...
%DVC-I-IDENT, DVC$PS V1.0
%DVC-I-INPUTFILE, input file is: 
   VIASYS$DISK:[SIMON.DOC.G1]FIG_01.DVI_POST
%DVC-W-SPECIALERROR, error in \special 
   ps: plotfile  fig_01.post  20.0pc
-DVC-W-PLOTFILEFAIL, cannot open figure file
-DVC-I-INPUTFILE, input file is: 
   VIASYS$DISK:[SIMON.DOC.G1]FIG_01.DVI_POST
-DVC-I-ONPAGE, on page [1-1] 
 
%DVC-I-PAGESOUT, 1 page written to file: 
   VIASYS$DISK:[SIMON.DOC.G1]FIG_01.POST
Crow>>> re fig_01.sdml figure_01.sdml
%RENAME-I-RENAMED, VIASYS$DISK:[SIMON.DOC.G1]FIG_01.SDML;1 renamed to VIASYS$DISK:[SIMON.DOC.G1]FIGURE_01.SDML;8
Crow>>> 


Crow>>> re fig_01.sdml figure_01.sdml


Crow>>> doc figure_01 soft post
%DOC-I-IDENT, VAX DOCUMENT V1.0
[ T a g   T r a n s l a t i o n ]...
%TAG-I-TAG_IDENT, V1.0
%TAG-I-DEFSLOADD, End of Loading of Tag Definitions
%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-IDENT, V1.0
%TEX-I-PAGESOUT, 1 page written.
-TEX-I-OUTFILENAME, 'viasys$disk:[simon.doc.g1]FIGURE_01.DVI_POST'
[ D e v i c e   C o n v e r s i o n ]...
%DVC-I-IDENT, DVC$PS V1.0
%DVC-I-INPUTFILE, input file is: 
   VIASYS$DISK:[SIMON.DOC.G1]FIGURE_01.DVI_POST
%DVC-I-PAGESOUT, 1 page written to file: 
   VIASYS$DISK:[SIMON.DOC.G1]FIGURE_01.POST
Crow>>> lo
  SIMON        logged out at 27-AUG-1987 20:04:28.07
T.RTitleUserPersonal
Name
DateLines
857.1Recursion mercifully avoidedVAXUUM::DEVRIESM.D. -- your Device DoctorWed Sep 02 1987 20:3610
    The output file is ALSO named FIG_01.POST, and it is created shortly
    after the device converter starts.  Therefore, you have told the
    program to read as figure-file input the same file it has created
    as output (FIG_01.POST), and RMS (or somebody) won't let it re-open
    an open file (thank goodness!).
    
    So the conflict occurs because the figure file and OUTPUT FILE have
    the same name, including the extension.
    
    --Mark