documentation-guide/en_US emacs.xml,1.2,1.3

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Tue Feb 6 01:10:02 UTC 2007


Author: pfrields

Update of /cvs/docs/documentation-guide/en_US
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9407

Modified Files:
	emacs.xml 
Log Message:
- Add XML header
- Add section for installing PSGML
- Add CDATA tags to protect content that might be entity-expanded



Index: emacs.xml
===================================================================
RCS file: /cvs/docs/documentation-guide/en_US/emacs.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- emacs.xml	3 Feb 2007 22:29:37 -0000	1.2
+++ emacs.xml	6 Feb 2007 01:09:59 -0000	1.3
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!-- $Id$ -->
 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
@@ -30,6 +31,11 @@
       and more.
     </para>
     
+  <section id="sn-installing-psgml">
+    <title>Installing PSGML</title>
+    <para>To install PSGML, use the <command>yum</command> command:</para>
+    <screen><userinput>yum install psgml</userinput></screen>
+  </section>
     <section id="sn-emacs-file">
       <title>Setting Up Your <filename>.emacs</filename> File</title>
 
@@ -48,8 +54,7 @@
 	existing <filename>.emacs</filename> file or create a new one that
 	contains the following lines:
 	
-<screen>
-<computeroutput>
+      <screen><computeroutput><![CDATA[
 ;; turn on auto-fill in `text-mode' and derived modes 
 ;;(mail, news, etc)
 (add-hook 'text-mode-hook 'turn-on-auto-fill)
@@ -173,39 +178,32 @@
 
  (global-set-key [(f1)] (lambda () (interactive) (manual-
        entry (current-word))))
-
-</computeroutput>
-</screen>
+]]></computeroutput></screen>
 
       </para>
 
-      <para>
-	Do you have a cool wheel mouse? If so, you can add the following to your
-	<filename>.emacs</filename> file so your wheel will work in
-	<application>Emacs</application> (must be
-	<application>Emacs</application> version 21):
-      </para>
+    <para>
+      If you have a wheel mouse and are using Emacs version 21, you can add the
+      following to your <filename>.emacs</filename> file so your wheel will work
+      in <application>Emacs</application>:
+    </para>
     
-<screen>
-<computeroutput>
+    <screen><computeroutput><![CDATA[
 ;; Enable wheelmouse support by default for emacs 21
 (cond (window-system
 (mwheel-install)
 ))
-</computeroutput>
-</screen>
+]]></computeroutput></screen>
 
       <para>
 	If you are using the older version 20 of
 	<application>Emacs</application>, add the following instead:
       </para>
 
-<screen>
-<computeroutput>
+    <screen><computeroutput><![CDATA[
 ;; Enable wheelmouse support by default
 (require 'mwheel)
-</computeroutput>
-</screen>
+]]></computeroutput></screen>
 
 <!-- bug #125757 in NEEDINFO state
       <para>
@@ -271,23 +269,21 @@
 	</para>
       </note>
 	
-<screen>
-<userinput>
+    <screen><userinput><![CDATA[
 emacs.background: light gray
 emacs.foreground: black
 emacs.pointerColor: blue
 emacs.cursorColor: blue
 emacs.bitmapIcon: on
 emacs.font: fixed
-emacs.geometry: 90x25          
-</userinput>
-</screen>
+emacs.geometry: 90x25
+]]></userinput></screen>
+
       <para>
 	After modifying this file, you must execute the command
       </para>
-<screen>
-<command>xrdb -merge ~/.Xresources</command>
-</screen>
+
+    <screen><command>xrdb -merge ~/.Xresources</command></screen>
       <para>
 	and restart <application>Emacs</application> for the changes to take
 	place.




More information about the docs-commits mailing list