From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: exporting latex fragments to ODT using imagemagick Date: Mon, 19 Jan 2015 17:51:16 +0000 Message-ID: <87vbk2bqwb.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDGU2-0008IO-M4 for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 12:51:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDGTz-0004uZ-DU for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 12:51:26 -0500 Received: from mail-db3on0119.outbound.protection.outlook.com ([157.55.234.119]:4497 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDGTz-0004uH-4e for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 12:51:23 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename="examplebug.org" #+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 --=-=-=--