Fonts & Character SetsKp-Fonts

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Christos
Posts: 25
Joined: Sun Nov 30, 2008 10:06 pm

Kp-Fonts

Post by Christos »

Hi all,
I would appreciate your help on the following. In the simplest document I make with Kp-Fonts, I get LaTeX warnings concerning the font shape. For instance:

Code: Select all

LaTeX Font Warning: Font shape `U/msa/m/n' in size <4.56004> not available
(Font)              size <5> substituted on input line 37.

LaTeX Font Warning: Font shape `U/msb/m/n' in size <4.56004> not available
(Font)              size <5> substituted on input line 37.

LaTeX Font Warning: Font shape `U/msa/m/n' in size <4.08003> not available
(Font)              size <5> substituted on input line 37.

LaTeX Font Warning: Font shape `U/msb/m/n' in size <4.08003> not available
(Font)              size <5> substituted on input line 37.
So, I was wondering if there is any way I can fix this.
Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Kp-Fonts

Post by localghost »

Christos wrote:[...] In the simplest document I make with Kp-Fonts, I get LaTeX warnings concerning the font shape. [...]
Let us see this document and tell us which LaTeX system you are using. Insert as very first line the \listfiles command to your code and post the section between *File List* and *********** from the log file.


Best regards
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
Christos
Posts: 25
Joined: Sun Nov 30, 2008 10:06 pm

Kp-Fonts

Post by Christos »

I use MacTeX, the latest version. The log follows
Thanks a lot.

Code: Select all

*File List*
 article.cls    2005/09/16 v1.4f Standard LaTeX document class
  size10.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
geometry.sty    2008/12/21 v4.2 Page Geometry
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
   ifpdf.sty    2007/12/12 v1.6 Provides the ifpdf switch (HO)
  ifvtex.sty    2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)
geometry.cfg
 fontenc.sty
   t1enc.def    2005/09/27 v1.99g Standard LaTeX file
 kpfonts.sty     2008/11/18 v2.32
textcomp.sty    2005/09/27 v1.99g Standard LaTeX package
  ts1enc.def    2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
 amsmath.sty    2000/07/18 v2.13 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
inputenc.sty    2006/05/05 v1.1b Input encoding file
  latin1.def    2006/05/05 v1.1b Input encoding file
   babel.sty    2008/07/06 v3.8l The Babel package
   greek.ldf    2005/03/30 v1.3l Greek support from the babel system
  lgrenc.def    2008/06/17 v2.3 Greek Encoding
 english.ldf    2005/03/30 v3.3o English support from the babel system
setspace.sty    2000/12/01 6.7 Contributed and Supported LaTeX2e package
  natbib.sty    2009/02/02 8.3 (PWD, AO)
pstricks.sty    2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2009/01/25 v1.27 `PSTricks' (tvz,hv)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-plot.sty    2004/07/15 package wrapper for pst-plot.tex
pst-plot.tex    2008/11/24 1.03 `pst-plot' (tvz)
pst-node.sty    2006/01/01 package wrapper for pst-node.tex
pst-node.tex    2008/11/26 1.01 `pst-node' (tvz)
pst-xkey.sty    2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
pst-jtree.sty    2006/09/24 package wrapper for PSTricks pst-jtree.tex
    gb4e.sty    
cgloss4e.sty
multicol.sty    2006/05/18 v1.6g multicolumn formatting (FMi)
 amssymb.sty    2002/01/22 v2.2d
amsfonts.sty    2001/10/25 v2.2f
    ulem.sty    2000/05/26
  omljkp.fd    2006/08/15 v1.0
  omsjkp.fd    2006/08/15 v1.0
  omxjkp.fd    2006/08/15 v1.0
 ujkpexa.fd    2006/08/15 v1.0
  ts1cmr.fd    1999/05/25 v2.5h Standard LaTeX font definitions
  lgrcmr.fd    2008/01/04 v1.0 Greek Computer Modern
t1jkposn.fd    2008/02/18 Fontinst v1.928 font definitions for T1/jkposn.
ot1jkposn.fd    2008/02/18 Fontinst v1.928 font definitions for OT1/jkposn.
 ujkpmia.fd    2006/08/15 v1.0
    umsa.fd    2002/01/19 v2.2g AMS font definitions
    umsb.fd    2002/01/19 v2.2g AMS font definitions
 ujkpsyc.fd    2006/08/15 v1.0
Sluicing.bbl
 ***********
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Kp-Fonts

Post by localghost »

I can't see any source code as requested but I see the problematic gb4e package in your list. So, please post a minimal working example (MWE) that reproduces the warnings. Use only packages that are really needed. For the the present you can test the following code.

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{babel}
\usepackage[margin=2cm]{geometry}
\usepackage{kpfonts}
\usepackage{blindtext}

\begin{document}
  \Blinddocument
\end{document}
Whenever posting code, please use the code environment by clicking the according button right above then input window.
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
Christos
Posts: 25
Joined: Sun Nov 30, 2008 10:06 pm

Kp-Fonts

Post by Christos »

If I understand what you're saying, I'm copying the source code below:

Code: Select all

\documentclass[a4paper,dvips,12pt]{article}
\usepackage[margin=2cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[fulloldstylenums]{kpfonts}
\usepackage[latin9]{inputenc}
\usepackage[greek,english]{babel}
\usepackage{setspace}
\usepackage{natbib}
\bibpunct[, ]{(}{)}{;}{a}{}{,}
\usepackage{pstricks}
\usepackage{pst-plot}
\usepackage{pst-node}
\usepackage{pst-xkey}
\usepackage{pst-jtree}
\newdimen\dimpuba
\newdimen\dimpubb
\newdimen\dimpubc
\newdimen\dimpubd
\usepackage{gb4e}
\usepackage{multicol}
\usepackage{amssymb}
\usepackage[normalem]{ulem}
\interfootnotelinepenalty=10000	
\raggedbottom
\long\def\symbolfootnote[#1]#2{\begingroup%
\def\thefootnote{\fnsymbol{footnote}}\footnote[#1]{#2}\endgroup}
\newcommand{\comments}[1]{}
I created the minimal example according to your preamble and I get no warnings even when I add the gb4e package.
Thanks

PS: I thing I was asked to give the log file, not the source one.
Christos
Posts: 25
Joined: Sun Nov 30, 2008 10:06 pm

Re: Kp-Fonts

Post by Christos »

Ok, it appears that the problem derives from the \thanks command. This is when I get a warning about the font shape (i.e., the symbol defined). If anyone knows a way out I would much appreciate it.
Thanks
Post Reply