From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Org-mode table/links -> mediawiki Date: Sun, 18 Jun 2017 12:01:21 +0100 Message-ID: <87bmplblvi.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMXxZ-0000H0-4Z for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 07:01:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMXxV-0002d3-Ui for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 07:01:37 -0400 Received: from avasout01.plus.net ([84.93.230.227]:55625) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dMXxV-0002bP-NL for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 07:01:33 -0400 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: org-mode-email --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 - =2D-8<---------------cut here---------------start------------->8--- | *Illegal* | *Category's* | *Legal* = | *Prescription only* | *Substitute* | *Others* | |-------------------------------+--------------------------+---------------= +---------------------+-----------------+--------------| | * Amphetamines | * :Category:Anaesthetics | * Alcohol = | * Alprazolam | * Buprenorphine | * Flumazenil | | * AMT | * Analgesics | * [[Betel nut]= [Betel nut]] | * Citalopram | * [[Methadone][Methadone]] | * [= [Naxolone][Naxolone]] | | * Anabolic Steroids | * Anticonvulsants | * [[Caffeine][= Caffeine]] | * Codeine | * [[Naltrexone][Naltrexone]] | = | | * Benzodiazepines | * Antidepressants | * [[Paracetamo= l][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 | | | =2D-8<---------------cut here---------------end--------------->8--- But I'm running up against problems, like these - =2D 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]]. =2D 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?=20 Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk DrugFacts =3D https://www.drugfacts.org.uk=20=20 Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAllGXYEACgkQNoGAGQr4 g1t/Sg/+OY08nChCqM6Thug/ptEUUyi1h/tevyOVpH/Y/UcbcVSkXpdNXxOtMjlF 1y29FyIeaS5D6mkG+m0xg3TFcDktY61S/jGZv0v1as8PS2I4PgPm7VCudZWAxpbF 4tH1gRl30c+CtvVWYcKg+lGtLm65XkYdhpOcYALqXwMqaRVqrOUz4SP6jKWaLcDD HVwBD4ir5QolGDNjZsavoAbqKkro8diXzv6UdI7DC9xrIjUAARD1zkCVIj01kz/t ywmwhB2R8P8bxKpu5y0xlfIziLXhP8PsTfmFJ1xMhAbFPY4LsHqYXQcusyv7AeP8 IjRxwtjPMnNTljOEo83cXjmhBFwqP3QvCiO6+rw2h0LOYZJ0h2rc7TLg9yL1J8o+ fgQcIlR9z7KV9cCS+ZKY0UXE7MNfdy6YHGt6OgU4rtlSQA7Qo7KGNCUPjMV1FlSw dYFrHmc/w4LRBgAUjCK1W1M614iarzxCRntnJBnc5MvHRc4IsKOPf/5HsXl1cFza cQVRV3+yGT5sBCDBLcpWzED5QogSJ4H8dJL13IVI5d2tJHp9M0elG9IdO0Oc7ijp +pzSLIfKeopmo/O37Pbd5wjHNHzBY0zwW8tNclfqBG5Nuf2TZ8jpopcab39NUg9d FM18k8+Cg8b+aijj41o9bhddO1KWMx1xgsdU3auGVWb5weHIqzA= =tAtD -----END PGP SIGNATURE----- --=-=-=--