From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: [Org-Drill] Latex Images are removed in sessions Date: Thu, 09 Oct 2014 21:23:37 +0200 Message-ID: <84oatldp3a.fsf@tm6592.fritz.box> References: <8738axcepg.fsf@ilxwinb01.fritz.box> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcJJi-0001Kw-Ty for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 15:24:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcJJd-0008IN-EY for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 15:24:02 -0400 Received: from plane.gmane.org ([80.91.229.3]:41692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcJJd-0008IB-8l for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 15:23:57 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XcJJW-0001zv-7N for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 21:23:50 +0200 Received: from stgt-4d02d57c.pool.mediaways.net ([77.2.213.124]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2014 21:23:50 +0200 Received: from marcowahlsoft by stgt-4d02d57c.pool.mediaways.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2014 21:23:50 +0200 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 Hi Thomas, > first of all thanks for the great piece of software. Totally agreed. > ------------------------------------------------------------ > * Einheitliche Kreisbewegung :drill: > > Zentripetale Beschleunigung bei gegebener Geschwindigkeit $v$ und > Radius $r$. > > ** Antwort > > #+BEGIN_LATEX > \begin{equation} > \label{eq:1} > a = \frac{v^2}{r}. > \end{equation} > #+END_LATEX > > ------------------------------------------------------------ > > What I usually do is to generate latex fragments of the whole tree by > going to the beginning of the buffer and executing > `org-toggle-latex-fragment' (C-c C-x C-l). After that I execute `M-x > org-drill'. This usually works rather fine. Although there are a few > issues: > > [...issues...] > > Can you give me a hint on how to investigate this problem further? > org-mode is on version 8.3beta (installed via el-get) and org-drill > seems to be at 2.4.1 at least it says so in org-drill.el. Obviously there already is some logic in org-drill.org to handle latex fragments. See the lines containing (org-preview-latex-fragment). Looks like the logic for displaying the fragments is somehow broken. A pragmatic patch to keep you going with physics drills could be to comment out all those lines containing (org-preview-latex-fragment) in org-drill.org. HTH, Marco -- http://www.wahlzone.de PGP: 0x0A3AE6F2