<!doctype html public "-//W30//DTD W3 HTML 2.0//EN">

<HTML>

<!-- This file was generated using SDF 2.001 by
     Ian Clatworthy (ianc@mincom.com). SDF is freely
     available from http://www.mincom.com/mtr/sdf. -->

<HEAD>
<TITLE>SDF 2.001: SDF User Guide: Phrases</TITLE>
<STYLE TYPE="text/css">
<!--
.changed {background-color: teal}
.changed {background-color: teal}
.changed {background-color: teal}
.changed {background-color: teal}
.changed {background-color: teal}
.changed {background-color: teal}
.changed {background-color: teal}
.changed {background-color: teal}
.changed {background-color: teal}
.changed {background-color: teal}
.changed {background-color: teal}
-->
</STYLE>
</HEAD>
<BODY BGCOLOR="ffffff">

<DIV CLASS="header">
<P><IMG SRC="../sdflogo.gif" ALIGN="Right"></P>
<DIV CLASS="navigate">
<P ALIGN="Center"><A HREF="ug_sdf.html">Contents</A> | <A HREF="in_overv.html">Parent Topic</A> | <A HREF="in_ovpar.html">Previous Topic</A> | <A HREF="in_ovmac.html">Next Topic</A> <BR><A HREF="../index.html">Home</A> | <A HREF="../catalog.html">Catalog</A></P>
</DIV>
<BR CLEAR="Right">
</DIV>
<DIV CLASS="main">
<H1>2.3. Phrases</H1>
<HR>
<H2><A NAME="Introduction">2.3.1. Introduction</A></H2>
<P>A <EM>phrase</EM> is a section of text within a paragraph enclosed in the symbols {{ and }}. Like paragraphs, phrases are optionally tagged with a style. Some examples are given below.</P>
<TABLE CLASS="columns" BORDER>
<TR CLASS="heading">
<TD>
<STRONG>SDF</STRONG>
</TD>
<TD>
<STRONG>Typical result</STRONG>
</TD>
</TR>
<TR>
<TD>
{{Hello world}}
</TD>
<TD>
<EM>Hello world</EM>
</TD>
</TR>
<TR>
<TD>
{{1:Hello world}}
</TD>
<TD>
<EM>Hello world</EM>
</TD>
</TR>
<TR>
<TD>
{{2:Hello world}}
</TD>
<TD>
<STRONG>Hello world</STRONG>
</TD>
</TR>
<TR>
<TD>
{{B:Hello world}}
</TD>
<TD>
<B>Hello world</B>
</TD>
</TR>
<TR>
<TD>
{{I:Hello world}}
</TD>
<TD>
<I>Hello world</I>
</TD>
</TR>
<TR>
<TD>
{{SECT:Tables}}
</TD>
<TD>
<A HREF="in_tb.html">Tables</A>
</TD>
</TR>
<TR>
<TD>
{{FILE:autoexec.bat}}
</TD>
<TD>
<TT>autoexec.bat</TT>
</TD>
</TR>
</TABLE>

