Author: ken
Date: Sun Aug 31 16:10:20 2014
New Revision: 14147

Log:
Clean up libpapersize.

Modified:
   trunk/BOOK/general/genlib/libpaper.xml
   trunk/BOOK/introduction/welcome/changelog.xml

Modified: trunk/BOOK/general/genlib/libpaper.xml
==============================================================================
--- trunk/BOOK/general/genlib/libpaper.xml      Sun Aug 31 13:38:52 2014        
(r14146)
+++ trunk/BOOK/general/genlib/libpaper.xml      Sun Aug 31 16:10:20 2014        
(r14147)
@@ -96,14 +96,8 @@
     </para>
 
 <screen role="root"><userinput>make install &amp;&amp;
-mkdir -v /etc/libpaper.d &amp;&amp;
-cat &gt; /uetc/papersize &lt;&lt; "EOF"
-<literal>a4</literal>
-EOF</userinput></screen>
-
-    <para>
-      You may wish to use a different paper size, such as letter.
-    </para>
+mkdir -v /etc/libpaper.d
+</userinput></screen>
 
   </sect2>
 
@@ -113,6 +107,30 @@
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
       href="../../xincludes/static-libraries.xml"/>
 
+    <para><command>mkdir -v /etc/libpaper.d</command>:
+    <application>libpaper</application> expects that packages will install 
files
+    into this directory.</para>
+
+  </sect2>
+
+  <sect2 role="configuration">
+    <title>Configuring libpaper</title>
+
+    <sect3>
+      <title>Configuration Information</title>
+
+      <para>Create <filename>/etc/papersize</filename> to set the default
+      system paper size.  Issue the following command as the
+      <systemitem class="username">root</systemitem> user to set this to
+      &apos;A4&apos; (libpaper expects the lowercase form). You may wish
+      to use a different size, such as letter.</para>
+
+<screen role="root"><userinput>cat &gt; /etc/papersize &lt;&lt; "EOF"
+a4
+EOF</userinput></screen>
+
+    </sect3>
+
   </sect2>
 
   <sect2 role="content">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Sun Aug 31 13:38:52 
2014        (r14146)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Sun Aug 31 16:10:20 
2014        (r14147)
@@ -48,6 +48,11 @@
       <para>August 31st, 2014</para>
       <itemizedlist>
         <listitem>
+          <para>[ken] - Clean up libpaper, in particular remove the
+          /uetc/papersize typo.  Thanks to willimm, fixes
+          <ulink url="&blfs-ticket-root;5454">#5454</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[fernando] - Completely modify and fix instructions for
           alsa-tools-1.0.28. Fixes
           <ulink url="&blfs-ticket-root;5453">#5453</ulink>.</para>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to