From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: Verbatim inverted commas? Date: Wed, 15 Apr 2015 12:27:53 +0100 Message-ID: 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]:48047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiLUF-0006F4-Ra for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 07:28:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiLUB-0004yg-5c for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 07:28:07 -0400 Received: from plane.gmane.org ([80.91.229.3]:32823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiLUA-0004yQ-WF for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 07:28:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YiLU9-0004NY-Lt for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 13:28:01 +0200 Received: from 193.63.220.90 ([193.63.220.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Apr 2015 13:28:01 +0200 Received: from andreas.leha by 193.63.220.90 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Apr 2015 13:28:01 +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 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 > 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