<HR>
<H2><A NAME="Commonly used styles">2.3.2. Commonly used styles</A></H2>
<P>Some commonly used phrase styles are given below.</P>
<TABLE CLASS="columns" BORDER>
<TR CLASS="heading">
<TD>
<STRONG>Tag</STRONG>
</TD>
<TD>
<STRONG>Description</STRONG>
</TD>
<TD>
<STRONG>Sample Output</STRONG>
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Emphasis:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
1
</TD>
<TD>
1st level emphasis (default)
</TD>
<TD>
<EM>emphasis 1</EM>
</TD>
</TR>
<TR>
<TD>
2
</TD>
<TD>
2nd level emphasis
</TD>
<TD>
<STRONG>emphasis 2</STRONG>
</TD>
</TR>
<TR>
<TD>
3
</TD>
<TD>
3rd level emphasis
</TD>
<TD>
<U>emphasis 3</U>
</TD>
</TR>
<TR>
<TD>
ST
</TD>
<TD>
strong emphasis
</TD>
<TD>
<STRONG>strong emphasis</STRONG>
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Formatting:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
N
</TD>
<TD>
normal
</TD>
<TD>
some normal text
</TD>
</TR>
<TR>
<TD>
I
</TD>
<TD>
italic
</TD>
<TD>
<I>some italic text</I>
</TD>
</TR>
<TR>
<TD>
B
</TD>
<TD>
bold
</TD>
<TD>
<B>some bold text</B>
</TD>
</TR>
<TR>
<TD>
U
</TD>
<TD>
underline
</TD>
<TD>
<U>some underline text</U>
</TD>
</TR>
<TR>
<TD>
EX
</TD>
<TD>
example
</TD>
<TD>
<TT>some example text</TT>
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Types:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
EMAIL
</TD>
<TD>
email address
</TD>
<TD>
<A HREF="mailto:ianc@mincom.com">ianc@mincom.com</A>
</TD>
</TR>
<TR>
<TD>
FILE
</TD>
<TD>
Filename
</TD>
<TD>
<TT>myfile.sdf</TT>
</TD>
</TR>
<TR>
<TD>
SECT
</TD>
<TD>
Section
</TD>
<TD>
<A HREF="in_parag.html">Paragraphs</A>
</TD>
</TR>
<TR>
<TD>
URL
</TD>
<TD>
Uniform Resource Locator
</TD>
<TD>
<A HREF="http://www.mincom.com">http://www.mincom.com</A>
</TD>
</TR>
<TR CLASS="group">
<TD>
<STRONG>Classes:</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
<TD>
<STRONG>&nbsp;</STRONG>
</TD>
</TR>
<TR>
<TD>
DOC
</TD>
<TD>
document title
</TD>
<TD>
<A HREF="../user/ug_sdf.html">SDF User Guide</A>
</TD>
</TR>
<TR>
<TD>
REF
</TD>
<TD>
reference (document code)
</TD>
<TD>
<A HREF="../user/ug_sdf.html">MTR-SDF-0002</A>
</TD>
</TR>
<TR>
<TD>
ORG
</TD>
<TD>
organisation
</TD>
<TD>
<A HREF="http://www.mincom.com">Mincom</A>
</TD>
</TR>
<TR>
<TD>
PRD
</TD>
<TD>
product
</TD>
<TD>
<A HREF="http://www.mincom.com/mims">MIMS</A>
</TD>
</TR>
</TABLE>

<P><HR WIDTH="80%" ALIGN="Left">
<STRONG>Note: </STRONG>When emphasising text, it is generally better to use an emphasis style rather than a formatting style as the best way of doing so depends on the output format.
<HR WIDTH="80%" ALIGN="Left"></P>
<HR>
<H2><A NAME="Type vs class styles">2.3.3. Type vs class styles</A></H2>
<P>A <EM>type</EM> (e.g. EMAIL) simply marks a phrase as a logical entity. Rules may be defined for processing (e.g. generating hypertext) for these types.</P>
<P>A <EM>class</EM> (e.g. DOC) is a special kind of type where the entity must be a member of a predefined set. Rules can also be defined for processing classes, although hypertext jumps are often defined for each entity in the tables which define the known entities. Refer to <A HREF="in_omgmt.html">Object Management</A>, later.</P>
</DIV>
<DIV CLASS="footer">
<DIV CLASS="navigate">
<P ALIGN="Center"><A HREF="ug_sdf.html">Contents</A> | <A HREF="in_overv.html">Parent Topic</A> | <A HREF="in_ovpar.html">Previous Topic</A> | <A HREF="in_ovmac.html">Next Topic</A> <BR><A HREF="../index.html">Home</A> | <A HREF="../catalog.html">Catalog</A></P>
</DIV>
</DIV>

</BODY>
</HTML>
