Hi Nicolas,
Thanks for answering.

On Sun, 07 Sep 2014 09:12:21 +0200
Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote:

> Hello,
> 
> Manfred Lotz <manfred.l...@arcor.de> writes:
> 
> > When exporting to a man page an underscore will be translated to
> > nothing. 
> >
> > Any idea what I could do?
> 
> Because I know close to nothing about Groff, could you give an example
> illustrating
> 
>   1. what you wrote,
>   2. what you expected to have in the ".man" file,
>   3. what you actually got.
> 
> 

Take this

<--------------snip---------------->
#+TITLE: mycmd
* NAME
mycmd - does very important things
* SYNOPSIS
mycmd.pl -u bla [-R] [-A] [-n] [-a] 
* DESCRIPTION
mycmd could be configured by setting environment variable MYCMD_OPT
<--------------snap---------------->

The man page looks like this:

mycmd(1)                                         General Commands
Manual                                         mycmd(1)



NAME
       mycmd - does very important things

SYNOPSIS
       mycmd.pl -u bla [-R] [-A] [-n] [-a]

DESCRIPTION
       mycmd could be configured by setting environment variable
MYCMDOPT



As you can see the _ (underscore) in MYCMD_OPT vanished.

-- 
Manfred



Reply via email to