[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

266.0. "<SUBENTRY> tag within <X> tags" by OBLIO::SELTZER () Thu Apr 16 1987 13:51

    On page 13-239 of User's Guide (Field Test Version) it talks of
    a <SUBENTRY> tag for use with <X>.  When I coded:
    
                <X>(Transactions<SUBENTRY>read)
                    
    I get an error message during tag-translation that <SUBENTRY> is
    an unknown tag.  I want my index-item to look like:
    
                Transactions, read  n-nn
                              write  n-nn
    
    etc.  
    
    Any suggestions??
    
T.RTitleUserPersonal
Name
DateLines
266.1Oops should have been <XSUBENTRY>VAXUUM::OTTEThu Apr 16 1987 14:368
Unfortunately you got bit by a documentation bug.  There is no <SUBENTRY>
    tag, that should have been spelled <XSUBENTRY>.  You use this tag
    to separate the main entry from the subentry.  You can also abbreviate
    it as <XS>  
    
    Sorry about that, the error is fixed in the FT update manual.
    
    -randy 
266.2Abbreviations38299::THERIAULTFri Apr 17 1987 12:189
    
      RE: .1
    
    Is <XS> a documented, acceptable-to-use abbreviation?
    I'd hate to stick it all over the place, only to find it suddenly
    stops working some day.
    
    Also, is it possible to abbreviate tags?  I sure wouldn't mind
    abbreviating <REFERENCE> to <R> or <REF>!
266.3Another abbrev. q.38299::THERIAULTFri Apr 17 1987 12:3410
      RE: .2, .1
    
    I also remember seeing something like
       <x>(...>...)
    in an example somewhere, which made me think that > might behave
    like <XSUBENTRY> inside <X> and <Y>.  I assumed it was a documentaton
    glitch.  <XS> is terse enough, anyway.
    
    If, for some reason, the > actually is a special symbol, then  
    I'd like to request that it not be (see 221.6).
266.4CUPOLA::HAKKARAINENCrisis? What crisis?Fri Apr 17 1987 13:416
    Re .3
    
    The use of > is now obsolete. It had been used in earlier versions
    of the software, mimicking the DSRplus subentry flag.
    
    kh
266.5AUTHOR::WELLCOMESteveFri Apr 17 1987 14:174
    Re: .2
    
    See note 223 for a way to use abbreviations for tags.
    
266.6<XS> is real all rightCLOSET::OTTEFri Apr 17 1987 14:335
    To answer your question, Yes, <XS> is a real supported tag.
    In general, DOCUMENT does not provide abbreviated tag names, but
    <XS> is an exception...
    
    -randy
266.7Abbrev for <REFERENCE>?38299::THERIAULTFri Apr 17 1987 14:5222
    
      RE: .5
    
    Thanks for the pointer, but I really want to keep my source files
    standard, so I will only use what's officially part of DOCUMENT.
    
      RE: .6
    
    Thanks.  <XS> is quite useful.  It would be nice if there was a
    1 or 3 letter abbrev for <REFERENCE>, though.  I have no problem
    with defining abbrevs in my editor, but that's not enough.
    * When I want to be consistent about something -- even when it's
      short, I try to use symbols.  A long tag name decreases the
      readability of the source -- it stands out more than the symbol
      name and breaks the flow of the text.
    * In a table with several columns, it is useful to be able to use
      symbol-references without causing the table rows to be too long
      to read.
    I don't mind the length of other tags (in fact, it's probably better
    to have descriptive tag names for tags that point out structural
    aspects of the document), but it would be great if
    <REFERENCE> in particular could be specified as <R>. 
266.8Just wondering...CLT::MALERMon Apr 20 1987 15:078
    Just wondering:  Backslashes are used to delimit most information
    in most tag parameters.  Why did the indexing tags use right angle
    brackets, and now embedded tags?...  I always thought the most 
    intuitive thing would be to use backslashes, as in the following:
    
    <x>(File system\examples)
    
    	@V@
266.9here's whyCLOSET::ANKLAMTue Apr 21 1987 09:087
    
    There were two reasons. THe first is historical. Since we piggy-backed
    indexing off of DSRPLUS's indexing, we just retained the convention
    of using angle brackets. We needed the argument list for options
    (SORT, BOLD, etc.).
    
    patti anklam
266.10<X>(...\...)!38299::THERIAULTTue Apr 21 1987 09:0910
    
      RE: .8
    
    Yes!  That certainly would be nice...
   
    I suspect the reason for the embedded tags was originally to
    differentiate between un/numbered subentries, but that could
    just as easily be done with an optional third arg.
    
    I, too, am interested in the answers to .8
266.11AUTHOR::WELLCOMESteveTue Apr 21 1987 11:394
    Re: .7 re: .5
    Once you run file file with abbreviations through TAGEXPAND, it
    IS standard.  The abbreviations just give you a shorthand way of
    typing in the tags.