bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] 11.86; png images too large under latex beamer


From: Jacques Jayez
Subject: [Bug-AUCTeX] 11.86; png images too large under latex beamer
Date: Sun, 24 Oct 2010 16:29:01 +0200

I'm desperately trying to get prewiev-latex providing `normal' png
images under latex beamer.

The images appear correctly on the screen, except that they are
surrounded by so much white space as to make them almost unusable.
I enclose a short demo.tex file, where the problem shows inside and
outside a dynamic itemize environment. I tried to modify different
parameters without any success.

Anticipated thanks for any help.

Jacques Jayez=20

demo.tex
#############################
% $Header:
% /cvsroot/latex-beamer/latex-beamer/solutions/generic-talks/generic-ornate=
-15min-45min.en.tex,v 1.4 2004/10/07 20:53:08 tantau Exp $=20

\documentclass[hyperref=3D{bookmarks,bookmarksnumbered,colorlinks=3Dtrue,an=
chorcolor=3Dblue,linkcolor=3Dblue},dvips]{beamer}=20


%\usepackage{pgf,pgfcore,pgfpages}
%\pgfpagesuselayout{2 on 1}[a4paper,border shrink=3D5mm]

%\documentclass[hyperref=3D{bookmarks,bookmarksnumbered,colorlinks=3Dtrue,a=
nchorcolor=3Dblue,linkcolor=3Dblue},dvips]{beamer}

% beamer appelle automatiquement hyperref, donc si l'on ne veut que
% les r=C3=A9glages par d=C3=A9faut de hyperref, il suffit de d=C3=A9clarer:
%\documentclass[dvips]{beamer}

\usepackage{psfrag}
\usepackage{pstricks,pst-all,avm}
%\usepackage{pst-xkey}
%\usepackage{pst-jtree}

%\usepackage[landscape]{geometry}
\usepackage{bookman,pifont}
\usepackage[geometry]{ifsym}
\usepackage{hyphenat}
%\usepackage{yhmath}
%\usepackage[francais]{babel}
% or whatever

% \usepackage[latin1]{inputenc}
% or whatever

\usepackage[utf8]{inputenc}

\usepackage[T1]{fontenc}

% \usepackage{linguex2}
%\usepackage{gb4e}
%ATTENTION : gb4e interf=C3=A8re avec certains autres packages s'il est
%charg=C3=A9 plus haut
% \usepackage{cellspace}
% \cellspacetoplimit=3D2pt
% \cellspacebottomlimit=3D2pt
\usepackage{graphicx,color}



%\usepackage{hyperref}
% Or whatever. Note that the encoding and the font should match. If T1
% does not look nice, try deleting the line with the fontenc.


\setcounter{tocdepth}{5}

