From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Xavier Montillet" Subject: bug#37013: LyX can not find refstyle.sty Date: Thu, 22 Aug 2019 16:23:18 +0000 Message-ID: References: <76cd2c1c-cf8c-4e3e-9ddc-385f41c9584f@www.fastmail.com> <87imr2ul67.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40143) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0psa-0008H9-9k for bug-guix@gnu.org; Thu, 22 Aug 2019 12:24:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i0psZ-0008Ca-6v for bug-guix@gnu.org; Thu, 22 Aug 2019 12:24:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57676) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i0psY-0008Bt-Od for bug-guix@gnu.org; Thu, 22 Aug 2019 12:24:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i0psY-0000qh-Hl for bug-guix@gnu.org; Thu, 22 Aug 2019 12:24:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87imr2ul67.fsf@elephly.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 37013@debbugs.gnu.org Hi Ricardo, LyX seems to build and run fine without this texlive-union. The texlive stuff is only required when one wants to compile a lyx document to a pdf. I'd therefore expect it to not be a dependency (but maybe a recommended package). And removing this texlive-union fixes my problem: Now, if texlive is installed in the profile, it finds it and all its components. (Note: I use "./pre-inst-env guix environment --pure --container --share=$XAUTHORITY --share=/tmp/.X11-unix --ad-hoc lyx bash coreutils evince -- env XAUTHORITY=$XAUTHORITY DISPLAY=$DISPLAY lyx2.3" to run lyx so that it reconfigures at startup) Xavier On Mon, Aug 12, 2019, at 9:30 PM, Ricardo Wurmus wrote: > > Hi Xavier, > > thanks for the report! > > > Since it loaded inputenc, the package just before refstyle, from > > /gnu/store/wy5865kh09qak63rpq3v47wnxv2gj1y0-texlive-union-49435/share/texmf-dist/tex/latex/base/inputenc.sty, > > and /gnu/store/wy5865kh09qak63rpq3v47wnxv2gj1y0-texlive-union-49435/ does not contain refstyle, I > > think that the problem is that LyX uses the pdflatex from this > > textlive-union instead of the one from the full texlive. > > The problem is that Lyx is configured to use the texlive-union that was > provided during the build. It should prefer an optional TeX Live > installation that the user provides. Perhaps we can make it > (optionally?) look up the TeX Live tools on PATH before falling back to > its texlive-union. > > > LyX has a reconfigure option (Tools -> Reconfigure) but it does not > > seem to help. > > Investigating this might be a good starting point. > > -- > Ricardo > >