From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: ox-odt doesn't honor :anchor "page" Date: Tue, 30 Sep 2014 09:58:01 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYsJW-0003Jn-FL for emacs-orgmode@gnu.org; Tue, 30 Sep 2014 03:57:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYsJP-0007b6-1e for emacs-orgmode@gnu.org; Tue, 30 Sep 2014 03:57:38 -0400 Received: from mail2.b1.hitrost.net ([91.185.211.205]:38044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYsJO-0007Yc-Rj for emacs-orgmode@gnu.org; Tue, 30 Sep 2014 03:57:30 -0400 In-reply-to: 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: =?utf-8?Q?Martin_G=C3=BCrtler?= Cc: emacs-orgmode@gnu.org Confirmed, but it seems to be a documentation error, not a bug. It works if you leave out the quotation marks: #+ATTR_ODT: :anchor page The docs do indeed unequivocally require quotation marks, but I don't think there is any need for them. Yours, Christian Martin Gürtler writes: > Hi, > > I'm using Org-mode version 8.2.7c (8.2.7c-74-gd2ecbe-elpa, org-plus-contrib > package). > > I am writing a documentation in org mode with the intent of exporting it to > libreoffice (using libreoffice 4.2.6.3 on ubuntu 12.04). > > This works in general very well. > > I have a minor problem with image anchors. > > I think I followed the docs when writing > > #+ATTR_ODT: :width 17 :anchor "page" > #+CAPTION: Some text. > #+LABEL: fig:figureLabel > [[file:someFig.png]] > > The :anchor statement seems to be ignored in the export process, I always > get images anchored to the paragraph. > > When using Jambunathan's version of ox-odt I get images anchored to the > page, but there seem to be problems if there are two images on one page, > images covering each other when both are anchored to the page.. > > One of the few cases where doc is ahead of implementation? > > > Regards > > Martin