From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 22 12:23:48 2019 Received: (at 37013) by debbugs.gnu.org; 22 Aug 2019 16:23:48 +0000 Received: from localhost ([127.0.0.1]:38264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0psK-0000qD-51 for submit@debbugs.gnu.org; Thu, 22 Aug 2019 12:23:48 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:43493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0psH-0000py-Tt for 37013@debbugs.gnu.org; Thu, 22 Aug 2019 12:23:46 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id EB1174B9; Thu, 22 Aug 2019 12:23:39 -0400 (EDT) Received: from imap4 ([10.202.2.54]) by compute5.internal (MEProxy); Thu, 22 Aug 2019 12:23:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xavierm02.fr; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=0W++O5RzOONiVO3WqJqOdMvg8ZcSSMH a4qoVWJJOelI=; b=zG8HhOMXwkDb4ciKN5f1jr4F9KTadnFs10k1GlpKBBcD7D4 St0IDXZSHNhzWAW8VxNdVgVvNy6oPjTUpUHrEGjnHYGdSuG5KRyMEhZilWX+5gMp 274cJZR4ZsYaqPu5EaP922ND8gL5qtXP4LAlsWxDMmkH5tMBdIFuVSElk/SzrfRY DHaTsBf0oFGzDqXvLR3mHKAExLKfOsE7H6XDAGRVBd6zOXTqq8ugsVzQ+NB2kcie Tt2aM7xy8vsLcns6H7gURRFRMmI353GcS6C4npnJ+6T/ZMAtAZHAacSmYUOTdB3Y MwVIUspoH8jWw6rKkKu8EKbb2PtDCPjKhedoMKA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=0W++O5 RzOONiVO3WqJqOdMvg8ZcSSMHa4qoVWJJOelI=; b=PeZR8GO5JsYy/JdBCd9wAK IM1LKfmw+85XjjKSLsZkfaPSQ6zyXxFnG5EJj5ESYqhV1B1FP/+0SkOkCQ12R/9u POkKoXY01aBxJXjKk2E8N7uJA+aZr9eADDw5wIpzFH1KMCDA7g78dsy9DgSLST80 LNVgbjH9J1OcHAgKI2VOsrb2cEqMdiPX+CzpU4+paUcXRW/gaN5p6KKBV2EaDMGN bUHq69xTA2ZRG2gt7BQ5uYXNWFyhyvBq1DdwFcIu/WSobqTlT656gZf4HXooOLIw r5jTaDmpmgRbOR8v0pm/SgRSahMoLD+zoD6mwr7GWB9Jjb5EPeVBHGTwBm6yVxxA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudegiedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfiggrvhhivghrucfoohhnthhilhhlvghtfdcuoeigrghv ihgvrhhmtddvsehguhhigidrgigrvhhivghrmhdtvddrfhhrqeenucfrrghrrghmpehmrg hilhhfrhhomhepgigrvhhivghrmhdtvdesghhuihigrdigrghvihgvrhhmtddvrdhfrhen ucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id C50183C00A1; Thu, 22 Aug 2019 12:23:38 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-916-g49fca03-fmstable-20190821v7 Mime-Version: 1.0 Message-Id: In-Reply-To: <87imr2ul67.fsf@elephly.net> References: <76cd2c1c-cf8c-4e3e-9ddc-385f41c9584f@www.fastmail.com> <87imr2ul67.fsf@elephly.net> Date: Thu, 22 Aug 2019 16:23:18 +0000 From: "Xavier Montillet" To: "Ricardo Wurmus" Subject: Re: bug#37013: LyX can not find refstyle.sty Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37013 Cc: 37013@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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 > >