emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: exporting latex fragments to ODT using imagemagick
Date: Mon, 19 Jan 2015 17:51:16 +0000	[thread overview]
Message-ID: <87vbk2bqwb.fsf@ucl.ac.uk> (raw)

[-- 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

             reply	other threads:[~2015-01-19 17:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-19 17:51 Eric S Fraga [this message]
2015-01-19 18:02 ` exporting latex fragments to ODT using imagemagick 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

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=87vbk2bqwb.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --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).