Fonts & Character SetsHow to avoid Font Warning when using both lettrine and bera?

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
yoyoimut
Posts: 120
Joined: Mon Oct 19, 2009 6:58 am

How to avoid Font Warning when using both lettrine and bera?

Post by yoyoimut »

Hi everyone,

First of all, Happy Pi = 3.14 day!

I am using both lettrine and bera in my minimal code below

Code: Select all

Code, edit and compile here:
\documentclass{book}
\usepackage{lettrine}
\usepackage{bera}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{lipsum}
\begin{document}
\lettrine{I}{t} is an input file about dropcap.
\lipsum[1]
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
and I got 2 warnings.
lettrine.jpg
lettrine.jpg (133.49 KiB) Viewed 8469 times

How to avoid these warnings?


Thank you in advance.


regards,


Yuko

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to avoid Font Warning when using both lettrine and bera?

Post by localghost »

Regarding error messages please post complete log files as attachments instead of screenshots. The log mostly contains much more useful information than the small excerpt that can be seen in an image.

The lettrine package typesets the text in small capitals. But the bera package simply doesn't support those characters.


Best regards
Thorsten
yoyoimut
Posts: 120
Joined: Mon Oct 19, 2009 6:58 am

How to avoid Font Warning when using both lettrine and bera?

Post by yoyoimut »

localghost wrote:Regarding error messages please post complete log files as attachments instead of screenshots. The log mostly contains much more useful information than the small excerpt that can be seen in an image.
Thank for your response.

So this problem is machine-dependent?
I used the latest miktex distro.

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (preloaded format=latex 2010.3.2) 17 MAR 2010 21:02
entering extended mode
**LaTeX1.tex
(C:\Users\Quad\Documents\gomi\LaTeX1.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for indonesian, english, loaded.
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\book.cls"
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\bk10.clo"
File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\lettrine\lettrine.sty"
File: lettrine.sty 2007/08/08 v1.62 (Daniel Flipo)
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
\c@DefaultLines=\count88
\DefaultFindent=\dimen103
\DefaultNindent=\dimen104
\DefaultSlope=\dimen105
\L@lbox=\box26
\L@tbox=\box27
\c@L@lines=\count89
\L@Pindent=\dimen106
\L@Findent=\dimen107
\L@Nindent=\dimen108
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

regards,

Yuko
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to avoid Font Warning when using both lettrine and bera?

Post by localghost »

yoyoimut wrote:[...] So this problem is machine-dependent? [...]
No, it's not. And actually I thought I clarified that in my last reply. This package just doesn't provide small capitals. Use another font package like kpfonts and you will see what I mean or try your example without any additional font.
yoyoimut
Posts: 120
Joined: Mon Oct 19, 2009 6:58 am

Re: How to avoid Font Warning when using both lettrine and b

Post by yoyoimut »

Thank localghost,

The warnings no longer exist after excluding bera and including kpfonts that you introduced.


regards,

Yuko.
Post Reply