From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)] Date: Wed, 30 Jun 2010 13:44:04 -0700 Message-ID: <871vbouu7f.fsf@gmail.com> References: <878w5w2w5y.fsf@thinkpad.tsdh.de> <87fx04qp9x.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=59516 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OU48g-0000Ia-6o for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 16:44:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OU48e-0001hF-L2 for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 16:44:10 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:46191) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU48e-0001h3-GV for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 16:44:08 -0400 Received: by pwi9 with SMTP id 9so1038398pwi.0 for ; Wed, 30 Jun 2010 13:44:07 -0700 (PDT) In-Reply-To: <87fx04qp9x.fsf@mundaneum.com> (=?utf-8?Q?=22S=C3=A9bastien?= Vauban"'s message of "Wed, 30 Jun 2010 21:44:10 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, The attached patch fixes this issue (and I believe the issue S=C3=A9bastien mentioned earlier) on my system. Best -- Eric --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-org-exp-comment-regexp-now-matches-indented-comments.patch >From 9a80e142eb9d39d70dbaa4a574653bea76abb31b Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Wed, 30 Jun 2010 13:41:13 -0700 Subject: [PATCH] org-exp: comment regexp now matches indented comments * lisp/org-exp.el (org-export-handle-comments): comment regexp no longer requires comments to start at the beginning of a line. --- lisp/org-exp.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 54afdac..766167e 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -1638,7 +1638,7 @@ table line. If it is a link, add it to the line containing the link." "Remove comments, or convert to backend-specific format. COMMENTSP can be a format string for publishing comments. When it is nil, all comments will be removed." - (let ((re "^\\(#\\|[ \t]*#\\+ \\)\\(.*\n?\\)") + (let ((re "^[ \t]*\\(#\\|[ \t]*#\\+ \\)\\(.*\n?\\)") pos) (goto-char (point-min)) (while (or (looking-at re) -- 1.7.0.4 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable S=C3=A9bastien Vauban writes: > Hi Tassilo, > > Tassilo Horn wrote: >> * Implementieren >> >> ** Composite Pattern >> >> #+ATTR_LaTeX: width=3D\textwidth >> [[./composite-pattern.png]] >> >> Unfortunately, the image doesn't show up, but the #+ATTR_LaTeX is >> displayed literally. Here's the LaTeX code produced by the LaTeX >> export. > > Just for information, this must be the same cause as for the symptom I > described in "Tables and environment with parameters". > > Best regards, > Seb --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--