%\definecolor{saumon}{rgb}{}
%\definecolor{lavander}{rgb}{0.25,0.35,0.55}
%\definecolor{dreamblue}{rgb}{0,1,1}
%\setbeamercolor{normal address@hidden
\setbeamercolor{normal text}{fg=3Dblack}
\setbeamercolor{alerted text}{fg=3Dblack}


% This file is a solution template for:

% - Giving a talk on some subject.
% - The talk is between 15min and 45min long.
% - Style is ornate.



% Copyright 2004 by Till Tantau <address@hidden>.
%
% In principle, this file can be redistributed and/or modified under
% the terms of the GNU Public License, version 2.
%
% However, this file is supposed to be a template to be modified
% for your own needs. For this reason, if you use this file as a
% template and not specifically distribute it as part of a another
% package/program, I grant the extra permission to freely copy and
% modify this file as you see fit and even to delete this copyright
% notice.=20
% \setbeameroption{show notes on second screen}

\mode<presentation>
{
\usetheme{Montpellier}
%\usecolortheme{rose}
  % or ...

  \setbeamercovered{invisible}
  % or whatever (possibly just delete it)
}

\usefonttheme[stillsansserifsmall]{serif}
%\useoutertheme[headline=3Dempty]{miniframes}

\makeatletter
\def\raggedright{%
     \rightskip=3D0pt plus 10mm
     address@hidden
\lefthyphenmin4\righthyphenmin4%
\makeatother

\title[Widening as entropy.\hspace{2em}\insertframenumber/
\inserttotalframenumber] % (optional, use only with long paper titles)
{Widening as entropy}

%\subtitle{} % (optional)

\author[Jacques\ Jayez]{Jacques Jayez} % (optional, use only
                                % with lots of authors)=20
% - Use the \inst{?} command only if the authors have different
%   affiliation.

\institute{ENS de Lyon and L\reflectbox{2}C$_2$, CNRS} % (optional, but mos=
tly needed)
%{\textcolor{black}{Nancy II \hskip2.5cm ENS-LSH and L2C2}}
% - Use the \inst command only if there are several affiliations.
% - Keep it simple, no one is interested in your street address.




\date[\today] % (optional)
{Alternatives 2010, October 29-30, Universit=C3=A9 de Nantes}



% If you have a file called "university-logo-filename.xxx", where xxx
% is a graphic format that can be processed by latex or pdflatex,
% resp., then you can add a logo as follows:

%\logo{\includegraphics[height=3D0.6cm]{ens.eps}}


% Delete this, if you do not want the table of contents to pop up at
% the beginning of each subsection:
% \AtBeginSubsection[]
% {
%  \begin{frame}<beamer>
%     \frametitle{Plan}
%     \tableofcontents[currentsection,currentsubsection]
%   \end{frame}
% }


% If you wish to uncover everything in a step-wise fashion, uncomment
% the following command:=20

\beamerdefaultoverlayspecification{}


\newcommand{\rc}[1]{\textcolor{red}{#1}}
\newcommand{\bad}{${}^{*}$}
\newcommand{\strange}{$??\mbox{ }$}
\newcommand{\marginal}{$^{?}$}
\newcommand{\unexpected}{\#\ }
\newcommand{\depends}{$\%\mbox{ }$}
\newcommand{\et}{\:\&\:}
\newcommand{\ou}{\:\vee\:}
\newcommand{\imp}{\ensuremath{\Rightarrow}}
\newcommand{\vers}{\ensuremath{\rightarrow}}
\newcommand{\inc}{\ensuremath{\subseteq}}
\newcommand{\la}{\ensuremath{\langle}}
\newcommand{\ra}{\ensuremath{\rangle}}
\newcommand{\ldenot}{\ensuremath{[\![}}
\newcommand{\rdenot}{\ensuremath{]\!]}}
\newcommand{\denot}[1]{\ensuremath{[\![}#1\ensuremath{]\!]}}
\newcommand{\pp}{\ensuremath{\stackrel{pp}{\leadsto}}\ }
\newcommand{\IC}{\ensuremath{\stackrel{IC}{\leadsto}}\ }
\newcommand{\CI}{\ensuremath{\stackrel{CI}{\leadsto}}\ }
\newcommand{\ci}{\ensuremath{\stackrel{ci}{\leadsto}}\ }
\newcommand{\icg}{\ensuremath{\stackrel{icg}{\leadsto}}\ }
\newcommand{\icp}{\ensuremath{\stackrel{icp}{\leadsto}}\ }
\newcommand{\nonpp}{\ensuremath{\not\stackrel{pp}{\leadsto}}\ }
\newcommand{\nonIC}{\ensuremath{\not\stackrel{IC}{\leadsto}}\ }
\newcommand{\nonicg}{\ensuremath{\not\stackrel{icg}{\leadsto}}\ }
\newcommand{\nonicp}{\ensuremath{\not\stackrel{icp}{\leadsto}}\ }
\newcommand{\bigupdate}[1]{\stackrel{#1}{\tresgrossefleche}}
\newcommand{\tresgrossefleche}{\resizebox{2cm}{0.8ex}{$\longrightarrow$}}
\newcommand{\nm}{\ensuremath{\:\mbox{\rule{0.5pt}{7pt}}%
\hspace*{-0.2pt}{\raisebox{1pt}{$\scriptstyle\sim$}}\:}}
\newcommand{\nnm}{\ensuremath{\:\mbox{\rule{0.5pt}{7pt}}%
\hspace*{-0.2pt}{\raisebox{1pt}{$\scriptstyle\nsim$}}\:}}
\newcommand{\cfif}{\ensuremath{\:\Box\!\mbox{\raisebox{1pt}{$\rightarrow$}}=
}}
\newcommand{\cause}{\ensuremath{\Rrightarrow}}
\newcommand{\sufc}{\ensuremath{\:_{sc}\hskip-1mm\Rrightarrow}}
\newcommand{\tc}{\ensuremath{\:_{tc}\hskip-1mm\Rrightarrow}}
\newcommand{\losa}{\mbox{\raisebox{-2pt}{\FilledDiamondshape}}}
\newcommand{\carre}{\mbox{\raisebox{-2pt}{\FilledSquare}}}
\newcommand{\cercle}{\mbox{\raisebox{-2pt}{\FilledCircle}}}

\newenvironment{reflist}{\begin{list}{}%=20
{\setlength{\labelwidth}{0pt}=20
\setlength{\labelsep}{0pt}=20
\setlength{\leftmargin}{3em}=20
\setlength{\itemindent}{-3em}=20
\setlength{\listparindent}{-3em}=20
\setlength{\parsep}{0pt}=20
\setlength{\itemsep}{0pt}}\item}{\end{list}}=20

\newcounter{continuer}
\setcounter{continuer}{0}

\newcommand{\newcont}{\stepcounter{continuer}}
\newcommand{\cont}{\Roman{continuer}}
\newcommand{\stopcont}{\setcounter{continuer}{0}}
\newcommand{\freshcont}{\setcounter{continuer}{1}}

\newcounter{example}
\setcounter{example}{0}

\newcommand{\nex}{\stepcounter{equation}\item[{\scriptsize (\theequation)}]}
\newcommand{\nexa}{\stepcounter{equation}\item[{\scriptsize (\theequation{a=
})}]}
\newcommand{\nexb}{\item[{\scriptsize (\theequation{b})}]}
\newcommand{\nexc}{\item[{\scriptsize (\theequation{c})}]}
\newcommand{\nexd}{\item[{\scriptsize (\theequation{d})}]}
\newcommand{\nexe}{\item[{\scriptsize (\theequation{e})}]}
\newcommand{\nexf}{\item[{\scriptsize (\theequation{f})}]}


\newcommand{\exala}[2]{\newcounter{#1}\setcounter{#1}{\value{equation}}%
\addtocounter{#1}{#2}}


\avmfont{\sc}
\avmvalfont{\rm}


%\setbeamertemplate{itemize item}{$m$}
\setbeamertemplate{subsubsection in sidebar}

=20
\setbeamertemplate{footline}{\normalsize \hskip2mm\raisebox{2mm}{\hyperlink=
{references}{biblio}}}
%no nav symbols
\setbeamertemplate{navigation symbols}{\insertbackfindforwardnavigationsymb=
ol}
\begin{document}


%\begin{frame}
  \frame[plain]{\titlepage}
%\end{frame}


%\begin{alertenv}


%{\footnotesize
%\tableofcontents[currentsection,currentsubsection]}
  % You might wish to add the option [pausesections]

%\end{alertenv}

%\end{frame}

\section{Basics}

\subsection{Intuitions}

%******************************
\freshcont
\begin{frame}
\frametitle{Intuitions \cont}
%\framesubtitle{}

\begin{itemize}[<+-|address@hidden>]
\item
The value is $A^2$
\end{itemize}

The value is now $A^3$

\end{frame}

\end{document}

############################

Emacs  : GNU Emacs 23.2.1 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.=
29)
of 2010-05-27 on meduse.local
Package: 11.86

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
AUCTeX-version "11.86"
LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
image-types '(png gif tiff jpeg xpm xbm pbm)
preview-image-type 'png
preview-image-creators '((dvipng (open preview-gs-open preview-dvipng-proc=
ess-setup)
                           (place preview-gs-place) (close 
preview-dvipng-close))
                          (png (open preview-gs-open) (place preview-gs-place) 
(close preview-gs=
-close))
                          (jpeg (open preview-gs-open) (place preview-gs-place) 
(close preview-g=
s-close))
                          (pnm (open preview-gs-open) (place preview-gs-place) 
(close preview-gs=
-close))
                          (tiff (open preview-gs-open) (place preview-gs-place) 
(close preview-g=
s-close)))
preview-dvipng-image-type 'png
preview-dvipng-command "dvipng -picky -noghostscript %d -o \"%m/prev%%03d.=
png\""
preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc"
preview-gs-command "gs"
preview-gs-options '("-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPr=
inted" "-dTextAlphaBits=3D4"
                      "-dGraphicsAlphaBits=3D4")
preview-gs-image-type-alist '((png png "-sDEVICE=3Dpng16m") (dvipng png "-=
sDEVICE=3Dpng16m")
                               (jpeg jpeg "-sDEVICE=3Djpeg") (pnm pbm 
"-sDEVICE=3Dpnmraw")
                               (tiff tiff "-sDEVICE=3Dtiff12nc"))
preview-fast-conversion t
preview-prefer-TeX-bb nil
preview-dvips-command "dvips -Pwww -i -E %d -o %m/preview.000"
preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps"
preview-scale-function 1.8
preview-LaTeX-command '("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPacka=
ge{"
                         ("," . preview-required-option-list)
                         
"}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined"
                         preview-default-preamble "\\fi}\"%' %t")
preview-required-option-list '("active" "tightpage" "auctex" (preview-pres=
erve-counters "counters"))
preview-preserve-counters nil
preview-default-option-list '("displaymath" "floats" "graphics" "textmath"=
"sections" "footnotes"
                               "showlabels" "psfixbb")
preview-default-preamble '("\\RequirePackage[" ("," . preview-default-opti=
on-list)
                            "]{preview}[2004/11/05]")
preview-LaTeX-command-replacements nil
preview-dump-replacements '(preview-LaTeX-command-replacements
                             ("\\`\\([^ ]+\\)\\(\\( +-\\([^ 
\\\\\"]\\|\\\\\\.\\|\"[^\"]*\"\\)*\\=
)*\\)\\(.*\\)\\'" "\\1 -ini -interaction=3Dnonstopmode \"&\\1\" " preview-f=
ormat-name ".ini \\5")
                             )
