<command> -> <userinput> in an example, to be consistent with how we tell
people it should be done. Noticed this when browsing the KDE DocBook documentation, which makes exactly the same mistake.
This commit is contained in:
parent
9e78b47299
commit
5e0002d7f0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=8263
2 changed files with 6 additions and 6 deletions
|
|
@ -27,7 +27,7 @@
|
|||
ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
$FreeBSD: doc/en_US.ISO_8859-1/books/fdp-primer/sgml-primer/chapter.sgml,v 1.12 2000/07/07 18:38:37 dannyboy Exp $
|
||||
$FreeBSD: doc/en_US.ISO_8859-1/books/fdp-primer/sgml-primer/chapter.sgml,v 1.13 2000/08/08 18:25:31 nik Exp $
|
||||
-->
|
||||
|
||||
<chapter id="sgml-primer">
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
<blockquote>
|
||||
<para>To remove <filename>/tmp/foo</filename> use &man.rm.1;.</para>
|
||||
|
||||
<screen>&prompt.user; <command>rm /tmp/foo</command></screen>
|
||||
<screen>&prompt.user; <userinput>rm /tmp/foo</userinput></screen>
|
||||
</blockquote>
|
||||
|
||||
and easily see which parts are filenames, which are commands to be typed
|
||||
|
|
@ -101,7 +101,7 @@
|
|||
<programlisting><![ CDATA [
|
||||
<para>To remove <filename>/tmp/foo</filename> use &man.rm.1;.</para>
|
||||
|
||||
<screen>&prompt.user; <command>rm /tmp/foo</command></screen>]]></programlisting>
|
||||
<screen>&prompt.user; <userinput>rm /tmp/foo</userinput></screen>]]></programlisting>
|
||||
|
||||
<para>As you can see, the markup is clearly separate from the
|
||||
content.</para>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
$FreeBSD: doc/en_US.ISO_8859-1/books/fdp-primer/sgml-primer/chapter.sgml,v 1.12 2000/07/07 18:38:37 dannyboy Exp $
|
||||
$FreeBSD: doc/en_US.ISO_8859-1/books/fdp-primer/sgml-primer/chapter.sgml,v 1.13 2000/08/08 18:25:31 nik Exp $
|
||||
-->
|
||||
|
||||
<chapter id="sgml-primer">
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
<blockquote>
|
||||
<para>To remove <filename>/tmp/foo</filename> use &man.rm.1;.</para>
|
||||
|
||||
<screen>&prompt.user; <command>rm /tmp/foo</command></screen>
|
||||
<screen>&prompt.user; <userinput>rm /tmp/foo</userinput></screen>
|
||||
</blockquote>
|
||||
|
||||
and easily see which parts are filenames, which are commands to be typed
|
||||
|
|
@ -101,7 +101,7 @@
|
|||
<programlisting><![ CDATA [
|
||||
<para>To remove <filename>/tmp/foo</filename> use &man.rm.1;.</para>
|
||||
|
||||
<screen>&prompt.user; <command>rm /tmp/foo</command></screen>]]></programlisting>
|
||||
<screen>&prompt.user; <userinput>rm /tmp/foo</userinput></screen>]]></programlisting>
|
||||
|
||||
<para>As you can see, the markup is clearly separate from the
|
||||
content.</para>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue