groff
[Top][All Lists]
Advanced

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

Re: [Groff] roff mime types


From: Doug Royer
Subject: Re: [Groff] roff mime types
Date: Thu, 27 Jun 2002 17:55:09 -0600

Ralph Corderoy wrote:
> 
> Hi,
> 
> > > On my Linux system, the files /etc/mime.types has:
> > >
> > > application/x-troff             t tr roff
> > > application/x-troff-man         man
> > > application/x-troff-me          me
> > > application/x-troff-ms          ms
> > >
> > > This confirms what is "officially" considered an extension for a
> > > roff file.
> > >
> > > But `mm' and `mom' are lacking.  Does it make sense to define a new
> > > extension for every macro package?  With a future `.require' in
> > > mind, a common `t' would be good enough for all kinds of roff
> > > documents.  Both `mm' and `mom' and myself for the Gutenberg macro
> > > package `gb' must decide on this.
> >
> > I just want to say that I have nothing to say :-)
> >
> > To be serious: I don't know how to handle this gracefully.
> 
> It seems to me that the lines above from mime.types are a poor solution
> and shouldn't be extended further.  You only need one `troff' entry, and
> how to handle that is up to the user, although it should involve
> something that can have a stab at the correct command line, i.e. grog.

XML uses application/???+xml, so it could be:

        application/troff
        application/man+troff
        application/me+troff
        ...

Attachment: Doug.vcf
Description: Card for Doug Royer


reply via email to

[Prev in Thread] Current Thread [Next in Thread]