[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

683.0. "<TESTPAGE>" by AUTHOR::R_MCGOWAN () Thu Jul 16 1987 17:14

    Could you someday implement a DOCUMENT command similar
    to the DSRPLUS  TEST PAGE command?  Sometimes (for example,
    when the first line of a list item is a heading, DOCUMENT
    puts that line on the bottom of a page, rather than putting
    it on the same page as the paragraph over which its supposed
    to be a heading)  a <testpage> tag would be useful.
T.RTitleUserPersonal
Name
DateLines
683.1DOCUMENT can do better than RUNOFFCASEE::CLARKWard ClarkFri Jul 17 1987 08:2820
    I've always felt that RUNOFF's .TEST PAGE directive was a kludge
    because it forces the user to be aware of how many lines will be needed
    to format a chunk of text.

    I much prefer the technique used by FORMAT (an antique RUNOFF-equivalent
    for IBM systems) that allow the user to put "keep" and "release"
    commands around any arbitrary portion of text, forcing the text to be
    formatted as a contiguous block.  There was also the concept of
    "floating keep", i.e., keep this body of text together but allow to be
    formatted out of sequence.

    This FORMAT capability is very similar to DOCUMENT's current support
    for figures.

    Unfortunately, the <KEEP> tag is already begin used for "keep a small
    number of words together on the same line".  It would have been nice
    for this tag to have been called something like <ONE_WORD>, leaving
    <KEEP> for the more general case.

    -- Ward
683.2CUPOLA::HAKKARAINENThis too shall passFri Jul 17 1987 09:508
    How about <group> and <endgroup> to identify an artibrary chunk
    of text? 
    
    It's often not lines that we are trying to handle, but a relationship
    between two entities in text, a relationship that isn't defined
    by other types. (Perhaps <friends> and <endfriends>.)
    
    An optional argument might allow the group to float as needed.
683.3another entry, and generalization of the ideaVAXUUM::DEVRIESM.D. -- your Device DoctorFri Jul 17 1987 10:1918
    Or perhaps <unit> ... <endunit>.
    
    Maybe this concept could be generalized to express in what way you
    wanted the unit treated specially:
    
    		<unit>(noword_break)
    		<unit>(noline_break)
    		<unit>(nopage_break)
    		<unit>(float)
    		<unit>(nofloat)
    			.
    			.
    			.
    
    The concept applies regardless of the word chosen -- in fact, maybe
    <keep>() is as good as any.
    
    --Mark
683.4AUTHOR::WELLCOMESteveFri Jul 17 1987 11:376
    I'd agree that .TESTPAGE is far down on the list of desirable ways
    to accomplish the task, but I totally agree that we need SOMETHING
    in DOCUMENT to perform that equivalent function.  The <unit>...
    <endunit> idea looks good to me.  I think it would be handy to have 
    a parenthesis version as well for small units (such as a word one wants 
    to keep from being hyphenated).
683.5MARTY::FRIEDMANMon Jul 20 1987 14:453
    Do any doctype gurus have a suggestion for a .DESIGN parameter to
    force headers to stay with the subsequent paragraph?
    
683.6<BLOCK> TagDICKNS::DENHAMJeff Denham, DTN 223-6770Wed Jul 22 1987 15:051
    I'm partial to <BLOCK> ... <ENDBLOCK> myself.
683.7BUNSUP::LITTLETodd Little, NYA SWS, 323-4475Sun Jul 26 1987 15:338
    re: .5

    Are you getting widow headers?  The BL8 definitions for headers
    called for 80pt of free vertical space on the page at the time the
    header was used, and if that much space wasn't available, a page
    eject was performed.
    
    -tl