[gedit] docs - fixed validity errors. started refactoring of the snippets help. still a work-in-progress.



commit 3bd1e26fd893c95d7ba8940113df21cf640567ce
Author: Jim Campbell <jwcampbell gmail com>
Date:   Wed Nov 23 02:23:48 2011 -0600

    docs - fixed validity errors. started refactoring of the snippets help. still a work-in-progress.

 help/C/gedit-close-file.page             |    9 ++++-
 help/C/gedit-open-recent.page            |    2 +-
 help/C/gedit-plugins-install.page        |    1 -
 help/C/gedit-plugins-snippets-guide.page |   29 +++++++++++++++++
 help/C/gedit-plugins-snippets.page       |   50 +++++++++---------------------
 help/C/gedit-printing-order.page         |    7 ++--
 help/C/gedit-printing.page               |    2 +-
 help/C/gedit-replace.page                |    2 +-
 help/C/gedit-tabs.page                   |    4 +-
 9 files changed, 60 insertions(+), 46 deletions(-)
---
diff --git a/help/C/gedit-close-file.page b/help/C/gedit-close-file.page
index 917bbba..3df9fec 100644
--- a/help/C/gedit-close-file.page
+++ b/help/C/gedit-close-file.page
@@ -13,7 +13,12 @@
 
   <title>Close a file</title>
 
-  <p>To close a file in <app>gedit</app>, select <guiseq><gui>File</gui><gui>Close</gui></guiseq>. Alternately, you can click the small "X" that appears on the right-side of the file's tab, or press <keyseq><key>Ctrl</key><key>W</key></keyseq>.</p>
-  <p>Any one of these actions will close a file in <app>gedit</app>. If your file contains changes that have not been saved, <app>gedit</app> will prompt you to save those changes before closing the file.</p>
+  <p>To close a file in <app>gedit</app>, select <guiseq><gui>File</gui>
+  <gui>Close</gui></guiseq>. Alternately, you can click the small "X" that 
+  appears on the right-side of the file's tab, or press <keyseq><key>Ctrl</key>
+  <key>W</key></keyseq>.</p>
+  <p>Any one of these actions will close a file in <app>gedit</app>. If your 
+  file contains changes that have not been saved, <app>gedit</app> will prompt 
+  you to save those changes before closing the file.</p>
 
 </page>
diff --git a/help/C/gedit-open-recent.page b/help/C/gedit-open-recent.page
index ee26e4e..13850a6 100644
--- a/help/C/gedit-open-recent.page
+++ b/help/C/gedit-open-recent.page
@@ -20,7 +20,7 @@
     <item><p>Select the desired file, and it will open in a new tab.</p></item>
   </list>
 
-  <note type="advanced"><p>To adjust the number of recently-used files that gedit displays, you will need to use the <app>gconf-editor</app> application.</p>
+  <note style="advanced"><p>To adjust the number of recently-used files that gedit displays, you will need to use the <app>gconf-editor</app> application.</p>
     <list>
       <item><p>Launch <app>gconf-editor</app> and select <guiseq><gui>apps</gui><gui>gedit-2</gui><gui>preferences</gui><gui>ui</gui><gui>recents</gui></guiseq>.</p></item>
       <item><p>Double-click on the number next to <gui>max_recents</gui> and change the number to your desired value.</p></item>
diff --git a/help/C/gedit-plugins-install.page b/help/C/gedit-plugins-install.page
index 39ce396..58168d5 100644
--- a/help/C/gedit-plugins-install.page
+++ b/help/C/gedit-plugins-install.page
@@ -1,7 +1,6 @@
 <page xmlns="http://projectmallard.org/1.0/";
       type="topic" style="task"
       id="gedit-plugins-install">
-
   <info>
     <link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>
     <revision pkgversion="3.4" version="1.0" date="2011-11-18" status="candidate"/>
diff --git a/help/C/gedit-plugins-snippets-guide.page b/help/C/gedit-plugins-snippets-guide.page
new file mode 100644
index 0000000..287980d
--- /dev/null
+++ b/help/C/gedit-plugins-snippets-guide.page
@@ -0,0 +1,29 @@
+<page xmlns="http://projectmallard.org/1.0/";
+      type="guide" style="task 2column"
+      id="gedit-plugins-snippets-guide">
+  <info>
+    <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
+    <revision pkgversion="3.4" version="1.0" date="2011-11-23" status="draft"/>
+    <credit type="author">
+      <name>Jim Campbell</name>
+      <email>jwcampbell gmail com</email>
+    </credit>
+    <desc>Use snippets to quickly insert often-used pieces of text</desc>
+  </info>
+
+  <title>Snippets</title>
+
+  <p><app>Snippets</app> provide a convenient way of inserting repetitive 
+  portions of code into your files. For example, an HTML snippet for the 
+  <code><![CDATA[<img>]]></code> tag would insert the opening and closing 
+  portions of the tag, as well as fixed places where you can enter image 
+  attributes. This can make writing code easier and faster.</p>
+  
+  <p>To enable the <app>Snippets</app> plugin, select <guiseq><gui>Edit</gui>
+  <gui>Preferences</gui><gui>Plugins</gui><gui>Snippets</gui></guiseq>.</p>
+
+  <section id="snippets-help">
+    <title>Using, Modifying and creating snippets</title>
+    
+  </section>
+</page>
diff --git a/help/C/gedit-plugins-snippets.page b/help/C/gedit-plugins-snippets.page
index 5d2d3a0..f08a49e 100644
--- a/help/C/gedit-plugins-snippets.page
+++ b/help/C/gedit-plugins-snippets.page
@@ -1,43 +1,24 @@
 <page xmlns="http://projectmallard.org/1.0/";
       type="topic" style="task"
       id="gedit-plugins-snippets">
-
-<info>
-  <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
-  <revision pkgversion="3.4" date="2010-12-5" status="draft"/>
-  
-  <comment><p>As of 11/18/11 this document is still a work-in-progress. 
-  Translators, please do not attempt to translate this document yet, as it 
-  will likely go through a couple of iterations. Thank you for being awesome.
-  </p></comment>
+  <info>
+    <link type="guide" xref="gedit-plugins-snippets-guide#snippets-help"/>
+    <revision pkgversion="3.4" date="2010-12-5" status="draft"/>
   
-  <credit type="author">
-    <name>Jim Campbell</name>
-    <email>jwcampbell gmail com</email>
-  </credit>
-  <credit type="author">
-    <name>Daniel Neel</name>
-    <email>dneelyep gmail com</email>
-  </credit>
-  <desc>Use snippets to quickly insert often-used pieces of text</desc>
-  <!--INFOAT: http://live.gnome.org/Gedit/Plugins/Snippets-->
-</info>
+    <credit type="author">
+      <name>Jim Campbell</name>
+      <email>jwcampbell gmail com</email>
+    </credit>
+    <credit type="author">
+     <name>Daniel Neel</name>
+      <email>dneelyep gmail com</email>
+    </credit>
+    <desc>Inserting snippets of text into your files</desc>
+  </info>
 
-<title>Snippets</title>
-
-  <p><app>Snippets</app> provide a convenient way of inserting repetitive 
-  portions of code into your files. For example, an HTML snippet for the 
-  <code><![CDATA[<img>]]></code> tag would insert the opening and closing 
-  portions of the tag, as well as fixed places where you can enter image 
-  attributes. This can make writing code easier and faster.</p>
-  
-  <p>To enable the <app>Snippets</app> plugin, select <guiseq><gui>Edit</gui>
-  <gui>Preferences</gui><gui>Plugins</gui><gui>Snippets</gui></guiseq>.</p>
+  <title>Using snippets</title>
 
-  <section id="using-snippets">
-    <title>Using snippets</title>
-      <p>The following points will help you get started with using snippets:
-      </p>
+    <p>The following points will help you get started with using snippets:</p>
       
       <list>
         <item><p>Make sure the syntax is set appropriately.</p>
@@ -75,5 +56,4 @@
         </head>]]>
         </code>
 
-    </section>
 </page>
diff --git a/help/C/gedit-printing-order.page b/help/C/gedit-printing-order.page
index 0809e3b..685f195 100644
--- a/help/C/gedit-printing-order.page
+++ b/help/C/gedit-printing-order.page
@@ -17,12 +17,13 @@
 
 <title>Getting Copies To Print In The Correct Order</title>
 
-<section>
+<section id="printing-reverse">
  <title>
   Reverse
  </title>
  <p>
-  Printers usually print the first page first, and the last page last, so the pages end up in reverse order when you pick them up.
+  Printers usually print the first page first, and the last page last, so the 
+  pages end up in reverse order when you pick them up.
  </p>
  <p>
   To reverse the order:
@@ -33,7 +34,7 @@
  </steps>
 </section>
 
-<section>
+<section id="printing-collate">
  <title>
   Collate
  </title>
diff --git a/help/C/gedit-printing.page b/help/C/gedit-printing.page
index 7b3e881..840c420 100644
--- a/help/C/gedit-printing.page
+++ b/help/C/gedit-printing.page
@@ -15,7 +15,7 @@
 
   <title>Printing with gedit</title>
 
-    <note stye="important">
+    <note style="important">
       <p>Printing with <app>gedit</app> requires that you have connected and configured your printer. If you have not done this, please consult the printing help documentation for your desktop environment.</p>
     </note>
   
diff --git a/help/C/gedit-replace.page b/help/C/gedit-replace.page
index d241a82..2aa42f4 100644
--- a/help/C/gedit-replace.page
+++ b/help/C/gedit-replace.page
@@ -39,7 +39,7 @@
       <p>Use the <gui>Replace All</gui> function with care. <gui>Replace All</gui> works on the entirety of your text file, and does not allow you to highlight portions of text where the replace function will be performed.</p>
     </note>
 
-  <section>
+  <section id="replace-options">
     <title>More options</title>
     <terms>
       <item>
diff --git a/help/C/gedit-tabs.page b/help/C/gedit-tabs.page
index a57a372..f326f25 100644
--- a/help/C/gedit-tabs.page
+++ b/help/C/gedit-tabs.page
@@ -21,12 +21,12 @@
   <p>Working with tabs in <app>gedit</app> allows you to keep an eye on several files in a single window. The tab that is larger than the other tabs indicates the file that is currently open. The smaller tabs indicate other files that are available to work on.</p>
   <!--<p>add figure tags also<media type="image" mime="" src=""/></p>-->
 
-  <section>
+  <section id="gedit-adding-tabs">
     <title>Adding tabs</title>
     <p>To add a new tab, create a new file with <keyseq><key>Ctrl</key><key>N</key></keyseq>. The tab will be added to the right side of any other tabs.</p>
   </section>
 
-  <section>
+  <section id="gedit-removing-tabs">
     <title>Removing tabs</title>
     <p>To remove a tab, click the <guiseq><gui>X</gui></guiseq> on the tab's right side. To remove all open tabs, press <keyseq><key>Ctrl</key><key>Shift</key><key>W</key></keyseq></p>
   </section>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]