Problem accessing the euro symbol in Y&Y TeX

Robin Fairbairns Robin.Fairbairns at CL.CAM.AC.UK
Thu Oct 28 09:22:37 CEST 2004


your file contains two attempts at acquiring euro symbols:

  \documentclass[10pt]{article}
  \usepackage[LY1]{fontenc}       % specify text font encoding
  \usepackage[LY1,mtbold]{mathtime}   % switch math fonts
  \usepackage{times}          % switch text fonts (redundant)

for this purpose, it may be redundant, but remember that this
(obsolete) package also loads helvetica (spit) as sans font and
courier (...) as monospace font.

  \usepackage[official]{eurosym}

this, as its name implies, loads a euro symbol.  needs fonts to go
with it, which are available from ctan
fonts/eurosym/contrib/type1/fonts/type1/ and
fonts/eurosym/tfm/feymr10.tfm

i don't know of any .pfm files for these fonts.

  \usepackage{textcomp}

this provides the text symbol encoding definitions.  i don't know how
it behaves given that your default encoding is ly1, but it definitely
does the right thing when i use it with a latex encoding.

when i ask textcomp to work with times, it uses the symbol in the copy
of times that i have (actually the clone nimbus roman).  there are
knuthian versions of the textcomp fonts, as part of the cm-super
bundle, but again i don't know of any .pfm

  \begin{document}
  This is the euro symbol: \texteuro{} 60000

you're using the command defined by textcomp, here.  eurosym defines a
command \euro, fwiw...

  \end{document}

looking at your log file, we see

  LaTeX Font Info:    ... okay on input line 7.
  LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 7.
  LaTeX Font Info:    Try loading font information for TS1+cmr on input line 7.

  (c:/yandy/tex/latex/unpacked/ts1cmr.fd
  File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
  )
  LaTeX Font Info:    ... okay on input line 7.
  LaTeX Font Info:    Try loading font information for TS1+ptm on input line 8.
  LaTeX Font Info:    No file TS1ptm.fd. on input line 8.
  LaTeX Font Warning: Font shape `TS1/ptm/m/n' undefined
  (Font)              using `TS1/cmr/m/n' instead
  (Font)              for symbol `texteuro' on input line 8.

where latex has loaded cm-based definitions of the ts1 (text symbol)
encoding because it can't find the times-based ones (ts1ptm.fd).

i don't know how you should proceed.  y&y tex of course precedes the
euro as a currency, and even if it's now in the adobe "standard"
encoding, it won't be in the version of that encoding embedded in y&y
tex.

so you're probably thrown back on the eurosym stuff.  have you tried
the eurosym \euro command, yet?




More information about the yandytex mailing list