BODY -- Markup del Rich text


Questo documento descrive il markup sgml del cosidetto rich-text. In pratica questo markup esprime in parte una strutturazione del testo in elementi logici. Una parte del markup viene espresso direttamente dall'utente tramite i comandi-# (si veda Formato dei comandi di link e Simboli e Set di Caratteri Dar).

Testo

Def Group

Def Markup

Contents & attributes

Descrizione

% puretext

 

#PCDATA

Può contenere qualsiasi carattere Latin-1 previsto da Windows e i simboli recuperabili tramite il comando sym(nome). Si veda Simboli e Set di Caratteri Dar

 

TRG

(%puretext)

id = CDATA

Target, comando id(nome)

 

BR

EMPTY

clear=(left|all|right|none) : none

Break

 

TAB

EMPTY

Horrizontal Space

% basetext

 

(%puretext | TRG | BR | TAB)*

Text with targets and breaks

   

 

 
 

CODE

(%fonttext)

Fixed pitch font (courier )

 

I

(%fonttext)

Italic

 

B

(%fonttext)

Bold

 

U

(%fonttext)

Underline

 

SMALL

(%fonttext)

Small Caps

 

SUB

(%fonttext)

Subscript

 

SUP

(%fonttext)

SuperScript

 

CITE

(%fonttext)

Citation

% font

 

(CODE | I | B | U | SMALL | SUB | SUP | CITE)

Font modifiers

% fonttext

 

(%basetext | %font)*

Text with font modifiers

% special

LNK

(%puretext)

dcl = CDATA

name = cdata

ver = number

id = CDATA

Link to other document, comando dcl(nome..)

% inmath

FORMULA

(%puretext)

A simple formula

 

EQUATION

(%puretext)

A Numbered Equation

% inclusion

 

CDATA

Data type for Uniform Resource Locator

 

FILE

(%puretext)

src=%URL

Attached file, comando file(nome..)

 

IMG

(%puretext)

src=%URL

Included Image file, comando img(nome..)

 

NOTE

(%textblock)

Nota numerata (nota a piè pagina)

% text

 

(%fonttext | %special | %inmath | %inclusion)*

Text with fonts and inclusions.

Liste

Def Group

Def Markup

Contents & attributes

Descrizione

 

OL

(LI, (UL | OL | LI)*)

type = (1|a|A|i|I)

start = NUMBER

Ordered List

 

UL

(LI, (UL | OL | LI)*)

Unordered List

 

LI

(%text)

List Item

% list

 

(OL | UL)

Lists

 

DL

(DT,DD)+

Definition List

 

DT

(%puretext)

Term to be defined

 

DD

(%text)

Definition

Tabelle

Def Group

Def Markup

Contents & attributes

Descrizione

 

TABLE

(CAPTION?,TH?TR+)

align=(left|center|right)

width=length

border=pixels

cellspacing=pixels

cellpading=pixels

CDATA 'NN' for pixels 'NN%' for percentage.

NUMBER

NUMBER

NUMBER

 

CAPTION

(%puretext)

 
 

TH

(TD)*

(left|center|right)

(top|midle|left)

Header Row

 

TR

(TD)*

(left|center|right)

(top|midle|left)

Row

 

TD

(%textblock)

nowrap

rowspan=NUMBER : 1

colspan=NUMBER : 1

(left|center|right)

(top|midle|left)

width=pixels

height=pixels

Cell

Blocco di Testo

Def Group

Def Markup

Contents & attributes

Descrizione

 

P

(%text)

align=(left | center | right) : left

Paragraph

 

MATH

(%puretext)

Math formula

% textblock

 

(%text | %paragraph | %list | %math)*

A block of text

Mini Body

Def Group

Def Markup

Contents & attributes

Descrizione

% body.mini

 

(%textblock)

Mini text body

Import

Def Group

Def Markup

Contents & attributes

Descrizione

 

IMPORT

(%text)

doclist

catlist

decldcl

declname

decltypename

declflags

 
Full Body

Def Group

Def Markup

Contents & attributes

Descrizione

% body.full.nh

 

( PRE | BLOCKQUOTE | TABLE | DL | IMPORT | %textblock)*

Full text Body

Elementi del Body Completo

Def Group

Def Markup

Contents & attributes

Descrizione

 

H1

(%puretext)

Chapter

 

H2

(%puretext)

Section

 

H3

(%puretext)

Sub Section

 

H4

(%puretext)

Sub Sub Section

 

H5

(%puretext)

Paragraph

 

H6

(%puretext)

Sub Paragraph

%heading

 

(H1 | H2 | H3 | H4 | H5 | H6)

 
 

PRE

(%text)

 
 

BLOCKQUOTE

(%textblock)

 
 

HR

EMPTY

align=(left|right|center)

noshade

size=pixels

width=length

Horrizontal Rule

Full Body

Def Group

Def Markup

Contents & attributes

Descrizione

% body.full

 

(%heading | PRE | BLOCKQUOTE | HR | TABLE | DL | IMPORT | %textblock)*

Full text Body

dsg.dtd.body • LastModified: 14-9-2007 • John Peter Arnold