emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Guillaume MULLER <guillaume.muller@univ-st-etienne.fr>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Rescaling #+INCLUDES / Not centering #+INCLUDE?
Date: Wed, 6 Oct 2021 17:30:47 +0200	[thread overview]
Message-ID: <10c90de2-e295-c5fd-ba1f-ba6527b0a801@univ-st-etienne.fr> (raw)
In-Reply-To: <878rz7ldeh.fsf@ucl.ac.uk>

[-- Attachment #1.1.1: Type: text/plain, Size: 1191 bytes --]

On 10/5/21 5:06 PM, Eric S Fraga wrote:
> A data point: your example works just fine in org 9.5.

Arg... Yes sorry, I mixed up my MCE with my tests to get rid of the scalebox.

You'll find attached the actual non working .org file with the \scalebox that conflicts with the  \begin{center} that is automatically inserted by #+INCLUDE

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) 

Thanks for any help

PS: Sorry for my other mistake: I thought MELPA had latest org-mode, but I've now switched to actual lastest org-mode using git clone. Same problem occurs.
Guillaume MULLER
Data Scientist, PhD
Télécom Saint-Étienne (office i119)
25 rue du Dr Remy Annino
Laboratoire Hubert Curien (office e002)
18 rue du Pr Benoît Lauras
42000 Saint-Étienne

[-- Attachment #1.1.2: test_MCE.org --]
[-- Type: text/plain, Size: 172 bytes --]

#+STARTUP: showall indent beamer

#+LATEX_CLASS: beamer

* Test Slide

#+LATEX: \scalebox{.85\textwidth}{
#+INCLUDE: test.dot src dot :center nil :file test.png
#+LATEX: }

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  reply	other threads:[~2021-10-06 15:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05 14:18 Rescaling #+INCLUDES / Not centering #+INCLUDE? Guillaume MULLER
2021-10-05 15:06 ` Eric S Fraga
2021-10-06 15:30   ` Guillaume MULLER [this message]
2021-10-07  7:24     ` Eric S Fraga
2022-09-10  8:54     ` Ihor Radchenko
2022-09-10 11:22       ` Max Nikulin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10c90de2-e295-c5fd-ba1f-ba6527b0a801@univ-st-etienne.fr \
    --to=guillaume.muller@univ-st-etienne.fr \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).