emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] export to man page problem


From: Manfred Lotz
Subject: Re: [O] export to man page problem
Date: Sun, 7 Sep 2014 16:53:40 +0200

On Sun, 07 Sep 2014 10:14:59 +0200
Nicolas Goaziou <address@hidden> wrote:

> 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
> 
> 

In this case I prefer the OPTINS version. However, it is good to know I
just could use \under. 

Thanks a lot for your help.

-- 
Manfred






reply via email to

[Prev in Thread] Current Thread [Next in Thread]