[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] export to man page problem
From: |
Nicolas Goaziou |
Subject: |
Re: [O] export to man page problem |
Date: |
Sun, 07 Sep 2014 10:14:59 +0200 |
Manfred Lotz <address@hidden> writes:
> 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.
In this case, "_OPT" is a subscript, which is translated into
"MYCMD\d\s-2OPT\s+2\u". For some reason, groff doesn't recognize this
markup.
Anyway, you probably don't want a subscript here. Locally, you can use
a macro instead:
MYCMD\under{}OPT
or simply disable subscript (and superscript) for the whole document:
#+OPTIONS: ^:nil
Regards,
--
Nicolas Goaziou