emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* exporting latex fragments to ODT using imagemagick
@ 2015-01-19 17:51 Eric S Fraga
  2015-01-19 18:02 ` Eric S Fraga
  2015-01-21  9:42 ` Sebastien Vauban
  0 siblings, 2 replies; 6+ messages in thread
From: Eric S Fraga @ 2015-01-19 17:51 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]

Hello,

hopefully this request is not as embarrassing as my last one to this
list earlier today... :-)  regardless, I am definitely confused and
things are driving me crazy.  You can tell I have a deadline... :(

I need to export a document to ODT, a document that has a significant
amount of LaTeX maths.  I am using tex:imagemagick.  Unfortunately, the
export fails because it is trying to create images from LaTeX fragments
in part of my document that should not be exported.

This doesn't happen with emacs -Q so I have obviously configured
something very badly.  Note, however, that with or without -Q and with
or without my customisations, the exporter is trying to generate latex
fragments for text that should not be exported.

The very strange thing is that the exporter tries to create a file
called

   orgtex6279iVF.pdf wasn't produced

(yes, the file name includes the text after pdf) in the sub-directory

   OpenDocument export failed: file /tmp/

relative to where the org document is.

The attached is a minimal example.

By the way, this minimal example does work with emacs -Q except that the
document produced has a spurious "1. END" line at the end.

Any hints as to what in my configuration may be affecting things would
be most welcome.  

thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-726-gd34b80.dirty

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: examplebug.org --]
[-- Type: text/x-org, Size: 404 bytes --]

#+TITLE:     examplebug.org
#+AUTHOR:    Eric S Fraga
#+options: tex:dvipng
* exporting latex maths to odt
In the following equation,

\[ y = \sqrt{x} \]

we have two variables.  Rearrange to solve for \(x\) given \(y\).

*************** solution                        :noexport:

\[ x = y^2 \]
is the solution.  But I want an equation that needs some definition:
\[ x = \ydot^2 \]

*************** END

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

end of thread, other threads:[~2015-01-24 14:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-19 17:51 exporting latex fragments to ODT using imagemagick Eric S Fraga
2015-01-19 18:02 ` Eric S Fraga
2015-01-21  9:42 ` Sebastien Vauban
2015-01-21 15:55   ` e.fraga
2015-01-23 23:08     ` Nicolas Goaziou
2015-01-24 14:12       ` Eric S Fraga

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).