emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org-mode table/links -> mediawiki


From: Nicolas Goaziou
Subject: Re: [O] Org-mode table/links -> mediawiki
Date: Mon, 19 Jun 2017 11:25:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Sharon Kimble <address@hidden> 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 
> nut][Betel nut]]   | * Citalopram        | * [[Methadone][Methadone]]     | * 
> [[Naxolone][Naxolone]]   |
> | * Anabolic Steroids           | * Anticonvulsants        | * 
> [[Caffeine][Caffeine]]    | * Codeine           | * 
> [[Naltrexone][Naltrexone]]    |              |
> | * Benzodiazepines             | * Antidepressants        | * 
> [[Paracetamol][Paracetamol]] | * Dextroamphetamine | * [[Suboxone][Suboxone]] 
>      |              |
> | * BZP                         | * Anxiolytics‏‎            | * 
> [[Tobacco][Tobacco]]     | * Diazepam          |                 |            
>   |
> | * Cannabis                    | * Appetite suppressants‏‎  |               
> | * 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,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]