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 09:45:31 +0200 Message-ID: <20140907094531.0ebbc90b@arcor.com> References: <20140907085612.6f5caec1@arcor.com> <87lhpvc3ai.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]:55745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQXAa-0001cY-LA for emacs-orgmode@gnu.org; Sun, 07 Sep 2014 03:46:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQXAT-0003F3-QN for emacs-orgmode@gnu.org; Sun, 07 Sep 2014 03:45:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:33337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQXAT-0003EV-KH for emacs-orgmode@gnu.org; Sun, 07 Sep 2014 03:45:49 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XQXAS-0004DY-Hn for emacs-orgmode@gnu.org; Sun, 07 Sep 2014 09:45:48 +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 09:45:48 +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 09:45:48 +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 Hi Nicolas, Thanks for answering. On Sun, 07 Sep 2014 09:12:21 +0200 Nicolas Goaziou wrote: > Hello, > > Manfred Lotz 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