[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

43.0. "general questions" by CEO03::LINDSAY () Mon Mar 02 1987 13:21

    Several questions:
    
    1.  Is there anyway to draw a box around a paragraph or sentence?
    
    2.  Can you sort the glossary by terms?
    
    3.  If you have a very long list, can you sort it?
    
    4.  How do you define your own tags? For example, a special table
        or paragraph and still have the standard <table> and <p> tags?
                                   
    5.  How would you order the TEXbook by Knuth?  Is it available
        through us?
        
    Lisa
T.RTitleUserPersonal
Name
DateLines
43.1CRAYON::GENTTue Mar 03 1987 08:4816
    An unofficial answer to some of your questions:
    
    1.  Yes, it is possible to box text. Of course, it is 
    	unsupported from the DOCUMENT point-of-view... (It
    	requires additions to the doctype .DTP file and to
    	the tag definitions.)
    
    2.	Except for indexes, DOCUMENT really doesn't "do" sorting --
    	it is a sequential processor. I suggest you store your
    	glossary definitions in a database or an RMS indexed file
    	(indexed off the keyword) and then write short program that
    	generates SDML code. This way you can automate the sorting.
    
    3.	Again, use a database.
    
--Andrew
43.2Even less officialCUPOLA::HAKKARAINENAstray into the futureTue Mar 03 1987 10:0310
    Re 2,3
    
    Oh, for a call_user function, ala TPU.
    
    It might be possible, some day, to call lib$sort or some other facility
    that would allow us to sort lists on the fly. It would be particularly
    handy for trademark lists. Everyone has said that it sounds like
    a good idea, but work keeps getting in the way. 
    
    kh
43.3OUTLINE can do it rightATLAST::BOUKNIGHTEverything has an outlineTue Mar 03 1987 11:475
    OUTLINE supports sorting of topics, and glossary generation. You
    might take a look at it for generating your glossary section in
    a very easy manner.
    
    jack
43.4MARTY::FRIEDMANWed Mar 04 1987 10:134
re .2

Hey Karl---Still waiting for your dynamic trademark list generator!

43.5Official answersVAXUUM::ADLERWed Mar 11 1987 12:5512
1. There is no way to draw a box around a paragraph or sentence. There is
   a global tag "<BOX>(text)"  where "text" can be up to 15 characters long.

2,3. There is no automated way to sort glossary terms or list items.

4. To define your own tags, you must create a new doctype, and write GDX
   definitions for the tags you require. We are not documenting this for
   customers; internal documentation will be available in a few months.

5. The TeXbook is available from Addison Wesley, ISBN O-201-13448-9

--Brian
43.6A way to get a sorted GlossaryATLAST::BOUKNIGHTEverything has an outlineWed Mar 11 1987 15:0821
    An alternative way to generate a GLOSSARY file with sorted terms
    is to build the file in OUTLINE, then generate the file in DOCUMENT
    source output format.  OUTLINE builds GLOSSARYs as follows:
    
    	^GLOSSARY> Glossary of Terms			(level 1 topic)
    
    	  First term					(level 2 topic)
    
    	    This is the definition of the first term.	(paragraph)
    
          Second term					(level 2 topic)
    
    	    This is the definition of the second term.	(paragraph)
    
    You can select all the LEVEL 2 topics in the glossary section at
    any time and sort them.
    
    The output file is then generated in the PRINT operation, under
    DOCUMENT style, BOOK format.
    
    Jack