From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Xavier Montillet" Subject: bug#37013: LyX can not find refstyle.sty Date: Mon, 12 Aug 2019 20:51:28 +0000 Message-ID: <76cd2c1c-cf8c-4e3e-9ddc-385f41c9584f@www.fastmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=8e3a46f40e0c40689a0408bd01950184 Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39311) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hxHRA-0001mR-9d for bug-guix@gnu.org; Mon, 12 Aug 2019 17:01:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hxHR8-0007Mn-Q9 for bug-guix@gnu.org; Mon, 12 Aug 2019 17:01:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38641) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hxHR8-0007MS-5i for bug-guix@gnu.org; Mon, 12 Aug 2019 17:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hxHR8-0002uk-1M for bug-guix@gnu.org; Mon, 12 Aug 2019 17:01:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:37878) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hxHI3-0008I8-SV for bug-guix@gnu.org; Mon, 12 Aug 2019 16:51:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hxHI2-0003F9-HZ for bug-guix@gnu.org; Mon, 12 Aug 2019 16:51:39 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34127) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hxHI2-0003ET-3R for bug-guix@gnu.org; Mon, 12 Aug 2019 16:51:38 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6538F21C7D for ; Mon, 12 Aug 2019 16:51:36 -0400 (EDT) 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: 37013@debbugs.gnu.org --8e3a46f40e0c40689a0408bd01950184 Content-Type: multipart/alternative; boundary=8968811ba5d84f058ba158583ca46d3a --8968811ba5d84f058ba158583ca46d3a Content-Type: text/plain I couldn't find a way to make LyX find refstyle. How to reproduce: 1 - Install the texlive and lyx packages 2 - Load the bug.lyx file (or any other file that makes it add \usepackage{refstyle} to the generated TeX file). 3 - Press Ctrl+R to compile the file. 4 - You will get an error saying that refstyle.sty could not be found. You can however use LyX to produce a .tex file, and the run pdflatex from the terminal and it will work. 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. LyX has a reconfigure option (Tools -> Reconfigure) but it does not seem to help. --8968811ba5d84f058ba158583ca46d3a Content-Type: text/html
I couldn't find a way to make LyX find refstyle.

How to reproduce:
1 - Install the texlive and lyx packages
2 - Load the bug.lyx file (or any other file that makes it add \usepackage{refstyle} to the generated TeX file).
3 - Press Ctrl+R to compile the file.
4 - You will get an error saying that refstyle.sty could not be found.

You can however use LyX to produce a .tex file, and the run pdflatex from the terminal and it will work.

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.


LyX has a reconfigure option (Tools -> Reconfigure) but it does not seem to help.

