package0xxxxzzHȁ6`book 1995-99. S. Weyer, G. Simon. All Rights Reserved Worldwidebodyliph.htmNewtPack 3.4 1995-98, S. Weyer (portions may be derived from Newton Toolkit 1992-95, Apple Computer, Inc.)bookAqC1A@UR+book@URC[labelsTC)y1q ! 1 )!XA9Yy )Ia@UR/vversion@URflags@URiISBN@URtitle@URSshortTitle@UR3 {author@UR hcopyright@UR-publisher @UR@publicationDate@URIdata@UR !styles@URjɿ~contents@URbrowsers@URߧwtemplates@UR0.rendering@URu?appSymbol@UR\7icon@URohints&@bodyliph.htm@UR_stringX@Newt's Cape: BODY (Lists and Phrases)@NC Body2<@Steve Weyer, Greg Simon@ 1995-99. S. Weyer, G. Simon. All Rights Reserved Worldwide$@Steve Weyer$CI!AQ!(Aq @URform_hidden @URUBform_printnames@URh base_href@URn9links@URJqGetUserConfig@URedata C1A C1@http://members.bellatlantic.net/~sweyer/newton/newtscape/docs/bodyliph.htm A @URArray CA  9 $Ai@UR% Fclass@UR:instructions@UR`literals@UR@argFrame@UR[<;numArgs@UR?(CodeBlock @(|o({|AA Y q @URGetRoot$@UR&!NewtsCape:NewtsCape@URX[GetGlobals C $A  ! 9 Y y@UR _nextArgFrame@UR_parent@URU{y_implementor@URߧwconfigSym@URappC A  ! 9hA A @@@c@@ @ A A QI1!!1""i#Q$!% %&''(!(y())9**Y++a.q0Q011223344I4y445A56689999q9::;1=!==?@a@B BQC!CiDIDEFFAFG)GGI1JJIKKL)LqMNOQOPAPQqQRyS)STTUV9VW)WX9XY)YZ!Zi[[\)\^_)_`!``aIabQbdqeeegAghYhijjkk1kylAlmman)no oQpqpqqqrsist)ttuvwxy yyzA{1{|~!1Y9!Y!ICYA Ayy@UR㧦bviewFont@URiname<@BODY: Lists and Phrases@TopC)y AyIa@URazǸhrefs@UR'vscripts @This document describes the tags used for specifying text and graphic objects that can occur inside a BODY tag. These include:$A PA (A `(@head.htm#BODYA )Q"@UR!viewgesturescript CAq@{|;A@UR PhrefScript C9$A  ! 9@URX'@unit@UR9:LgestureIDC C)qx@ " List elements: LI, LH UL, OL, DIR, MENU, DL, DT, DDA , 4A  I I (A $t0@#LISTS(A 1D\0@#LI(A qT0@#LH(A \ (0@#UL(A p@t0@#OL(A 1 0@#DIR(A qt0@#MENU(A 08`@#DL(A P0`@#DT(A 10`@#DDC)i @ " Idiomatic Phrase markup: CITE, CODE, EM, KBD, SAMP, STRONG, VAR, DFNA $@   0A )i)i(A $$0"@#Idiomatic(A Qld0@#CITE(A <0@#CODE(A T0@#EM(A  0X`@#KBD(A Qp0`@#SAMP(A 0`@#STRONG(A  0 `@#VAR(A  80`@#DFNC)Q@ " Typographic Phrase markup: B, I, TT, U, S, SUP, SUB, BIG, SMALL, FONT, BRA ,@    <LH>heading <LI>one <LI>two <UL> <LI>three (nested) </UL> <LI>four </UL>C"3@Result:C"3@@headingC"41@ " oneC"4a@ " twoC"4.@ " three (nested)C"4@ " fourCY5@5)@OL@OLC"5Y~@Specifies an ordered (typically numbered) list of items.C"5@Attributes: START (default: 1); TYPE (1,a,A,i,I) (default: 1); COMPACT -- not implementedC"6@Example:C"7@<OL> <LI>one <LI>two <OL TYPE="A" START=5> <LI>E? (nested) (with Uppercase alphabetic label) <OL TYPE="i"> <LI>i? (nested) (with lowercase Roman numerals) </OL> </OL> <LI VALUE="25">twenty five (skipping ahead) </OL>C"8@Result:C"9@1. oneC"9Q@2. twoC"9n@E. E? (nested) (with Uppercase alphabetic label)C":j@i. i? (nested) (with lowercase Roman numerals)C":N@25. twenty five (skipping ahead)CY;@;@DIR@DIRC);Q<<j@DIR is similar to UL, and assumes that list items are short, typically less than 20 char each. Nested block elements are not allowed. Newt's Cape prefixes each item with ">".$A HhA <(A $ Hh0C"=9Z@Attributes: COMPACT -- not implementedCY=@=@MENU@MENUC)>??@MENU is similar to UL. List items are typically a single line, and may be rendered more compactly than UL. Nested block elements are not allowed. Newt's Cape prefixes each item with "-".$A LA ?(A $ L0C"@Z@Attributes: COMPACT -- not implementedCY@y@@@DL@DLC)@A9Aqn@Specifies pairs of terms (DT), definitions (DD).4A h@A AA(A Ah T0@#DT(A A0L`@#DDCYB!@B9@DT@DTC)BqBBX@Indicates a Definition Term inside DLA A B(A '(0CYC9@CQ@DD@DDC)CCDd@Indicates a Definition Definition inside DLA A D!(A '`0C"Da@Example:C"D.@<DL> <DT>Newt's Cape <DD>an environment for developing Newton books and form applications via HTML <DT>HTML <DD>HyperText Markup Language </DL>C"E@Result:C"F@$@Newt's CapeC"FY@an environment for developing Newton books and form applications via HTMLC"G@@HTMLC"GA@@HyperText Markup LanguageCYG@G<@Idiomatic Phrase Markup @IdiomaticC"H@Idiomatic markup is based on intent rather than on explicit appearance. Prior to version 1.4, it was not possible to nest phrase markup.CIIIaIAy\@However, this now works in Newt's Cape.The Empire Strikes Back</CITE>A $CIIKL L@Result: The Empire Strikes BackA \CYLA@LY@CODE@CODEC)LMM@indicates a short example of code (typically rendered in a mono-spaced font). Use PRE for multiple-line listings.$A H pA M(A MH <0`@#PRECIINN~@Example: <CODE>if x < y then :show() else :hide()</CODE>A $CIINO1b@Result: if x < y then :show() else :hide()A CYOi@O@EM@EMC"O@indicates an emphasized phrase (typically rendered in italics).CIIPYPd@Example: Are you <EM>always</EM> so sleepy?A $CIIPQIP@Result: Are you always so sleepy?$A @(CYQ@Q@KBD@KBDC"Q@indicates text typed by a user (typically rendered in a mono-spaced font).CIIRS v@Example: Type <KBD>rm</KBD> followed by the filenameA $CIISAS^@Result: Type rm followed by the filename$A 4 `CYS@S@SAMP@SAMPC"T)@indicates a sequence of literal characters (typically rendered in a mono-spaced font).CIIUUyx@Example: The chars <SAMP>abc</SAMP> are valid in HTMLA $CIIUV^@Result: The chars abc are valid in HTML.$A HHCYVQ@Vq@STRONG@STRONGC"V|@indicates strong emphasis (typically rendered in bold).CIIWAW\@Example: I said "<STRONG>STOP</STRONG>"A $xCIIWX8@Result: I said "STOP"$A @@CYXQ@Xi@VAR@VARC"X@indicates a placeholder variable (typically rendered as italic).CIIYAYN@Example: VAR is a <VAR>tag</VAR>A $\CIIYZ6@Result: VAR is a tagA D CYZ9@ZQ@DFN@DFNC"Z@indicates a defined term (typically rendered as italic). [3.0]CII[)[^@Example: this is a <DFN>definition</DFN>A $|CII[\ F@Result: this is a definitionA H(CY\A@\@@Typographic Phrase Markup$@TypographicC)\^i^@Typographic markup relates to explicit format. Where possible, Idiomatic phrases should be used instead. Eventually Cascading Style Sheets will provide a more general mechanism for doing formatting.$A $A ^(A ^$0`"@#IdiomaticCY_ @_@B@BC"_AR@indicates bold text (if possible).CII_`J@Example: Some <B>bold</B> textA $TCII`9`y:@Result: Some bold text$A 4@CY`@`@I@IC"`V@indicates italic text (if possible).CIIaaaN@Example: Some <I>italic</I> textA $\CIIab)>@Result: Some italic text$A 4CYbi@b@TT@TTC)bcc@indicates teletype (monospaced) text (if possible). (Note: this uses the same font family as PRE, e.g., Monaco)$A 8,XA cdI(A d80d`4@userintf.htm#Family(A dL`CIIddV@Example: Some <TT>teletype</TT> textA $lCIIeeaB@Result: Some teletype text$A 4$CYe@e@U@UC)efg @indicates underlined text (if possible). Standard? Confusing to user if browser uses underline to represent A (anchors).$A ,A g(A !` CIIgYgV@Example: Some <U>underlined</U> textA $lCIIgh1F@Result: Some underlined text$A 4,CYhq@h@S@SC"h2@indicates over-strike text (if possible). HTML 3.0? STRIKE tag now standard? (since Newton does not support over-strike, it uses outline instead).CIIijil@Example: Some <STRIKE>over-strike</STRIKE> textA $C"j&@Result: SomeC"j@strikeC"k@textCYkI@ka@SUP@SUPC"k@indicates superscript; also may use SMALL to reduce font size slightly. HTML 3.0?CIIlYl@@Example: E=mc<SUP>2</SUP>A $@CIIll(@Result: E=mc2A 0 CYm1@mI@SUB@SUBC"my@indicates subscript; also may use SMALL to reduce font size slightly. HTML 3.0?CIInAn<@Example: H<SUB>2</SUB>OA $8CIInn$@Result: H2O$A $@CYo!@o9@BIG@BIGC"oi@increases current font size by 1. Same as FONT SIZE=+1 except relative to current tag (H1-H6), otherwise BASEFONT. HTML 3.0?CIIppL@Example: <BIG>bigger</BIG> textA $XCIIqqI4@Result: bigger text$A CYq@q@SMALL@SMALLC"q@decreases current font size by 1. Same as FONT SIZE=-1 except relative to current tag (H1-H6), otherwise BASEFONT. HTML 3.0?CIIrsIV@Example: <SMALL>smaller</SMALL> textA $lCIIss6@Result: smaller text$A  CYs@t@FONT@FONTC"tA:@change font appearanceC"t@@FACECIItu@ " use built-in (or installed) Newton fonts: System or Espy, New York or Fancy, Geneva or Simple, Casual (2.x)inverted: white paragraph on dark background</FONT>A $$C{I{Ayy{i@URMlookf@inverted: white paragraph on dark backgroundC"|@@SIZEC)|9~9~q@A size index (between 1-7) or a +/- index increment from the BASEFONT size. This index maps to i:Appearance:Size preference for H6(1), H5(2), H4(3), H3(4), H2(5), H1(6), or 24pt(7). For examples of many of these phrase tags, see Sean's test page.4A  @A ~(A ~ 0` @#BASEFONTCII~@Example: <FONT SIZE="+2">bigger</FONT> and <FONT SIZE="-2">smaller</FONT>A $CII2@bigger and smaller$A C"1@Note: If </FONT> is missing, sizes can accumulate: minimum 8, maximum 24.C"@@BLINKC"z@This both an obsolete and an annoying tag, so Newt's Cape does not include it (though it would not be difficult since there is already a similar refresh mechanism for animated GIFs).CY@@BR@BRC)@specifies an explicit line break. If you want to include many line breaks, also see PRE.$A P A (A MP ,0`CII9y<@Example: line1<BR>line2A $8C"4@Result: line1 line2C"@Attributes: CLEAR (left,all,right,none) -- not implementedC"@.@Paragraph SizingC"F@On 1.x Newtons (or in 1.x compatible books), you may notice problems with multi-styled text -- paragraphs that contain mixed fonts, faces, sizes may exhibitC"IN@ " extra gaps between paragraphs,C">@ " missing text at end...C" @ " premature break of book page (esp. for long paragraphs)C"J@ " incorrect placement of linksC" J@Since the 1.x Newton text measurement functions support only a single font, Newt's Cape estimates line width and paragraph height using the "biggest font". You can sometimes avoid problems by using smaller paragraphs, fewer font changes, and putting links earlier before "problem" tags.CYq@@BASEFONT@BASEFONTC)i@SIZE attribute (default: 3) sets the base for FONT SIZE increments.$A $0A (A $0`@#FONTCY@@CENTER@CENTERCQAyyq@UR.viewJustifyD@This creates a "temporary container", and all items within it should be centered. Alternatively, you can use ALIGN attribute for individual P, IMG, TD, TH.CY@ @DIV@DIVC"9@Like CENTER, DIV creates a "temporary container", and all items within it use its ALIGN attribute.CY)@A@NOBR@NOBRC"qP@Recognized but currently ignored.CYA (@For More Info@CreditsC)Ay6@ " Top: this documentA HA (A H$0@#TopC) i\@ " Next: BODY (anchor, graphics, tables)A A (A $T0,@bodyagt.htm#TopC)9Y&@ " TOC: IntroA (A i(A ($02@introtoc.htm#IntroC)1(@ " Index: tagsA ,A A(A i,$02@tagindex.htm#IndexC)!<@ " Newt's Cape Home PageA TA 1(A YT$0@http://members.bellatlantic.net/~sweyer/newton/newtscape.htmC"@This document (in all its formats) is 1995-99. Steve Weyer, Greg Simon. All Rights Reserved WorldwideC"T@Version 2.0. Last updated: Feb 1999CaAyy@URtype@URZrformCA@URf"C_proto@URKviewFormatC)1@Steve Weyer - weyer@kagi.com Greg Simon - greg@accesscom.com,A 888HA a(A )88(x88@mailto:weyer@kagi.com(A H8p@@mailto:greg@accesscom.comA C!AA @URLz@\list@ContentsA Q1iI)a Ay!Y9qQ1iIC!AAAYq@URw>bounds@URCitem@URazǸlevelA 0C!"A C!' A $hC!1'A C!i(yA  XC!)A C!* A C!+ A 0tC!I0 A C!4 A  PC!: A $hC!= A \C!)@a A XC!aB A 8C!C! A 0tC!GA HC! J A C!AL) A  dC!yOQ A C!Qq A @C!S A C!!V9 A C!YX9 A HC!Z! A C!\)A C!^ A @C!9` A @C!qbQ A C!e A |C!hY A  dC!k1 A XC!Qm A C!o A @C!qq A (lC!s A C!1tA tC!ixA C!yA $\C!{A  C! A @C!I A C!A \C!YA C!A lC!)A C!aA C!A 0A C9A!a@UR 97nColumns@URcolumnA ICa0Ayy@URS6width,A  ) CA 1@(~o(~*o{|}~;_${|~B$A Y q Aa@UR҃hrefScriptG@URUhasVariable(C,A  ! 9 y@URYu!CobjC  @URxFviewClickScript CAIY@"Cy A  ! 9@UR=argC $@UR;viewSetupDoneScript CA1q @({o({AA Y q Q@URļ"BookOpenScriptC A  ! 9 yC @UR)ZviewQuitScript CA I=@()o{@_0{o{_"o/{*_0"0A Yy!Aa@URv-Copperfield$@URQj4SetStatusBarButtons@UR*d]hasVar!@URClearKeyCommands@UR(qlbuttonsOn@URG7G[extraButtons@UR?hstepChildren@URƐRemoveSlotC A  ! 9@URviewerC A Cq1A9Y@URIpageSize@URopagesC A@UR+left@UR.top@URǢright@URۡbottomXA iyőǡ)̙aiCA@URJ0|template@URNblocks4A Y9qC!9 AAYA C!qQA C!IA pC!1A xC!!A @C!Q!1A HxC!"iA XC!#QA hC@A 9qQQC!Q$!A 0`C!% A hC!%A C!&A C!1(!A C!i(A pC!)9A  C!*YA |C0A Ay1!YC!Y+aA C!.qA $C!0QA <lC!1A LC!91A dC!q2A  <C2@AAY@URodataLenA TC8A Q!Yi9qCqD AAY@UR}mdataOffsetA 0C"3C!3A C!93A C!q4A HC!4IA PC!4yA @C!4A C!Q5AA hC!5A pC!6A C0A )a AyC!A6A 0@C!y8A XC!9A C!99A C!!9qA @hC!Y9A `pC!:A C;1A C0A 11IiCqQqA 0CII;Q<C!=!A 8C!=A C!?A C!I@A pC!BQA PC4A )a AyC! CiA C!ADIA C!yDA C!EA C!FA 8C!!FAA 8C!YFA C!G)A  C0A 1i)IC!GA 0C!II1A C!JIA hC!KA C!KA C!)LqA | C!aMA $C