Re:Literate Programming: Empower Your Writing with Emacs Org...
by swiley on Sunday July 08, 2018 @10:22AM
(#17483924)
It’s strange how few people use pandoc for word processing. Even if your goal is just to produce a docx file in the end it’s so much more pleasant to write it in markdown in a distraction free editor you’re comfortable with than to deal with word or writer.
Re:Literate Programming: Empower Your Writing with Emacs Org...
by antt on Sunday July 08, 2018 @10:47AM
(#17484011)
With the latest versions of pandoc and org-mode I find I write nearly exclusively org-files which are then converted to other file types without any pain. I don't think I've even had to write raw documents LaTeX in the last year, other than using TikZ for graphics.
Emacs+evil+org+pandoc is the Swiss army chainsaw of text manipulation.
Re:Literate Programming: Empower Your Writing with Emacs Org...
by Vekz on Sunday July 08, 2018 @02:10PM
(#17485205)
From my experience this is just unfortunate lack of awareness that Pandoc exists.
Re:Literate Programming: Empower Your Writing with Emacs Org...
by chrissoundz on Sunday July 08, 2018 @12:45PM
(#17484709)
Along the same lines, I've used Pandoc to convert a org-mode file into a revealjs presentation.
Re:Literate Programming: Empower Your Writing with Emacs Org...
by lionyo on Sunday July 08, 2018 @01:22PM
(#17484952)
I've been using revealjs too! I've been using this: https://github.com/yjwen/org-reveal
Re:Literate Programming: Empower Your Writing with Emacs Org...
by gkya on Sunday July 08, 2018 @11:24AM
(#17484209)
Org mode can natively export to all that formats, and more. The end result is always better than pandoc's, and it lends itself better to the customisation of the process and hooking in your own functions to further modify it.
Re:Literate Programming: Empower Your Writing with Emacs Org...
by BeetleB on Sunday July 08, 2018 @11:21AM
(#17484187)
You can export to all these formats, but what if they edit the DOC file and send it back to you? How do you bring those changes back to org? Will pandoc preserve your converted org mode file structure?
I've used org-mode at work and this was actually the strongest selling point. Using pandoc and massaging the org-mode reader to map better onto the pandoc markdown ast I could export to pdf, html and docx (!!!). I had production code + prose sent to the CTO as a word attachment in an email and she loved it.
The tangle comments also meant I have a workflow to share the code as regular code with the rest of the team and use git to see which code sections they changed. There wasn't enough traffic to justify writing an un-tangler that put their code back into the original document but it seems like a very interesting problem.