Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2001 10:05:12 -0500
From:      Michael Lucas <mwlucas@blackhelicopters.org>
To:        doc@freebsd.org
Subject:   request for help with doc patch
Message-ID:  <20011102100512.A77880@blackhelicopters.org>

next in thread | raw e-mail | index | archive | help

--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

So, here I am trying to patch the FDP to include a somewhat common tag
when I hit an error.  I've re-read the FDP again, and have looked at
this for the last two hours without a hint of success.  If anyone has
suggestions, I'd be most appreciative.

The problem is that in the generated HTML's "Use" section, the
<informalexample> tags are visible.  Would anyone care to give me a hint?

This patch is for fdp/sgml-markup/chapter.sgml

Thanks!

==ml

PS: I'm also not sure that the <screen><errorname> is correct, but
it's still a work in progress.

-- 
Michael Lucas
mwlucas@blackhelicopters.org
http://www.blackhelicopters.org/~mwlucas/
Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons

--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=errorname

*** chapter.sgml-dist	Fri Nov  2 08:41:05 2001
--- chapter.sgml	Fri Nov  2 09:56:59 2001
***************
*** 2165,2170 ****
--- 2165,2195 ----
  	    value for <replaceable>n</replaceable>.</para>	  
  	</example>
        </sect3>
+ 
+       <sect3>
+         <title>Quoting system errors</title>
+ 
+         <para>You might want to show errors generated by FreeBSD.
+           Mark these with <sgmltag>errorname</sgmltag>.  This
+           indicates the exact error that appears.</para>
+ 
+         <example>
+           <title><sgmltag>errorname</sgmltag></title>
+ 
+           <para>Use:</para>
+ 
+ 	  <programlisting><![ CDATA [<informalexample>
+   <screen><errorname>Panic: cannot mount root</errorname></screen>
+ </informalexample>]]></programlisting>
+ 
+ 
+           <para>Appearance:</para>
+ 
+           <informalexample>
+             <screen><errorname>Panic: cannot mount root</errorname></screen>
+           </informalexample>
+         </example>
+       </sect3>
      </sect2>
  
      <sect2>

--huq684BweRXVnRxX--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011102100512.A77880>