From: Julien Cubizolles <j.cubizolles@free.fr>
To: emacs-orgmode@gnu.org
Subject: org-latex-image-default-width ignored
Date: Sat, 24 Mar 2018 16:20:41 +0100 [thread overview]
Message-ID: <87k1u1jyf9.fsf@free.fr> (raw)
I'd like all inline images resized during beamer and latex export. I
tried setting org-latex-image-default-width to ".3\\linewidth" but after
export the latex file still uses the default .9\linewidth default. See
the following examples.
Julien.
orgmode file:
--8<---------------cut here---------------start------------->8---
#+begin_src emacs-lisp :exports none
(setq org-latex-image-default-width ".3\\linewidth")
#+end_src
#+RESULTS:
: .3\linewidth
* hello
[[file:file:/home/wilk/enseignement/schemas/plickers/mvmt-circ-F-faux.png]]
--8<---------------cut here---------------end--------------->8---
gets exported to:
--8<---------------cut here---------------start------------->8---
% Created 2018-03-24 sam. 16:06
% Intended LaTeX compiler: pdflatex
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\author{Julien Cubizolles}
\date{\today}
\title{}
\hypersetup{
pdfauthor={Julien Cubizolles},
pdftitle={},
pdfkeywords={},
pdfsubject={},
pdfcreator={Emacs 27.0.50 (Org mode 9.1.7)},
pdflang={English}}
\begin{document}
\tableofcontents
\section{hello}
\label{sec:org777755b}
\begin{center}
\includegraphics[width=.9\linewidth]{file:/home/wilk/enseignement/schemas/plickers/mvmt-circ-F-faux.png}
\end{center}
\end{document}--8<---------------cut here---------------end--------------->8---
next reply other threads:[~2018-03-24 15:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-24 15:20 Julien Cubizolles [this message]
2018-03-24 17:57 ` org-latex-image-default-width ignored Eric S Fraga
2018-03-25 7:52 ` Julien Cubizolles
2018-03-25 11:56 ` Eric S Fraga
2018-03-26 8:39 ` Julien Cubizolles
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=87k1u1jyf9.fsf@free.fr \
--to=j.cubizolles@free.fr \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).