From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0IXSGK9QHGNq9wAAbAwnHQ (envelope-from ) for ; Sat, 10 Sep 2022 10:54:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0IMCGK9QHGOY+QAAG6o9tA (envelope-from ) for ; Sat, 10 Sep 2022 10:54:07 +0200 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 231DC36F43 for ; Sat, 10 Sep 2022 10:54:05 +0200 (CEST) Received: from localhost ([::1]:49826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWwFX-0002pp-GJ for larch@yhetil.org; Sat, 10 Sep 2022 04:54:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWwEs-0002oO-60 for emacs-orgmode@gnu.org; Sat, 10 Sep 2022 04:53:22 -0400 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:33511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWwEq-0007xF-G0 for emacs-orgmode@gnu.org; Sat, 10 Sep 2022 04:53:21 -0400 Received: by mail-pj1-x102d.google.com with SMTP id t6-20020a17090a950600b0020063f8f964so860250pjo.0 for ; Sat, 10 Sep 2022 01:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=Zf8TyAN5uy/B9lIQu5rAYukPotq0tla1ohoIoaHQKH4=; b=XyRL5aPWkyuX3d2SVvnWxpZqc8uS/wjdob1x6IID3UlDmxfsmLEOlTpUxsWfd2rVWz HMHWT7YnHYQ4v/XhV+UQFByIUJ/g3MHEe1Ibg/Lqr8fD4iwyXkpHEu1pnCCpJga0PUhM IFNZeR+Ex7Y+oiYExB6HMc0Wvc9KSvlJzMd6cWqcQLZuFl8BaaDExmhuvQ9c+4ASQp3J 3fcEZk9jqPJAYkv00+7KmUjFTWcZBj9sYlKMSgKbk9f3rsn2jEsPiobmZuNI9rVPDlP4 ZAYbAarixkdECOHRBGyRp3PS68p/6PoAzhZEU/p1pC+OdxRrpgfeD3fnTSmWBZGKUCqc wNng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=Zf8TyAN5uy/B9lIQu5rAYukPotq0tla1ohoIoaHQKH4=; b=Gn5FnX/7wVtk575v8//a5auCq1Miy6DLnZctHhyZ80sxieglw16FBYLhWtz3gSa3/D NBV5/sSdrx/2+pXVFMiSNsoZDsFm4waystohyvUqJdzMK9U+PJo3le1ttl8jd6jnLejG 1XmgYuQt2cQB2lrfNP46oblSFBlUIlhuoAwdVDpjvfbiCjuSQkZdj6oMaGz004u+bgum L7XhGTgTtOSLxu3c0+UzexRaW1czN6FZkUxDg3HPQAxe5GbjsQYiUJi0UwGy0iC+MaVK Ja8ysTqAXXdu72jQI07F+s1PCLu9W3hiGlb2V9D3PXRFWE90zH1k1dOoAMZdodJ2kzeH t8AQ== X-Gm-Message-State: ACgBeo13zsOwqi5uqW9yJYXZLd5P7Jvq2zHND4/NucCYyEn0dkdXbrs6 2oB67dyHjHz67bvLk45MgY8= X-Google-Smtp-Source: AA6agR7ubUq9SfJK9JyXxwqGdkYQBcRFpj1z3+iPN3NE3cEw/1udhqJws3l8/APV7THJNcxCQ+8mWA== X-Received: by 2002:a17:90b:4b03:b0:202:a7e1:2c9a with SMTP id lx3-20020a17090b4b0300b00202a7e12c9amr2273703pjb.195.1662799999029; Sat, 10 Sep 2022 01:53:19 -0700 (PDT) Received: from localhost ([1.83.154.15]) by smtp.gmail.com with ESMTPSA id 136-20020a62168e000000b0053dd1bba6a0sm1182780pfw.145.2022.09.10.01.53.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Sep 2022 01:53:18 -0700 (PDT) From: Ihor Radchenko To: Guillaume MULLER Cc: Org Mode List Subject: Re: Rescaling #+INCLUDES / Not centering #+INCLUDE? In-Reply-To: <10c90de2-e295-c5fd-ba1f-ba6527b0a801@univ-st-etienne.fr> References: <620d1fd6-69a2-eb2d-c5f6-49157a43a8ed@univ-st-etienne.fr> <878rz7ldeh.fsf@ucl.ac.uk> <10c90de2-e295-c5fd-ba1f-ba6527b0a801@univ-st-etienne.fr> Date: Sat, 10 Sep 2022 16:54:12 +0800 Message-ID: <87bkrny5hn.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662800045; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=Zf8TyAN5uy/B9lIQu5rAYukPotq0tla1ohoIoaHQKH4=; b=h7s+yQTKrFmK9ms2zYp8iELn4htycIlYh2mWLU82dY8B05yQJP+zCuPT2cHmvayU5Q46SZ hOey1sI8ZVIKd+eG/duC1l5bEq6xQo4RsV51dcvYhARPdRLZVWuDjTFHd1An3UbwhAXD4H a/CTsXzetIVWIJlTtsUhm9YPSmmuhFm0/WBsvWVc56d486hjScw/BwidkEWzDch+AwTpHJ QfxaLG7VULrdI1fyNyq/USF51pGlJCblxou7HG63hJ9NfsEjioUChGkFzphm1E9i8ADICd tudl+5IhujCoefQoSdCMkOSz1RO87uF9nec/40vDF8ZM/GLGW7qYO4QN5MEvlQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662800045; a=rsa-sha256; cv=none; b=EnEict5Z96NjKAC+EY9UzdrGgQsLQ37+JSEooRe4iS2gQUfTRQBbL+yEaDAArFuAotaOOf Vd1EmecT8nwIofwZgggPvwztLcxh2A4EjOx5OfuhrugT2reoUAM3doZFQmEBUlccJHr+6V 9Y7U1yxoBWySJvgcFnB7pOC8pTWKI49uvMRAHQSn14DeuEFu3SUOhrflJBhkcEVcX8/1G+ qprt1YOu9ffevLjyOIPjXFp904iY18h8DX0KY3pVk+4YmcghlALt8bW0wN3h05wtsIqpyb Y2HLLRWFX8V/5n0mPQbnDgN6amteWFoZngGfOJXMgMXVMVY7BuKVtIA1Yy4VVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=XyRL5aPW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.29 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=XyRL5aPW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 231DC36F43 X-Spam-Score: -2.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5bl57vZ5DPvV Guillaume MULLER writes: > My (unsuccessful) approaches so far to find a solution: > 1. remove the automatic \begin{center} inserted by #+INCLUDE > => using :center nil in #+INCLUDE or in additional #+ATTR_LATEX added above #+INCLUDE does not work > 2. remove the use of \scalebox by using a more "org-mode"'s way of doing things > => using :width in #+INCLUDE or in additional #+ATTR_LATEX or even passing options to dot have no effect (see previously attached file) It is kind of late, but I think that the problem is not with Org. Rather with LaTeX. Org uses \begin{center}..\end{center} around the image, which cannot be used inside \scalebox. See https://tex.stackexchange.com/questions/67843/problem-resizing-an-itemize-environment-with-a-scalebox-somethings-wrong -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92