From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org-mode table/links -> mediawiki Date: Mon, 19 Jun 2017 11:25:03 +0200 Message-ID: <87tw3cba8g.fsf@nicolasgoaziou.fr> References: <87bmplblvi.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMsvj-0001dP-Pn for emacs-orgmode@gnu.org; Mon, 19 Jun 2017 05:25:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMsvi-0000go-RB for emacs-orgmode@gnu.org; Mon, 19 Jun 2017 05:25:07 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:58878) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dMsvi-0000fD-Jw for emacs-orgmode@gnu.org; Mon, 19 Jun 2017 05:25:06 -0400 In-Reply-To: <87bmplblvi.fsf@skimble.plus.com> (Sharon Kimble's message of "Sun, 18 Jun 2017 12:01:21 +0100") 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 Hello, Sharon Kimble writes: > I'm at the stage of building an org-mode table to be exported to > mediawiki and its going to be the front page of my DrugFacts site. > > So far I'm here - > > | *Illegal* | *Category's* | *Legal*= | *Prescription only* | *Substitute* | *Others* | > |-------------------------------+--------------------------+-------------= --+---------------------+-----------------+--------------| > | * Amphetamines | * :Category:Anaesthetics | * Alcohol = | * Alprazolam | * Buprenorphine | * Flumazenil | > | * AMT | * Analgesics | * [[Betel nu= t][Betel nut]] | * Citalopram | * [[Methadone][Methadone]] | *= [[Naxolone][Naxolone]] | > | * Anabolic Steroids | * Anticonvulsants | * [[Caffeine= ][Caffeine]] | * Codeine | * [[Naltrexone][Naltrexone]] | = | > | * Benzodiazepines | * Antidepressants | * [[Paraceta= mol][Paracetamol]] | * Dextroamphetamine | * [[Suboxone][Suboxone]] | = | > | * BZP | * Anxiolytics=E2=80=8F=E2=80=8E = | * [[Tobacco][Tobacco]] | * Diazepam | | = | > | * Cannabis | * Appetite suppressants=E2=80=8F=E2=80= =8E | | * Fentanyl | | = | > > But I'm running up against problems, like these - > > - If I make it an org-mode link, like in 'Betel nut' then when I try to > export it I get a message like this "(user-error "Unable to resolve > link: \"Betel nut\"") in user-error". > - in mediawiki the link would be [[Betel nut]]. > > - In mediawiki 'Cannabis' is shown as [[Marijuana|Cannabis]], but > org-mode thinks that its another column in the table. > > Using an org-mode table means that its very easy to generate/export the > table into mediawiki format, so I really do want to use one, but I do > need to have an org-mode link be able to be changed into an mediawiki > link. > > How can I resolve both these problems please? I guess you could use a dedicated Org -> MediaWiki export backend, e.g., https://github.com/tomalexander/orgmode-mediawiki/ Regards, --=20 Nicolas Goaziou