~ubuntu-branches/ubuntu/trusty/gnome-doc-utils/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/mallard/de/mal_inline_em.page

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-02-23 15:55:38 UTC
  • mfrom: (1.1.29 upstream)
  • Revision ID: james.westby@ubuntu.com-20100223155538-odq0bbr5tl0p2lpv
Tags: 0.19.5-0ubuntu1
* New upstream release:
  - Updated the Mallard RNG schema (Shaun McCance)
  - Bold userinput inside programlisting (Shaun McCance)
  - Updated translations
* debian/control.in:
  - bump Standards-Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="utf-8"?>
2
 
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="mal_inline_em">
3
 
 
4
 
<info>
5
 
  <link type="guide" xref="mal_inline#elements"/>
6
 
 
7
 
  <revision version="0.1" date="2008-12-16" status="review"/>
8
 
 
9
 
  <credit type="author">
10
 
    <name>Shaun McCance</name>
11
 
    <email>shaunm@gnome.org</email>
12
 
    <years>2008-2009</years>
13
 
  </credit>
14
 
 
15
 
  <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
16
 
 
17
 
  <desc>Emphasize important text.</desc>
18
 
</info>
19
 
 
20
 
<title>Emphasis</title>
21
 
 
22
 
<synopsis><code mime="application/relax-ng-compact-syntax">
23
 
mal_inline_em = element em {
24
 
  <link xref="mal_attr_link">mal_attr_link</link> ?,
25
 
  attribute style { xsd:NMTOKENS } ?,
26
 
  attribute * - (mal:* | local:*) { text } *,
27
 
 
28
 
  <link xref="mal_inline">mal_inline</link>
29
 
}
30
 
</code></synopsis>
31
 
 
32
 
<p>Use the <code>em</code> element to emphasize text.  You may use <code>em</code>
33
 
to stress certain words in a sentence.  Do not use <code>em</code> to effect a
34
 
particular typographic style, since it may be rendered differently by different
35
 
display tools.</p>
36
 
 
37
 
 
38
 
<!-- BEGIN notes -->
39
 
<section id="notes">
40
 
  <title>Anmerkungen</title>
41
 
  <list>
42
 
    <item><p>The <code>em</code> element can contain a mixture of text and
43
 
    any <link xref="mal_inline">general inline elements</link>.</p></item>
44
 
 
45
 
    <item><p>The <code>em</code> element can occur in any
46
 
    general inline context, including inside most
47
 
    <link xref="mal_inline">inline elements</link>, some
48
 
    <link xref="mal_block#basic">basic block elements</link>, and certain
49
 
    <link xref="mal_info">informational elements</link>.</p></item>
50
 
 
51
 
    <item><p>The <code>em</code> element can link to other pages or documents.
52
 
    See <link xref="mal_attr_link"/> for more information.</p></item>
53
 
 
54
 
    <item><p>The <code>style</code> attribute takes a space-separated list of
55
 
    style hints.  Processing tools should adjust their behavior according to
56
 
    those style hints they understand.</p></item>
57
 
 
58
 
    <item><p>The <code>em</code> element can have attributes from external
59
 
    namespaces.  See <link xref="mal_external"/> for more information
60
 
    on external-namespace attributes.</p></item>
61
 
  </list>
62
 
</section>
63
 
<!-- END notes -->
64
 
 
65
 
 
66
 
<!-- BEGIN examples -->
67
 
<section id="examples">
68
 
  <title>Beispiele</title>
69
 
 
70
 
  <p>Use <code>em</code> to stress a word in a sentence:</p>
71
 
 
72
 
  <example>
73
 
    <code><![CDATA[
74
 
You should <em>never</em> run a graphical application as root.
75
 
]]></code>
76
 
    <p>You should <em>never</em> run a graphical application as root.</p>
77
 
  </example>
78
 
 
79
 
  <p>Use <code>em</code> to mark the first occurance of a term:</p>
80
 
 
81
 
  <example>
82
 
    <code><![CDATA[
83
 
Note that <em>accelerators</em> are different from <em>mnemonics</em>.
84
 
]]></code>
85
 
    <p>Note that <em>accelerators</em> are different from <em>mnemonics</em>.</p>
86
 
  </example>
87
 
</section>
88
 
<!-- END examples -->
89
 
 
90
 
 
91
 
<!-- BEGIN processing -->
92
 
<section id="processing">
93
 
  <title>Processing Expectations</title>
94
 
  <p>Emphasized text is traditionally presented in an italic or oblique font.
95
 
  Italic and oblique fonts stress a portion of text without making it stand
96
 
  out.  By contrast, bold text tends to draw the eye, which can be distracting
97
 
  when reading long passages of text.  In scripts without a distinction between
98
 
  roman and italic type styles, it may still be possible to use an oblique font
99
 
  or some other font variation.  Bold text may be used if necessary.</p>
100
 
  <p>Underlining should be avoided completely, since it hurts the legibility
101
 
  of the text.  This problem is especially pronounced in scripts which place
102
 
  diacritical marks below the text.  In these scripts, underlining can render
103
 
  the text completely illegible.</p>
104
 
</section>
105
 
<!-- END processing -->
106
 
 
107
 
 
108
 
<!-- BEGIN comparison -->
109
 
<section id="comparison">
110
 
  <title>Vergleich mit anderen Formaten</title>
111
 
  <p>The <code>em</code> element is similar to the
112
 
  <code href="http://www.docbook.org/tdg/en/html/emphasis.html">emphasis</code>
113
 
  element in DocBook.  Athough DocBook does not normatively specify a means of
114
 
  controlling the presentation, most DocBook display tools allow writers to
115
 
  set the <code>role</code> attribute to <code>bold</code> or <code>strong</code>
116
 
  to specify bold text.  No such recommendation is made for Mallard.</p>
117
 
</section>
118
 
<!-- END comparison -->
119
 
 
120
 
</page>