[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Several file arguments to groff
From: |
Kees Zeelenberg |
Subject: |
Re: [Groff] Several file arguments to groff |
Date: |
Tue, 22 Oct 2002 00:22:39 +0200 |
----- Oorspronkelijk bericht -----
Van: "Werner LEMBERG" <address@hidden>
Aan: <address@hidden>
CC: <address@hidden>; <address@hidden>
Verzonden: maandag 21 oktober 2002 21:33
Onderwerp: Re: [Groff] Several file arguments to groff
> > > The only useful exception I can see is to support man and mdoc at
> > > the same time; it should not be too hard to implement this but I
> > > currently don't feel like doing this. As usual, volunteers
> > > welcome.
> >
> > This is already provided by the mandoc macros: it selects man or
> > mdoc depending on the kind of macros it finds in the document.
>
> Maybe a misunderstanding: mandoc works only for a *single* document;
> you still can't say e.g.
>
>
> groff -mandoc groff_mdoc.man groff_man.man
Mandoc works by redefining the first macro to be encountered in a man document
and in an mdoc document. So at least in principle, this could work also for a
series of files. But in practice, with a series of more than one file, groff
exits on the mdoc document in the series with the message: Input stack limit
exceeded. Perhaps this can be fixed by an appropriate change to mandoc.
Kees Zeelenberg
- [Groff] Several file arguments to groff, Bernd Warken, 2002/10/19
- Re: [Groff] Several file arguments to groff, Bernd Warken, 2002/10/21
- Re: [Groff] Several file arguments to groff, Werner LEMBERG, 2002/10/21
- Re: [Groff] Several file arguments to groff, Bernd Warken, 2002/10/22
- Re: [Groff] Several file arguments to groff, Bernd Warken, 2002/10/22
- Message not available
- Re: [Groff] Several file arguments to groff, Bernd Warken, 2002/10/22
- Re: [Groff] Several file arguments to groff, T. Kurt Bond, 2002/10/22
- Re: [Groff] Several file arguments to groff, Bernd Warken, 2002/10/22
- Re: [Groff] Several file arguments to groff, Werner LEMBERG, 2002/10/23
- Re: [Groff] Several file arguments to groff, T. Kurt Bond, 2002/10/22