emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Pinard" <pinard@iro.umontreal.ca>
To: emacs-orgmode@gnu.org
Subject: Re: is there a way to have =var_name= in table
Date: Mon, 21 May 2012 09:24:46 -0400	[thread overview]
Message-ID: <86txz9r7j5.fsf@mercure.progiciels-bpi.ca> (raw)
In-Reply-To: <8DDF0DF6-373F-4F5D-800A-0D3671C1EA33@gmail.com> (Carsten Dominik's message of "Sat, 31 Mar 2012 21:47:51 +0200")

> On 31.3.2012, at 21:24, Stephen J. Barr wrote:

>> I want to make a document that has a table where one column has
>> variables and another column has descriptions.

>> | VAR NAMES | DESC                   |
>> |-----------+------------------------|
>> | =var1=    | this is the first var  |
>> | =var2=    | this is the second var |
>> |           |                        |
>> |-----------+------------------------|

>> However, pressing [TAB] after writing =var1= causes #ERROR to show up.
>> How do I make this work the way I am intending? :)

Carsten Dominik <carsten.dominik@gmail.com> writes:

> | VAR NAMES | DESC                   |
> |-----------+------------------------|
> | ~var1~    | this is the first var  |
> | ~var2~    | this is the second var |
> |           |                        |
> |-----------+------------------------|

Interesting, thanks.  The manual says:

   Emphasis and monospace
   ----------------------
   
   You can make words *bold*, /italic/, _underlined_, `=code=' and
   `~verbatim~', and, if you must, `+strike-through+'.  Text in the code
   and verbatim string is not processed for Org mode specific syntax; it
   is exported verbatim.

Is there any functional (or semantic?) difference between =code= and
~verbatim~?  Could I use any to avoid escaping problems of the other?
(A bit like ' versus " in some languages?)

François

  parent reply	other threads:[~2012-05-21 13:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-31 19:24 is there a way to have =var_name= in table Stephen J. Barr
2012-03-31 19:47 ` Carsten Dominik
2012-04-01 20:13   ` Stephen J. Barr
2012-05-21 13:24   ` François Pinard [this message]
2012-05-22 23:13     ` Bastien
2012-05-23  5:33 ` Michael Brand

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=86txz9r7j5.fsf@mercure.progiciels-bpi.ca \
    --to=pinard@iro.umontreal.ca \
    --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).