Skip to content

Commit 077d7c4

Browse files
author
aabeatty
committed
some typo fixes
1 parent fba82d1 commit 077d7c4

File tree

6 files changed

+37
-39
lines changed

6 files changed

+37
-39
lines changed

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
.DS_Store
2+
3+
*.xpr

Diff for: en-us/course01-intro/topics/lc_reference.dita

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
title)</li>
2727
<li>&lt;table> (a table)</li>
2828
<li>&lt;fig> (a figure, including an optional title)</li>
29-
<li>&lt;properties> (a list of properies)</li>
29+
<li>&lt;properties> (a list of properties)</li>
3030
<li>&lt;refsyn> (a syntax diagram)</li>
3131
</ul></p>
3232
<p>Video: <xref href="https://www.youtube.com/watch?v=l2y-MbYf2a4" format="html"

Diff for: en-us/course01-intro/topics/lc_topic.dita

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
<lcInstruction>
2525
<p>A DITA topic is the basic unit of authoring and reuse. </p>
2626
<p>In topic-based authoring, you create a number of individual topics, each of which
27-
each addresses a single idea or answers a single question. These topics can then be
28-
used and reused in any order, in a number of different documents. In DITA the topics
29-
are organized in <i>maps</i>, which are much like a table of contents; the map
30-
allows you to specify the order and the hierarchy of the topics. </p>
27+
addresses a single idea or answers a single question. These topics can then be used
28+
and reused in any order, in a number of different documents. In DITA the topics are
29+
organized in <i>maps</i>, which are much like a table of contents; the map allows
30+
you to specify the order and the hierarchy of the topics. </p>
3131
<p>To make your topics reusable: </p>
3232
<ul id="ul_kpb_fhh_rs">
3333
<li>A topic should address a single idea or answer a single question. </li>

Diff for: en-us/course04-authoring_gloss_reference/topics/lc_new_glossgroup.dita

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
</prolog>
1212
<learningContentbody>
1313
<lcInstruction>
14-
<p>Similar to the glossary entry topic, the glossary group topic must contain a
15-
single &lt;glossgroup> root element with an id attribute that contains one
16-
&lt;title> element and one or more &lt;glossterm> or &lt;glossgroup> elements, each
17-
with an id attribute.</p>
14+
<p>Similar to the glossary entry topic, the glossary group topic must contain a single
15+
&lt;glossgroup> root element with an id attribute that contains one &lt;title>
16+
element and one or more &lt;glossentry> or &lt;glossgroup> elements, each with an id
17+
attribute.</p>
1818
<note>
1919
<p>This lesson covers basic use of the glossary group elements. For the full
2020
specifications for each element, see the <xref

Diff for: en-us/course06-reuse_basic/topics/lc_writing_reusable_topics.dita

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<li>Do not use inline cross-references. In your version of the content, the
4747
cross-reference target exists, but it might not be in the next map where your
4848
content is reused. Instead, use DITA relationship tables to automatically
49-
generate links to releated topics. </li>
49+
generate links to related topics. </li>
5050
</ul>
5151
<p>To make your writing more generalized:</p>
5252
<ul id="ul_jpy_vlc_kw">

Diff for: en-us/course07-reuse_advanced/topics/lc_conkeyrefs.dita

+25-29
Original file line numberDiff line numberDiff line change
@@ -20,52 +20,48 @@
2020
an element in another file might look like this:
2121
</p><pre>&lt;ul conref="domestic_duck_warehouse.dita#domestic_warehouse/nesting_materials">
2222
&lt;li/>
23-
&lt;/ul></pre><p>This
24-
conref pulls a &lt;ul> element from a warehouse topic that contains reusable
25-
elements relevant to domestic ducks. </p><p>If the topic containing this conref must
26-
be reusable, a hard-coded filename will be a problem. To use the reusable topic in a
27-
map that discusses wild ducks, the conref needs to point to a different warehouse
28-
topic file (wild_duck_warehouse.dita). </p><p>Rather than hard code the path to a
29-
file, you can use the conkeyref attribute to create a content reference that uses a
30-
key, rather than a filename. </p><image keyref="i_conkeyref" id="image_j4p_ysl_zx"
31-
base="2016/12"/><p>The first step in using a conkeyref is to create a DITA topic
32-
(domestic_duck_warehouse.dita) that contains a reusable element (including an id
23+
&lt;/ul></pre><p>This conref pulls a &lt;ul> element from a warehouse topic that
24+
contains reusable elements relevant to domestic ducks. </p><p>If the topic
25+
containing this conref must be reusable, a hard-coded filename will be a problem. To
26+
use the reusable topic in a map that discusses wild ducks, the conref needs to point
27+
to a different warehouse topic file (wild_duck_warehouse.dita). </p><p>Rather than
28+
hard code the path to a file, you can use the conkeyref attribute to create a
29+
content reference that uses a key, rather than a filename. </p><image
30+
keyref="i_conkeyref" id="image_j4p_ysl_zx" base="2016/12"/><p>The first step in
31+
using a conkeyref is to create a DITA topic (domestic_duck_warehouse.dita) that
32+
contains a reusable element (including an id
3333
attribute):</p><pre>&lt;ul id="nesting_materials">
3434
&lt;li>Sawdust&lt;/li>
3535
&lt;li>Wood shavings&lt;/li>
3636
&lt;li>Sand&lt;/li>
3737
...
38-
&lt;/ul></pre><p>In
39-
a map that references the topic that will use the conkeyref, define a key for the
40-
warehouse file:
38+
&lt;/ul></pre><p>In a map that references the topic that will use the conkeyref,
39+
define a key for the warehouse file:
4140
</p><pre>&lt;keydef keys="duck_warehouse" href="domestic_duck_warehouse.dita"/></pre><p>The
4241
example at the beginning of this topic shows a &lt;ul> element with a conref.
4342
Replace the conref attribute with a conkeyref attribute that contains the key, a
4443
slash ('/'), and the id of the element to be pulled:
4544
</p><pre>&lt;ul conkeyref="duck_warehouse/nesting_materials">
4645
&lt;li/>
47-
&lt;/ul></pre><note>When
48-
using conkeyrefs you do not need to use the id of the topic that contains the
49-
referenced element. </note><p>When the topic containing the conkeyref is processed,
50-
the key duck_warehouse is replaced with the current key definition, which is
51-
domestic_duck_warehouse.dita. </p><p>You can reuse the topic containing the
52-
conkeyref in another DITA map, but you might need it to pull content from a file
53-
that is specific to the new map. To do this, add a &lt;keydef> element to the new
54-
map that defines the key so that it points to a different file. In this example, the
55-
new map (that addresses wild ducks) defines the duck_warehouse key to point to
56-
wild_duck_warehouse.dita:
46+
&lt;/ul></pre><note>When using conkeyrefs you do not need to use the id of the topic
47+
that contains the referenced element. </note><p>When the topic containing the
48+
conkeyref is processed, the key duck_warehouse is replaced with the current key
49+
definition, which is domestic_duck_warehouse.dita. </p><p>You can reuse the topic
50+
containing the conkeyref in another DITA map, but you might need it to pull content
51+
from a file that is specific to the new map. To do this, add a &lt;keydef> element
52+
to the new map that defines the key so that it points to a different file. In this
53+
example, the new map (that addresses wild ducks) defines the duck_warehouse key to
54+
point to wild_duck_warehouse.dita:
5755
</p><pre>&lt;keydef keys="duck_warehouse" href="wild_duck_warehouse.dita"/></pre><p>The
5856
file wild_duck_warehouse.dita defines a different &lt;ul> element; however, it must
59-
use the same id
60-
attribute:</p><pre>&lt;ul id="nesting_materials">
57+
use the same id attribute:</p><pre>&lt;ul id="nesting_materials">
6158
&lt;li>Ferns&lt;/li>
6259
&lt;li>Twigs&lt;/li>
6360
&lt;li>Grass&lt;/li>
6461
...
65-
&lt;/ul></pre><p>When
66-
this new key is used in the wile duck map, the unordered list of wild duck nesting
67-
materials is used.</p><p>Finally, note that all the same rules that apply to conrefs
68-
also apply to conkeyrefs: </p><ul id="ul_gzh_wmv_qx">
62+
&lt;/ul></pre><p>When this new key is used in the wild duck map, the unordered list
63+
of wild duck nesting materials is used.</p><p>Finally, note that all the same rules
64+
that apply to conrefs also apply to conkeyrefs: </p><ul id="ul_gzh_wmv_qx">
6965
<li>The referencing element must be the same type (element name) as the referenced
7066
element. </li>
7167
<li>The referencing element must be valid (for instance, a &lt;ul> element must

0 commit comments

Comments
 (0)