From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +BO/B86UzF6iRgAA0tVLHw (envelope-from ) for ; Tue, 26 May 2020 04:02:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mAR0A86UzF7jEAAAbx9fmQ (envelope-from ) for ; Tue, 26 May 2020 04:02:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 671BE940390 for ; Tue, 26 May 2020 04:02:21 +0000 (UTC) Received: from localhost ([::1]:43756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdQnC-00017O-Pz for larch@yhetil.org; Tue, 26 May 2020 00:02:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdQmr-00017D-4S for emacs-orgmode@gnu.org; Tue, 26 May 2020 00:01:57 -0400 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:47022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdQmq-0001X7-BS for emacs-orgmode@gnu.org; Tue, 26 May 2020 00:01:56 -0400 Received: by mail-ej1-x62e.google.com with SMTP id e2so22241997eje.13 for ; Mon, 25 May 2020 21:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ujTZ4W3594OR8WvRRfBAh83OG+bDiyD4rV461T9v13U=; b=c5+OB/lK9HbR39sqC0A2XZrOC46AHhRUJ2FpV4f5WBL73L3j4Fvva8Y9EIOwuVG8Px kxPl/3zTdewxMxJLU4u1Ac+qTzGCZf24J8HW1+AOXieWPypy1H5kuJ4T4R94M+rwkMAS 23Vq8uLFMIu5ycidB63Mciwo7ElL9onDQp/7I6HWXE/ppxKp8cbc3fJYdY7V4ylYMdJg ITax6K/m+lIEs7IHwxmzBNsyhVZIfSeh4+qa1O6XjrNon4HdN07YRehRJY+VYIbD+fG+ 4KkmZ31NSZ4fQo1cixL3BK1v0+PJ5Nzlf/KGgKUGNvM8QPebFaXxrt7gnW/dXsvMgBwM NuFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ujTZ4W3594OR8WvRRfBAh83OG+bDiyD4rV461T9v13U=; b=uYuKw/KKinUySHT5esppXLlXbstE3+2vy3WRMiE3gQ8YXt3jchUYyiW6sXowxz2cP0 XQX/i7pFgtnzkOns7W2VyjloZbFlCJc7uEEAoBsqyxvkyA8jHylzKlgN0L2GxAnlrteK P2jFLkeUwOKeQQrNjF1LFrW0dCtW2JnOiTYdjoFArjdaMwET4kmGpJFTQcEywSlYs1/2 N1Xx9yKahFsWXcLXXJsG/MIY8WZuo6aegEQIyUopK3x46lvJkaleCZ0xh88H6dgTBUgj nkEYhelt5qSl2hoBwCwhI5yFCGxdk36hxQJ1sfML5Z9U7Tk1S2uI0IMcufNsJJ14N3z0 rGpA== X-Gm-Message-State: AOAM532SOeIBI6DttbL0hilGWpoy5PzGhsLz+pDdPiJ4cJVb+HRD5qd2 6HIIj0KF4n/4ATwUMv2lr1VWv3zjXU/kmEc4ZAkdpgThSUU= X-Google-Smtp-Source: ABdhPJy0PJvx1exQ/ereeTTtbABXPxbs3cmF5hN0WLolcYBVFNxv/eLuXl7FTSRw/4Oa4HJVu80lMs11yMkvx/BMjeI= X-Received: by 2002:a17:906:dbcf:: with SMTP id yc15mr20723336ejb.176.1590465713743; Mon, 25 May 2020 21:01:53 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:906:7286:0:0:0:0 with HTTP; Mon, 25 May 2020 21:01:52 -0700 (PDT) From: Vladimir Nikishkin Date: Tue, 26 May 2020 12:01:52 +0800 Message-ID: Subject: [bug] Should #+attr_latex affect image display within the org buffer itself? To: emacs-orgmode Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=lockywolf@gmail.com; helo=mail-ej1-x62e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=c5+OB/lK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: IVn7GfUoAQLD Hello, everyone My problem is the following: Compare the following three pieces of org code: #+attr_latex: :width 80px [[file:figure-1-1-dot.png]] #+attr_latex: :width 8cm [[file:figure-1-1-dot.png]] #+attr_latex: :width 80mm [[file:figure-1-1-dot.png]] They get exported into LaTeX as expected. But if you org-redisplay-inline-images, you will see that the first one is rendered 80 pixels wide, the second one ise rendered 8 pixels wide, and the third one is rendered 80 (again) pixels wide. So it seems that org is using #+attr_latex as a guide in setting the width of the images in the org-buffer. This seems wrong. -- Yours sincerely, Vladimir Nikishkin