vim-orgmode icon indicating copy to clipboard operation
vim-orgmode copied to clipboard

Implement export functionality to other formats

Open jceb opened this issue 14 years ago • 9 comments

Implement export functionality to other formats

jceb avatar Mar 07 '11 18:03 jceb

It's half-way done. liborgmode has been implemented. The export functionality will be implemented in the tool "orgcmd".

jceb avatar May 09 '11 12:05 jceb

orgmode offers quite a few export formats. Perhaps it would be better to reuse orgmodes capabilities instead of implementing everything again. It would be a lot of stuff to maintain.

See http://orgmode.org/manual/Exporting.html for an overview of the export formats.

It is fairly easy to call orgmodes export from within vim:

    cmd = "!emacs -nw --batch --visit=%:p --funcall=org-export-as-pdf"
    vim.command(cmd)

sotte avatar Jul 19 '11 10:07 sotte

Sounds good. A big disadvantage is of course the dependency to emacs. Nevertheless it would be good to implement it.

jceb avatar Jul 19 '11 18:07 jceb

I would also prefer to get the exportformats implemented in orgcmd. I don't think there are many vim users that like to install emacs.

fanglingsu avatar Jul 22 '11 14:07 fanglingsu

@fanglingsu: Don't worry. I don't consider dropping the plans for orgcmd. Export via emacs is just a step in between.

jceb avatar Jul 23 '11 10:07 jceb

Do you know pandoc? It can convert documents in quite a few formats. Might be interesting...

http://johnmacfarlane.net/pandoc/

sotte avatar Aug 04 '11 13:08 sotte

Sounds interesting. I'll have a look at it.

jceb avatar Aug 04 '11 19:08 jceb

I'd like to export to ODT. What is required to make that happen? potentially willing to contribute depending on the level of effort.

erahhal avatar May 15 '20 19:05 erahhal

Pandoc is great, hope vim-orgmode could use pandoc to convert and export org files as other formats.

suliveevil avatar Jun 11 '20 16:06 suliveevil