--8968811ba5d84f058ba158583ca46d3a-- --8e3a46f40e0c40689a0408bd01950184 Content-Disposition: attachment;filename="bug.lyx" Content-Type: application/x-lyx; name="bug.lyx" Content-Transfer-Encoding: BASE64 I0x5WCAyLjMgY3JlYXRlZCB0aGlzIGZpbGUuIEZvciBtb3JlIGluZm8gc2VlIGh0dHA6Ly93 d3cubHl4Lm9yZy8KXGx5eGZvcm1hdCA1NDQKXGJlZ2luX2RvY3VtZW50ClxiZWdpbl9oZWFk ZXIKXHNhdmVfdHJhbnNpZW50X3Byb3BlcnRpZXMgdHJ1ZQpcb3JpZ2luIHVuYXZhaWxhYmxl Clx0ZXh0Y2xhc3MgYXJ0aWNsZQpcdXNlX2RlZmF1bHRfb3B0aW9ucyB0cnVlClxtYWludGFp bl91bmluY2x1ZGVkX2NoaWxkcmVuIGZhbHNlClxsYW5ndWFnZSBlbmdsaXNoClxsYW5ndWFn ZV9wYWNrYWdlIGRlZmF1bHQKXGlucHV0ZW5jb2RpbmcgYXV0bwpcZm9udGVuY29kaW5nIGds b2JhbApcZm9udF9yb21hbiAiZGVmYXVsdCIgImRlZmF1bHQiClxmb250X3NhbnMgImRlZmF1 bHQiICJkZWZhdWx0IgpcZm9udF90eXBld3JpdGVyICJkZWZhdWx0IiAiZGVmYXVsdCIKXGZv bnRfbWF0aCAiYXV0byIgImF1dG8iClxmb250X2RlZmF1bHRfZmFtaWx5IGRlZmF1bHQKXHVz ZV9ub25fdGV4X2ZvbnRzIGZhbHNlClxmb250X3NjIGZhbHNlClxmb250X29zZiBmYWxzZQpc Zm9udF9zZl9zY2FsZSAxMDAgMTAwClxmb250X3R0X3NjYWxlIDEwMCAxMDAKXHVzZV9taWNy b3R5cGUgZmFsc2UKXHVzZV9kYXNoX2xpZ2F0dXJlcyB0cnVlClxncmFwaGljcyBkZWZhdWx0 ClxkZWZhdWx0X291dHB1dF9mb3JtYXQgZGVmYXVsdApcb3V0cHV0X3N5bmMgMApcYmlidGV4 X2NvbW1hbmQgZGVmYXVsdApcaW5kZXhfY29tbWFuZCBkZWZhdWx0ClxwYXBlcmZvbnRzaXpl IGRlZmF1bHQKXHNwYWNpbmcgc2luZ2xlClx1c2VfaHlwZXJyZWYgZmFsc2UKXHBhcGVyc2l6 ZSBkZWZhdWx0Clx1c2VfZ2VvbWV0cnkgZmFsc2UKXHVzZV9wYWNrYWdlIGFtc21hdGggMQpc dXNlX3BhY2thZ2UgYW1zc3ltYiAxClx1c2VfcGFja2FnZSBjYW5jZWwgMQpcdXNlX3BhY2th Z2UgZXNpbnQgMQpcdXNlX3BhY2thZ2UgbWF0aGRvdHMgMQpcdXNlX3BhY2thZ2UgbWF0aHRv b2xzIDEKXHVzZV9wYWNrYWdlIG1oY2hlbSAxClx1c2VfcGFja2FnZSBzdGFja3JlbCAxClx1 c2VfcGFja2FnZSBzdG1hcnlyZCAxClx1c2VfcGFja2FnZSB1bmRlcnRpbGRlIDEKXGNpdGVf ZW5naW5lIGJhc2ljClxjaXRlX2VuZ2luZV90eXBlIGRlZmF1bHQKXGJpYmxpb19zdHlsZSBw bGFpbgpcdXNlX2JpYnRvcGljIGZhbHNlClx1c2VfaW5kaWNlcyBmYWxzZQpccGFwZXJvcmll bnRhdGlvbiBwb3J0cmFpdApcc3VwcHJlc3NfZGF0ZSBmYWxzZQpcanVzdGlmaWNhdGlvbiB0 cnVlClx1c2VfcmVmc3R5bGUgMQpcdXNlX21pbnRlZCAwClxpbmRleCBJbmRleApcc2hvcnRj dXQgaWR4Clxjb2xvciAjMDA4MDAwClxlbmRfaW5kZXgKXHNlY251bWRlcHRoIDMKXHRvY2Rl cHRoIDMKXHBhcmFncmFwaF9zZXBhcmF0aW9uIGluZGVudApccGFyYWdyYXBoX2luZGVudGF0 aW9uIGRlZmF1bHQKXGlzX21hdGhfaW5kZW50IDAKXG1hdGhfbnVtYmVyaW5nX3NpZGUgZGVm YXVsdApccXVvdGVzX3N0eWxlIGVuZ2xpc2gKXGR5bmFtaWNfcXVvdGVzIDAKXHBhcGVyY29s dW1ucyAxClxwYXBlcnNpZGVzIDEKXHBhcGVycGFnZXN0eWxlIGRlZmF1bHQKXHRyYWNraW5n X2NoYW5nZXMgZmFsc2UKXG91dHB1dF9jaGFuZ2VzIGZhbHNlClxodG1sX21hdGhfb3V0cHV0 IDAKXGh0bWxfY3NzX2FzX2ZpbGUgMApcaHRtbF9iZV9zdHJpY3QgZmFsc2UKXGVuZF9oZWFk ZXIKClxiZWdpbl9ib2R5CgpcYmVnaW5fbGF5b3V0IFN0YW5kYXJkClxiZWdpbl9pbnNldCBD b21tYW5kSW5zZXQgbGFiZWwKTGF0ZXhDb21tYW5kIGxhYmVsCm5hbWUgInF3ZSIKClxlbmRf aW5zZXQKCgpcYmVnaW5faW5zZXQgQ29tbWFuZEluc2V0IHJlZgpMYXRleENvbW1hbmQgZm9y bWF0dGVkCnJlZmVyZW5jZSAicXdlIgpwbHVyYWwgImZhbHNlIgpjYXBzICJmYWxzZSIKbm9w cmVmaXggImZhbHNlIgoKXGVuZF9pbnNldAoKClxlbmRfbGF5b3V0CgpcZW5kX2JvZHkKXGVu ZF9kb2N1bWVudAo= --8e3a46f40e0c40689a0408bd01950184-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#37013: LyX can not find refstyle.sty Date: Mon, 12 Aug 2019 23:29:52 +0200 Message-ID: <87imr2ul67.fsf@elephly.net> References: <76cd2c1c-cf8c-4e3e-9ddc-385f41c9584f@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44266) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hxHuF-0004Yp-Cw for bug-guix@gnu.org; Mon, 12 Aug 2019 17:31:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hxHuB-0001KD-UX for bug-guix@gnu.org; Mon, 12 Aug 2019 17:31:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38665) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hxHuA-0001J9-Mi for bug-guix@gnu.org; Mon, 12 Aug 2019 17:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hxHuA-0003i0-Cn for bug-guix@gnu.org; Mon, 12 Aug 2019 17:31:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <76cd2c1c-cf8c-4e3e-9ddc-385f41c9584f@www.fastmail.com> 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: Xavier Montillet Cc: 37013@debbugs.gnu.org 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 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 > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id N57ALPbW4V4aPQAA0tVLHw (envelope-from ) for ; Thu, 11 Jun 2020 07:02:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IP5AKPbW4V5BfgAA1q6Kng (envelope-from ) for ; Thu, 11 Jun 2020 07:02:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CB04E9402A2 for ; Thu, 11 Jun 2020 07:02:13 +0000 (UTC) Received: from localhost ([::1]:55064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjHE3-0000Wu-40 for larch@yhetil.org; Thu, 11 Jun 2020 03:02:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjHDu-0000WZ-T5 for bug-guix@gnu.org; Thu, 11 Jun 2020 03:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjHDu-0007Fj-J7 for bug-guix@gnu.org; Thu, 11 Jun 2020 03:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jjHDu-0004TV-Gr for bug-guix@gnu.org; Thu, 11 Jun 2020 03:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#37013: LyX can not find refstyle.sty Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 11 Jun 2020 07:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37013 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Xavier Montillet Received: via spool by 37013-submit@debbugs.gnu.org id=B37013.159185889017156 (code B ref 37013); Thu, 11 Jun 2020 07:02:02 +0000 Received: (at 37013) by debbugs.gnu.org; 11 Jun 2020 07:01:30 +0000 Received: from localhost ([127.0.0.1]:35861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjHDO-0004Se-B4 for submit@debbugs.gnu.org; Thu, 11 Jun 2020 03:01:30 -0400 Received: from flashner.co.il ([178.62.234.194]:54964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjHDM-0004SR-Nf for 37013@debbugs.gnu.org; Thu, 11 Jun 2020 03:01:29 -0400 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id CD0B24001D; Thu, 11 Jun 2020 07:01:22 +0000 (UTC) Date: Thu, 11 Jun 2020 10:00:43 +0300 From: Efraim Flashner Message-ID: <20200611070043.GI963@E5400> References: <76cd2c1c-cf8c-4e3e-9ddc-385f41c9584f@www.fastmail.com> <87imr2ul67.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sl5MdczEF/OU2Miu" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 37013@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: Ygdb6Mz+Rd7u --sl5MdczEF/OU2Miu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I just made some changes to the Lyx package. Can you test it out now to see if it works as expected? On Thu, Aug 22, 2019 at 04:23:18PM +0000, Xavier Montillet wrote: > Hi Ricardo, >=20 > LyX seems to build and run fine without this texlive-union. The texlive s= tuff 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 packa= ge). >=20 > And removing this texlive-union fixes my problem: Now, if texlive is inst= alled in the profile, it finds it and all its components. >=20 > (Note: I use "./pre-inst-env guix environment --pure --container --share= =3D$XAUTHORITY --share=3D/tmp/.X11-unix --ad-hoc lyx bash coreutils evince = -- env XAUTHORITY=3D$XAUTHORITY DISPLAY=3D$DISPLAY lyx2.3" to run lyx so th= at it reconfigures at startup) >=20 > Xavier >=20 > On Mon, Aug 12, 2019, at 9:30 PM, Ricardo Wurmus wrote: > >=20 > > Hi Xavier, > >=20 > > thanks for the report! > >=20 > > > 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. > >=20 > > 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. > >=20 > > > LyX has a reconfigure option (Tools -> Reconfigure) but it does not > > > seem to help. > >=20 > > Investigating this might be a good starting point. > >=20 > > -- > > Ricardo > >=20 > > >=20 >=20 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --sl5MdczEF/OU2Miu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl7h1psACgkQQarn3Mo9 g1HItxAAwAZk1WhmeMM0qWJNKLSCEfEL5li/yrheiL9GIj3F3lF7pUITr13j6YOO dsTaChL/HZOBDJB7piGLCG4cyJVwpZwXvn8frAraCf9elQV+jH0njgxsAZ0el9wj znHN89QdlXBpz3+Y5XDVrnn3yqO1ntqVdwtZc48qsmsSz3k3kDK+DwmvnZRonhS6 w2dOJzjI7fAiSA68EVTwkq7mxK78JIoME0oQ+U19EjPUoD8q3x42FKRLPTmOw5SC ebdF0Eu0gU76IAGG+qjSd4QMLaUTbuNHxQS66dw2eZ7zczepdwl8II8F5v2DLj1T pBVZ6oa7/bP8LXmIrouqGmf+TpacJpJO3zMplxOhFa0sDs1WkcrT7wJz2mgwAP6A eTmUVCPakVMLyTl9GUIMECr6XkOi9PCA7adju0mvgO7ei4rYHZai2jnpzwVOMOB1 pXtQWotu+s7+cPaNR4S6cwgzq7O4VI52wxaRI7o6bL4N91M3+qrUWgqHTO9aHAaq kTJ7OJ09bXxEyx7mSc9WriQkrq+Jpr9tpChX/KFVa1ZK7X+wHBfK+cyx+WEPAZKd cbqqUauqY2SLAzpbSUwGfqG5aKdjU+XRTKODqSosO6vbm6VTWftV2p0qwtYCessu LSPxv1e3RAl5b6Krek9Owo8s7ZNvjV3X1SCQ2rXb1UmMqYm55B4= =1/dz -----END PGP SIGNATURE----- --sl5MdczEF/OU2Miu-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mHScFdxf6V5SJgAA0tVLHw (envelope-from ) for ; Wed, 17 Jun 2020 00:12:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id INloEdxf6V4NZAAA1q6Kng (envelope-from ) for ; Wed, 17 Jun 2020 00:12:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AFC789404CC for ; Wed, 17 Jun 2020 00:12:11 +0000 (UTC) Received: from localhost ([::1]:35296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlLgX-0005zr-Ik for larch@yhetil.org; Tue, 16 Jun 2020 20:12:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlLgQ-0005zZ-5e for bug-guix@gnu.org; Tue, 16 Jun 2020 20:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlLgP-0007gP-ST for bug-guix@gnu.org; Tue, 16 Jun 2020 20:12:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jlLgP-0006vb-NG for bug-guix@gnu.org; Tue, 16 Jun 2020 20:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#37013: LyX can not find refstyle.sty References: <76cd2c1c-cf8c-4e3e-9ddc-385f41c9584f@www.fastmail.com> Resent-From: sirgazil Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 17 Jun 2020 00:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37013 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "37013" <37013@debbugs.gnu.org> Received: via spool by 37013-submit@debbugs.gnu.org id=B37013.159235267326573 (code B ref 37013); Wed, 17 Jun 2020 00:12:01 +0000 Received: (at 37013) by debbugs.gnu.org; 17 Jun 2020 00:11:13 +0000 Received: from localhost ([127.0.0.1]:49930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlLfc-0006uW-Vl for submit@debbugs.gnu.org; Tue, 16 Jun 2020 20:11:13 -0400 Received: from sender4-pp-o93.zoho.com ([136.143.188.93]:25359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlLfa-0006uO-TG for 37013@debbugs.gnu.org; Tue, 16 Jun 2020 20:11:11 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1592352668; cv=none; d=zohomail.com; s=zohoarc; b=CPrr6AelxAqy9P1RJFEM3Tiw1QLJkZi3Tbhym4wx4g7wEBpnt2Gp4B7WfMKjwC4V70Idk4Xyt1eImw0r0bc/Inxoia9McKDmyzFvsFU/ciMlsR+al9Mz9cp7H9/xt5PtkeFEKTk+89cGYUWvnioR54M9nb8y9RluYNGOOiZQ4Ek= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592352668; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=wJFzCNjlnJp/m0ARNqBusLgItSep5DKmmEhvXUkg0To=; b=ELQGsugnbKgZ7Z+6NJ5+OgU3f0LYKvaVQhFfbH9fZvkxNhcsjMQAASLG02rPKV0TLeq4Br+pJc1v9iHkKnnKd8uIH0qYbxQXjvTvQxkNQhWNkm/yFTShKgFXpCrHmho45OZiKge2FYhoepgDk2jVH2TolHR2Pc2PA1i3RN+UQ+c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:in-reply-to:subject:mime-version:content-type:user-agent; b=fBegAt1OOuOgn6ZB72LcWlkjI7mfzoMbgkj/OBG9TIOEzPXrMeM1nUqtktf8NK9zQHjbBtp3Gw5d +CD7OxG+47B0/qcKm7xrXMMHlvKlFqlMR2zyEyzwesPjkDo8GCX4 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1592352668; s=zm2020; d=zoho.com; i=sirgazil@zoho.com; h=Date:From:To:Message-ID:In-Reply-To:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=wJFzCNjlnJp/m0ARNqBusLgItSep5DKmmEhvXUkg0To=; b=aJDVQjtohHWmmhJM4OpRV7Ar0vpYENcsv85vGUUE1CuSxw9WFkoslP1uWF1HH3wZ ssGkcPgsgbKKwbGprWX+WxbNk4+Dus9GPOMY99dxOiWCk2VGPIh9XmZBCYE5WnSbU4a ErYDcXiVrbES/e9HruxoatLzoGoWImKHa8QdowqQ= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 15923526615291007.0995840086966; Tue, 16 Jun 2020 17:11:01 -0700 (PDT) Received: from [179.15.13.185] by mail.zoho.com with HTTP;Tue, 16 Jun 2020 17:11:01 -0700 (PDT) Date: Tue, 16 Jun 2020 19:11:01 -0500 Message-ID: <172bf9d6018.11e9c84cd12492.1532742553306780831@zoho.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Spam-Score: 2.0 (++) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 1.0 (+) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: sirgazil From: sirgazil via Bug reports for GNU Guix X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=zoho.com header.s=zm2020 header.b=aJDVQjto; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 2.00 X-TUID: Cuv/HQ/CVYSl Efraim, thanks for those changes, they fixed some bugs. However, I still see many errors related to ".sty" files (refstyle, hyperref, enumitem, etc.), and ".cls" files (scrbook, scrartcl, etc.) not found when I try to open and view (Ctrl+R) the documents listed in LyX Help menu, and my own documents. When I install LyX, I would expect those help documents to work without errors. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YJyzDtcXKl/+KAAA0tVLHw (envelope-from ) for ; Wed, 05 Aug 2020 02:22:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SNGuCtcXKl+6LgAAB5/wlQ (envelope-from ) for ; Wed, 05 Aug 2020 02:22:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A191D94013C for ; Wed, 5 Aug 2020 02:22:14 +0000 (UTC) Received: from localhost ([::1]:41044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k394D-0000JM-Gf for larch@yhetil.org; Tue, 04 Aug 2020 22:22:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3946-0000JC-90 for bug-guix@gnu.org; Tue, 04 Aug 2020 22:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3945-0001fW-Vk for bug-guix@gnu.org; Tue, 04 Aug 2020 22:22:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k3945-0007Je-SL for bug-guix@gnu.org; Tue, 04 Aug 2020 22:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#37013: LyX can not find refstyle.sty References: <76cd2c1c-cf8c-4e3e-9ddc-385f41c9584f@www.fastmail.com> In-Reply-To: <76cd2c1c-cf8c-4e3e-9ddc-385f41c9584f@www.fastmail.com> Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 Aug 2020 02:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37013 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 37013@debbugs.gnu.org Received: via spool by 37013-submit@debbugs.gnu.org id=B37013.159659406228037 (code B ref 37013); Wed, 05 Aug 2020 02:22:01 +0000 Received: (at 37013) by debbugs.gnu.org; 5 Aug 2020 02:21:02 +0000 Received: from localhost ([127.0.0.1]:49439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3938-0007I9-8F for submit@debbugs.gnu.org; Tue, 04 Aug 2020 22:21:02 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:44988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3933-0007HL-H4 for 37013@debbugs.gnu.org; Tue, 04 Aug 2020 22:21:01 -0400 Received: (qmail 23359 invoked by uid 1009); 5 Aug 2020 04:20:55 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25893. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.044646 secs); 05 Aug 2020 02:20:55 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 5 Aug 2020 04:20:55 +0200 Date: Wed, 5 Aug 2020 04:20:53 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200805022053.f5dzigmh7fdummi5@gravity> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vnibgkiv5viun4sd" Content-Disposition: inline X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sirgazil@zoho.com, xavierm02@guix.xavierm02.fr Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: YCczVjCTFS0h --vnibgkiv5viun4sd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable It seems that this issue is not caused by any behavior of LyX, since merely adding LyX to a profile breaks the existing texlive installation: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ~/tmp$ cat test.tex \documentclass[a4paper]{article} \usepackage{url} \begin{document} \end{document} ~/tmp$ guix environment --pure --ad-hoc texlive -- pdflatex test.tex This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded f= ormat=3Dpdflatex) restricted \write18 enabled. entering extended mode (./test.tex LaTeX2e <2018-12-01> (/gnu/store/wyp70a5a4spmj1g2wvm27d5968sssvwq-texlive-texmf-20190410/share/t= exmf -dist/tex/latex/base/article.cls Document Class: article 2018/09/03 v1.4i Standard LaTeX document class (/gnu/store/wyp70a5a4spmj1g2wvm27d5968sssvwq-texlive-texmf-20190410/share/t= exmf -dist/tex/latex/base/size10.clo)) (/gnu/store/wyp70a5a4spmj1g2wvm27d5968sssvwq-texlive-texmf-20190410/share/t= exmf -dist/tex/latex/url/url.sty) No file test.aux. (./test.aux) ) No pages of output. Transcript written on test.log. ~/tmp$ guix environment --pure --ad-hoc texlive lyx -- pdflatex test.tex This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded f= ormat=3Dpdflatex) restricted \write18 enabled. entering extended mode (./test.tex LaTeX2e <2018-12-01> (/gnu/store/xq0b0mgz5h6invz9fh13n29mb2jfdb0s-texlive-union-51265/share/texm= f-dist/tex/latex/base/article.cls Document Class: article 2018/09/03 v1.4i Standard LaTeX document class (/gnu/store/xq0b0mgz5h6invz9fh13n29mb2jfdb0s-texlive-union-51265/share/texm= f-dist/tex/latex/base/size10.clo)) ! LaTeX Error: File `url.sty' not found. Type X to quit or to proceed, or enter new name. (Default extension: sty) Enter file name: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Regards, Jakub K=C4=85dzio=C5=82ka --vnibgkiv5viun4sd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl8qF4UACgkQ4xWnWEYT FWSRxQ//ZnrUS0sLYIg/XtOa1QxIKOoQQYtXvtdJLnZW94yx+zR4fB4YsTqRhrl6 c39mqsjTPh0KfT9+IMxpG+kWF7RiqNlV/Foebo/jmY+i/VBlF/J3RmxvucYO0t5x ddUyQiiud4+xUP0x0hczX7EA5ZoxqDvFoGFrWYcnemEl8QcR4rx0O1g1FsXSVMqY ThDAWANKAQPAqm6jCzMXoHHyMqeRrpZmS8z6jziFoRytshvBz99f0LyLxZP7MT5q wmV7hggH1HqQ6Dvp35h0aAIbRka5wfkgnEwr3Z1Dj85J5lGnImrxoZXdJAuiGGxz D8Y4C6ceRM0gJYDmiDeZfYPKQ+GrdTEQY1s8i9lxZfK9C4ucz/rdC8dqU9IH2Fpw WVuNjthnTXCnm9C6ZJabbw7LmLYKg65qiDj42VOtabftovDxORtl1XSLB5JRY5DZ vb+olLRtiLWOpPNxCLp4pLCRzxwQsas3krfaa9nxSr/R2G9enfiaDfaYRUtj8P4a j8IDhuqe/HPpuRa+mHDKCE9oJy/mBeAZumxrTYzC8v16qagmOpIsvR/1U+VTqWyX 6RjY8qf2PYJycTSUNNI/8hh6//hrAX74H1soyXJpZWUOPiQKzs93vCb53ZxHpk4d Gsjt4PbTbzoDX4m97P5fdE2ueopO/Mv6yfO4dpH6PTBzNNx6Xn0= =p+7c -----END PGP SIGNATURE----- --vnibgkiv5viun4sd--