From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christophe Jorssen Newsgroups: gmane.emacs.help Subject: [auctex-preview] Preview a tikzpicture environment Date: 26 Oct 2008 20:19:26 GMT Organization: Guest of ProXad - France Message-ID: <4904d0cd$0$10795$426a74cc@news.free.fr> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1225053923 14428 80.91.229.10 (26 Oct 2008 20:45:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Oct 2008 20:45:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 26 22:22:13 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1KuD3n-0001Xo-Io for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Oct 2008 22:22:08 +0100 Original-Received: from localhost ([127.0.0.1]:55967 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuCTy-0005JT-Pc for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Oct 2008 16:45:06 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp5-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Pan/0.132 (Waxed in Black) Original-Lines: 37 Original-NNTP-Posting-Date: 26 Oct 2008 21:19:26 MET Original-NNTP-Posting-Host: 82.228.49.39 Original-X-Trace: 1225052366 news-1.free.fr 10795 82.228.49.39:57013 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:163833 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59174 Archived-At: Hello all, I use preview to preview my tikzpicture in a latex document (with auctex). In the preamble, I put a \PreviewEnvironment{tikzpicture} It works fine, except when I have computed coordinates with $ (I suppose that there is a conflict with the preview of inline math). For instance \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{calc} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \begin{document} \begin{tikzpicture} \draw[help lines] (0,0) grid (5,5); \coordinate (X) at (1,2); \coordinate (Y) at (2,1); % The problem is here \coordinate (Z) at ($(X)+3*(Y)$); \end{tikzpicture} \end{document} Any ideas? Thanks in advance -- Christophe