2011-05-02 12:57:24 |
Matthias Andree |
description |
Binary package hint: tex-common
Running anything that involves update-language-def reports a programming error due to a missing escape for a backslash (\) character. The line in question prints a TeX command, \uselanguage {USenglish}, where the backslash needs to be escaped, so it should read:
#
# for language.def we have to select the right language at the end
if [ "$HYPHENMODE" = "etex" ] ; then
printf "
${PCC}${PCC}${PCC} No changes may be made beyond this point.
\\uselanguage {USenglish} ${PCC}${PCC}${PCC} This MUST be the last li
ne of the file.
" >> "$tempfile"
fi
instead of what we have now. Currently, we get these errors when update-language-def gets run as part of some tex package configuration:
/usr/sbin/update-language-def: Zeile 779: printf: missing unicode digit for \u
It is not clear to me if all affected tex packages need updating.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: tex-common 2.09
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Mon May 2 14:46:26 2011
PackageArchitecture: all
ProcEnviron:
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: tex-common
UpgradeStatus: Upgraded to natty on 2011-05-02 (0 days ago) |
Binary package hint: tex-common
Running anything that involves update-language-def reports a programming error due to a missing escape for a backslash (\) character. The line in question prints a TeX command, \uselanguage {USenglish}, where the backslash needs to be escaped (1) for the shell and (2) for the printf, so we need a quadruple backslash. It should read
#
# for language.def we have to select the right language at the end
if [ "$HYPHENMODE" = "etex" ] ; then
printf "
${PCC}${PCC}${PCC} No changes may be made beyond this point.
\\\\uselanguage {USenglish} ${PCC}${PCC}${PCC} This MUST be the last li
ne of the file.
" >> "$tempfile"
fi
instead of what we have now. Currently, we get these errors when update-language-def gets run as part of some tex package configuration:
/usr/sbin/update-language-def: Zeile 779: printf: missing unicode digit for \u
It is not clear to me if all affected tex packages need updating.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: tex-common 2.09
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Mon May 2 14:46:26 2011
PackageArchitecture: all
ProcEnviron:
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: tex-common
UpgradeStatus: Upgraded to natty on 2011-05-02 (0 days ago) |
|