emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Question about org-table
@ 2012-04-05  4:31 Rodolfo Aramayo
  2012-04-05  9:11 ` Dov Grobgeld
  2012-04-06  8:02 ` Bastien
  0 siblings, 2 replies; 3+ messages in thread
From: Rodolfo Aramayo @ 2012-04-05  4:31 UTC (permalink / raw)
  To: emacs-orgmode

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

People,

I am trying to use the powerful org-table features of org-mode to solve a
simple problem
I have imported a table from excel in both cvs and tab-delimited formats
and converted the region to table

the table looks like this:
##################################################################################
| Entry | Entry name | Protein names | Gene names | Length
|

| Q01284 | 2NPD_NEUCR | Nitronate monooxygenase (EC 1.13.12.16)
(2-nitropropane dioxygenase) (2-NPD) (Nitroalkane oxidase) | ncd-2
G17A4.200 NCU03949 | 378 |
| P05195 | 3DHQ_NEUCR | Catabolic 3-dehydroquinase (cDHQase) (EC 4.2.1.10)
(3-dehydroquinate dehydratase) | qa-2 NCU06023 | 173
|
| Q7SDX3 | 3HAO_NEUCR | 3-hydroxyanthranilate 3,4-dioxygenase (EC
1.13.11.6) (3-hydroxyanthranilate oxygenase) (3-HAO) (3-hydroxyanthranilic
acid dioxygenase) (HAD) (Biosynthesis of nicotinic acid
protein 1) | bna-1 NCU03282 | 180
|

| P07046 | 3SHD_NEUCR | 3-dehydroshikimate dehydratase (DHS dehydratase)
(DHSase) (EC 4.2.1.-) | qa-4 NCU06024 | 359
|

##################################################################################
but as soon as I try to align the columns, then org-table introduces a
myriad of spaces where there were previously none
Why is this happening?
What am I doing wrong?

I want to use org-mode for Bioinformatics and teach students to use it as a
tool, but I cannot do it unless things work seamless on my hands

Any help will be much appreciated

--Rodolfo Aramayo, PhD

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

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

* Re: Question about org-table
  2012-04-05  4:31 Question about org-table Rodolfo Aramayo
@ 2012-04-05  9:11 ` Dov Grobgeld
  2012-04-06  8:02 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Dov Grobgeld @ 2012-04-05  9:11 UTC (permalink / raw)
  To: Rodolfo Aramayo; +Cc: emacs-orgmode

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

I assume that your problem is due the long names in the column named
"protein". You can have org-table clip the columns to a more reasonable
length by adding a row that contains e.g. <20> in the column to clip. This
will clip the column to 20 characters. You can still edit the full column
contents by doing ~C-c `~.

Thus add the following new row in the beginning or the end of the table:

|        |            | <20>                 |
|        |

move to <20> and press C-c C-c.

See: http://orgmode.org/manual/Column-width-and-alignment.html

Regards,
Dov

On Thu, Apr 5, 2012 at 07:31, Rodolfo Aramayo <raramayo@tamu.edu> wrote:

> People,
>
> I am trying to use the powerful org-table features of org-mode to solve a
> simple problem
> I have imported a table from excel in both cvs and tab-delimited formats
> and converted the region to table
>
> the table looks like this:
>
> ##################################################################################
> | Entry | Entry name | Protein names | Gene names | Length
> |
>
> | Q01284 | 2NPD_NEUCR | Nitronate monooxygenase (EC 1.13.12.16)
> (2-nitropropane dioxygenase) (2-NPD) (Nitroalkane oxidase) | ncd-2
> G17A4.200 NCU03949 | 378 |
> | P05195 | 3DHQ_NEUCR | Catabolic 3-dehydroquinase (cDHQase) (EC 4.2.1.10)
> (3-dehydroquinate dehydratase) | qa-2 NCU06023 | 173
> |
> | Q7SDX3 | 3HAO_NEUCR | 3-hydroxyanthranilate 3,4-dioxygenase (EC
> 1.13.11.6) (3-hydroxyanthranilate oxygenase) (3-HAO) (3-hydroxyanthranilic
> acid dioxygenase) (HAD) (Biosynthesis of nicotinic acid
> protein 1) | bna-1 NCU03282 | 180
> |
>
> | P07046 | 3SHD_NEUCR | 3-dehydroshikimate dehydratase (DHS dehydratase)
> (DHSase) (EC 4.2.1.-) | qa-4 NCU06024 | 359
> |
>
>
> ##################################################################################
> but as soon as I try to align the columns, then org-table introduces a
> myriad of spaces where there were previously none
> Why is this happening?
> What am I doing wrong?
>
> I want to use org-mode for Bioinformatics and teach students to use it as
> a tool, but I cannot do it unless things work seamless on my hands
>
> Any help will be much appreciated
>
> --Rodolfo Aramayo, PhD
>

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

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

* Re: Question about org-table
  2012-04-05  4:31 Question about org-table Rodolfo Aramayo
  2012-04-05  9:11 ` Dov Grobgeld
@ 2012-04-06  8:02 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2012-04-06  8:02 UTC (permalink / raw)
  To: Rodolfo Aramayo; +Cc: emacs-orgmode

Hi Rodolfo,

please send plain-text emails -- especially for questions about
org-table, you will increase your audience a lot!

Thanks,

-- 
 Bastien

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

end of thread, other threads:[~2012-04-06  8:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-05  4:31 Question about org-table Rodolfo Aramayo
2012-04-05  9:11 ` Dov Grobgeld
2012-04-06  8:02 ` Bastien

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).