On Friday 11 January 2002 18:02, Paul A. Franz, P.E. wrote:
> At 04:22 AM 1/9/2002Jose Abilio Oliveira Matos sez:
> >On Wednesday 09 January 2002 04:22, Paul A. Franz, P.E. wrote:
> > > 3) I understand that if the Linuxdoc template would work, (I believe it
> > > did yesterday) then I could create a man page, export it as a .DVI then
> > > use some program in SGML-tools to convert this to the man page format
> > > which is groff or nroff or troff that is gzipped. Anyway, that part is
> > > pretty unclear to me so far.
> >
> >   I append an example of it.
>
> I assume you mean the attached file "manpage.man". You also appended
> "manpage.sgml" and "manpage.lyx". Would you care to elaborate on their use?
> What directories should they be placed in and how do I use them?

  The manpage.lyx is the original lyx file. I exported it to linuxdoc, that 
gave as result manpage.sgml. From this file I have used sgml2txt that comes 
with sgmltools 1 to convert it to manpage.man

> > > Questions.
> > >
> > > 2) What template should I be using. I believe this is called a text
> > > class. Correct?
> >
> >   I don't need to use any template. The easier thing to do is start from
> > a blank document and change it to manpage, in Layout->Document->Class.
>
> manpage is not one of the class options. What do I do? I see
> "manpage.layout" in /usr/share/lyx/layouts. It doesn't show up in the
> options. See attached screen shot.

  You should see it as: SGML (Linuxdoc manpage) that should show up earlier 
into the class options (the part that we don't see in the image yout sent). 
If you don't see it that means that you don't have sgmltools v1 installed. 

> How do I get it to show up in the choices for Class?
>
> > > 5) How does one generate a template file?
> >
> >   That is a lyx file with some things from the preamble cutted.
>
> Where does one put the templates? I have a .lyx directory in my home
> directory  and each of the subdirectories is empty. I tried copying all the
> files in /usr/share/lyx/layouts to ~.lyx/layouts and restarted lyx. Still
> the manpage layout doesn't appear.

  This should be an hint that you don't have sgmltools 1 installed.
  What do you see in the command line when you call lyx and then do 
Edit->Reconfigure?

  I have one line that says:
+checking for linuxdoc class linuxdoc...  yes
...
+checking for linuxdoc class manpage...  yes

> > > Thanks
> >
> >   Tell me if this helps,
>
> Making some progress and your help certainly is appreciated.

  I saw your earlier message but it was impossible for me to reply before.

> >--
> >Jos� Ab�lio
>
>   * L I N U X * .~.  Paul A. Franz, P.E.      Engineering Software
>    The Choice   /V\  Blackdog Software        Network Consulting and Sales
>    of the GNU  /( )\ <http://blackdog.bellevue.wa.us/> Custom Web Services
>    Generation  ^^-^^ (425) 641-8202, (425) 641-1773 FAX    Internet FAX

-- 
Jos� Ab�lio

Reply via email to