From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Verbatim inverted commas? Date: Wed, 15 Apr 2015 14:59:12 +0200 Message-ID: <878udt35un.fsf@hornfels.zedat.fu-berlin.de> References: <87zj693h83.fsf@hornfels.zedat.fu-berlin.de> <87bnipeo4y.fsf@gmx.us> <87r3rl39gx.fsf@hornfels.zedat.fu-berlin.de> <87lhhtd26f.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]:37984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiMub-0001hz-VU for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 08:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiMuY-0003XL-Oq for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 08:59:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:40012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiMuY-0003X9-Hg for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 08:59:22 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YiMuV-0000QM-FO for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 14:59:19 +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:59:19 +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:59:19 +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: > >> 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. >>> >>> 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 >> >> I'm actually using it as a heading: >> >> **** =sinfo -elo "%30N %.5D %9P %11T %.6m %20E"= >> >> However, I've already tried using ~, but this doesn't work either. > > This works for me if using xelatex: > > * =sinfo -elo "%30N %.5D %9P %11T %.6m %20E"​= > > —Rasmus I tried both adding the following to my org file: ,------------------------------------------------------------------------------------- | #+BEGIN_SRC emacs-lisp :exports results :results silent | (setq org-latex-pdf-process | '("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f")) | #+END_SRC `------------------------------------------------------------------------------------- and running xelatex directly in the shell on the tex file, but neither worked for me. Cheers, Loris -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.bennett@fu-berlin.de