From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Verbatim inverted commas? Date: Wed, 15 Apr 2015 14:00:05 +0200 Message-ID: <87h9sh38l6.fsf@hornfels.zedat.fu-berlin.de> References: <87zj693h83.fsf@hornfels.zedat.fu-berlin.de> <87bnipeo4y.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiLzP-0007Ud-FE for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 08:00:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiLzK-0007GT-HE for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 08:00:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:35544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiLzK-0007G5-BY for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 08:00:14 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YiLzI-0003wM-FW for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 14:00:12 +0200 Received: from hornfels.zedat.fu-berlin.de ([160.45.11.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Apr 2015 14:00:12 +0200 Received: from loris.bennett by hornfels.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Apr 2015 14:00:12 +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 Andreas Leha writes: > Rasmus writes: >> "Loris Bennett" writes: >> >>> Hi, >>> >>> I am writing a beamer presentation and would like to have the following >>> exported in a monospaced font: >>> >>> sinfo -elo "%30N %.5D %9P %11T %.6m %20E" >>> >>> However, if I do >>> >>> =sinfo -elo "%30N %.5D %9P %11T %.6m %20E"= >>> >>> the second pair of inverted commas causes the markup to fail >>> and the entire string, equals signs and all, is exported. >>> >>> Is there some way I can escape the inverted commas to get this to work? >> >> If inline use: >> >> ~sinfo -elo "%30N %.5D %9P %11T %.6m %20E"​~ >> >> Note the zero width space. It should work with xelatex. Otherwise remove >> it with a filter. >> > > You could also do sth like (untested): > @@beamer:{\ttfamily @@sinfo -elo "%30N %.5D %9P %11T %.6m %20E"@@beamer:}@@ > > Andreas Thanks. This works. Cheers, Loris >> If it's in its own line you could use >> >> #+BEGIN_EXAMPLE >> sinfo -elo "%30N %.5D %9P %11T %.6m %20E" >> #+END_EXAMPLE >> >> Hope it helps, >> Rasmus > > > -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.bennett@fu-berlin.de