Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

21 Mapping text formats to HTML/XML > 21.5 Assigning properties to text formats > 21.5.1 Understanding where to specify format property overrides


21.5.1 Understanding where to specify format property overrides

In prior versions of Mif2Go, you could specify overrides to both character (inline) formats and paragraph (block) format properties in section [HTMLStyles]. That section is now deprecated, in favor of two new sections:

[HTMLParaStyles] for paragraph overrides

[HTMLCharStyles] for character overrides.

Some former [HTMLStyles] format properties can be assigned either to paragraph formats or to character formats, and so can be used in either of the new sections. Table 21-1 lists all the properties alphabetically, and shows the sections in which they are valid: Para for [HTMLParaStyles] and Char for [HTMLCharStyles].

Table 21-1 HTML properties for paragraph and character formats

Format property

Purpose

Para

Char

Ref.

Abbr

Gets value for abbr attribute from [StyleCellAbbr]

X

 

26.2.2.2

AbbrVal

Make content into abbr for table cell

X

 

26.2.3

ALink

Uses content for ALink Name property of ALink object

X

 

7.6.4.2

Alt

Makes content into alt attribute for next <img>

X

 

25.2.2

Anum

Includes autonumber in format

X

 

21.3.3

Axis

Gets value for axis attribute from [StyleCellAxis]

X

 

26.2.2.2

AxisVal

Makes content into axis for table cell

X

 

26.2.3

Bold

Encloses text in this format in <b>...</b>

X

X

21.5.3

CellAttribute

Applies attributes in [StyleCellAttribute] to enclosing cell

X

 

24.4.6

Center

Centers text between left and right margins

X

 

21.5.2

CodeAfter

Puts code from [ParaStyleCodeAfter] or [CharStyleCodeAfter] after closing tag

X

X

28.9.3

CodeAfterAnum

Puts code from [AnumCodeAfter] after autonumber

X

 

28.9.3

CodeBefore

Puts code from [ParaStyleCodeBefore] or [CharStyleCodeBefore] before opening tag

X

X

28.9.3

CodeBeforeAnum

Puts code from [AnumCodeBefore] before autonumber

X

 

28.9.3

CodeEnd

Puts code from [ParaStyleCodeEnd] or [CharStyleCodeEnd] before closing tag

X

X

28.9.3

CodeReplace

Replaces content with code from [ParaStyleCodeReplace] or [CharStyleCodeReplace]

X

X

28.9.3

CodeStart

Puts code from [ParaStyleCodeStart] or [CharStyleCodeStart] after opening tag

X

X

28.9.3

CodeStore

Stores content in macro variable named in [StyleCodeStore]

X

 

28.3.7.2

ColGroup

Marks enclosing cell as a header cell that starts a column group

X

 

26.2.2.2

ColorN

Makes text color N, where N is in the range 1 - 254

X

X

21.5.4

Comment

Makes paragraph a comment, replacing tags

X

X

21.3.6

Config

Makes content act as a configuration override for all outputs

X

 

33.3

Contents

Includes content in this format in the TOC

X

 

7.4.3

CSSReplace

Gets code for CSS from [ParaStyleCSS] or [CharStyleCSS]

X

X

22.8.4

Delete

Omits content from text output

X

X

21.3.12

DListDD

Uses dd instead of dt for items in dl lists

X

 

21.12.2.1

DropDown

Content is a block to be expanded; bracket with macros

X

 

7.9.3.1

DropDownBlock

Content is a block to be expanded

X

 

7.9.3.1

DropDownEnd

Content is last paragraph in expandable block

X

 

7.9.3.1

DropDownLink

Content is a link to expandable text

X

X

7.9.3.1

DropDownStart

Content is a link, next content is an expandable block

X

 

7.9.3.1

ExtrDisable

Turns off extract processing

X

 

18.3.1

ExtrEnable

Turns on extract processing

X

 

18.3.1

ExtrEnd

Paragraph ends an extract, but is not part of the extract

X

 

18.3.2.1

ExtrFinish

Paragraph is the last item in an extract

X

 

18.3.2.1

ExtrStart

Paragraph begins an extract

X

 

18.3.2.1

Figure

Uses paragraph for anchor tag to ensure wrapping image in <fig>

X

 

15.7.2

FileName

Uses content to name split files

X

 

34.8.4.1

FrameAbove

Overrides [HTMLOptions]RemoveFramesAbove=Yes

X

 

21.3.7

FrameBelow

Overrides [HTMLOptions]RemoveFramesBelow=Yes

X

 

21.3.7

GlossTerm

Uses content for a glossary term in JavaHelp

X

 

11.7.2

GlossTitle

Content is a key to hover text

 

X

13.11

HTMConfig

Makes content act as a configuration override for HTML output

X

 

33.3

Ital

Italics: encloses text in this format in <i>...</i>

X

X

21.5.3

KeepLink

Retains the first hypertext link in text replaced via [CodeReplace]

