unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Xavier Montillet" <xavierm02@guix.xavierm02.fr>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 37013@debbugs.gnu.org
Subject: bug#37013: LyX can not find refstyle.sty
Date: Thu, 22 Aug 2019 16:23:18 +0000	[thread overview]
Message-ID: <b0ca5670-99d7-4991-be93-6b6401d36bdc@www.fastmail.com> (raw)
In-Reply-To: <87imr2ul67.fsf@elephly.net>

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

  reply	other threads:[~2019-08-22 16:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-12 20:51 bug#37013: LyX can not find refstyle.sty Xavier Montillet
2019-08-12 21:29 ` Ricardo Wurmus
2019-08-22 16:23   ` Xavier Montillet [this message]
2020-06-11  7:00     ` Efraim Flashner
2020-06-17  0:11 ` sirgazil via Bug reports for GNU Guix
2020-08-05  2:20 ` Jakub Kądziołka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b0ca5670-99d7-4991-be93-6b6401d36bdc@www.fastmail.com \
    --to=xavierm02@guix.xavierm02.fr \
    --cc=37013@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).