lucimatx with Y&Y TeX system
Posted: Tue Feb 07, 2006 3:45 pm
I'm trying to get the lucimatx macro for the Lucida fonts to work with Y&Y TeX. (Aim is that except for changing the encoding to LY1, as needed for Y&Y, to be able to use essentially the same source .tex files no matter what the TeX system I'm using.)
I copied all the new Lucida .tfm's (named hl*) into the directory yandy\fonts\tfm\texnansi.
A simple document -- included in-line below -- using the LY1 encoding along with lucimatx now DOES successfully get processed by Y&Y's TeX engine.
However, the dviwindo previwer does not find the appropriate fonts. It gives error messages such as:
Can't find Font:hlcrv (5), No Face Name
(Windows offers: `Arial') at byte 416
In the document, the dviwindo "DVI File Fonts" command lists the following fonts by TFM name and with Face & Style as UNKNOWN:
hlcrima
hlcrv
hlcry (at two magnifications)
On the other hand, it correctly lists the following LucidaBright text fonts by TFM with LucidaBright as the Face & Style:
lbd (at two magnifications)
lbi
lbr (at four magnifications)
Both groups are listed for texnansi encoding, of course.
So the questions remains as to where the fonts (pfm's? pfb's?) are properly identified to the previewer. The Lucida pfm's and pfb's distributed by PCTeX (and presumably likewise those distributed by TUG) still have all their names beginning "lb" -- the same as with the Lucida fonts I originally obtained from Y&Y.
What follows are (1) the sample document; (2) possibly relevant portions of the log file; and (3) the [Environment] section of my dviwindo.ini
%%%%%% begin mytestlucida.tex %%%%%%
% Test of Lucida fonts using lucimatx
\documentclass{article}
\usepackage[LY1]{fontenc}
\usepackage{lucimatx}
\begin{document}
\title{Test of Lucida}
\author{Murray Eisenberg}
\date{\today}
\maketitle
\section{Begin}
{\it Lucida handwriting} and some \textbf{Lucida} \emph{math}: $1+1 = 2$
\[
\int_0^\infty f(t)dt
\]
Some more text here.
\end{document}
%%%%%% end mytestlucida.tex %%%%
###### from mytestlucida.log #####
Y&Y TeX 2.2.1 2000 ...
This is TeX, Version 3.14159 (Y&Y TeX 2.2.1)...
**+latex mytestlucida.tex
(D:/WP/yandy/YANDYTEX/FMT/latex.fmt)
(mytestlucida.tex
LaTeX2e <1999/12/01>
(d:/wp/yandy/tex/latex/base/article.cls
Document Class: article 1999/09/10 v1.4a Standard LaTeX document class
...
(d:/wp/yandy/tex/latex/base/fontenc.sty
Package: fontenc 1999/12/08 v1.9x Standard LaTeX package
(d:/wp/yandy/tex/latex/required/psnfss/ly1/ly1enc.def
File: ly1enc.def 1999/05/21 v0.6 Y\&Y's texnansi encoding (DPC)
)
LaTeX Font Info: Try loading font information for LY1+ptm on input line 96.
(d:/wp/yandy/tex/latex/required/psnfss/ly1/ly1ptm.fd
File: ly1ptm.fd 1997/01/26 LY1/ptm (Times Roman) with Adobe file names. (DPC)
))
(d:/wp/yandy/tex/latex/lucimatx/lucimatx.sty
Package: lucimatx 2005/10/01 1.0Lucida Bright/New Math font support (PCTeX Inc)
(d:/wp/yandy/tex/latex/required/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
Package lucimatx Info: TeX math style on input line 231.
LaTeX Font Info: Redeclaring symbol font `letters' on input line 297.
LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
(Font) OML/cmm/m/it --> OML/hlcm/m/it on input line 297.
...
LaTeX Font Warning: Encoding `OT1' has changed to `LY1' for symbol font
(Font) `operators' in the math version `normal' on input line 306.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> LY1/hlh/m/n on input line 306.
LaTeX Font Warning: Encoding `OT1' has changed to `LY1' for symbol font
(Font) `operators' in the math version `bold' on input line 306.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> LY1/hlh/m/n on input line 306.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) LY1/hlh/m/n --> LY1/hlh/b/n on input line 307.
...
LaTeX Font Info: Redeclaring math alphabet \mathrm on input line 310.
LaTeX Font Info: Redeclaring math alphabet \mathsf on input line 311.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/cmss/m/n --> LY1/hls/m/n on input line 311.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/cmss/bx/n --> LY1/hls/m/n on input line 311.
LaTeX Font Info: Redeclaring math alphabet \mathit on input line 312.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/cmr/m/it --> LY1/hlh/m/it on input line 312.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/cmr/bx/it --> LY1/hlh/m/it on input line 312.
...
(Font) LY1/hls/m/n --> LY1/hls/b/n on input line 315.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold'
(Font) LY1/hlh/m/n --> LY1/hlh/b/n on input line 316.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) LY1/hlh/m/it --> LY1/hlh/b/it on input line 317.
...
) (mytestlucida.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for LY1/ptm/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for LMR/hlcm/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Try loading font information for LY1+hlh on input line 7.
(d:/wp/yandy/tex/latex/required/psnfss/ly1hlh.fd
File: ly1hlh.fd 1997/09/07 v4.2 Lucida Bright(Y&Y Names)(SPQR/DPC)
)
...
[1
] (mytestlucida.aux) )
...
Used 11 fonts:
hlcrima at 10pt encoding: fixed ..
hlcrv at 10pt encoding: fixed ..
hlcry at 7pt encoding: fixed ..
at 10pt
lbd at 10pt encoding: texnan..
at 14.4pt
lbi at 10pt encoding: texnan..
lbr at 7pt encoding: texnan..
at 10pt
at 12pt
at 17.28pt
Output written on mytestlucida.dvi (1 page, 912 bytes).
########## end mytestlucida.log #######
####### from dviwindo.ini ######
...
[Environment]
DummyEntry=1
ENCODING=TEXNANSI
TEXFORMATS=D:\WP\yandy\YANDYTEX\FMT
VECPATH=D:\WP\yandy\FONTS\ENCODING
PREPATH=D:\WP\yandy\DVIPSONE
SUBPATH=D:\WP\yandy\DVIPSONE\SUB
PSPATH=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\PS
PSFONTS=D:\PSFONTS;c:\windows\fonts;d:\math\mathematica4.2\systemfiles\fonts\type1
TEXPOOL=D:\WP\yandy\YANDYTEX\FMT
TEXINPUTS=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\TEX\BASE\\;D:\WP\texmf\tex\generic\xypic\
PLAIN=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\TEX\BASE\\
AMSTEX=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\TEX\BASE\\
YANDYPATH=D:\WP\yandy
TEXFONTS=D:\WP\YANDY\FONTS\TFM\TEXNANSI\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\TEXNANSI\
TEXNANSI=D:\WP\YANDY\FONTS\TFM\TEXNANSI\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\TEXNANSI\\
TEX256=D:\WP\YANDY\FONTS\TFM\TEX256\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\TEX256\
ANSINEW=D:\WP\YANDY\FONTS\TFM\ANSINEW\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\ANSINEW\
STANDARD=D:\WP\YANDY\FONTS\TFM\STANDARD\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\STANDARD\
TEXTEXT=D:\WP\YANDY\FONTS\TFM\TEXTEXT\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\TEXTEXT\
LATEX=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\TEX\BASE\\;D:\WP\YANDY\TEX\LATEX\\;D:\WP\texmf\tex\generic\xypic\\;D:\WP\texmf\tex\generic\diagxy\\
TEXEDIT="D:\WP\WinEdt\WinEdt.exe" [Open('%s');SelLine(%d,7)]
EditorDDE=WinEdt;DDEServer;[Open('%s')%;SelLine(%d,8);SetFocus('')]
####### end dviwindo.ini ######
I copied all the new Lucida .tfm's (named hl*) into the directory yandy\fonts\tfm\texnansi.
A simple document -- included in-line below -- using the LY1 encoding along with lucimatx now DOES successfully get processed by Y&Y's TeX engine.
However, the dviwindo previwer does not find the appropriate fonts. It gives error messages such as:
Can't find Font:hlcrv (5), No Face Name
(Windows offers: `Arial') at byte 416
In the document, the dviwindo "DVI File Fonts" command lists the following fonts by TFM name and with Face & Style as UNKNOWN:
hlcrima
hlcrv
hlcry (at two magnifications)
On the other hand, it correctly lists the following LucidaBright text fonts by TFM with LucidaBright as the Face & Style:
lbd (at two magnifications)
lbi
lbr (at four magnifications)
Both groups are listed for texnansi encoding, of course.
So the questions remains as to where the fonts (pfm's? pfb's?) are properly identified to the previewer. The Lucida pfm's and pfb's distributed by PCTeX (and presumably likewise those distributed by TUG) still have all their names beginning "lb" -- the same as with the Lucida fonts I originally obtained from Y&Y.
What follows are (1) the sample document; (2) possibly relevant portions of the log file; and (3) the [Environment] section of my dviwindo.ini
%%%%%% begin mytestlucida.tex %%%%%%
% Test of Lucida fonts using lucimatx
\documentclass{article}
\usepackage[LY1]{fontenc}
\usepackage{lucimatx}
\begin{document}
\title{Test of Lucida}
\author{Murray Eisenberg}
\date{\today}
\maketitle
\section{Begin}
{\it Lucida handwriting} and some \textbf{Lucida} \emph{math}: $1+1 = 2$
\[
\int_0^\infty f(t)dt
\]
Some more text here.
\end{document}
%%%%%% end mytestlucida.tex %%%%
###### from mytestlucida.log #####
Y&Y TeX 2.2.1 2000 ...
This is TeX, Version 3.14159 (Y&Y TeX 2.2.1)...
**+latex mytestlucida.tex
(D:/WP/yandy/YANDYTEX/FMT/latex.fmt)
(mytestlucida.tex
LaTeX2e <1999/12/01>
(d:/wp/yandy/tex/latex/base/article.cls
Document Class: article 1999/09/10 v1.4a Standard LaTeX document class
...
(d:/wp/yandy/tex/latex/base/fontenc.sty
Package: fontenc 1999/12/08 v1.9x Standard LaTeX package
(d:/wp/yandy/tex/latex/required/psnfss/ly1/ly1enc.def
File: ly1enc.def 1999/05/21 v0.6 Y\&Y's texnansi encoding (DPC)
)
LaTeX Font Info: Try loading font information for LY1+ptm on input line 96.
(d:/wp/yandy/tex/latex/required/psnfss/ly1/ly1ptm.fd
File: ly1ptm.fd 1997/01/26 LY1/ptm (Times Roman) with Adobe file names. (DPC)
))
(d:/wp/yandy/tex/latex/lucimatx/lucimatx.sty
Package: lucimatx 2005/10/01 1.0Lucida Bright/New Math font support (PCTeX Inc)
(d:/wp/yandy/tex/latex/required/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
Package lucimatx Info: TeX math style on input line 231.
LaTeX Font Info: Redeclaring symbol font `letters' on input line 297.
LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
(Font) OML/cmm/m/it --> OML/hlcm/m/it on input line 297.
...
LaTeX Font Warning: Encoding `OT1' has changed to `LY1' for symbol font
(Font) `operators' in the math version `normal' on input line 306.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> LY1/hlh/m/n on input line 306.
LaTeX Font Warning: Encoding `OT1' has changed to `LY1' for symbol font
(Font) `operators' in the math version `bold' on input line 306.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> LY1/hlh/m/n on input line 306.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) LY1/hlh/m/n --> LY1/hlh/b/n on input line 307.
...
LaTeX Font Info: Redeclaring math alphabet \mathrm on input line 310.
LaTeX Font Info: Redeclaring math alphabet \mathsf on input line 311.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/cmss/m/n --> LY1/hls/m/n on input line 311.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/cmss/bx/n --> LY1/hls/m/n on input line 311.
LaTeX Font Info: Redeclaring math alphabet \mathit on input line 312.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/cmr/m/it --> LY1/hlh/m/it on input line 312.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/cmr/bx/it --> LY1/hlh/m/it on input line 312.
...
(Font) LY1/hls/m/n --> LY1/hls/b/n on input line 315.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold'
(Font) LY1/hlh/m/n --> LY1/hlh/b/n on input line 316.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) LY1/hlh/m/it --> LY1/hlh/b/it on input line 317.
...
) (mytestlucida.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for LY1/ptm/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for LMR/hlcm/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Try loading font information for LY1+hlh on input line 7.
(d:/wp/yandy/tex/latex/required/psnfss/ly1hlh.fd
File: ly1hlh.fd 1997/09/07 v4.2 Lucida Bright(Y&Y Names)(SPQR/DPC)
)
...
[1
] (mytestlucida.aux) )
...
Used 11 fonts:
hlcrima at 10pt encoding: fixed ..
hlcrv at 10pt encoding: fixed ..
hlcry at 7pt encoding: fixed ..
at 10pt
lbd at 10pt encoding: texnan..
at 14.4pt
lbi at 10pt encoding: texnan..
lbr at 7pt encoding: texnan..
at 10pt
at 12pt
at 17.28pt
Output written on mytestlucida.dvi (1 page, 912 bytes).
########## end mytestlucida.log #######
####### from dviwindo.ini ######
...
[Environment]
DummyEntry=1
ENCODING=TEXNANSI
TEXFORMATS=D:\WP\yandy\YANDYTEX\FMT
VECPATH=D:\WP\yandy\FONTS\ENCODING
PREPATH=D:\WP\yandy\DVIPSONE
SUBPATH=D:\WP\yandy\DVIPSONE\SUB
PSPATH=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\PS
PSFONTS=D:\PSFONTS;c:\windows\fonts;d:\math\mathematica4.2\systemfiles\fonts\type1
TEXPOOL=D:\WP\yandy\YANDYTEX\FMT
TEXINPUTS=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\TEX\BASE\\;D:\WP\texmf\tex\generic\xypic\
PLAIN=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\TEX\BASE\\
AMSTEX=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\TEX\BASE\\
YANDYPATH=D:\WP\yandy
TEXFONTS=D:\WP\YANDY\FONTS\TFM\TEXNANSI\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\TEXNANSI\
TEXNANSI=D:\WP\YANDY\FONTS\TFM\TEXNANSI\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\TEXNANSI\\
TEX256=D:\WP\YANDY\FONTS\TFM\TEX256\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\TEX256\
ANSINEW=D:\WP\YANDY\FONTS\TFM\ANSINEW\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\ANSINEW\
STANDARD=D:\WP\YANDY\FONTS\TFM\STANDARD\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\STANDARD\
TEXTEXT=D:\WP\YANDY\FONTS\TFM\TEXTEXT\TFM;D:\WP\YANDY\FONTS\TFM\NONTEXT\;D:\WP\YANDY\FONTS\TFM\TEXTEXT\
LATEX=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\TEX\BASE\\;D:\WP\YANDY\TEX\LATEX\\;D:\WP\texmf\tex\generic\xypic\\;D:\WP\texmf\tex\generic\diagxy\\
TEXEDIT="D:\WP\WinEdt\WinEdt.exe" [Open('%s');SelLine(%d,7)]
EditorDDE=WinEdt;DDEServer;[Open('%s')%;SelLine(%d,8);SetFocus('')]
####### end dviwindo.ini ######