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 ms0.migadu.com with LMTPS id QADeCe+Z5GCrZgAAgWs5BA (envelope-from ) for ; Tue, 06 Jul 2021 19:59:11 +0200 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 KF1/Be+Z5GCZWgAAbx9fmQ (envelope-from ) for ; Tue, 06 Jul 2021 17:59:11 +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 501FA27631 for ; Tue, 6 Jul 2021 19:59:10 +0200 (CEST) Received: from localhost ([::1]:46782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0pLg-0002Z8-Ix for larch@yhetil.org; Tue, 06 Jul 2021 13:59:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0pLC-0002VQ-IB for emacs-orgmode@gnu.org; Tue, 06 Jul 2021 13:58:39 -0400 Received: from mx0a-00395d01.pphosted.com ([148.163.133.170]:7230) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0pL9-0005sP-AW for emacs-orgmode@gnu.org; Tue, 06 Jul 2021 13:58:38 -0400 Received: from pps.filterd (m0173168.ppops.net [127.0.0.1]) by mx0a-00395d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 166HounK017734; Tue, 6 Jul 2021 10:58:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsd.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=campus; bh=z8nHj6t0UBw/uP1V2WlEkmCOMgk5Cipqy/kZTvwRhAc=; b=P92K6qWA4HJx6IOU6S/VDe85aoXXRAD1UHOfIxvTUzLqPgZ6id/wgRFBTqXAQnBaRE0v tLzRR4Yp3v+/XLaM1UVQ4N3tXetvBWhVLaDEDP+sRVyGoedRQKHxftWG0qFiaXXcUidv cc0l8qPig+Sk4UpWgcOd0ZnnFOsXBEuL27SKuY7J9AEOaLZ/p8Kf7oEWCB6EvGPgvvyD KSIu4/uEg59WsU/29p4WtDEEu0NOEkGrv4cwTwl9wiK4rRlwATZXljLefcR4vtK8qtFA U5kEnu5NMlR29H8lp1jrRehPRE7ZNRncUwGZKxkEpxwOvT90nK3TthEHNTQGKMytdObV Kg== Received: from secdlpezp04.ucsd.edu ([40.112.251.180]) by mx0a-00395d01.pphosted.com with ESMTP id 39ms8v0pyc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Jul 2021 10:58:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q6VOWO252aagMaKj5VM3nYA6ehuZTSd05sPKAG0WzffdL3I2wraczwx3D3oe36kTxwQIls4s1Nrr7M4VkwA6+LYm2ug38TtE6cYVMDYNMbn2yEjEyW0Z+kWcH6cNDl8yuc7tvT2i0KLdxdpvt80KS36zbaIg2BJLSLfta3p0bX5bfXbqNGjM0V1gM8zO0dWV1NQPshVDv8JGvJ4TB2FDQbHvYfOWIkES5d9hRqPiNYZneYroC+v0DWK6ywPCkJ+7wW/AcuxTbnkkPvsIrXI0Qs0zgiyBK2x5O4ONvMwCfPreyeYT8YimY4Gi+5j7SyZo8RpAVKW4xQcRIdi1k8/B5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z8nHj6t0UBw/uP1V2WlEkmCOMgk5Cipqy/kZTvwRhAc=; b=llw+ie3eNYf1YEgdxP1jVRXA4/1rLAcALmoYMpQ1lDQpnDc4xYZmkqoMjnwZc9+lAwet4Brl4q8OSVsOM/OIVyHG29oOEhZXTF8jtPqkdwVnNpDnhlq7ocoBNr3xRax64fzltG4sBGyQKgcrdmkrjl7Fcch2Qmpi0rnhftTLn2tuQF3eFOHUrRT5TjDNqPQZKRfbUPzg0Y+x300nyiFWaNiUWgRzq3ogG7D+V5/hzYMVl6RcelM/Jbsf+b7zAPQK4VNPdLtbcCDFsrZ+My3uiPloe3/Fpwnjmwi/lR+Y8+mljyh2mB/pO3fT+cUsIodH/hRmNj66ZXvpme7onpxvyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=health.ucsd.edu; dmarc=pass action=none header.from=health.ucsd.edu; dkim=pass header.d=health.ucsd.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsdhs.onmicrosoft.com; s=selector2-ucsdhs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z8nHj6t0UBw/uP1V2WlEkmCOMgk5Cipqy/kZTvwRhAc=; b=NVLqo+q5KqyFkKEEitHerjrSFF7QifYLpd5JdYgZdymmWI23onCm/Ks7rDvVIHZASkP0oZ6C6UJbnNM9aKSLXb8HQFCoQ/zvPvQSY08PVqSV2koW+EfgXIAiVdXF9u5zOsuNZT6umCPkI1XFiIa9PVFN1wp9EFxguDzk1Bs7S+0= To: Jack Kamm Subject: Re: [PATCH] ob-R output file with graphics parameter Thread-Topic: [PATCH] ob-R output file with graphics parameter Thread-Index: AQHXaIIfKhMWjCrH0Eib/NpS4B1Q2qsi46/NgAU6mwCAAeEUCYAGtWYAgADoowCAACtEgIAEVp0AgAAwvQA= Date: Tue, 6 Jul 2021 17:58:27 +0000 Message-ID: References: <8735t8nqlf.fsf@gmail.com> <87pmwbty75.fsf@yandex.com> <871r8n1ban.fsf@gmail.com> <87o8bpbqp3.fsf@gmail.com> <87h7hcowmv.fsf@gmail.com> <87tulbp1hi.fsf@gmail.com> <87r1gb7acf.fsf@gmail.com> In-Reply-To: <87r1gb7acf.fsf@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6bebf726-535a-4d80-613c-08d940a7a87b x-ms-traffictypediagnostic: BY5PR19MB3841: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Cj26bE5IHcE4uWRlJw0U8KsXw86xYCkN08ypmdYz+Ww7x5I7M5gpjqxn00OsJHHRkCXGuyvZQUAEN6Hlbq6WBGgCUZqUdQbmnXaXhnxZIJ53SkBDy3zXioAGEq3SgVcx+1EdFDGcKk9vCi4sgw9rCps47OYtwTRqLFsHuloZp0NKOyontkTNHyN29tk6SgT8Vhb22eVc91lao0xgsu01h/OFCZkEzM7977WNYibKCOQrl62JQv3aPxRHTBY5bJQ9pcZGdDXZqOGDTmfqKUeUoGSGOLWYxi2VglxzCZdzuIyKvxwcDwai6cLOQqojHm588Y4uMRhHcrec805/jowJ6qi7CWg4xRRRVuJLH4bNQfADQVI9YRS8XXmrOzw9vKI4AKCY6a2noo2HGZweR0QVKudkBuQeB7fXehqscikD7yY7Ayh4VYJID19RC4XRwfXpq1rsIShoCGVrq5aO4ZhKysrLEErbUwmyc5GM/yCjg/oE/yzRRUwgbcCdnVqxraJxMHi2Xvm1bAPWFK80vkF8ynqw/EZbf+YR2R+f1degSpFV31k7AaIbI0K5e6mFEF0RcBZ6P46bUEy8LMx/Kc32lmJbE1MHXe+A6oLHIoEXRKx/tugoDEkpbx5R+tsUUKc3O2iSuA48NuzgLRc4W6PqgDp//bb6NFWoeCBgEsC8lF3MZMZ7nPJOe90idvskTa/H76tH8Tba/LtQyWgnB38hcQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR19MB2581.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(396003)(39860400002)(136003)(346002)(366004)(316002)(8676002)(4326008)(6916009)(38100700002)(54906003)(6486002)(5660300002)(186003)(122000001)(66476007)(8936002)(786003)(6506007)(53546011)(83380400001)(6512007)(86362001)(75432002)(66446008)(2616005)(478600001)(66946007)(66556008)(76116006)(71200400001)(64756008)(33656002)(2906002)(45980500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0gW5cuFzKJR32ULN2luL9Py7p0B4LQVIe4MrjxHsPiap9vL3lzUT2EX+KpeJ?= =?us-ascii?Q?Dt+IqREGk/LI0VgLN9I1R8A7aXVr3b2ddSfxWN/Gp5dxtnPk9leHTv9se+Fr?= =?us-ascii?Q?sJIrHgv24ABBi84ERqOLXk6Q350oVd5zKX+cqg7BMvee36Wn57rkM2xfVTX0?= =?us-ascii?Q?Yu7WXCteKQ6jqHp2vBTEy3Srxyt53AtiHOTD+ykrzE0oRPtgdUz5GXQfQ1UZ?= =?us-ascii?Q?22+JzgWDk19YlpXCDlBxS+1qYLQAayvD1+zlvEvOCG0VG3XzS7lnD7QEwiw9?= =?us-ascii?Q?hoigwjNb2nrF9f/9vAsol0jukitu6/v2xqKSlpKsGWHcgN7N7qBV/sD40gh1?= =?us-ascii?Q?UArYyD6f7nBontNIFDKXYnA1sch+TXfrOiyrPcSFepHf+s4n4eQhh06cet6e?= =?us-ascii?Q?QM6BoKwGT4vaBuiarMKU7Zk9UT83YCrYLvVmoVfhWJ8/kYf+/hcw8MffTK3x?= =?us-ascii?Q?nNVY8K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H3CTR1hxS0Pu5X4?= =?us-ascii?Q?tGSNN05IR8etVlw39srCxu29Yn1I?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: health.ucsd.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR19MB2581.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6bebf726-535a-4d80-613c-08d940a7a87b X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2021 17:58:27.9230 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e470d736-e7f7-41a8-8eab-dad544b2b579 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wPDnKIXArJQPSKejUz6Evcl9inL9PoNIcC4uiG7IS84lPEa5iKkKjbBaurlCyE+MG5Z8ue5FtOi07miTcnmlbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR19MB3841 X-Proofpoint-GUID: 7l_-wX_8GEDTQ77VVLVFMiz1daZ0Hc9Q X-Proofpoint-ORIG-GUID: 7l_-wX_8GEDTQ77VVLVFMiz1daZ0Hc9Q X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-06_09:2021-07-06, 2021-07-06 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 spamscore=0 clxscore=1015 malwarescore=0 mlxscore=0 phishscore=0 mlxlogscore=792 suspectscore=0 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107060084 Received-SPF: pass client-ip=148.163.133.170; envelope-from=ccberry@health.ucsd.edu; helo=mx0a-00395d01.pphosted.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, 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: , Cc: Colin Baxter , Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" Reply-to: "Berry, Charles" From: "Berry, Charles" via "General discussions about Org-mode." X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625594350; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=z8nHj6t0UBw/uP1V2WlEkmCOMgk5Cipqy/kZTvwRhAc=; b=eebG2rGAPtxcmtXSA9AYXUebbJQpjzjvV77jHsiQvys/asGrNEhHWHIobo/kbnTxDI+tIS SYnQRR4T0FMx0QVhKUPY9wYiFQBNqnKsdctBq4VlAX2LRmrgnsN0vx1Y3Ctm5gJku1jYKr 2wVLxryjo4mnPtQOe1j745HTiEWL8LxoUB0/wOn2gkIdtbPAxGC5ZKKFkyGIFu9g13JJ5F MJ+EEytP3gOhecjTgJszTuhCXLKWrAv1AWpfD76dyalyoGs7LwlKErCkTG09ucRAGAUqWL RD2bV7b0c2Q1l+GL3jv8RqpwfC0BnTmCTTZmvml6cAh+aNa1hugjhUnNHj0bOw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1625594350; a=rsa-sha256; cv=fail; b=Xouc0r46T0ROc2+ejBn3gkeLJuhwY8ZsbnCbPNbvlFx2bgCZSa+k8JGulYbuShPMtOTnRP mLOTJLL6iGmwMCBZLmQfAMaGaE4sTx07gl5aT3aPEafRRi/AXPap7XsKO1ipgu+Riv17OI 8jS+nOU5SiGoVCO3Kn4NgB4ytJoI/otUQRu3YqucQ8u934m1gX7lssEsFjTmGExM9WaxuJ CC0Q+Rejgd21swLybonywABpdgcHtTOSScxCpJjs6Fjq6vNKq+QS2gDmayim+7XLIcWmeR K9h3GsHGRxCWg7gxK1uScF+drdtr1TSikh5MGwAsebSpmn/fJFZutWhgQtypbQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=P92K6qWA; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=NVLqo+q5; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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: -0.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=P92K6qWA; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=NVLqo+q5; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=pass (policy=none) header.from=gnu.org; 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: 501FA27631 X-Spam-Score: -0.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: lV9IxfJp278w > On Jul 6, 2021, at 8:04 AM, Jack Kamm wrote: >=20 > Hello again, >=20 >>> A user might like to construct a figure consisting of various subfigure= s such as in a subfloat environment. >>>=20 >>> Will this be reasonably simple to accomplish if `:results graphics' (wi= th no `file' element) automatically inserts a link? >>>=20 >>> Currently, omitting the file element leaves the link out, which I belie= ve is the most direct way to approach subfloats. >>=20 >> Thanks for bringing up this use case, it hadn't occurred to me before. >=20 > Thinking about this more, it occurred to me that the ":exports code" or > ":exports none" header should already handle this. >=20 > When that header is set, the graphics result won't be added to the latex > document, and the user can construct the subfigure separately in latex. >=20 > Then we wouldn't need to support the use-case of ob-R creating a graphic > but not producing a result from it...which still feels a little strange > to me, to be honest. >=20 > Or am I missing something still? Well, if the src blocks export nothing, the graphics results are not produc= ed and no files are created.=20 Here is an ECM that when exported with `C-c C-e l o y y` (or 'yes RET' for = each `y' depending on your setup) 1) Produces two graphics files: - fig1.png - fig2.png 2) Produces file `subfigures.pdf` with a page with one figure containing th= ose subfigures rendered side-by-side. If you modify the ECM to change `:exports results' to `:exports none' and c= lean older fig[12].png's from the directory, the export fails. Of course, there are workarounds to having Type=3Dfile implied by Format=3D= graphics. So if everyone else is determined to make this change I can live = with it. Best, Chuck =