GeneralErrors with Beamer not understandable

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
anselm
Posts: 7
Joined: Mon Aug 09, 2010 9:11 am

Errors with Beamer not understandable

Post by anselm »

Hello all
I had a stupid misunderstanding with Beamer last time which was fixed thanks to your generosity. To test my package, I run an example quickbeamer1.tex from More Math into LaTeX that I have attached plus the log file of the compilation. These are the errors highlighted:

Code: Select all

Package hyperref Warning: Invalid value `0 0 0'
(hyperref) for option `pdfborder'.
.Package hyperref Warning: Option `pdfauthor' has already been used,
(hyperref) setting the option has no effect on input line 9.
.LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available
(Font) size <5> substituted on input line 17.
.LaTeX Font Info: Try loading font information for U+msa on input line 17.
("C:\Program Files\MiKTeX 2.8\tex\latex\amsfonts\umsa.fd"
File: umsa.fd 2009/06/22 v3.00 AMS symbols A
[b].[/b]
 Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `math shift' on input line 39.
[b].[/b]Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\Pi' on input line 39.
[b].[/b]Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `superscript' on input line 39.
[b].[/b]Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `math shift' on input line 39.
[5
] <products.pdf, id=173, 253.94875pt x 161.60374pt>
File: products.pdf Graphic file (type pdf)
<use products.pdf>
[b].[/b]Overfull \hbox (18.96771pt too wide) detected at line 119
\OMS/cmsy/m/n/10.95 h[] \OML/cmm/m/it/10.95 ; \OT1/cmss/m/it/10.95 d\OML/cmm/m/
it/10.95 
[b].[/b]LaTeX Font Warning: Size substitutions with differences
(Font) up to 1.0pt have occurred.
)
It should mentioned that an output pdf file is produced but I'd like to get rid of the erros. I'm using TexMakerX for this post but I have these erros on the other editors as well.
Some Help
"from M... to ZION"
Attachments
quickbeamer1.log
quickbeamer1.tex log file
(40.81 KiB) Downloaded 508 times
quickbeamer1.tex
the example from More Into LaTeX sample file available at CRAN
(3.89 KiB) Downloaded 592 times
Last edited by anselm on Fri Oct 15, 2010 11:01 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Errors with Beamer not understandable

Post by frabjous »

I think it would help if you created a proper minimal working example and tried to break things up so we could deal with one issue at a time.

Some of the issues are relatively obvious, however, and can be dealt with.

Code: Select all

.Package hyperref Warning: Option `pdfauthor' has already been used,
(hyperref) setting the option has no effect on input line 9.
.LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available
(Font) size <5> substituted on input line 17.
This is a result of putting \author, \title, \institute, etc., after \begin{document} as opposed to before, where they belong. Move all that stuff up.

Code: Select all

 Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `math shift' on input line 39.
[b].[/b]Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\Pi' on input line 39.
[b].[/b]Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `superscript' on input line 39.
[b].[/b]Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `math shift' on input line 39.
These are all the result of trying to use math mode in a section title. The problem is that since beamer loads hyperref, hyperref is trying to place these special characters in the pdf bookmarks which are used as a kind of table of contents which can be shown in the left panel of many PDF readers. But these do not allow special characters or math mode. The proper way to handle this, as described in the hyperref manual, is to use \texorpdfstring to put in a substitute in the pdf bookmarks. E.g.:

\section{The \texorpdfstring{$\Pi^{*}$}{Pi*} construction}

This will put "Π*" in the document but "Pi*" in the bookmarks.

Code: Select all

Overfull \hbox (18.96771pt too wide) detected at line 119
This one is pretty obvious; the equation is too wide and spills over the page. I'd use something like a split, multline or gather environment from amsmath to split the equation into multiple lines.

Code: Select all

LaTeX Font Warning: Size substitutions with differences
(Font) up to 1.0pt have occurred.
)
There are a few of these; I wouldn't worry about them if you can't tell that anything is wrong.
CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

Errors with Beamer not understandable

Post by CrazyHorse »

anselm wrote: I had a stupid misunderstanding with Beamer last time which was fixed thanks to your generosity. To test my package, I run an example quickbeamer1.tex from More Math into LaTeX that I have attached plus the log file of the compilation. These are the errors highlighted:
  • .Package hyperref Warning: Invalid value `0 0 0'
    (hyperref) for option `pdfborder'.
This is aproblem with the current hyperref package, which os load by
beamer. An update is on the way to CTAN.

Herbert
anselm
Posts: 7
Joined: Mon Aug 09, 2010 9:11 am

Re: Errors with Beamer not understandable

Post by anselm »

Thank you for your expertise Frabjous.
How do I mark this post resolve????
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Errors with Beamer not understandable

Post by frabjous »

Edit the first post of the thread and add the green checkmark there.
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Errors with Beamer not understandable

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in Section 3 of the Board Rules (to be read before posting). Please keep that in mind for the future so that a reminder will not be needed any more.


Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply