emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Hannon <jm_hannon@yahoo.com>
To: Org-Mode List <emacs-orgmode@gnu.org>
Subject: monospace (=) and quotes not getting along
Date: Thu, 25 Aug 2011 15:02:33 -0700 (PDT)	[thread overview]
Message-ID: <1314309753.93337.YahooMailNeo@web161917.mail.bf1.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]

Greetings.  I have another dumb question related to HTML export.  In the
document I'm revising I have some R code and some references to R variables.
I'd like the R code and variables to appear in monospaced font.  This seems
easy enough.  Here's an example that works as I want it to work:

    To define =my_foobar= in this model, we issue the command:

        => my_foobar = dataset$foobar=

I've got a whole series of similar expressions, and they mostly do work, but
here's one that doesn't:

    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 code
doesn't.  It seems that the quotation marks are killing the process.

I've tried a number of stupid quoting tricks, such as using:

    ...\"someRandomWord\"=
    ...""someRandomWord""=

etc., but they typically make things worse.

BTW, using the begin/end_example construct does more or less what I want, but
it breaks the flow of the document, and there are many places in the document
where the =...= construct works just fine and gives the look I need.

Any suggestions?

Thanks,

-- Mike

[-- Attachment #2: Type: text/html, Size: 1592 bytes --]

             reply	other threads:[~2011-08-25 22:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-25 22:02 Michael Hannon [this message]
2011-08-25 23:45 ` monospace (=) and quotes not getting along Michael Gauland
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=1314309753.93337.YahooMailNeo@web161917.mail.bf1.yahoo.com \
    --to=jm_hannon@yahoo.com \
    --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).