emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: edgar@openmail.cc
To: emacs-orgmode@gnu.org
Subject: Re: export to odt with LaTeX math formulae and tables
Date: Sun, 20 May 2018 19:01:42 +0000	[thread overview]
Message-ID: <dcf2281f989164d91c9937482f1e0097@openmail.cc> (raw)
In-Reply-To: <mailman.69.1526832017.3852.emacs-orgmode@gnu.org>

> Message: 2
> Date: Sat, 19 May 2018 19:24:12 +0200
> From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
> To: emacs-orgmode list <emacs-orgmode@gnu.org>,	John Kitchin
> 	<jkitchin@andrew.cmu.edu>, 	John Kitchin <johnrkitchin@gmail.com>
> Subject: Re: [O] export to odt with LaTeX math formulae and tables
> Message-ID:
> 	<CAD-VTcE=+z+mLKm59RazgcXLuwDZyiNOmRNuS_BSr-MV422DyA@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hello John, hello the list,
> 
> The results of my efforts to export an org file with equations, proofs 
> and
> so on to odt: imagemagick works, but the png images are ugly. 
> References of
> equations and bibliography do not work,

I have the same problem. So far, I can either get inter-text references 
or external packages (depending on whether I use the export from Org or 
Pandoc), but not both. I wonder if using an OTT would suffice to change 
the size of all equations in the ODT (cannot test now; away from my 
computer). If that is the case, there is an option to change the 
configuration of imagemagick and dvipng when exporting from Org to ODT. 
There, you can set the scale or resolution, I think. It makes the 
pictures to look bigger, but if the OTT forces them to be smaller again, 
I'm sure that they would look much better.

> because the png images do not
> reproduce the org-ref references.

I get the tags for the inter-text and bibliographic references coming 
from the LaTeX document (originally produced from Org --> LaTeX) when 
using Pandoc. I want to know: are you using Pandoc for this too?

Otherwise, I get nice inter-text references and can tweak the format if 
I take the Org export + LaTeXMLMath + OTT (template for ODT) --> ODT, 
but then I get no bibliograhpy. Is this the case for you too? If not, 
can you tell me how you solved this? (that is why I wanted to know if 
you are using Pandoc). Thanks!

> I am afraid that by using another way of
> exporting math. (Mathjax, Mathml...) I will not get the natural 
> deductions
> proofs that I get via proof.sty.

Yes, I think that has been my experience with other packages. You may 
want to get in touch with the people from LaTeXML to see if they can 
support proof.sty. In any case, there seems to be no immediate solution.

> (The export to odt or docx seems to be a
> real nightmare, and that is not very surprising, because LaTeX is the 
> only
> good solution...)

I agree on the nightmare! I made a bug (enhancement) report on 
LibreOffice to see if they can help with this. May be it would help if 
you add your "I want this too" :) . Also, consider that, when exporting 
to ODT, it's most likely because you are working with someone who does 
not care too much about the nice side of LaTeX. I would also advise you 
to consider loosing part of your format in your document. Instead of 
using \myformattingcommand{arg 1}{arg 2} which would produce a nice 
\frac{arg 1}{arg 2} in LaTeX, just replace your text for 1/2. They don't 
care!

> 
> Best wishes,
> 
> Jo.
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.gnu.org/archive/html/emacs-orgmode/attachments/20180519/e5191408/attachment.html>
> 

This link leads nowhere.

Having said all of this, I would like to ask the Org team to consider 
the next two improvements for the ODT export:
1. Support the \printbibliography[heading=none] LaTeX command (I am away 
from my computer right now, and cannot tell if it works without 
[heading=none]).
2. Support Org --> MathML with LaTeX packages (as compared to exporting 
with ImageMagick, MathToWeb or LaTeXML).


Salut!

-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  

       reply	other threads:[~2018-05-21  2:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.69.1526832017.3852.emacs-orgmode@gnu.org>
2018-05-20 19:01 ` edgar [this message]
2018-05-19  9:43 export to odt with LaTeX math formulae and tables edgar
  -- strict thread matches above, loose matches on Subject: below --
2018-05-19  9:20 edgar
2018-05-19 13:32 ` Joseph Vidal-Rosset
2018-05-19 15:52   ` Joseph Vidal-Rosset
2018-05-19 17:24     ` Joseph Vidal-Rosset
2018-05-25 20:07       ` Joseph Vidal-Rosset
2018-05-16 20:19 edgar
2018-05-17 16:31 ` Joseph Vidal-Rosset
2018-05-18  8:35   ` Joseph Vidal-Rosset
2018-05-18  9:48     ` edgar
2018-05-11 11:15 Joseph Vidal-Rosset
2018-05-11 11:31 ` Joseph Vidal-Rosset
2018-05-11 11:45 ` Eric S Fraga
2018-05-11 12:09   ` Joseph Vidal-Rosset
2018-05-11 13:16     ` Eric S Fraga
2018-05-18 10:01       ` Joseph Vidal-Rosset
2018-05-18 12:48         ` Joseph Vidal-Rosset
2018-05-11 12:29   ` Joseph Vidal-Rosset
2018-05-11 12:37     ` Nicolas Goaziou
2018-05-11 12:46       ` Joseph Vidal-Rosset

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dcf2281f989164d91c9937482f1e0097@openmail.cc \
    --to=edgar@openmail.cc \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).