From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: export to man page problem Date: Sun, 07 Sep 2014 10:14:59 +0200 Message-ID: <87ha0jc0e4.fsf@nicolasgoaziou.fr> References: <20140907085612.6f5caec1@arcor.com> <87lhpvc3ai.fsf@nicolasgoaziou.fr> <20140907094531.0ebbc90b@arcor.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQXc8-0004hM-SP for emacs-orgmode@gnu.org; Sun, 07 Sep 2014 04:14:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQXc1-0000vz-OD for emacs-orgmode@gnu.org; Sun, 07 Sep 2014 04:14:24 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:42529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQXc1-0000vu-In for emacs-orgmode@gnu.org; Sun, 07 Sep 2014 04:14:17 -0400 In-Reply-To: <20140907094531.0ebbc90b@arcor.com> (Manfred Lotz's message of "Sun, 7 Sep 2014 09:45:31 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Manfred Lotz Cc: emacs-orgmode@gnu.org Manfred Lotz 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