[tex-live] texdoc: complain_about_old_envvar

Heiko Oberdiek oberdiek at uni-freiburg.de
Fri Aug 22 15:33:56 CEST 2008


texdoc now complains, if an older environment variable is used.
This warning is quite annoying, especially, if also the new
variables are used.
  Different texdoc versions require different environment variables,
thus the old variables must be set if several versions are in use.
I think, texdoc should only complain, when an old environment
variable is really used, e.g.:

  PDFVIEWER_texdoc=xpdf %s &
  TEXDOCVIEW_pdf=xpdf %s &

currently generates the warning:

| texdoc warning: Environment variable TEXDOCVIEW_pdf deprecated. See the
| manual
|         section ?.?, ?.? for details.

But the use of PDFVIEWER_texdoc shows that the user has read the
manual and knows the new name. Therefore it's a bug that a warning
is generated in this case.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>

More information about the tex-live mailing list