emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: org-mode vs pandoc export
@ 2019-09-27 12:36 CHARPENTIER Emmanuel
  0 siblings, 0 replies; 4+ messages in thread
From: CHARPENTIER Emmanuel @ 2019-09-27 12:36 UTC (permalink / raw)
  To: joseph.vidal.rosset@gmail.com, emacs-orgmode@gnu.org

1) I just checked: I was incorrect, Pythontex now has complete support
for R language. One can now use it for processing \LaTeX files
including Sage, R (and of course, Python) chunks.

2) Please, DO NOT include "images of a table" in a scientific document!
Lazy students pull this one on me in their manuscripts, and it's a
pain: you can't do a thing with such horrors, and you have to retype
manually these data if you want to work on them...

3) Did you try the route org-->LaTeX-->WhateverViaPandoc suggested by
John Kitchin ?

--
Emmanuel Charpentier

PS: I'm surprised that a philosophy journal does not accept \LaTeX
submissions: formal mathematics have been part of the philosophical
toolbox for a looooong while (since about 700 BC IIRC...).


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: org-mode vs pandoc export
@ 2019-09-27  5:13 Emmanuel Charpentier
  2019-09-27  6:19 ` Joseph Vidal-Rosset
  0 siblings, 1 reply; 4+ messages in thread
From: Emmanuel Charpentier @ 2019-09-27  5:13 UTC (permalink / raw)
  To: joseph.vidal.rosset, emacs-orgmode

I suppose that you need org-mode to use Babel features (code and/or
code execution results intermixed with your paper's text).

I have had trouble with .dot exporting using the builtin .dot exporter,
but can't, for the life of me, remembering if my troubles were cross-
reference or citations-related (an academic paper usually needs
both...). I noted that the references done via John Kitchin's excellent
org-ref didn't export to .dot.

As far as I can tell, ox-pandoc does its own numbering (generating an
intermediate temporary file that I never managed to catch) and does not
use  pandoc-crossref.

ISTR that a "clever" use of org-ref allows to number equations... in
LaTeX output. I also STR that it doesn't work in .docx output. John
Kitchin (the org-ref author) thinks that the key is to generate a
correct \LaTeX file and to export that to .docx via pandoc.

At this point, writing a \LaTeX file with pandoc export in mind is
probably your best bet. There exist (limited) alternatives to the 
Babel features of org-mode:
 - knitr (supports R and Python code in "session"mode, i. e. continuity
between code chunks),
 - SageTeX (post-processing in a single Sagemath run ; can include code
for a variety of math software, including R),
 - Pythontex (postprocessor, supports Python, Sage, Octave and a couple
other, but not R ; a clever use of knitr and Pythontex is possible).

Possible alternative: Markdown + Codebraid (supports a hanful of
langiages, including R and (development branch) Sage). This should
accept pandoc-crossref numbering. But it's Markdown, with limited
formatting abilities...

So, we have an array of partial solutions, none universal. Pick your
poison...

Out of curiosity: in which domain still exist journal publishers not
accepting \LaTeX ? I suspect medicine...

HTH,

--
Emmanuel Charpentier

^ permalink raw reply	[flat|nested] 4+ messages in thread
* org-mode vs pandoc export
@ 2019-09-26 16:14 Joseph Vidal-Rosset
  0 siblings, 0 replies; 4+ messages in thread
From: Joseph Vidal-Rosset @ 2019-09-26 16:14 UTC (permalink / raw)
  To: Liste-emacs-orgmode@gnu.org

Hello,

Does someone succeeds to export scientific paper with numbering
formulas from LateX to odt or docx?

I have tried to use pandoc, but pandoc-crossref does not work...

(I hate these publishers that do not know LaTeX... )

Best wishes,

Jo.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-27 12:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-27 12:36 org-mode vs pandoc export CHARPENTIER Emmanuel
  -- strict thread matches above, loose matches on Subject: below --
2019-09-27  5:13 Emmanuel Charpentier
2019-09-27  6:19 ` Joseph Vidal-Rosset
2019-09-26 16:14 Joseph Vidal-Rosset

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).