From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: preview latex fragment with latex_header Date: Wed, 06 Mar 2013 21:04:03 +0100 Message-ID: <87hakofg7g.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDKZX-0004CT-QQ for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 15:04:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDKZV-0002pN-6W for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 15:04:19 -0500 Received: from plane.gmane.org ([80.91.229.3]:58835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDKZV-0002oK-01 for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 15:04:17 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UDKZo-0004ln-CV for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 21:04:36 +0100 Received: from vpn-2097.gwdg.de ([134.76.2.97]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Mar 2013 21:04:36 +0100 Received: from andreas.leha by vpn-2097.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Mar 2013 21:04:36 +0100 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 all, I have a beamer presentation in org-mode that contains a line like #+LaTeX_HEADER: \subtitle{foo} This prevents me from using 'org-preview-latex-fragment' as that one -- naturally, as it uses the article class -- fails with 'Failed to create dvi file from /tmp/orgtex49760oq.tex' due to ,---- | ERROR: Undefined control sequence. | | --- TeX said --- | l.38 \subtitle `---- What's the remedy here? Thanks in advance! Regards, Andreas