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 Clxk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