GNU bug report logs -
#37013
LyX can not find refstyle.sty
Previous Next
To reply to this bug, email your comments to 37013 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#37013
; Package
guix
.
(Mon, 12 Aug 2019 21:01:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Xavier Montillet" <xavierm02 <at> guix.xavierm02.fr>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 12 Aug 2019 21:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]
[bug.lyx (application/x-lyx, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37013
; Package
guix
.
(Mon, 12 Aug 2019 21:31:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 37013 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37013
; Package
guix
.
(Thu, 22 Aug 2019 16:24:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 37013 <at> debbugs.gnu.org (full text, mbox):
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
>
>
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37013
; Package
guix
.
(Thu, 11 Jun 2020 07:02:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 37013 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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,
>
> 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
> >
> >
>
>
>
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37013
; Package
guix
.
(Wed, 17 Jun 2020 00:12:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 37013 <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37013
; Package
guix
.
(Wed, 05 Aug 2020 02:22:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 37013 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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:
========================================================================
~/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 format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2018-12-01>
(/gnu/store/wyp70a5a4spmj1g2wvm27d5968sssvwq-texlive-texmf-20190410/share/texmf
-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/texmf
-dist/tex/latex/base/size10.clo))
(/gnu/store/wyp70a5a4spmj1g2wvm27d5968sssvwq-texlive-texmf-20190410/share/texmf
-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 format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2018-12-01>
(/gnu/store/xq0b0mgz5h6invz9fh13n29mb2jfdb0s-texlive-union-51265/share/texmf-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/texmf-dist/tex/latex/base/size10.clo))
! LaTeX Error: File `url.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
========================================================================
Regards,
Jakub Kądziołka
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.