For future diggers of the LyX-users archives:

The problem was due to my usage of the times font. It turns out that any font other than the default (cmr) causes problems with cbgreek. Times causes LaTeX to look for a times greek font, which does not exist, and it reverts to the standard upright Greek. The trick (thanks to Ralf Stubner of compt.text.tex) is to redefine \textgreek or \greektext

 Here are Ralf's solutions:

The problem is that there is no times greek font defined. You could
change \textgreek in such a way, that it also changes to cmr family, in
addition to switching to LGR encoding:
\let\ORIGtextgreek=\textgreek
\renewcommand{\textgreek}[1]{{ \fontfamily{cmr}\selectfont\OR IGtextgreek{#1}}}


/Alternatively/, you could redefine \greektext, which is used in the
definition of \textgreek:

\let\ORIGgreektext=\greektext
\renewcommand{\greektext}{\fontfamily{cmr}\ORIGgreektext}


I tried them both and they work as a charm, so far at least.


S.



On May 18, 2005, at 1:49 PM, Luis Rivera wrote:

Stefano Franchi <[EMAIL PROTECTED]> writes:

thanks for the help and the suggestions. Unfortunately the problem is
not with \emph. I tried using the new \emph{}, but I still get the same
problem. LaTeX cannot find the proper font for rendering italicized
Greek. In fact, in the log file I get:


LaTeX Font Info:    Try loading font information for LGR+ptm on input
line 96.
LaTeX Font Info:    No file LGRptm.fd. on input line 96.

LaTeX Font Warning: Font shape `LGR/ptm/m/it' undefined
(Font)              using `LGR/cmr/m/n' instead on input line 96.

LaTeX Font Warning: Font shape `LGR/ptm/m/n' undefined
(Font)              using `LGR/cmr/m/n' instead on input line 96.


From what I've (recently) read that means that LaTex is looking for the
font Adobe Times (ptm) in the LGR encoding, in italic shape (i), cannot
find it, and substitutes cmr (computer modern?) normal shape in LGR
encoding. So the problems has to do with font installation and/or
mappings, because the typesetting of Greek should use the cbgreek
fonts. Which, I believe, all star with a "g" in their
filename/description. So there is something wrong in how LaTeX selects
the fonts, but I know too little about LaTeX/TeX to fix the problem...



You're right: seems that you're trying to use Times. You might have chosen
this font for your document in LyX Layout menu to have outlined fonts instead
of raster fonts in the output (your original problem, as far as I can recall).
Since there is no such a thing as LGR encoded fonts for Postscript Times, you
get font substitution, or no output...


Again, I suggest you to use the cm-lgc package. Alexej just uploaded a newer
version to CTAN a couple of days ago, now including OT1 and OT2 for Latin and
Cyrillic. Greek is fully LGC compliant.


Good luck,

Luis.

__________________________________________________
Stefano Franchi
Department of Philosophy                  Ph:  (64) 9 373-7599 x83940
University Of Auckland                  Fax: (64) 9 373-7408
Private Bag 92019                               [EMAIL PROTECTED]
Auckland
New Zealand                     



Reply via email to