[OS X TeX] font problem

KL Tah kl_tah at hotmail.com
Sat Feb 4 19:14:11 CET 2006


Here's the console output:

This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
  \write18 enabled.
entering extended mode
(./poster.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, british, french,  
german, n
german, nohyphenation, loaded.
(./cuposter.cls

LaTeX Warning: You have requested document class `cuposter',
                but the document class provides `ancposter'.

Document Class: ancposter 2000/05/05 v2.3 ANC Poster Class (MEF, AJG)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
(/usr/local/teTeX/share/texmf.local/tex/latex/pstcol.sty

Package pstcol Warning: ************************************
(pstcol)                The package `pstcol' is obsolet!
(pstcol)                You should use `pstricks' directly:
(pstcol)                    \usepackage{pstricks}
(pstcol)                ************************************.

(/usr/local/teTeX/share/texmf.local/tex/latex/pstricks.sty
(/usr/local/teTeX/share/texmf.local/tex/generic/pstricks.tex
`PSTricks' v1.14  <2005/12/22> (tvz)
(/usr/local/teTeX/share/texmf.local/tex/generic/pstricks.con))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/color.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/color.cfg)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/pdftex.def))))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/epsfig.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.cfg))))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/tools/multicol.sty)
(/Users/ktah/Library/texmf/tex/latex/html/url.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/sectsty/sectsty.sty)
(/usr/local/teTeX/share/texmf.gwtex/tex/latex/foiltex/fltfonts.def)
(/usr/local/teTeX/share/texmf.gwtex/tex/latex/foiltex/foil30.clo)
Landscape Poster
) (/Users/ktah/Library/texmf/tex/pstimes.sty

LaTeX Font Warning: *** NFSS release 1 command \new at fontshape found
(Font)              *** Update by using release 2 command  
\DeclareFontShape.
(Font)              *** Recovery is probably possible on input line 21.


! LaTeX Error: Font family `U+times' unknown.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
  ...

l.21     <25>psmtimr at 25pt}{}



and the first couple lines from the .cls file that I'm using:


%% Thu 29 Dec 2005: Adapted from infposter.cls and ancposter.cls by
%% Stephen Eglen for using in Cambridge University.  Simple change is
%% to display the CU logo rather than Edinburgh University.
%%

%%    File : infposter.cls    (LaTeX2e class file)
%%  Author : Version 1.0 by Martin Reddy (mxr at dcs.ed.ac.uk)
%%           Version 2.0 by Mary Ellen Foster (mef at cogsci.ed.ac.uk)
%% Version : 2.2
%% Updates : 1.0 [14/2/97] - initial release.
%%           1.1 [14/3/97] - center caption, colour changes
%%           2.0 [4/5/2000] - new layout, incorporating new informatics
%%                            logo.  (Renamed to infposter)
%%           2.1 [11/28/2000] - use new informatics shield, graphics  
rather
%%                            than graphicx.
%%               2.2 [04/05/2001] - margins reduced to avoid blue frame
%%                              disappearing on A0 printer
%%           2.3 [10/05/2002] - fixed the way sections get redefined;  
added \email
%               and \homepage commands.
%%
%% This file contains a class definition, infposter, for the LaTeX2e
%% system which defines the layout of posters in the style of
%% University of Edinburgh.
%%
%% For information on this class, please refer to "texdoc infposter"
%%
%% The following LaTeX packages are required by this class:
%%    pstricks - to embed the background EU crests and border.
%%    graphics - to display all EPS figures
%%    multicol - to produce the 3 column text.
%%    sectsty  - to redefine the font and colour of the headers
%%    url      - to typeset urls properly
%%

\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesClass{ancposter}[2000/05/05 v2.3 ANC Poster Class (MEF, AJG)]

%% tweaks to permit use with FoilTeX 2.1
\newif\if at magscaleECfonts \@magscaleECfontsfalse
\newif\if at useDCfonts \@useDCfontsfalse

%%
%% --- Initial Code ---
%%

\newlength{\posterwidth}
\newlength{\posterheight}
   \setlength\posterheight{840mm}
   \setlength\posterwidth{1188mm}

% MEF added these
\newcommand{\poster at columns}{}
\newcommand{\poster at depturl}{\url{http://www.informatics.ed.ac.uk/}}
\newcommand{\poster at deptimage}{Logo1.eps}
\newcommand{\poster at ancimage}{ANCnet.ps}
\newcommand{\poster at deptimageheight}{1.5in}
\newcommand{\poster at ancimageheight}{7.8in}
\newcommand{\poster at mainimage}{GraphicB-pale.eps}
\newcommand{\poster at mainedimage}{greylogo.ps}
\newcommand{\poster at deptname}{}
\newcommand{\poster at centre}{}

\newif\if at posterland
% Various possible layout configurations and their defaults (many of  
these
% cannot be set to otherwise, but I'll leave the code in just in case)
\newif\if at posteroverlap \@posteroverlaptrue
\newif\if at posterborder \@posterbordertrue
\newif\if at postercolumns \@postercolumnstrue
\newif\if at postershield \@postershieldtrue
\newif\if at posterundershield \@posterundershieldfalse

\newif\if at posteranctop \@posteranctoptrue
\newif\if at posterancaddresbox \@posterancaddresboxtrue
\newif\if at posterancnoback \@posterancnobackfalse
\newif\if at posteranced \@posterancedfalse

\newcommand{\dson}{\renewcommand{\baselinestretch}{1.5}\large\Large}
\newcommand{\dsoff}{\renewcommand{\baselinestretch}{1}\large\Large}

%%
%%  --- Options ---
%%


\DeclareOption{center}{\renewcommand{\poster at centre}{yes}}
\DeclareOption{centre}{\renewcommand{\poster at centre}{yes}}

%% Added one-column option
\DeclareOption{onecolumn}{\@postercolumnsfalse}
\DeclareOption{twocolumn}{\@postercolumnstrue\renewcommand{\poster at colum 
ns}2}
\DeclareOption{threecolumn}{\@postercolumnstrue\renewcommand{\poster at col 
umns}3}
\DeclareOption{fourcolumn}{\@postercolumnstrue\renewcommand{\poster at colu 
mns}4}

\DeclareOption{landscape}{\@posterlandtrue}
\DeclareOption{portrait}{\@posterlandfalse}

\DeclareOption{anctop}{\@posteranctoptrue}
\DeclareOption{ancbottom}{\@posteranctopfalse}
\DeclareOption{addressbox}{\@posterancaddresboxtrue}
\DeclareOption{addressline}{\@posterancaddresboxfalse}
\DeclareOption{noback}{\@posterancnobacktrue}
\DeclareOption{edback}{\@posterancedtrue}
\DeclareOption{infback}{\@posterancedfalse}

% Should the poster have a border around it?
\DeclareOption{border}{%
     \@posterbordertrue
}
\DeclareOption{noborder}{%
     \@posterborderfalse
}

% Default options
\ExecuteOptions{threecolumn,landscape}
\ProcessOptions

%%
%% --- Class Loading (built ontop of article.cls) ---
%%

\LoadClass{article}

%%
%% --- Main Code ---
%%

\usepackage{pstcol}  % load pstricks and LaTeX color together [DCS, on
                      % suggestion of Stephen J Eglen]
                      % This fixes the problem with the column
                      % separators changing to the SectionColour of a
                      % section on the right-hand side of the separator.
% Epsfig retained for compatibility, but all graphics are included  
through
% graphicx
\usepackage{epsfig}
\usepackage{graphicx}
\usepackage{multicol}

%%SJE: no need for EU shield.
%%\usepackage{eushield} \shieldtype{4}
% Added this in case urls are to be displayed
\usepackage{url}
% A better way to redefine section headers!
\usepackage{sectsty}

%% Set up the default colours for the poster.
%% These can be modified directly by the user

\newcommand{\ItemizeColour}{\color{magenta}}
\newcommand{\SectionColour}{\color{blue}}
\newcommand{\TitleColour}{\color{black}}
\newcommand{\SubtitleColour}{\color{black}}
\newcommand{\AuthorColour}{\color{black}}
\newcommand{\AddressColour}{\color{black}}
\newcommand{\AbstractColour}{\color{black}}
\newcommand{\CaptionColour}{\color{red}}

%% provide a number of lengths to let the user
%% customise the spacing of the poster

\newlength{\SpaceAfterTitle}
\newlength{\SpaceAfterSubtitle}
\newlength{\SpaceAfterAuthor}
\newlength{\SpaceAfterAbstract}
\newlength{\SpaceBeforeText}
\newlength{\SpaceToColumnSep}
\newlength{\SpaceTemp}

\setlength{\SpaceToColumnSep}{5em}

\newenvironment{posterindent}
    {\list{}{\setlength\leftmargin\SpaceToColumnSep%
    \setlength\rightmargin\leftmargin}\item\relax}
    {\endlist}

%% keep a track of whether \makeposter has been called. If it has
%% then we need to do an \end{multicols}

\def\poster at true{1}
\def\poster at false{0}
\let\poster at displayed\poster at false

% End whatever environments we're in (the exact ones depend on the  
options)
\AtEndDocument{%
   \if\poster at displayed\poster at true \end{posterindent}
     \if at postercolumns
       \end{multicols}
     \fi%
   \fi%
}

%% setup the multicols environment

\columnseprule=.5mm
\flushcolumns

%% Setup some really big fonts. This is a pain to do, so I'm just
%% going to use the style files from the FoilTeX system which already
%% do this.

\input{fltfonts.def}
%% ADJUST BACK TO NORMAL EMPH!
\DeclareRobustCommand\em{\@nomath\em \ifdim \fontdimen\@ne\font >\z@
      \upshape \else \itshape \fi}
\input{foil30.clo}
\renewcommand\familydefault{\rmdefault}

% [DCS] Foiltex redefines \@list.  Change it back to the setting used by
% article so that natbib can work with the class
\let\@listi\@listI

% Modify the FoilTeX defs a bit so we can have *really* big font
% sizes for the main title and sub title.

\DeclareFontShape{OT1}{fcmr}{bx}{n}{%
    
<12><14.4><17.28><20.74><24.88><29.86><35.83><43.00><51.60><72>cmbx10}{}

\DeclareFontShape{OT1}{fcmr}{bx}{sl}{%
    
<12><14.4><17.28><20.74><24.88><29.86><35.83><43.00><51.60><64>cmbxsl10} 
{}

%% \newcommand{\poster at maintitlefont}{%
%%   \fontencoding{OT1}\fontfamily{fcmr}\fontseries{bx}%
%%   \fontshape{n}\fontsize{72}{84}\selectfont%
%% }


On Feb 4, 2006, at 10:04 AM, Jonathan Kew wrote:

> On 4 Feb 2006, at 5:30 pm, KL Tah wrote:
>
>> I don't think I actually have XeTeX installed...that could be a  
>> problem?
>
> In that case, you're presumably not running it or using any  
> xetex-specific packages like fontspec.sty, so you can ignore my  
> suggestion. It was only a guess based on the error message that seemed  
> to imply a "U" encoding.
>
> To know what's really going on, I think the LaTeX experts here will  
> want to see a bit more context.... such as the document preamble, to  
> see what packages you're using, and perhaps more of the console output  
> from the job.
>
> JK
>
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>          & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list