Index: chapter.sgml
===================================================================
RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/fdp-primer/psgml-mode/chapter.sgml,v
retrieving revision 1.10
diff -u -r1.10 chapter.sgml
--- chapter.sgml 24 Sep 2005 23:15:42 -0000 1.10
+++ chapter.sgml 26 Dec 2008 02:01:53 -0000
@@ -34,8 +34,8 @@
Using sgml-mode with
Emacs
- Recent versions of Emacs or XEmacs (available from the ports
- collection) contain a very useful package called PSGML. Automatically
+ Recent versions of Emacs or XEmacs (available from the Ports
+ Collection) contain a very useful package called PSGML (can be installed from editors/psgml). Automatically
invoked when a file with the .sgml extension is loaded,
or by typing M-x sgml-mode, it is a major mode for
dealing with SGML files, elements and attributes.
@@ -48,9 +48,9 @@
C-c C-e
- Runs sgml-insert-element. You will be
+ Runs sgml-insert-element. You will be
prompted for the name of the element to insert at the current point.
- You can use the TAB key to complete the element. Elements that are
+ You can use the Tab key to complete the element. Elements that are
not valid at the current point will be disallowed.
The start and end tags for the element will be inserted. If the
@@ -63,7 +63,7 @@
C-c =
- Runs sgml-change-element-name. Place the
+ Runs sgml-change-element-name. Place the
point within an element and run this command. You will be prompted
for the name of the element to change to. Both the start and end
tags of the current element will be changed to the new
@@ -75,8 +75,8 @@
C-c C-r
- Runs sgml-tag-region. Select some text (move
- to start of text, C-space, move to end of text, C-space) and then
+ Runs sgml-tag-region. Select some text (move
+ to start of text, C-space, move to end of text, C-space) and then
run this command. You will be prompted for the element to use. This
element will then be inserted immediately before and after your
marked region.
@@ -87,7 +87,7 @@
C-c -
- Runs sgml-untag-element. Place the point
+ Runs sgml-untag-element. Place the point
within the start or end tag of an element you want to remove, and
run this command. The element's start and end tags will be
removed.
@@ -98,7 +98,7 @@
C-c C-q
- Runs sgml-fill-element. Will recursively fill
+ Runs sgml-fill-element. Will recursively fill
(i.e., reformat) content from the current element in. The filling
will affect content in which whitespace is
significant, such as within programlisting
@@ -110,9 +110,9 @@
C-c C-a
- Runs sgml-edit-attributes. Opens a second
+ Runs sgml-edit-attributes. Opens a second
buffer containing a list of all the attributes for the closest
- enclosing element, and their current values. Use TAB to navigate
+ enclosing element, and their current values. Use Tab to navigate
between attributes, C-k to remove an existing
value and replace it with a new one, C-c C-c
to close this buffer and return to the main document.
@@ -123,7 +123,7 @@
C-c C-v
- Runs sgml-validate. Prompts you to save the
+ Runs sgml-validate. Prompts you to save the
current document (if necessary) and then runs an SGML validator. The
output from the validator is captured into a new buffer, and you can
then navigate from one troublespot to the next, fixing markup errors
@@ -135,7 +135,7 @@
C-c /
- Runs sgml-insert-end-tag. Inserts the
+ Runs sgml-insert-end-tag. Inserts the
end tag for the current open element.