Date: Sun, 8 Dec 2013 15:43:22 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r43298 - head/en_US.ISO8859-1/books/fdp-primer/docbook-markup Message-ID: <201312081543.rB8FhMr8030240@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wblock Date: Sun Dec 8 15:43:22 2013 New Revision: 43298 URL: http://svnweb.freebsd.org/changeset/doc/43298 Log: Correct example showing markup of ports to use <package> tag. Modified: head/en_US.ISO8859-1/books/fdp-primer/docbook-markup/chapter.xml Modified: head/en_US.ISO8859-1/books/fdp-primer/docbook-markup/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/fdp-primer/docbook-markup/chapter.xml Sun Dec 8 08:02:51 2013 (r43297) +++ head/en_US.ISO8859-1/books/fdp-primer/docbook-markup/chapter.xml Sun Dec 8 15:43:22 2013 (r43298) @@ -1594,20 +1594,17 @@ This is the file called 'foo2'</screen> <para>To include the name of a program from the &os; Ports Collection in the document, use the - <tag>filename</tag> tag with the - <literal>role</literal> attribute set to - <literal>package</literal>. Since ports can be installed in + <tag>package</tag> tag. Since ports can be installed in any number of locations, only include the category and the port name; do not include <filename>/usr/ports</filename>.</para> <example> - <title><tag>filename</tag> Tag with - <literal>package</literal> Role</title> + <title><tag>package</tag> Tag</title> <para>Usage:</para> - <programlisting><tag class="starttag">para</tag>Install the <tag class="starttag">filename role="package"</tag>net/wireshark<tag class="endtag">filename</tag> port to view network traffic.<tag class="endtag">para</tag></programlisting> + <programlisting><tag class="starttag">para</tag>Install the <tag class="starttag">package</tag>net/wireshark<tag class="endtag">package</tag> port to view network traffic.<tag class="endtag">para</tag></programlisting> <para>Appearance:</para>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312081543.rB8FhMr8030240>