From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manfred Lotz Subject: Re: export to man page problem Date: Sun, 7 Sep 2014 16:53:40 +0200 Message-ID: <20140907165340.307d4c7d@arcor.com> References: <20140907085612.6f5caec1@arcor.com> <87lhpvc3ai.fsf@nicolasgoaziou.fr> <20140907094531.0ebbc90b@arcor.com> <87ha0jc0e4.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQdxz-00046g-Au for emacs-orgmode@gnu.org; Sun, 07 Sep 2014 11:01:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQdxu-0000bW-5B for emacs-orgmode@gnu.org; Sun, 07 Sep 2014 11:01:23 -0400 Received: from plane.gmane.org ([80.91.229.3]:48280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQdxt-0000az-VI for emacs-orgmode@gnu.org; Sun, 07 Sep 2014 11:01:18 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XQdxq-0004KY-B9 for emacs-orgmode@gnu.org; Sun, 07 Sep 2014 17:01:14 +0200 Received: from p4fff26cf.dip0.t-ipconnect.de ([79.255.38.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Sep 2014 17:01:14 +0200 Received: from manfred.lotz by p4fff26cf.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Sep 2014 17:01:14 +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: emacs-orgmode@gnu.org On Sun, 07 Sep 2014 10:14:59 +0200 Nicolas Goaziou wrote: > 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 > > 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