emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* is there a way to have =var_name= in table
@ 2012-03-31 19:24 Stephen J. Barr
  2012-03-31 19:47 ` Carsten Dominik
  2012-05-23  5:33 ` Michael Brand
  0 siblings, 2 replies; 6+ messages in thread
From: Stephen J. Barr @ 2012-03-31 19:24 UTC (permalink / raw)
  To: emacs-orgmode

Dear org-mode list,

Quick and easy question:

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

E.g.

| 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? :)

Thanks,
Stephen

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: is there a way to have =var_name= in table
  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
  2012-05-23  5:33 ` Michael Brand
  1 sibling, 2 replies; 6+ messages in thread
From: Carsten Dominik @ 2012-03-31 19:47 UTC (permalink / raw)
  To: Stephen J. Barr; +Cc: emacs-orgmode


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

> Dear org-mode list,
> 
> Quick and easy question:
> 
> I want to make a document that has a table where one column has
> variables and another column has descriptions.
> 
> E.g.
> 
> | 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? :)


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

- Carsten

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: is there a way to have =var_name= in table
  2012-03-31 19:47 ` Carsten Dominik
@ 2012-04-01 20:13   ` Stephen J. Barr
  2012-05-21 13:24   ` François Pinard
  1 sibling, 0 replies; 6+ messages in thread
From: Stephen J. Barr @ 2012-04-01 20:13 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Excellent. Thank you.

On Sat, Mar 31, 2012 at 3:47 PM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>
> On 31.3.2012, at 21:24, Stephen J. Barr wrote:
>
>> Dear org-mode list,
>>
>> Quick and easy question:
>>
>> I want to make a document that has a table where one column has
>> variables and another column has descriptions.
>>
>> E.g.
>>
>> | 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? :)
>
>
> | VAR NAMES | DESC                   |
> |-----------+------------------------|
> | ~var1~    | this is the first var  |
> | ~var2~    | this is the second var |
> |           |                        |
> |-----------+------------------------|
>
> - Carsten
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: is there a way to have =var_name= in table
  2012-03-31 19:47 ` Carsten Dominik
  2012-04-01 20:13   ` Stephen J. Barr
@ 2012-05-21 13:24   ` François Pinard
  2012-05-22 23:13     ` Bastien
  1 sibling, 1 reply; 6+ messages in thread
From: François Pinard @ 2012-05-21 13:24 UTC (permalink / raw)
  To: emacs-orgmode

> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: is there a way to have =var_name= in table
  2012-05-21 13:24   ` François Pinard
@ 2012-05-22 23:13     ` Bastien
  0 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2012-05-22 23:13 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

François Pinard <pinard@iro.umontreal.ca> writes:

>    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~?  

For the current LaTeX exporter, Yes.

> Could I use any to avoid escaping problems of the other?
> (A bit like ' versus " in some languages?)

  This is =co%de=.
  This is ~verb%atim~.

gets exported as

  This is \texttt{co\%de}.
  This is \verb~verb%atim~.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: is there a way to have =var_name= in table
  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-05-23  5:33 ` Michael Brand
  1 sibling, 0 replies; 6+ messages in thread
From: Michael Brand @ 2012-05-23  5:33 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Stephen J. Barr

On Sat, Mar 31, 2012 at 9:24 PM, Stephen J. Barr <stephenjbarr@gmail.com> wrote:
[...]
> | =var1=    | this is the first var  |
[...]
> However, pressing [TAB] after writing =var1= causes #ERROR to show up.
[...]

Just for the records. This issue has been resolved in the meantime with:

commit 8342fdb70aa28edbb7b0b18bf1f3c0fd2dd561fa
Author: Bastien Guerry <bzg@altern.org>
Date:   Tue May 1 02:03:12 2012 +0200

It was also on my list of someday/maybe...

Michael

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-05-23  5:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2012-05-22 23:13     ` Bastien
2012-05-23  5:33 ` Michael Brand

Code repositories for project(s) associated with this 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).