
###############################################################################
#                                                                             #
#  pdoc                                                                       #
#                                                                             #
#  Lout setup file for ordinary documents printed in plain text (lout -p).    #
#                                                                             #
#  Jeffrey H. Kingston                                                        #
#  12 September 1994                                                          #
#                                                                             #
###############################################################################


###############################################################################
#                                                                             #
#  @SysInclude commands for standard packages.                                #
#                                                                             #
###############################################################################

  @SysInclude { fontdefs }			  # font definitions
  @SysInclude { langdefs }			  # language definitions
  @SysInclude { dl }				  # DocumentLayout package
  @SysInclude { docf }				  # OrdinaryLayout extension
# @SysInclude { tab }				  # @Tab table formatter
# @SysInclude { eq }				  # @Eq equation formatter
# @SysInclude { fig }				  # @Fig advanced graphics
# @SysInclude { graph }				  # @Graph graph drawing
# @SysInclude { cprint }			  # @CPrint C and C++ programs
# @SysInclude { pas }				  # @Pas Pascal programs


###############################################################################
#                                                                             #
#  @Include command for reading personal definitions from current directory.  #
#                                                                             #
###############################################################################

  @Include { mydefs }


###############################################################################
#                                                                             #
#  The @DocumentLayout @Use clause - overall document format options.         #
#                                                                             #
###############################################################################

