⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 guide.me

📁 早期freebsd实现
💻 ME
字号:
.bp.sh 1 "Invoking the Programs".lpAll of the programs provided with this toolkit have associated manualpages for easy reference.  Since a set of programs is more than thesum of its options, some suggested uses are given below..sh 2 "\*(IP File Editor: ipfe".lpThis program executes page level operations on an \*(IP files.  For example,it will read an \*(IP master and output a new master that has allthe pages offset for binding.  It can extract and combine pages fromdifferent \*(IP files.  In addition, it can insert files that are requestedvia the \*(IP.i sequenceInsertFilecommand..lp.Ipfe is used on this document to move the table of contents to the front.\*(TR, like make document compilers, only makes one pass of the source files.This means that table of contents (TOC) entries are gathered as each sectionis encountered and then output at the end.  Typically, the TOC is movedby hand from the back of the document to the front.  This step can beautomated.  In this document, the cover page and TOC both occur at theend.  On what is to be last page of the finished document the following\*(TR commands appear:.(l	.nr x \\n%+1	.sy echo ipfe -o body.ip doc-.ip \\\\"[1-\\n%]\\\\" > Split-pages.sh	.sy echo ipfe -o cover.ip doc-.ip \\\\"[\\nx-]\\\\" >> Split-pages.sh.)lThe first line takes the current page number and adds one to it andstores the result in the variable ``x''.  The next two lines call theshell to create a file called \%``Split-page'' which has two lines.The first line of that file says create a new \*(IP file whichis the body of the document and the second a file that has the remainder.The makefile that creates this document, executes the shell script tosplit up the file.  It then pastes the two files together in opposite order(and processes inserts) with:.(l\f(TR	ipfe -o doc.ip -s cover.ip body.ip.)l.lpImage frames in Viewpoint are one way to create the sequenceInsertFile command.The technique used by Viewpoint is described in the Print ServiceIntegration Standard \(sc6.6:.i "Interpress image, form and logo interface" "."Note that two sequenceInsertFile commands are created for each image frame:one for the file named by the user and other for library routine called"LIB>ILF".  Some printers support the library routine (Xerox 8700 & 9700)and for others you will have to supply your own (Xerox 8044)..sh 2 "ipmetrics".lpThe \*(IP standard specifies that fonts metrics (like widths of characters)are distributed as \*(IP files which when executed leaveon the stack property lists which containmetric information about the fonts.  The program ``ipmetrics''will execute an \*(IP master and produce metrics for \*(TR, TeX or a``generic'' composition system..sh 2 "iptroff and dipress".lpThe shell script ``iptroff\|'' is simply a front-end for TI-\*(TR and dipress.Only under special circumstances will one need to invoke dipress directly.In general, one invokes iptroff just as regular \*(TR would be used.For example:.(l\f(TRiptroff -me foo.me.)l.lpRemember, that many pre-processors such as eqn and picneed to know which output device you intend to use.  When using iptroff,specifiy the ``\-Tip'' switch..sh 3 "Fonts".lpIn order to be compatible with the C/A/T phototypsetter, there are thestandard four fonts: R, B, I and S.  The fonts provided withthis distribution have all the characters that the C/A/T had as well asmany new special characters.  These are documented in Appendix \f(RN3\fR.Because \*(TR has a restriction of only 221 special character names,it was not possible to give all the special characters unique names.The overflow characters were placed in three (3) pseudo-fonts as follows:\(dg.(f.ti -\n(fiu\(dgThey are pseudo-fonts in the sense that although \*(TR thinksthey are separate fonts, they are actually mapped to the same Interpress font..)f.RS.ip "RN"This is the roman numeral font.  It has the digits one through ninemapped to the matching roman numeral.  The digit zero is mapped to romannumeral 10..ip "CN"This is the circled (arabic) numeral font.  The digits are mappedin the same way..ip "XX"The remaining miscellaneous characters which are mapped to normalASCII characters..RE.sh 3 "Inserting \*(IP files into \*(TR Documents".lpThis section discusses how to merge existing \*(IP files into a \*(TRdocument.  Before proceeding in detail, it is important to note two thingsabout \*(IP files: they are laid out on a cartesian plane and they don'thave any information indicating the image size (bounding box)..lpThe request to insert an \*(IP file is done using \*(TR transparentthroughput mode (see \(sc10.6. of the \*(TR manual).  The formatof such a command is:.br	\\!x Xerox IP File.Name.brThe effect is to create a.i SequenceInsertFilerequest at the current position with the requested file name.  Thus the fileis not actually inserted in the \*(IP master, only it's name.  The actualinsertion of the file is done in a seperate step.  The current positionis where the insert's origin will be placed.  As mentioned before, \*(IPfiles are laid out on a cartesian plane.  Typically, the point (0, 0) isin the lower left hand corner of the page and the X-axis increases alongthe bottom to the right and the Y-axis increases along the left edge goingup.  (first quadrant rules).lpThere is one problem with the above transparent command: it may notdo the right thing because \*(TR is buffered.  Something like the followingsequence is recommended:.(l I	.fl	\\!V\\n(nl	.nr x \\n(.o+\\n(.i	\\!H\\nx	\\!x Xerox IP File.Name.)l.lpInserts are easiest to handle if they sit in the first quadrant and abutthe origin. The program plot2ip has the ability to positionfiles this way.  In Viewpoint, a graphics frame can be placed at the bottomleft corner by setting the following property sheets:.(l I\fIpage\fP properties:\(em\(emPage Margins LEFT: 0\(em\(emPage Margins BOTTOM: 0\fIgraphics frame\fP properties:\(em\(emMargins Left: 0\(em\(emMargins Bottom: 0\(em\(emAlighnment (horizontally): FLUSH LEFT\(em\(emAlighnment (vertically): FLUSH BOTTOM\(em\(emSpan: Page.)lNow paginate the document and the graphics frame should appear correctly.An alternative is to use ipfe to change the X and Y position of the page..lpAs mentioned above, iptroff will only produce an insertion requestfor a file.  Not all \(IP printers support this feature.  In particular,the Xerox 8044 does not.  To cause the insertion to happen beforethe \*(IP master is sent to the printer, the program ipfe can be used.For example,.(l I\f(TRipfe -s -o output.ip master.ip.)lwill cause the file master.ip to be copied to output.ip while fulfillinginsertion requests.  If, in the \*(TR document, we asked for the insertionof head.ip but we wanted that mapped to /usr/local/lib/ip/letterhead.ipwe would type:.(l I\f(TRipfe -s -a head.ip:/usr/local/lib/ip/letterhead.ip	-o output.ip master.ip.)lFor more details, check ipfe the manual page..sh 3 "Inserting RES files into \*(TR documents".lpThis section discusses how to merge files in the Raster Encoding Standard(RES) with \*(TR documents.  RES files are encoding similarly to \*(IPbut they don't image.  Instead they leave data on the stack that canbe used to image them.  This property of RES files means that decisionsabout how a raster image will look on a page can be deffered untilthe \*(IP master is executed..lpA sample of the RES insert command in \*(TR is:.(l	\\!x Xerox RES bl 300spi File.Name.)lIn this example, the ``bl'' means that the current position shouldanchor the bottom-left of the image.  The possible values for thisfield are:.sp.TSbox center;l l.code	position_bl	bottom lefttl	top leftbr	bottom righttr	top rightc	center.TE.spIn this example, the 300 means that the raster should be imaged at 300 spots(dots) per inch.  A resolution of zero (0) indicates that the naturalresolution specified in the RES file should be used..lpThe following is a sample RES file that was originally drawn on anApple MacIntosh using MacPaint..br.ne 3i.sv 3i.fl\!V\n(nl.nr x \n(.o+\n(.i\!H\nx\!x Xerox RES bl 144spi happy-family.res.sh 3 "Hints and Warnings".lpThis section discusses unexpected behavior that users of iptroff mightencounter and how to deal with it..lpOn page three (3) of.i "Typesetting Mathematics - User's Guide"it is implied that typing a ``{'' to eqn will produce a roman ``{'' in theoutput.  Unfortuately, eqn doesn't produce any code to guarantee this behavior.Instead it relies on the fact that the C/A/T would always print ``{'' asa roman character.  Since the \*(IP fonts include bold and italic curlybrackets, eqn output will produce italic curly brackets by default..lpThe \-me macros have a bug where some footnotes are broken across pages whenthey shouldn't be.  This may be because our higher device resolutionalters the fudge factor that is usedto compute the amount of space to reserve for a footnote..lpThe 4.2 BSD macros have been modified to produce cut-marks for roll paperdevices such as Versatec plotters.  These cut marks will cause appearanceerrors to appear on the banner page produced by the 8044 printer.  In \-me they can be removed by placing the followingtwo lines at the front of your file:.(l\f(TR	.rm @m.)lIn \-ms they can be removed by using the following lines:.(l\f(TR	.rm CM.)l.lpThe default physical offset for \*(TR is often too small.  Whenusing paper that is 8\(12 inches wide most userswill preface their files with a.(l\f(TR	.po 1i.)l.lpto produce the correct page centering.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -