Re: KOMA-Script classes: old font warnings

2018-02-07 Thread Jürgen Spitzmüller
Am Mittwoch, den 07.02.2018, 09:01 -0800 schrieb Rich Shepard:
>A couple of documents ago I switched the style to authordate4, but
> this
> issue came up only late yesterday with the 2011 .lyx file. Perhaps
> something
> I changed in jabref caused it.

No, JabRef does not switch your Bib style. You must have done this
yourself in LyX (the Bib style is individual to each document).

Jürgen

> 
> Best regards,
> 
> Rich

signature.asc
Description: This is a digitally signed message part


Re: KOMA-Script classes: old font warnings

2018-02-07 Thread Rich Shepard

On Wed, 7 Feb 2018, Jürgen Spitzmüller wrote:


Well, it depends on the style file you use (in LyX: "Bibliography Style"
in the BibTeX settings dialog).


Jürgen,

  A couple of documents ago I switched the style to authordate4, but this
issue came up only late yesterday with the 2011 .lyx file. Perhaps something
I changed in jabref caused it.

Best regards,

Rich


Re: KOMA-Script classes: old font warnings

2018-02-07 Thread Jürgen Spitzmüller
Am Mittwoch, den 07.02.2018, 08:19 -0800 schrieb Rich Shepard:
>I wonder why this appears for only one or two files since I've
> been
> inserting jabref citations in lyx documents for several years now.

Well, it depends on the style file you use (in LyX: "Bibliography
Style" in the BibTeX settings dialog).

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: KOMA-Script classes: old font warnings

2018-02-07 Thread Rich Shepard

On Wed, 7 Feb 2018, Michael Berger wrote:


Rich, this is indeed annoying and one must wonder why this reappears again
and again although one does not at all use such "outdated font commands".


Michael,

  As far as I can recall, this is the first time (perhaps the second time)
I've encountered this issue in the many years I've used lyx.


Fortunately, there is an easy cure.:

In > Document > Class > Custom add this: enabledeprecatedfontcommands


  Thanks. That does the job.


You find this cure if you scroll further down in the Description Window of
your Error Message.


  I certainly missed that,

Best regards,

Rich


Re: KOMA-Script classes: old font warnings

2018-02-07 Thread Rich Shepard

On Wed, 7 Feb 2018, Jürgen Spitzmüller wrote:


They come from the BibTeX style file (*.bst).


Jürgen,

  This explains why I did not see them; there's no .bst file in the
document's or jabrefdb.bib directories.

  I wonder why this appears for only one or two files since I've been
inserting jabref citations in lyx documents for several years now.

  Thanks very much for showing me where the issue originates.

Best regards,

Rich


Re: KOMA-Script classes: old font warnings

2018-02-07 Thread Michael Berger
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






Re: KOMA-Script classes: old font warnings

2018-02-07 Thread Jürgen Spitzmüller
Am Mittwoch, den 07.02.2018, 07:50 -0800 schrieb Rich Shepard:
>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.

They come from the BibTeX style file (*.bst).

Jürgen

signature.asc
Description: This is a digitally signed message part