@Use { @DocumentLayout
  # @InitialFont	{ Times Base 12p	} # initial font
    @InitialBreak	{ adjust 1fx nohyphen	} # initial break
  # @InitialLanguage	{ English		} # initial language
  # @InitialColour	{ black			} # initial colour
  # @HeadingFont	{ Bold			} # font for @Heading
    @ParaGap		{ 1f		  	} # gap between paragraphs
    @ParaIndent		{ 5s			} # first-line indent for @PP
    @DisplayGap		{ 1f			} # gap above, below displays
    @DisplayIndent	{ 5s			} # @IndentedDisplay indent
  # @DefaultIndent	{ 0.5rt			} # @Display indent
    @WideIndent		{ 10s			} # @WideTaggedList indent
    @VeryWideIndent	{ 15s			} # @VeryWideTaggedList indent
    @ListGap		{ 1f			} # gap between list items
    @ListIndent		{ 0s			} # indent of list items
    @ListRightIndent	{ 0s			} # right indent of list items
    @ListLabelWidth	{ 5s			} # width allowed for list tags
    @PageType		{ Other			} # page type (width, height)
    @PageWidth		{ 80s			} # page width if type Other
    @PageHeight		{ 66f			} # page height if type Other
  # @PageOrientation	{ Portrait		} # Portrait, Landscape, etc.
  # @PageBackground	{  			} # background of each page
    @TopMargin		{ 6f			} # top margin of all pages
    @FootMargin		{ 6f			} # bottom margin of all pages
    @OddLeftMargin	{ 10s			} # left margin of odd pages
    @OddRightMargin	{ 10s			} # right margin of odd pages
    @EvenLeftMargin	{ 10s			} # left margin of even pages
    @EvenRightMargin	{ 10s			} # right margin of even pages
  # @PageBoxType	{ None			} # None Box CurveBox ShadowBox
  # @PageBoxMargin	{ 1.00c			} # page box margin
  # @PageBoxLineWidth	{			} # page box line thickness
  # @PageBoxPaint	{ none			} # page box paint
  # @PageBoxShadow	{ 0.60c			} # shadow margin if ShadowBox
  # @ColumnNumber	{ 1			} # number of columns (1 to 10)
    @ColumnGap		{ 6s			} # column gap
  # @FigureNumbers	{ Arabic		} # method of numbering figures
  # @TableNumbers	{ Arabic		} # method of numbering tables
  # @CaptionFont        {                       } # figure, table caption font
  # @CaptionBreak       {                       } # figure, table caption break
  # @MakeFigureContents { No                    } # list of figures at start
  # @MakeTableContents  { No                    } # list of tables at start
  # @MakeContents	{ No			} # make contents? Yes or No
    @ContentsGap	{ 0f			} # extra gap above minor entry
    @ContentsGapAbove	{ 1f			} # extra gap above major entry
    @ContentsGapBelow	{ 0f			} # extra gap below major entry
  # @ContentsLeader	{ ..			} # leader symbol in contents
    @ContentsLeaderGap	{ 2s			} # gap between leaders
    @ContentsRightWidth	{ 6s			} # page numbers column width
  # @MakeReferences	{ Yes			} # make references? Yes or No
  # @RefCiteStyle	{ [cite]		} # citation style
  # @RefCiteLabels	{ @RefNum		} # citation items
  # @RefNumbers		{ Arabic		} # reference numbers
  # @RefListFormat	{ Labels		} # NoLabels, Labels, etc.
  # @RefListLabels	{ [@RefNum]		} # ref list label format
  # @RefListTitle	{ references		} # title of reference list
  # @ChapRefListTitle	{ references		} # title of chapter ref list
    @RefListIndent	{ 0s			} # indent to left of labels
    @RefListRightIndent	{ 0s			} # indent to right of items
    @RefListGap		{ 1f   			} # gap between ref list items
  # @RefListFont	{        		} # font used in reference list
  # @RefListBreak	{        		} # break style of ref list
    @RefListLabelWidth 	{ 5s			} # Labels column width
  # @RefListSortKey	{ @Tag			} # sorting key
  # @MakeIndex		{ No			} # make index? Yes or No
  # @IndexFont		{			} # index entries font
    @IndexBreak		{ outdent 1fx		} # index entries break
  # @IndexColumnNumber	{ 2			} # index columns (1 to 10)
    @IndexColumnGap	{ 6s			} # index column gap
    @TopGap		{ 2f			} # gap between figures
    @MidGap		{ 2f			} # gap above/below body text
  # @FootNoteNumbers	{ Arabic		} # footnote numbers
  # @FootNoteThrough	{ No			} # numbered through chapter?
  # @FootNoteFont	{ 0.80f			} # font for footnotes
    @FootNoteBreak	{ 1fx			} # break for footnotes
    @FootLen		{ 10s			} # length of footnote line
    @FootGap		{ 1f			} # gap between footnotes
  # @EndNoteNumbers	{ Arabic		} # endnote numbers
  # @EndNoteFont	{ 0.80f			} # font of endnotes
    @EndNoteBreak	{ 1fx			} # break for endnotes
    @EndNoteGap		{ 1f			} # gap between endnotes
  # @MarginNoteFont	{ 0.80f			} # font of margin notes
  # @MarginNoteBreak	{ ragged 1.10fx		} # break style of margin notes
  # @MarginNoteHGap	{ 0.5c   		} # horizontal gap to notes
  # @MarginNoteVGap	{ 1.00v  		} # min vertical gap between
  # @MarginNoteWidth	{ 1.50c  		} # width of margin notes
  # @PageHeaders	{ Simple		} # None Simple Titles NoTitles
  # @PageNumbers	{ Arabic		} # page numbers
  # @FirstPageNumber	{ 1			} # number of first page 
  # @IntroPageNumbers	{ Roman			} # intro page numbers
  # @IntroFirstPageNumber{ 1			} # number of first intro page 

  # @OddTop		{ @Centre{- @PageNum -}	} # Simple page headers
  # @OddFoot		{ @Null			}
  # @EvenTop		{ @Centre{- @PageNum -}	}
  # @EvenFoot		{ @Null			}
  # @StartOddTop	{ @Null			}
  # @StartOddFoot	{ @Null			}
  # @StartEvenTop	{ @Null			}
  # @StartEvenFoot	{ @Null			}
  # @IntroOddTop	{ @Null			}
  # @IntroOddFoot	{ @Null			}
  # @IntroEvenTop	{ @Null			}
  # @IntroEvenFoot	{ @Null			}
  # @IntroStartOddTop	{ @Null			}
  # @IntroStartOddFoot	{ @Null			}
  # @IntroStartEvenTop	{ @Null			}
  # @IntroStartEvenFoot	{ @Null			}

						  # Titles, NoTitles headers
  # @RunningOddTop  { @I {@MinorNum @DotSep @MinorTitle} @Right @B @PageNum }
  # @RunningOddFoot		{ @Null					}
  # @RunningEvenTop { @B @PageNum @Right @I {@MajorNum @DotSep @MajorTitle} }
  # @RunningEvenFoot		{ @Null					}
  # @RunningStartOddTop 	{ @Null					}
  # @RunningStartOddFoot	{ @Centre { Bold 0.8f } @Font @PageNum	}
  # @RunningStartEvenTop	{ @Null					}
  # @RunningStartEvenFoot	{ @Centre { Bold 0.8f } @Font @PageNum	}
  # @RunningIntroOddTop		{ @Null					}
  # @RunningIntroOddFoot	{ @Right @PageNum			}
  # @RunningIntroEvenTop	{ @Null					}
  # @RunningIntroEvenFoot	{ @PageNum				}
  # @RunningIntroStartOddTop	{ @Null					}
  # @RunningIntroStartOddFoot	{ @Null					}
  # @RunningIntroStartEvenTop	{ @Null					}
  # @RunningIntroStartEvenFoot	{ @Null					}
}


