From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WKeaGsTW7WCVPAEAgWs5BA (envelope-from ) for ; Tue, 13 Jul 2021 20:09:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cAI7FsTW7WA0WQAA1q6Kng (envelope-from ) for ; Tue, 13 Jul 2021 18:09:08 +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 598C47E6A for ; Tue, 13 Jul 2021 20:09:07 +0200 (CEST) Received: from localhost ([::1]:46226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3Mq9-0007Qw-EG for larch@yhetil.org; Tue, 13 Jul 2021 14:09:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3MoA-0005iD-FO for emacs-orgmode@gnu.org; Tue, 13 Jul 2021 14:07:02 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:62947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3Mo8-0007lq-3q for emacs-orgmode@gnu.org; Tue, 13 Jul 2021 14:07:02 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 947531550E7 for ; Tue, 13 Jul 2021 14:06:58 -0400 (EDT) (envelope-from wtd@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:subject:in-reply-to:message-id:references:mime-version :content-type; s=sasl; bh=rWCq1FSNHBVmcN4zh/Ow4uEceg+ak2edjqs5S/ gXH4s=; b=imLW3Qcsns4EXk2WJPjqXwr0GNgGjIjZbR2JfKp7GV7JMSwkLydGOA m94oJiEBoJw+Lf3Cek61gpPfIGCoZEE0mQeN+ZJpx2nVm17y7LkVxLd8rQFMBKTP /2lCa3/VIZxzynlmYC/E7JTtJcyQXA/QEIG1/YXQVWIRBTMV2boDo= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 8CFBE1550E6 for ; Tue, 13 Jul 2021 14:06:58 -0400 (EDT) (envelope-from wtd@pobox.com) Received: from shell3.miskatonic.org (unknown [199.103.62.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 4B4111550E5 for ; Tue, 13 Jul 2021 14:06:56 -0400 (EDT) (envelope-from wtd@pobox.com) Received: by shell3.miskatonic.org (Postfix, from userid 1000) id D3C60120A28; Tue, 13 Jul 2021 14:06:54 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by shell3.miskatonic.org (Postfix) with ESMTP id CE3CF1204F0 for ; Tue, 13 Jul 2021 14:06:54 -0400 (EDT) Date: Tue, 13 Jul 2021 14:06:54 -0400 (EDT) From: William Denton X-X-Sender: wtd@shell3.miskatonic.org To: org-mode-email Subject: Re: [O] What happened to ATTR_ORG? In-Reply-To: Message-ID: References: <87tvdjw4tb.fsf@gmail.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1741096510-1882051819-1626199614=:58488" X-Pobox-Relay-ID: 1C271562-E405-11EB-ACF0-D5C30F5B5667-56320186!pb-smtp20.pobox.com Received-SPF: pass client-ip=173.228.157.52; envelope-from=wtd@pobox.com; helo=pb-smtp20.pobox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626199747; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QciQct4sdc5KsYPSUEen9iV5ykeR61UYIV8S2lGNkYw=; b=g8vuMJcdegSea+RMVEJxqFrr7a3zyKivuYvDTzgpaeaZAPRJ6eVsumkKU1lUBKzq9Ao/+X R+Et17Q71GHrwXvo86qQywzn5FIhpjHOWhiU9hs2YNdlY4yfGY5fTwj5RmjA7Ok3hG9mBd TWvPWCY7Wh9zXubzDt05Oznw/sLPzGU+jvaawwzqQHs73whpQDZIyWBXbjqpz8lF3NN3C5 PoZk2rH5+cUrvzxfTOtss/l4Uwfw9mIeITQi7tJX4EQDOsydS6N1Nz22JMKFZmMLZrTDyU cmfXLaBnuTKZoM2rPQem887sAfmhSq1nx3aU8hNywlSCUHdvMt81mai7dIgQGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626199747; a=rsa-sha256; cv=none; b=G19oobQFXD3aprg9WIhDjuuM/Xx1jEzcZ0b7ZisUiKYmlvyEU5+2C+d5wnt6dPChoq5MKe LFlAdo5+8dQcMvToPp+988m7h7/op5yTtOgoXMvFjvZ9eGkWTfxYLkuRkFflEDtzQO82wl cuRy6hoZFoENUPAAUYFNpIpqJCL6LzKk+zmw83zqLTp+cCJweYl74jcK+XEM2zTcdabs1F NBxINO9o6PrMrLPqATeYPDAStf/AAg6BpmPIm1LNfFtpeqiXvg/EY0XPrS9WlYWO1MXmDF N9im4R6S/bP3M+vzhMCEqEytou3lQBNGy/iKXCUF0rpkEpYZ0s585T5HxDsozQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=imLW3Qcs; dmarc=pass (policy=none) header.from=pobox.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-Migadu-Spam-Score: -1.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=imLW3Qcs; dmarc=pass (policy=none) header.from=pobox.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-Migadu-Queue-Id: 598C47E6A X-Spam-Score: -1.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: rnBwYpWLc0Ee This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1741096510-1882051819-1626199614=:58488 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Sorry, that escaped too soon. I meant to say that #+attr_org: :width 300 wasn't resizing the images in the Org buffer to 300 pixels wide. Turned = out it=20 wasn't Imagemagick, it was the variable org-image-actual-width, which was= set to=20 ignore any attr_* directives. I changed that and now it's working. Bill On 13 July 2021, William Denton wrote: > Following up on this two years later ... > > I had some images that I wanted to shrink in my Org buffer, but > > #+attr_org: > > (setq org-image-actual-width nil) > > I had the variable set to t: "When non-nil, use the actual width of ima= ges=20 > when inlining them." There are a few other options, but nil does what = I=20 > want: "When set to nil, try to get the width from an #+ATTR.* keyword = and=20 > fall back on the original width if none is found." > > Bill > > On 25 May 2019, Cheong Yiu Fung wrote: > >> I'm using the latest Org and it's working. If you'd like to dig the >> cause you might want to dig in `org-display-inline-images'. It accepts >> `:width' in any #+ATTR.*-like option, then immediately call >> `create-image'. I would guess it's an imagemagick problem too. >>=20 >> steen writes: >>=20 >>> I am also having the same issue. I don't have time right now to try t= o >>> track down causes, but this is not a unique problem. The behavior I a= m >>> seeing is that #+ATTR_ORG no longer causes the images to be resized, = they >>> display at original size. >>> -- Steen >>>=20 >>>=20 >>> On Fri, May 24, 2019 at 8:34 AM John Kitchin >>> wrote: >>>=20 >>>> I still use this. Do you see any issues in the Messages? >>>>=20 >>>> If you try attr_latex does it work? If not you may have an imagemagi= ck >>>> problem that can=E2=80=99t rescale the thumbnail. Note you will have= to toggle=20 >>>> the >>>> image display after you add that. >>>>=20 >>>> On Fri, May 24, 2019 at 11:18 AM William Denton wrot= e: >>>>=20 >>>>> It used to be possible use ATTR_ORG on images to make them display = at a >>>>> different size, which was very useful when the images were large. = It >>>>> worked >>>>> like this: >>>>>=20 >>>>> #+ATTR_ORG: :width 300 >>>>> [[file:very-large-image.jpg]] >>>>>=20 >>>>> I haven't needed it for a while, but today I went to use it and it'= s >>>>> gone! I >>>>> grepped the source code, ORG-NEWS and the git log, but didn't see a= ny >>>>> mention of >>>>> it. What happened? Did it go in version 9? Am I overlooking >>>>> something? I >>>>> feel like I've stepped into some parallel universe where everything= is >>>>> the same >>>>> except this one Org command. >>>>>=20 >>>>> Bill >>>>> -- >>>>> William Denton :: Toronto, Canada --- Listening to Art: >>>>> https://listeningtoart.org/ >>>>> https://www.miskatonic.org/ --- GHG.EARTH: https://ghg.ea= rth/ >>>>> Caveat lector. --- STAPLR: http://staplr.org= / >>>>>=20 >>>>> -- >>>> John >>>>=20 >>>> ----------------------------------- >>>> Professor John Kitchin >>>> Doherty Hall A207F >>>> Department of Chemical Engineering >>>> Carnegie Mellon University >>>> Pittsburgh, PA 15213 >>>> 412-268-7803 >>>> @johnkitchin >>>> http://kitchingroup.cheme.cmu.edu >>>>=20 >>>>=20 >>=20 > > -- > William Denton > https://www.miskatonic.org/ > Librarian, artist and licensed private investigator. > Toronto, Canada -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada --1741096510-1882051819-1626199614=:58488--