From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Geneste Subject: Difference between documentation and effective syntax for anchored images in odt export Date: Tue, 18 Sep 2018 14:09:41 +0200 Message-ID: <8aa5beee-e4c7-7718-ec29-2874f5fe11a7@enit.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------51FD60151182F811F6A51695" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2EpC-0007WL-Eu for emacs-orgmode@gnu.org; Tue, 18 Sep 2018 08:09:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2Ep8-00019N-Rr for emacs-orgmode@gnu.org; Tue, 18 Sep 2018 08:09:50 -0400 Received: from smtp-out.enit.fr ([193.50.189.3]:52500) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g2Ep8-00011i-Ea for emacs-orgmode@gnu.org; Tue, 18 Sep 2018 08:09:46 -0400 Received: from mail.enit.fr (mail.enit.fr [193.50.189.5]) by smtp-out.enit.fr (Postfix) with ESMTPS id 8F4E91FFB7 for ; Tue, 18 Sep 2018 14:09:41 +0200 (CEST) Received: from mail.enit.fr (localhost [127.0.0.1]) by mail.enit.fr (Postfix) with ESMTPS id 860584023B for ; Tue, 18 Sep 2018 14:09:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.enit.fr (Postfix) with ESMTP id 70ADC40242 for ; Tue, 18 Sep 2018 14:09:41 +0200 (CEST) Received: from mail.enit.fr ([127.0.0.1]) by localhost (mail.enit.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yZ9-WU1VD5e9 for ; Tue, 18 Sep 2018 14:09:41 +0200 (CEST) Received: from [172.20.1.23] (unknown [172.20.1.23]) by mail.enit.fr (Postfix) with ESMTPSA id 60A794023B for ; Tue, 18 Sep 2018 14:09:41 +0200 (CEST) Content-Language: en-US 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" To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------51FD60151182F811F6A51695 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi,

I tried to use the following code (as documented in https://orgmode.org/org.html#Images-in-ODT-export) to change the anchor of an image exported with ox-odt:
#+ATTR_ODT: :anchor "as-char"
[[./orgmode.png]]

However this does not work in org-mode (9.1.14) and after asking the question to the community (
https://emacs.stackexchange.com/q/44787/9245), it seems that the quotes should not be present. The following code works as expected;

#+ATTR_ODT: :anchor as-char
[[./orgmode.png]]

May be the documentation should be updated on this point ?

LG


--------------51FD60151182F811F6A51695 Content-Type: text/x-vcard; charset=utf-8; name="laurent_geneste.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="laurent_geneste.vcf" begin:vcard fn:Laurent Geneste n:Geneste;Laurent org;quoted-printable:ENIT/LGP =C3=A9quipe Syst=C3=A8mes D=C3=A9cisionnels et Cognitifs adr:;;47, avenue d'Azereix - BP 1629;Tarbes cedex;;65016;France email;internet:laurent.geneste@enit.fr title:Professeur tel;work:+33 (0)5 62 44 29 43 x-mozilla-html:TRUE version:2.1 end:vcard --------------51FD60151182F811F6A51695--