From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KKg+LcsgRGL1IgEAgWs5BA (envelope-from ) for ; Wed, 30 Mar 2022 11:20:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WBHWKcsgRGK/0gAAauVa8A (envelope-from ) for ; Wed, 30 Mar 2022 11:20:11 +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 5DD302965F for ; Wed, 30 Mar 2022 11:20:11 +0200 (CEST) Received: from localhost ([::1]:50568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZUUr-0002Nr-TL for larch@yhetil.org; Wed, 30 Mar 2022 05:20:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZUJM-0002aN-Un for emacs-orgmode@gnu.org; Wed, 30 Mar 2022 05:08:20 -0400 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]:55768) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZUJG-0001yt-Ng for emacs-orgmode@gnu.org; Wed, 30 Mar 2022 05:08:15 -0400 Received: from zmtaauth02.partage.renater.fr (zmtaauth02.partage.renater.fr [194.254.241.25]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 7A296BFF25 for ; Wed, 30 Mar 2022 11:07:54 +0200 (CEST) Received: from zmtaauth02.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPS id 74AC7A00C1 for ; Wed, 30 Mar 2022 11:07:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTP id 653CFA0115 for ; Wed, 30 Mar 2022 11:07:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr 653CFA0115 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-st-etienne.fr; s=E44E4C1B-535F-44B3-88AE-37CEC3B0D85B; t=1648631274; bh=gAtojnOmTrQs61T7H22fp06EU9YRyUGIn4XPOuIfLjI=; h=Message-ID:Date:MIME-Version:To:From; b=YKLsNXlUMTo9LnQTuUBbn04tEBcqJgwVuvKitcloqVA3zM/Ym9sU50oVNj1gpoB8p 6LNlVFtMNiR7CYL0O+7jZ6vHQehv5NCVbAjIEY5tbK6aS/UonwR6bkWEcvxRnPDmrX KedU1syuRi1+ZQM7ydIGG/nBI2QfGHPbCNZYGMguefK208VBfay1vm9hwWBBtuoYAP m7n8RVoOgSg5/AIceRRvYoP+d8+m+q+J3Eb0d2cOxc2BN6nUFlDubyCH0zy0WgSkIr Zo2B+kkGg0VtJPGS08ZG3lv4krZ9aK0TZ9bemNDr67e7LJx3VkVX1Aw0Z3aS1HNgGv R+GltO6fDMMsg== X-Virus-Scanned: amavisd-new at zmtaauth02.partage.renater.fr Received: from zmtaauth02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth02.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id UwcwZGLKdVnj for ; Wed, 30 Mar 2022 11:07:54 +0200 (CEST) Received: from [161.3.34.189] (unknown [194.254.241.251]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPA id 366B5A00C1 for ; Wed, 30 Mar 2022 11:07:54 +0200 (CEST) Message-ID: <95330d48-9234-7259-db34-25eac3d99840@univ-st-etienne.fr> Date: Wed, 30 Mar 2022 11:07:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 To: emacs-orgmode@gnu.org Content-Language: en-US From: Guillaume MULLER Subject: #+include vs. resizing & centrering Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------JYDOSbxj60wqTLviq2A3tAmw" X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 Received-SPF: pass client-ip=194.254.241.31; envelope-from=guillaume.muller@univ-st-etienne.fr; helo=smtpout02-ext4.partage.renater.fr 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=1648632011; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gAtojnOmTrQs61T7H22fp06EU9YRyUGIn4XPOuIfLjI=; b=G0wPc4HAKH0aCeIKUNGXojXVEZbXKoAXs8e613WTjhVv0Haw+Z+ZOTSixcQuHU3TNErTqM N6DRChr1re7ih8CgfpUeMxWXCmFBfU2HUu0H5g5IJY6pUQfs2zDO3vNqxlG1Ic9P47D/Uw 8f1LxObWRe9Im2mJdnjfvpvRJgPPHbIiq0o2ESZkc+hTcl/j3xmIJwygSGC2KPu8XmPZN9 Gtg8cl77VA2o6UTOJOT/785j7/3OI0Qvxn/yz+v9xg5R5Qa2543X6aI3JMyTnzG/fdDYwP NMZW3jpu29KNJMhNGZMx0RD0uchI+0eMoAD3+eACz50aV500bnMuKcN85qimGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648632011; a=rsa-sha256; cv=none; b=mtiITkxfOaPWkN2TS0I8xZmh0FmwXHga/QNvdzUPabKlRZsGUVVLpJjC62bSPXxNRcnBEk TeVbiVCB/+AkU394bBR+Nf6MCggdpvPJiShoZ1T8jZyond7FbLRLnYOVGD7pHlDOid4Qfa KsaFZplsNhPUnWzIh0jj1h2+VszF9XwuZKQYjHKKiicaNiFGLgcnqa68WkqiJEeWd8CxXJ XmI4w9TVGiTZZiHdB5iYrYqrtrrlOXo8M9Zw9+tHfjajG36sCmGad28QqJhDzRl5AUmFFr 9UWJxS1IUzBIvKK8dy3jBmq7PjA+luXR+fDj1EqO4eSofs5IurhD9b0MtcHvbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=univ-st-etienne.fr header.s=E44E4C1B-535F-44B3-88AE-37CEC3B0D85B header.b=YKLsNXlU; dmarc=pass (policy=none) header.from=univ-st-etienne.fr; 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: -12.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=univ-st-etienne.fr header.s=E44E4C1B-535F-44B3-88AE-37CEC3B0D85B header.b=YKLsNXlU; dmarc=pass (policy=none) header.from=univ-st-etienne.fr; 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: 5DD302965F X-Spam-Score: -12.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: r4ZlJq5E8+na This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------JYDOSbxj60wqTLviq2A3tAmw Content-Type: multipart/mixed; boundary="------------pQUD1ijmHHXgJKHIVXrreEZ7"; protected-headers="v1" From: Guillaume MULLER To: emacs-orgmode@gnu.org Message-ID: <95330d48-9234-7259-db34-25eac3d99840@univ-st-etienne.fr> Subject: #+include vs. resizing & centrering --------------pQUD1ijmHHXgJKHIVXrreEZ7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dear all, Thanks for org-mode, it is so perfect :) I'm currently fighting with a problem that I cannot find a solution to (e= ither on my own or with help on the web). If someone could help me, I wou= ld be very thankful. I have an org-mode file that "includes" ane xternally generated image, li= ke so: #+INCLUDE: ./test.dot src dot :file test.png The thing is the resulting image is too big. So I want to resize it. I've tried several things that did not work: - add #+ATTR_LATEX: :width xxx before the #+INCLUDE - add :width xxx or :scale xxx on the #+INCLUDE line itself - ... Thus I resolved to use plain LaTeX code with something like: #+LATEX: \center \scalebox{.85}{% #+INCLUDE: ./test.dot src dot :file test.png #+LATEX: } Then the problem is that #+INCLUDE adds a \begin{center}\end{center} arou= nd the image inclusion, and \scalebox{} does not like that, making the re= sulting .tex file not compile ("perhaps missing \item"). Again, I've tried several unsuccessful things : - add #+ATTR_LATEX: :center nil before the #+INCLUDE - add :center nil on the #+INCLUDE line itself - ... If anyone has an idea how a can solve the problem of resizing a #+INCLUDE= 'd image, either in plain org or with a LaTeX "warkaround", I would be ve= ry grateful. Thanks ! =20 Guillaume MULLER, PhD --------------pQUD1ijmHHXgJKHIVXrreEZ7-- --------------JYDOSbxj60wqTLviq2A3tAmw Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTFTP6rU8sM/yEMoNry0B/GG36d2gUCYkQd6QUDAAAAAAAKCRDy0B/GG36d2j+3 AQCaS9PaatT5Sa+WDrQJ2em/WgYPR1lRZW2RKQSeEI63kwD/aBeXZZ1c+6fwT+wEhLVD+5XIEkMv L69OhK4fjpeoUg4= =jNO7 -----END PGP SIGNATURE----- --------------JYDOSbxj60wqTLviq2A3tAmw--