X

X

13.8.1.3

Left

Aligns text with left margin

X

 

21.5.2

LEnd

Non-list format that ends any prior lists

X

 

21.12.2.1

LFirst

Content in this format starts a list

X

 

21.12.2.1

LinkClass

Makes content into CSS class attribute value

X

 

25.3.2

LinkSrc

Puts code from [StyleLinkSrc] in href attribute

X

X

28.9.3

LinkTitle

Makes content into title attribute value

X

 

25.3.2

ListN

List1 - List12 specify different list styles

X

 

21.12.2.1

LLevelN

LLevel1 - LLevel30 specify nesting levels

X

 

21.12.2.1

LNest

Nests in an enclosing list

X

 

21.12.2.1

Longdesc

Makes content into longdesc attribute value

X

 

25.2.2

Meta

Makes content a <meta content=...> attribute value

X

 

18.4.3

NoAnum

Excludes autonumber from non-list formats

X

 

21.3.3

NoBreak

Changes any Shift+Enter to space instead of <br> for HTML and XHTML

X

X

21.3.8

NoColID

Prevents assignment of id for ColIDs (enabled in [Tables])

X

 

26.2.2.2

NoColor

Omits <font color=...> for this format

X

X

21.5.4

NoContLink

Suppresses linkage for the corresponding TOC item in HTML Help

X

 

9.9.5

NoCSS

Omits any CSS entry for this format

X

X

22.8.4

NoFig

Uses paragraph for anchor tag to prevent wrapping image in <fig>

X

X

15.7.2

NoFrameAbove

Overrides [HTMLOptions]RemoveFramesAbove=No

X

 

21.3.7

NoFrameBelow

Overrides [HTMLOptions]RemoveFramesBelow=No

X

 

21.3.7

NoHref

Suppresses <a href=...> tags

X

X

13.8.1.5

NoPara

Eliminates only paragraph tags, for use in macros

X

X

21.3.6

NoRef

Forces links to top of page by suppressing part of link after file name

X

X

19.3.1

NoSize

Omits size attribute from <font> tags for this format

X

X

21.5.4

NoSplit

Prevents format from interfering with SmartSplit

X

 

18.2.2.4

NoTags

Suppresses attributes and omits any tags between <p> and </p>

X

X

21.3.6

NoWrap

Suppresses \n line breaks and preserves leading spaces

X

 

21.3.6

Overrides

Allows format properties Bold, Ital, Uline, and Strike

X

X

21.5.3

Plain

Turns off Bold, Ital, Uline, and Strike format properties

X

X

21.5.3

ParaLink

Prevents character spans from affecting a link in the paragraph

X

 

5.10.2

ParaLinkClass

Links have a class assigned in [StyleParaLinkClass]

X

 

19.2.2.2

Raw

Suppresses all tags to allow macro inclusions between document elements

X

X

21.3.6

Right

Aligns text with right margin

X

 

21.5.2

RowAttribute

Attributes in [StyleRowAttribute] are applied to enclosing row

X

 

24.4.5

RowGroup

Marks enclosing cell as a header cell that starts a row group

X

 

26.2.2.2

Scope

Gets value for scope attribute from [StyleCellScope]

X

 

26.2.2.2

SizeN

Size1 - Size7 sets font size attribute to 1 through 7, corresponding to maximum point sizes 8, 10, 14, 20, 28, or 36

X

 

21.5.2

Span

Causes assignment of ColSpanID or RowSpanID, as enabled in [Tables]

X

 

26.2.2.2

Split

Starts a new HTML page

X

 

18.2.1

Strike

Strikethrough: enclose text in this format in <strike>...</strike>

X

X

21.5.3

Summary

Makes content into summary for table tag

X

 

25.4.3.2

TableBody

Forces containing cell tag to td instead of th

X

 

26.2.2.4

TableHead

Forces containing cell tag to th instead of td

X

 

26.2.2.4

TableTitle

Makes content into title attribute for table

X

 

25.4.3.2

TextFrameIsText

Renders text frames anchored to paragraph as inline text

X

 

21.3.4

TextStore

Stores content in macro variable named in [StyleTextStore]

X

 

28.3.7.1

Title

Content in this format becomes HTML page title

X

 

13.4.5

Trail

Includes content in breadcrumb trail of links

X

 

20.2.3

ULine

Underline: encloses text in this format in <u>...</u>

X

X

21.5.3

Window

Opens topic in window named in [StyleWindow] for HTML Help

X

 

9.8.3.1

XMLBreak

Closes tag at Shift+Enter; overrides [HTMLOptions]XMLBreakPara=No

X

X

14.4.5

XMLNoBreak

Changes Shift+Enter to space; overrides [HTMLOptions]XMLBreakPara=Yes

X

X

14.4.5



21 Mapping text formats to HTML/XML > 21.5 Assigning properties to text formats > 21.5.1 Understanding where to specify format property overrides