๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #122

Re: [Off Topic] indent et ses amis

#122
From: Cyrille Lefevre
Date: Mon, 03 Jul 2000 00:00
30 lines
2148 bytes
"Pascal Cabaud" <Pascal.Cabaud@wanadoo.fr> wrote in message
news:3960E36A.97D5C324@wanadoo.fr...
> Bonjour a tous,
>
> Voila mon probleme : je cherche a formater du code C pour avoir une
> sortie .ps avec les mots clefs / fonctions standards / commentaires /
> ... en gras / italique / ... et j'aimerai eviter LaTeX (autant re-taper
> le code ou presque).
>
> Dans WELSH (_Le systeme Linux_, 3eme ed), je lis (page 534) que c'est
> possible avec indent en passant :
> $ indent -troff code.c | groff -mindent
>
> J'essaie et je me fais jeter. J'epluche la doc' et je laisse tomber
> "-troff" qui n'a pas l'air d'exister. J'essaie le reste... idem. Je lis
> la doc' de groff, j'epluche les sources  a la recherche d'une eventuelle
> option "-mindent"... RIEN.
>
> C'est moi qui suis neuneu ? Quelqu'un a une / la solution ?

vgrind (pas sur tout les os) ou lgrind (utilise latex).
enscript, nenscript ou genscript (selon l'os).

Cyrille.
--
home: mailto:clefevre@no-spam.citeweb.net   Remove "no-spam." to answer me
back.
work: mailto:Cyrille.Lefevre@no-spam.edf.fr Enlevez "no-spam." pour me
r๏ฟฝpondre.
Technical Details
Message-ID: <8jqsmd$7hl$1@news3.isdnet.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3960E36A.97D5C324@wanadoo.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: f9822,be2e2ffe04ffe7b8
X-Google-Attributes: gidf9822,public
X-Google-Thread: 102e15,be2e2ffe04ffe7b8
X-Google-Attributes: gid102e15,public
X-Google-Thread: 110f2c,be2e2ffe04ffe7b8
X-Google-Attributes: gid110f2c,public
From: "Cyrille Lefevre" <clefevre@no-spam.citeweb.net>
Subject: Re: [Off Topic] indent et ses amis
Date: 2000/07/03
Message-ID: <8jqsmd$7hl$1@news3.isdnet.net>
X-Deja-AN: 641963703
Content-Transfer-Encoding: 8bit
References: <3960E36A.97D5C324@wanadoo.fr>
X-Priority: 3
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901
X-Complaints-To: abuse@isdnet.net
X-Trace: news3.isdnet.net 962655757 7733 195.132.224.65 (3 Jul 2000 20:22:37 GMT)
Organization: ACME
X-MSMail-Priority: Normal
Mime-Version: 1.0
Reply-To: "Cyrille Lefevre" <clefevre@no-spam.citeweb.net>
NNTP-Posting-Date: 3 Jul 2000 20:22:37 GMT
Newsgroups: fr.comp.lang.c,fr.comp.developpement,fr.comp.os.unix