From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Gauland Subject: Re: monospace (=) and quotes not getting along Date: Thu, 25 Aug 2011 23:45:02 +0000 (UTC) Message-ID: References: <1314309753.93337.YahooMailNeo@web161917.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwjbq-0005RU-Gz for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 19:45:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qwjbp-0002iH-M6 for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 19:45:18 -0400 Received: from lo.gmane.org ([80.91.229.12]:52746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwjbp-0002i1-Fm for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 19:45:17 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qwjbm-0000pY-5U for emacs-orgmode@gnu.org; Fri, 26 Aug 2011 01:45:14 +0200 Received: from 114-134-8-118.rurallink.co.nz ([114.134.8.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Aug 2011 01:45:14 +0200 Received: from mikelygee by 114-134-8-118.rurallink.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Aug 2011 01:45: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 Michael Hannon yahoo.com> writes: > To define =my_frabbitz= in this model, we issue the command: >    => my_frabbitz = "someRandomWord"= > The "my_frabbitz" in the sentence comes out in monospace, but the > R codedoesn't.  It seems that the quotation marks are killing the process. I don't remember why this happens, but I've dealt with it by inserting a null between the quote and the equals. I use export hooks to remove the null from the exported HTML and LaTeX files: (add-hook 'org-export-latex-final-hook (lambda () (goto-char (point-min)) (while (re-search-forward "^@" nil t) (replace-match "") ) ) ) (add-hook 'org-export-html-final-hook (lambda () (goto-char (point-min)) (while (re-search-forward "^@" nil t) (replace-match "") ) ) ) --(a different) Mike