[Pkg-lyx-devel] Bug#690004: lyx: "letter (g-brief)" does NOT depend on "europs.sty" (which is gone)
Wolfgang Weisselberg
g35fckt001 at sneakemail.com
Mon Oct 8 21:49:00 UTC 2012
Package: lyx
Version: 2.0.3-3
Severity: normal
Tags: patch
Dear Maintainer,
* What exactly did you do (or not do) that was effective (or
ineffective)?
Opening a lyx-document using g-brief again after not using lyx
for some weeks.
* What was the outcome of this action?
Got this warning (and the document classes "letter
(g-brief)" / "letter (g-brief2)" weren't available:
| Warning: Document class not available
| ----------------------------------------
| The selected document class
| letter (g-brief)
| requires external files that are not available.
| The document class can still be used, but the
| document cannot be compiled until the following
| prerequisites are installed:
| europs.sty
| See section 3.1.2.2 (Class Availability) of the
| User's Guide for more information.
* What outcome did you expect instead?
Opening the file successfully.
* What did you discover?
1. europs.sty is gone from Debian:
(really old apt-file data):
$ apt-file search europs.sty
texlive-fonts-recommended: /usr/share/texmf-texlive/tex/latex/eurofont/europs.sty
# apt-file update
$ apt-file search europs.sty
$
2. The document still renders OK in lyx. The EUR symbol works.
3. g-brief did depend on europs at one time --- that was changed
in 2003 (V4.0.1)
See Debian Bug #176153 for the old code, in
http://ctan.unixbrain.com/macros/latex/contrib/g-brief/g-brief.pdf
the documentation for V4.0.1 says europs, marvosym and eurosym
are embedded into g-brief *if installed on the machine*.
* How did you fix it?
Taught lyx the dependency on europs.sty for g-brief/g-brief2
isn't necessary any more:
--- /usr/share/lyx/layouts/g-brief.layout 2012-10-08 22:58:24.000000000 +0200
+++ /usr/share/lyx/layouts/g-brief.layout 2012-10-08 22:59:13.000000000 +0200
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[g-brief,europs.sty]{letter (g-brief)}
+# \DeclareLaTeXClass[g-brief]{letter (g-brief)}
# Letter textclass definition file.
# Author : Thomas Hartkens <thomas at hartkens.de>
--- /usr/share/lyx/layouts/g-brief2.layout 2012-10-08 22:58:35.000000000 +0200
+++ /usr/share/lyx/layouts/g-brief2.layout 2012-10-08 22:59:09.000000000 +0200
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[g-brief2,europs.sty]{letter (g-brief2)}
+# \DeclareLaTeXClass[g-brief2]{letter (g-brief2)}
# Letter textclass definition file.
# Author : Felix Kurth <lyx at fkurth.de> based on work from
# Thomas Hartkens <thomas at hartkens.de>
and ran Lyx->Tools->Reconfigure.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lyx depends on:
ii libboost-regex1.49.0 1.49.0-3.1
ii libboost-signals1.49.0 1.49.0-3.1
ii libc6 2.13-35
ii libenchant1c2a 1.6.0-7
ii libgcc1 1:4.7.1-7
ii libmythes-1.2-0 2:1.2.2-1
ii libqtcore4 4:4.8.2+dfsg-2
ii libqtgui4 4:4.8.2+dfsg-2
ii libstdc++6 4.7.1-7
ii lyx-common 2.0.3-3
ii xdg-utils 1.1.0~rc1+git20111210-6
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages lyx recommends:
ii acroread [pdf-viewer] 9.5.1-0.1
ii dvipng 1.14-1+b1
ii elyxer 1.2.3-1
ii evince [pdf-viewer] 3.4.0-3
ii fonts-lyx 2.0.3-3
ii ghostscript 9.05~dfsg-6.1
ii graphicsmagick-imagemagick-compat [imagemagick] 1.3.16-1.1
ii gv [pdf-viewer] 1:3.7.3-1
ic imagemagick 8:6.6.9.7-5
ii okular [pdf-viewer] 4:4.8.4-2
ii poppler-utils 0.18.4-3
ii preview-latex-style 11.86-10.1
ii psutils 1.17.dfsg-1
ii tex4ht 20090611-1.1+b1
ii texlive-fonts-recommended 2012.20120611-4
ii texlive-generic-extra 2012.20120611-2
ii texlive-generic-recommended 2012.20120611-4
ii texlive-latex-extra 2012.20120611-2
ii texlive-latex-recommended 2012.20120611-4
ii texlive-science 2012.20120611-2
ii xpdf [pdf-viewer] 3.03-10
Versions of packages lyx suggests:
ii chktex 1.6.4-4
ii dvipost 1.1-4
ii etoolbox 2.1-1
ii gnuhtml2latex 0.4-2
ii groff 1.21-9
ii latex2rtf 1.9.19-4.2
ii librsvg2-bin 2.36.1-1
ii libtiff-tools 4.0.2-4
pn linuxdoc-tools <none>
pn lyx-dbg <none>
pn noweb <none>
ii rcs 5.8.1-1
pn sgmltools-lite <none>
ii texlive-xetex 2012.20120611-4
ii writer2latex 1.0.2-8
ii wv 1.2.9-3
-- no debconf information
More information about the Pkg-lyx-devel
mailing list