lucimatx with Y&Y TeX system

Lucida fonts and lucimatx macros topics

Moderators: PTIForAdmin, WaS

Post Reply
murray
Posts: 47
Joined: Tue Feb 07, 2006 3:40 pm
Location: Amherst, MA, USA
Contact:

lucimatx with Y&Y TeX system

Post by murray »

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 ######
murray
Posts: 47
Joined: Tue Feb 07, 2006 3:40 pm
Location: Amherst, MA, USA
Contact:

lucimatx with Y&Y: update

Post by murray »

I'm STILL trying to get the lucimatx LaTeX macro package for the Lucida fonts (distributed by both TUG and Personal TeX) to work with Y&Y TeX. (I want to be able to use essentially the same source .tex file no matter what TeX system I'm using, except for having to specify the LY1 encoding in the case of Y&Y TeX.)

I'm beginning to suspect a fundamental incompatibility between lucimatx.sty and what is required for Y&Y TeX.

The Lucida pfb's and pfm's are properly installed.

I copied all the new Lucida .tfm's (named hl*) into a subdirectory of yandy\fonts\tfm\texnansi that IS on the tfm search path; and to a subdirectory of yandy\fonts\tfm\nontext, too.

A simple document -- included in-line below -- using the LY1 encoding along with lucimatx DOES successfully get processed by Y&Y's TeX engine.

However, the dviwindo previwer does not find the appropriate fonts. It gives error messages including the following (after which I further error messags):

Can' find font: hlhr8y (0), No Face Name
(Windows offers: `MS Sans Serif') at byte 137

Can' find font: hlhr8y (1)... at byte 192

Can't find Font hlhb8y (2), No Face Name...at byte 277

Can't find Font hlhbri8y (3), No Face Name...at byte 322


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)
hlhb8y (at twomagnifications)
hlhr8y (at four magnifications)
hlhri8y

What needs to be done to properly identify the fonts (pfb's and pfm's?) to the previewer?

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 Mar 3 13:05:20 SN 1101
Copyright (C) 1993--2000 Y&Y, Inc. (978) 371-3286 http://www.YandY.com
This is TeX, Version 3.14159 (Y&Y TeX 2.2.1) (format=latex 2006.3.16) 2006 MAR 20 10:46
**+latex mytestlucida.tex
(D:/WP/yandy/YANDYTEX/FMT/latex.fmt)
(mytestlucida.tex
LaTeX2e <2003/12/01>
(d:/wp/yandy/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(d:/wp/yandy/tex/latex/base/size10.clo
File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
)
:
(d:/wp/yandy/tex/latex/base/fontenc.sty
Package: fontenc 2004/02/22 v1.99f 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 100.


(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 Info: Overwriting symbol font `letters' in version `bold'
(Font) OML/cmm/b/it --> OML/hlcm/m/it on input line 297.
\symupright=\mathgroup4
LaTeX Font Info: Redeclaring symbol font `symbols' on input line 299.
LaTeX Font Info: Overwriting symbol font `symbols' in version `normal'
(Font) OMS/cmsy/m/n --> OMS/hlcy/m/n on input line 299.
:
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/ly1/ly1hlh.fd
File: ly1hlh.fd 2003/01/04 v4.2k Lucida Bright (KB Names)
)
:
Used 11 fonts:
hlcrima at 10pt encoding: fixed ..
hlcrv at 10pt encoding: fixed ..
hlcry at 7pt encoding: fixed ..
at 10pt
hlhb8y at 10pt encoding: texnan..
at 14.4pt
hlhr8y at 7pt encoding: texnan..
at 10pt
at 12pt
at 17.28pt
hlhri8y at 10pt encoding: texnan..

Output written on mytestlucida.dvi (1 page, 952 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\plain\\;D:\WP\texmf\tex\generic\xypic\
PLAIN=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\TEX\plain\\
AMSTEX=D:\WP\YANDY\TEXINPUT;D:\WP\YANDY\TEX\amstex\\;d:\wp\yandy\tex\plain\amsfonts\
YANDYPATH=D:\WP\yandy
TEXFONTS=D:\WP\YANDY\FONTS\TFM\TEXNANSI\\;D:\WP\YANDY\FONTS\TFM\NONTEXT\\;D:\WP\YANDY\FONTS\TFM\STANDARD\\
TEXNANSI=D:\WP\YANDY\FONTS\TFM\TEXNANSI\\;D:\WP\YANDY\FONTS\TFM\NONTEXT\\;D:\WP\YANDY\FONTS\TFM\STANDARD\\
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\LATEX\\;D:\WP\texmf\tex\generic\xypic\\;D:\WP\texmf\tex\generic\diagxy\\
:
####### end dviwindo.ini ######
--
Murray Eisenberg murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
Post Reply