preview-undump-replacements '(("\\`\\([^ ]+\\) .*? \"\\\\input\" \\(.*\\)\=
\'"
                                "\\1 -interaction=3Dnonstopmode \"&" 
preview-format-name "\" \\2")
                               )
preview-auto-cache-preamble 'ask
preview-TeX-style-dir "/Applications/Emacs.app/Contents/Resources/site-lis=
p/auctex/latex"
)

Output from running `gs -h':
GPL Ghostscript 8.70 (2009-07-31)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =3D)
-dNOPAUSE           no pause after page   | -q       `quiet', fewer messag=
es
-g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
-sDEVICE=3D<devname>  select device         | -dBATCH  exit after last file
-sOutputFile=3D<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel=
3 PDF
Default output device: x11alpha
Available devices:
   alc1900 alc2000 alc4000 alc4100 alc8500 alc8600 alc9100 ap3250 appledmp
   atx23 atx24 atx38 bbox bit bitcmyk bitrgb bitrgbtags bj10e bj10v bj10vh
   bj200 bjc600 bjc800 bjc880j bjccmyk bjccolor bjcgray bjcmono bmp16 bmp16m
   bmp256 bmp32b bmpgray bmpmono bmpsep1 bmpsep8 ccr cdeskjet cdj1600 cdj500
   cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono cdnj500 cfax
   cgm24 cgm8 cgmmono chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl
   cp50 cups declj250 deskjet devicen dfaxhigh dfaxlow dj505j djet500
   djet500c dl2100 dnj650c epl2050 epl2050p epl2120 epl2500 epl2750 epl5800
   epl5900 epl6100 epl6200 eplcolor eplmono eps9high eps9mid epson epsonc
   epswrite escp escpage faxg3 faxg32d faxg4 fmlbp fmpr fs600 gdi hl1240
   hl1250 hl7x0 hpdj1120c hpdj310 hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c
   hpdj510 hpdj520 hpdj540 hpdj550c hpdj560c hpdj600 hpdj660c hpdj670c
   hpdj680c hpdj690c hpdj850c hpdj855c hpdj870c hpdj890c hpdjplus
   hpdjportable ibmpro ijs imagen imdi inferno iwhi iwlo iwlq jetp3852 jj100
   jpeg jpegcmyk jpeggray la50 la70 la75 la75plus laserjet lbp310 lbp320
   lbp8 lex2050 lex3200 lex5700 lex7000 lips2p lips3 lips4 lips4v lj250
   lj3100sw lj4dith lj4dithp lj5gray lj5mono ljet2p ljet3 ljet3d ljet4
   ljet4d ljet4pjl ljetplus ln03 lp1800 lp1900 lp2000 lp2200 lp2400 lp2500
   lp2563 lp3000c lp7500 lp7700 lp7900 lp8000 lp8000c lp8100 lp8200c lp8300c
   lp8300f lp8400f lp8500c lp8600 lp8600f lp8700 lp8800c lp8900 lp9000b
   lp9000c lp9100 lp9200b lp9200c lp9300 lp9400 lp9500c lp9600 lp9600s
   lp9800c lps4500 lps6500 lq850 lx5000 lxm3200 lxm5700m m8510 mag16 mag256
   md1xMono md2k md50Eco md50Mono md5k mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8
   mgrmono miff24 mj500c mj6000c mj700v2c mj8000c ml600 necp6 npdl nullpage
   oce9050 oki182 oki4w okiibm omni oprp opvp paintjet pam pbm pbmraw pcl3
   pcx16 pcx24b pcx256 pcx2up pcxcmyk pcxgray pcxmono pdfwrite pgm pgmraw
   pgnm pgnmraw photoex picty180 pj pjetxl pjxl pjxl300 pkm pkmraw pksm
   pksmraw plan9bm png16 png16m png256 png48 pngalpha pnggray pngmono pnm
   pnmraw ppm ppmraw pr1000 pr1000_4 pr150 pr201 ps2write psdcmyk psdrgb
   psgray psmono psrgb pswrite pxlcolor pxlmono r4081 rinkj rpdl samsunggdi
   sgirgb sj48 spotcmyk st800 stcolor sunhmono svg t4693d2 t4693d4 t4693d8
   tek4696 tiff12nc tiff24nc tiff32nc tiffcrle tiffg3 tiffg32d tiffg4
   tiffgray tifflzw tiffpack tiffsep uniprint wtscmyk wtsimdi x11 x11alpha
   x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11gray4 x11mono x11rg16x
   x11rg32x xcf xes
Search path:
   . : %rom%Resource/Init/ : %rom%lib/ :
   /usr/local/share/ghostscript/8.70/Resource/Init :
   /usr/local/share/ghostscript/8.70/lib :
   /usr/local/share/ghostscript/8.70/Resource/Font :
   /usr/local/share/ghostscript/fonts :
   /usr/local/share/fonts/default/ghostscript :
   /usr/local/share/fonts/default/Type1 :
   /usr/local/share/fonts/default/TrueType : /usr/lib/DPS/outline/base :
   /usr/openwin/lib/X11/fonts/Type1 : /usr/openwin/lib/X11/fonts/TrueType :
   /usr/share/cups/fonts
Initialization files are compiled into the executable.
For more information, see /usr/local/share/ghostscript/8.70/doc/Use.htm.
Please report bugs to bugs.ghostscript.com.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]