###############################################################################
#                                                                             #
#  The @OrdinaryLayout @Use clause - options specific to ordinary documents.  #
#                                                                             #
###############################################################################

@Use { @OrdinaryLayout
  # @SectionNumbers		{ Arabic	} # section numbers
  # @SubSectionNumbers		{ Arabic	} # subsection numbers
  # @SubSubSectionNumbers	{ Arabic	} # sub-subsection numbers
  # @AppendixNumbers		{ UCAlpha	} # appendix numbers
  # @SubAppendixNumbers		{ Arabic	} # subappendix numbers
  # @SubSubAppendixNumbers	{ Arabic	} # sub-subapp. numbers
  # @SectionHeadingFont		{ Bold		} # section heading
  # @SubSectionHeadingFont	{ Bold		} # subsection heading
  # @SubSubSectionHeadingFont	{ Slope		} # sub-subsection heading
  # @AppendixHeadingFont	{ Bold		} # appendix heading
  # @SubAppendixHeadingFont	{ Bold		} # subappendix heading
  # @SubSubAppendixHeadingFont	{ Slope		} # sub-subapp. heading
  # @ReferencesHeadingFont	{ Bold		} # references heading
  # @IndexHeadingFont		{ Bold		} # index heading
    @SectionGap			{ 3f		} # gap between sections
    @SubSectionGap		{ 2f		} # gap between subsections
    @SubSubSectionGap		{ 1f		} # gap between sub-subsects
    @AppendixGap		{ 3f		} # gap between appendices
    @SubAppendixGap		{ 2f		} # gap between subappendices
    @SubSubAppendixGap		{ 1f		} # gap between sub-subapps
  # @SectionInContents		{ Yes		} # list sections in contents
  # @SubSectionInContents	{ Yes		} # list subsections
  # @SubSubSectionInContents	{ No		} # list subsubsections
  # @AppendixInContents		{ Yes		} # list appendices
  # @SubAppendixInContents	{ Yes		} # list subappendices
  # @SubSubAppendixInContents	{ No		} # list sub-subappendices
  # @ReferencesInContents	{ Yes		} # list references
  # @IndexInContents		{ Yes		} # list index
}


###############################################################################
#                                                                             #
#  @Database (and @SysDatabase) clauses go here.                              #
#                                                                             #
###############################################################################

@SysDatabase @RefStyle { refstyle }		  # reference printing styles
