Date: Thu, 8 Aug 1996 17:47:50 +0200 (MET DST) From: Sandro Sigala <sansig@freenet.hut.fi> To: freebsd-hackers@freebsd.org Subject: problem while writing *roff man page Message-ID: <Pine.LNX.3.94.960808174537.5543A-100000@linux.local.net>
next in thread | raw e-mail | index | archive | help
Hi, i have a little problem writing a man page (Berkeley-style, mandoc) for a my program. This is the header. .Dd August 7, 1996 .Os .Dt CINFOC 1 .Sh NAME .Nm cinfoc .Nd cinfo database compiler .Sh SYNOPSIS .Nm cinfoc .Op Fl dV <------ This is the problem .Op Ar .Sh DESCRIPTION [..snip..] The problem is that 'dV' is defined as a macro by the mandoc macro package, so the *roff formatter doesn't print: SYNOPSIS cinfoc [-dV] [file ...] but some crap/garbage/stuff/... :-) like: SYNOPSIS cinfoc [-[]] [file ...] How to 'disable' the dV evaluation (need an escape like the '\' in C)? I tried those lines but are not the solution. .Op Fl \Dv .Op Fl 'Dv' .Op Fl "Dv' .... thanks in advance.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.94.960808174537.5543A-100000>