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

📄 intertext.me

📁 早期freebsd实现
💻 ME
字号:
.bp.sh 1 "A Textual Representation for \*(IP".sh 2 Introduction.lpThis section describes a language used to represent an Interpress master inhuman readable form.In order to make an Interpress master compact,an encoding scheme is used to represent the operators and the values.  Although this encoding uses less disk space and results in shortertransmission times, it is practically impossible to examine or edit anInterpress master.  For this reason, the utilities \fIiptotext\fP and\fItexttoip\fP represent the master as a text file.For someone to completely use the Interpress utilities and understand theoutput, an understanding of the text representation is necessary.It is recommendedthat the reader of this section have a working knowledge of Interpress..sh 2 Tokens.lpThe keyword \*(lqHeader\*(rq indicates that the following string is theheader that appears at the front of the Interpress file.  This keyword canonly be used once at the top of the file.  It is not checked for validity..sh 2 "Integers".lpA series of digits optionally preceded by a plus or minus sign is an integer..sh 2 "Short numbers".lpAny integer that starts in the first column is translated into an Interpress \fIshort number\fP.  This number must be in the range \(mi4000..28767..sh 2 "Operators".lpAny word that starts in the first columnis translated into an operator, with the exceptions noted in \fIkeywords\fP.The \*(lqpseudo\*(rq operators are handled as follows.The word \*(lqBEGIN\*(rq marksthe beginning of a block.  The word \*(lqEND\*(rq indicates theend of a block.  The character \*(lq{\*(rq indicates the beginningof a body and the character \*(lq}\*(rq indicates the end of abody.  All other words refer to an Interpress operator.  The names found inAppendix B of the \fIInterpress Electronic printing Standard\fPare recognized.  The case of the letters is insignificant..sh 2 "Comments".lpAnything that appears in parentheses is assumed to be acomment and is ignored.  These comments should not be confused with acomment sequence..sh 2 "Sequences".lpIf the firstcharacter on the line is \*(lq>\*(rq then the remainder of the linedescribes a \fIsequence\fP.If the second character is also \*(lq>\*(rq then thesequence described is \fIlong\fP, otherwise it is \fIshort\fP.The keyword that startsin the third column describes the type of sequence.  The value of thesequence appears after the colon.  The following names are valid sequencenames:  Comment, Identifier, Insert file, Integer, Rational, String..sh 2 "Strings".lpStrings are represented in the same way they are in C.A double quote is used to mark each end of the stringand a backslash is used to indicate the start of a specialcharacter.  If a digit follows a backslash, it starts an octal number thatdoes not exceed three digits.  This number is the octal value of thecharacter represented.  For example, the string "a\e244b" consists of anascii \*(lqa\*(rq followed by the octal value 244 and ending with an ascii\*(lqb\*(rq.  Two successive backslashes represents a single backslash and abackslash followed by a double quote represents a double quote.  It will notbe uncommon in program listings to use strings like:"#include\ \e"file.h\e""..sh 2 "Rationals".lpA rational number is represented as a fraction with a slash separating thenumerator and the denominator.For example:  \*(lq1/2\*(rq represents the rational 1 over 2..sh 2 Format.spHere is a Backus-Naur style grammar that describes the text format(tokens are in italics, literals are contained in double quotes):.sp.(ltextFile ::= prelim body | bodyprelim ::= file header | file | headerfile ::= "File: " \fIstring\fP \fInl\fPheader ::= "Header: " \fIstring\fP \fInl\fPbody ::= line \fInl\fP\^ body | line \fInl\fPline ::= \fIinteger\fP | \fIoperator\fP | short-long sequence.ta \w'sequence ::= 'usequence ::= "Comment: " \fIstring\fP |	"Identifier: " \fIidentifier\fP |	"Insert file: " \fIstring\fP |	"Integer: " \fIinteger\fP |	"Rational: " \fIinteger\fP\^ "/" \fIinteger\fP |	"String: " \fIstring\fPshort-long ::= "> " | ">>".)l.spThe token \fInl\fP\^ is a newline or line terminator.The other italicized tokens are explained in the previous section..sh 2 Omissions.lpThere is currently no way to express large vectors or anyof the pixel vectors.  There is also no way to specify a continuedsequence.

⌨️ 快捷键说明

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