groff
[Top][All Lists]
Advanced

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

Re: [Groff] new groff-filenames.7 (roff filename extensions)


From: Pierre-Jean
Subject: Re: [Groff] new groff-filenames.7 (roff filename extensions)
Date: Wed, 23 Jan 2013 12:58:14 +0100
User-agent: Heirloom mailx 12.5 7/5/10

Hello troffers,

"Bernd Warken" <address@hidden> wrote:

> the filename extensions for files using the roff language are not
> documented.  As there are many of these, a kind of standard should be
> implemented.  I propose the following description as a man-page
> "groff-filenames.7"0.  It should go to groff/man/groff-filenames.man


I think that documenting filename extensions is a good idea.
People who discover troff today can't know which extension
give to their troff files, since (except manual pages), none
exist on their system.

In such a documentation, the .tmac should be added for
macros. It could also be said that in the original troff, and
so in heirloom troff, macros are named "tmac.file".

It should also be of interest to say something about
freedesktop standart: it recognize *.tr, *.roff, *.t, *.me,
*.ms, *.mm, and *.man. It also recognizes troff files if
they begin by a comment (ie by .\" or '\" ).

> <name>.ref    for files using the prefer preprocesor


Since I've got a lot of refer files, I've added a
text/x-refer mime type in my system. It recognizes the file
if it has the extension .ref or if it begins by a %.

Here follow the refer.xml file which add this mime type, and
a simple makefile to install it. Most of the translation
should be corrected.

I also have got a set of icons for troff files, based on a
famous icon theme. I can share them if wanted.

Cheers,

Pierre-Jean.



Attachment: refer.xml
Description: application/xml

Attachment: refer.makefile
Description: Text document


reply via email to

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