Rich, this is indeed annoying and one must wonder why this reappears
again and again although one does not at all uses such "outdated font
commands".
Fortunately, there is an easy cure.:
In > Document > Class > Custom add this: enabledeprecatedfontcommands
You find this cure if you scroll further down in the Description Window
of your Error Message.
Michael
On 07.02.2018 16:50, Rich Shepard wrote:
I have a LyX document written in 2011 I want to revise. I changed the
document class from Standard article to KOMA article and did some
editing.
When I tried to view the dvips output a warning/error window popped up
(see
attached screenshot) telling me that old font commands, specifically
\sc and
\bf, were replaced years ago with the NFSS2 versions. So I went
looking in
the .lyx file for these font declarations and found none.
Thinking I could use some sections from this document in one I'm
currently
writing (using the KOMA report class), I highlighted two sections in the
older document and pasted them in the new one. Using ^x-p to invoke dvips
output generated the same warnings/errors. After a bit I decided that
I did
not need the new additions and deleted them. Trying to view the dvips
output
still produced the same warning/error box. So does compiling the document
using pdflatex. Cannot find anything relevant in the new document's .lyx
file either so I have no idea how to create a MWE.
Since the warning/error font issue seems to be related to one (of two)
citations inserted from jabref (which has not before occurred), I
looked at
the bibtex information in jabref and don't see anything related to old
fonts:
@Article{FoxD2006,
author = {Fox, D.R.},
title = {Statistical issues in ecological risk assessment},
journaltitle = {Human and Ecological Risk Assessment},
year = {2006},
volume = {12},
pages = {120--129},
abstract = {Ecological risk assessment (ERA) is concerned with
making decisions about the natural environment under uncertainty.
Statistical methodology provides a natural framework for risk
characterization and manipulation with many quantitative ERAs relying
heavily on Neyman-Pearson hypothesis testing and other frequentist
modes of inference. Bayesian statistical methods are becoming
increasingly popular in ERA as they are seen to provide legitimate
ways of incorporating subjective belief or expert opinion in the form
of prior probability distributions. This article explores some of the
concepts, strengths and weaknesses, and difficulties associated with
both paradigms. The main points are illustrated with an example of
setting a risk-based "trigger" level for uranium concentrations in the
Magela Creek catchment of the Northern Territory of Australia.},
journal = {Human and Ecological Risk Assessment},
keywords = {statistics, ecological risk assessment, trigger
values, natural resource management},
}
A clue stick on how to determine what/where this new issue
originates is
needed. Again, I've no idea what to provide as a minimum example of the
problem since I cannot find a specific cause in the .lyx file. However, I
have attached the entire error log and hope that more experienced eyes
will
see what I do not.
TIA,
Rich