[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

342.0. "SDML Output File for BOOKREADER Input" by OLD::UTT () Tue May 29 1990 12:59

    I have moved this note from the DOCUMENT notes conference because it is
    more appropriate to this one.
    
    Mary
    
                   <<< W7_:[NOTES$LIBRARY]DOCUMENT.NOTE;2 >>>
                    -< VAX DOCUMENT problems and questions >-
================================================================================
Note 2990.0          SDML Output Files for BOOKREADER Input?          No replies
BALZAC::DONOVAN                                      30 lines  28-MAY-1990 09:50
--------------------------------------------------------------------------------
     
    Hello,
    
    I would like to create some SDML output files to be used 
    as input files to DECwindows BOOKREADER.  I have already 
    tried this a few times, but without the success that I had 
    hoped for.  Let me explain.
          
    The manuals that I am in the process of updating describe an
    ASSETS product, and as such must be formatted with the ASSETS
    doctype.  The ASSETS doctype has several tags that are unique
    to itself - when I tried processing the manual with the ONLINE.
    HANDBOOK doctype, for example, several tags were unprocessed.
          
    What I would like to do is combine the definitions for both
    doctypes and then process the SDML files again, in the hope
    that the output files can be used in DECwindows BOOKREADER.
    Before I start playing with doctypes, though, I was wondering
    if someone had already created a doctype that merges the ASSETS
    and ONLINE.HANDBOOK doctypes.  Has anyone out there done this?
    
    
    Thanks,
    
    PS If no one responds within a day or so I'll try mixing the
    doctypes and post the results here.
    
    KD
    
    
T.RTitleUserPersonal
Name
DateLines
342.1OLD::UTTTue May 29 1990 13:0723
    Try this:
    
    Extract the ASSETS tag defs that are not recognized by the online
    doctypes into a separate tag definitions file. Include these defs
    during processing with the /SYMBOLS= qualifier:
    
    $ DOCUMENT/CONTENTS/INDEX/SYMBOLS=ASSETS_DEFS.GDX filename -
    _$ONLINE.whatever BOOKREADER
    
    If you have any problems, post the log file here.
    
    Without knowing anything about your ASSETS tag defs, it's hard to
    predict what problems you might encounter. One possible gotcha is if
    those tags call out any fontspecs: you will probably need to alter
    these for BOOKREADER output. That's because DECwindows supports only
    10, 12, 14, 18, and 24 point fonts (also 8 but it's too small for
    BOOKREADER use and not part of our font environment). So, if your tag
    defs call out \ninepoint (or \nonepointss or \ninepointmono) as a font
    spec, you will get TeX errors. (Try changing it to \twelvepoint).
    
    Hope this helps,
    
    Mary
342.2Problem with LMF Error MessagesBALZAC::DONOVANFri Jun 01 1990 08:5787
Mary,


I looked in the DOC$LOCALS directory for the file defining the ASSETS
specific commands.  After finding the ASSETS.GTD file, I appended it to the 
symbols file required for successful compilation of the book's profile.
Then I entered the following command:

  DOC profile_name ONLINE.HANDBOOK BOOKREADER/CONTENTS/INDEX/SYMBOLS=
  DNC_INST_SYMBOLS.SDML

The book compiled successfully, up to a point.  Here are edited highlights
of the log file:

$ D DNC_INST_PROFILE_V20.SDML; ONLINE.HANDBOOK BOOKREADER/CONT/INDE=(GUIDE_HEAD-
INGS,SORT=(LETTER))/NOPRIN/SYMB=DNC_INST_SYMBOLS.SDML;
%DOC-I-IDENT, VAX Document V1.2-A   2-JUN-1989 16:15:56.35
[ T a g    T r a n s l a t i o n ]...
%TAG-I-TAG_IDENT,  Tag Translator V1.2-004
%TAG-I-DEFSLOADD, End of Loading of Tag Definitions
%TAG-I-LCL_MSG01, Using online bookbuilding tools, 27-October-1989 baselevel
%TAG-W-LCL_MSG26, tag <TITLE>, line 10, file
   
DNC_INST_FRONT.SDML
   LMF tags are missing.
%TAG-I-ENDPASS_1, End of first pass over the input
%TAG-W-LCL_MSG13, tag <TAG_DIAGNOSTIC>, line 1, file
   
USER1:[DONOVAN.DNC_INST]DNC_INST_PROFILE_V20.SDML;
   
No LMF information is specified for this document.
%TAG-I-FILEWRTOK, File DNC_INST_FRONT.TEX written
%TAG-I-FILEWRTOK, File DNC_INST_CHAP1.TEX written
%TAG-I-FILEWRTOK, File DNC_INST_CHAP2.TEX written
%TAG-I-FILEWRTOK, File DNC_INST_CHAP3.TEX written
%TAG-I-FILEWRTOK, File DNC_INST_CHAP4.TEX written
%TAG-I-FILEWRTOK, File DNC_INST_APPA.TEX written
%TAG-I-FILEWRTOK, File DNC_INST_APPB.TEX written
%TAG-I-FILEWRTOK, File DNC_INST_READERS.TEX written
[ T e x t    F o r m a t t i n g ]...
%TEX-I-INFO, loading online doctype design file, TEX$V2HANDBOOK - on page [1]
%TEX-I-INFO, Loading TEMPORARY tex$o_common.tex file - on page [1]
%TEX-I-LINETOOLONG, Line too long by 96.41507 points
-TEX-I-ONPAGE, on page [2] 
%TEX-I-LINETOOSHORT, Line too short - on page [2]
%TEX-I-PAGETOOSHORT, Page too short - on page [9]
%TEX-I-LINETOOLONG, Line too long by 5.5323 points
-TEX-I-ONPAGE, on page [15] 
%RMS-E-FNF, file not found
-TEX-I-FILENAME, 'DOC$ROOT:[LOCAL.TEX.VOILA.FONTS]AMGR.TFM;'
%TEX-W-FONTERROR, Error occurred in the following font:
-TEX-I-FILENAME, 'AMGR'
-TEX-W-FONTTYPE, Font was declared by: '\amgr'
-TEX-I-ATPT, Font was read at 10 pt
%TEX-I-SHOWCONTEXT, '                   \baselineskip '
%TEX-I-LINE, Error occurred on or around line number: 1
%TEX-I-SHOWCONTEXT, '...font\amgr=AMGR at 10truept\baselineskip'
%TEX-I-SHOWCONTEXT, '                                          
0.1466667truein\lineskiplim...'
%TEX-I-FILENAME, 'USER1:[DONOVAN.DNC_INST]DNC_INST_OVER.TEX;2'
-TEX-I-ONPAGE, on page [39] 
%TEX-I-LINETOOLONG, Line too long by 21.31197 points
-TEX-I-ONPAGE, on page [66] 
%TEX-I-PAGESOUT, 159 pages written.
-TEX-I-OUTFILENAME, 'USER1:[DONOVAN.DNC_INST]DNC_INST_PROFILE_V20.DVI_BOOKREADER'
%DOC-E-ERROR_FORMATTER, Errors found by the text formatter
  DONOVAN      job terminated at 31-MAY-1990 18:02:43.18

  Accounting information:
  Buffered I/O count:          404      Peak working set size:  4304
  Direct I/O count:            950      Peak page file size:   14005
  Page faults:                9338      Mounted volumes:           0
  Charged CPU time:     0 00:23:26.45   Elapsed time:     0 00:27:49.14


Earlier I had inserted definitions of ASSETS doctype tags into the 
CUP$O_DECWINDOWS_HAND.STT file.  This file, you may recall, contains
the definitions required for the ONLINE.HANDBOOK doctype.  I received
the same error messages when I compiled the document.

Would you know what the following messages mean?

  LCL_MSG13 - LMF Tags are missing

  LCL_MSG26 - No LMF information is specified for this document

From the Tag Designer's guide, it appears that they are messages
from a local doctype, possibly from the ONLINE.HANDBOOK doctype.
Would you, or anyone else, know what they mean?  

Thanks in advance,
Kevin
342.3LMF messages harmless; font problemCLOSET::UTTFri Jun 01 1990 11:0917
    The LMF messages are harmless. The LMF tags are a special set of online
    tags that put licensing information into the online books. They are
    currently required for CUP docs shipping on CD, hence the messages.
    But the Bookreader will open books that do not have licensing 
    information in them, so they are not required for online builds.
    You can ignore them.
    
    Your real problem is that your tags are looking for a font (amgr.tfm)
    that does not exist in the online font set. I'm not sure what this
    font is but you will need to modify this font declaration in your
    tags. You can get a listing of the online fonts with
    
    $ DIR DOC$VOILA_FONTS:*.TFM
    
    Hope this helps,
    
    Mary
342.4Search for <INCLUDE_TEX_FILE>SHALOT::SEALYFri Jul 06 1990 17:204
AMGR fonts are not a feature of the ASSETS doctype.  The book probably
has some PICMODE graphics that need to be replaced.

--Steve