emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] monospace (=) and quotes not getting along


From: Michael Gauland
Subject: Re: [O] monospace (=) and quotes not getting along
Date: Thu, 25 Aug 2011 23:45:02 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Michael Hannon <jm_hannon <at> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]