emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Gauland <mikelygee@no8wireless.co.nz>
To: emacs-orgmode@gnu.org
Subject: Re: monospace (=) and quotes not getting along
Date: Thu, 25 Aug 2011 23:45:02 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110826T013328-862@post.gmane.org> (raw)
In-Reply-To: 1314309753.93337.YahooMailNeo@web161917.mail.bf1.yahoo.com

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	other threads:[~2011-08-25 23:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-25 22:02 monospace (=) and quotes not getting along Michael Hannon
2011-08-25 23:45 ` Michael Gauland [this message]
2011-08-26  3:53   ` Michael Hannon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20110826T013328-862@post.gmane.org \
    --to=mikelygee@no8wireless.co.nz \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).