From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: insert cell inside an org-mode table? Date: Wed, 7 Jun 2017 08:58:11 -0600 Message-ID: References: <87h8zs9dyu.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11472ba611bab305515ff7d4" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIcPX-0004yk-Ju for emacs-orgmode@gnu.org; Wed, 07 Jun 2017 10:58:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIcPW-0000AF-8C for emacs-orgmode@gnu.org; Wed, 07 Jun 2017 10:58:15 -0400 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:33291) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIcPV-00009x-Uo for emacs-orgmode@gnu.org; Wed, 07 Jun 2017 10:58:14 -0400 Received: by mail-wm0-x22e.google.com with SMTP id m7so33667883wmg.0 for ; Wed, 07 Jun 2017 07:58:13 -0700 (PDT) In-Reply-To: <87h8zs9dyu.fsf@skimble.plus.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Sharon Kimble Cc: org-mode-email --001a11472ba611bab305515ff7d4 Content-Type: text/plain; charset="UTF-8" I don't totally understand what you want to do. You can insert a row or column into a table. org-table-insert-column org-table-insert-row Are you trying to do something different than that? John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Wed, Jun 7, 2017 at 6:31 AM, Sharon Kimble wrote: > > I maintain my 'DrugFacts' website in mediawiki. I write my article in > org-mode, export to mediawiki, correct the citations, then cut and paste > into my mediawiki page. And it all works very well. > > But the front-page is a right swine! Here is the first two rows of my > mediawiki front-page - > > --8<---------------cut here---------------start------------->8--- > {| > | '''Illegal''' > | '''Category's''' > | '''Legal''' > | '''Prescription only''' > | '''Substitute''' > | '''Others''' > |- > |* [[Amphetamines]] > |* [[:Category:Anaesthetics|Anaesthetics]] > |* [[Alcohol]] > |* [[Alprazolam]] > |* [[Buprenorphine]] > |* [[Flumazenil]] > |- > --8<---------------cut here---------------end--------------->8--- > > And because writing mediawiki tables leads to brain damage, and a desire > to consume 6 pints of beer as the world is going to end in ten minutes, > according to Douglas Adams and Ford Prefect, I'm intending to create the > table in org-mode and then export to mediawiki, correct as necessary, > and upload. Which brings me to my question. > > Is it possible to insert a cell *inside* an org-mode table please, and > auto-shuffle other rows/columns about to fit? According to the 'Table' > menu in emacs, there isn't a way of doing it, and neither does the > org-mode manual say that it can be done. But perhaps other people have > found a way of doing it please? > > Hopefully thanks > Sharon. > -- > A taste of linux = http://www.sharons.org.uk > TGmeds = http://www.tgmeds.org.uk > DrugFacts = https://www.drugfacts.org.uk > Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7 > --001a11472ba611bab305515ff7d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don't totally understand what you want to do. You ca= n insert a row or column into a table.

=C2=A0 =C2= =A0 org-table-insert-column
=C2=A0 =C2=A0 org-table-insert-row

Are you trying to do something different than = that?

=
John

-----------------------------------
Pr= ofessor John Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical = Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-26= 8-7803

On Wed, Jun 7, 2017 at 6:31 AM, Sharon Kimbl= e <boudiccas@skimble.plus.com> wrote:

I maintain my 'DrugFacts' website in mediawiki. I write my article = in
org-mode, export to mediawiki, correct the citations, then cut and paste into my mediawiki page. And it all works very well.

But the front-page is a right swine! Here is the first two rows of my media= wiki front-page -

--8<---------------cut here---------------start------------->8--= -
{| <!-- class=3D"wikitable" -->
| '''Illegal'''
| '''Category's'''
| '''Legal'''
| '''Prescription only'''
| '''Substitute'''
| '''Others'''
|-
|* [[Amphetamines]]
|* [[:Category:Anaesthetics|Anaesthetics]]
|* [[Alcohol]]
|* [[Alprazolam]]
|* [[Buprenorphine]]
|* [[Flumazenil]]
|-
--8<---------------cut here---------------end--------------->8--= -

And because writing mediawiki tables leads to brain damage, and a desire to consume 6 pints of beer as the world is going to end in ten minutes,
according to Douglas Adams and Ford Prefect, I'm intending to create th= e
table in org-mode and then export to mediawiki, correct as necessary,
and upload. Which brings me to my question.

Is it possible to insert a cell *inside* an org-mode table please, and
auto-shuffle other rows/columns about to fit? According to the 'Table&#= 39;
menu in emacs, there isn't a way of doing it, and neither does the
org-mode manual say that it can be done. But perhaps other people have
found a way of doing it please?

Hopefully thanks
Sharon.
--
A taste of linux =3D http://www.sharons.org.uk
TGmeds =3D http://www.tgmeds.org.uk
DrugFacts =3D https://www.drugfacts.org.uk
Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7

--001a11472ba611bab305515ff7d4--