all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* LyX on foreign distro
@ 2019-03-25 21:05 sirgazil
  2019-03-26  8:06 ` Ricardo Wurmus
  2019-03-26 17:44 ` sirgazil
  0 siblings, 2 replies; 8+ messages in thread
From: sirgazil @ 2019-03-25 21:05 UTC (permalink / raw)
  To: Help Guix

Hello, I need some help :)

I'm using LyX 2.3.2-2 installed with Guix 
(a506a4c3801838c0b75b58dd2ac8bb0ccf4279fb) on a foreign distribution, 
and I noticed the following:

1. Buttons in the toolbar do not display icons, just text.
2. I'm getting a "LaTeX Error: File `utf8x.def' not found" when I try to 
export a document to PDF (see full error at the end of this message).

About the second problem, I don't know what I should install with Guix 
to fix it.

When working with LyX documents on Debian 9, I usually install the 
following packages and I can export the documents to PDF:

texlive-lang-SOME_LANGUAGE or texlive-lang-all
texlive-xetex
texlive-publishers

The first two packages install components I need to write multilingual 
documents, and the last package installs some document classes (I need 
IEEEtran.cls specifically).


ERROR MESSAGE
----------------------------------------------------------------------
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) 
(preloaded format=pdflatex 2019.3.1)  25 MAR 2019 15:29
entering extended mode
  restricted \write18 enabled.
  %&-line parsing enabled.
**como-meditar.tex
(./como-meditar.tex
LaTeX2e <2018-04-01> patch level 2

(/gnu/store/wcghdyp5h2jf0kprh9rr9v8dycbi3wxq-texlive-union-49435/share/texmf-dist/tex/latex/base/book.cls
Document Class: book 2014/09/29 v1.4h Standard LaTeX document class
(/gnu/store/wcghdyp5h2jf0kprh9rr9v8dycbi3wxq-texlive-union-49435/share/texmf-dist/tex/latex/base/bk10.clo
File: bk10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count80
\c@chapter=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\c@figure=\count87
\c@table=\count88
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) 
(/gnu/store/wcghdyp5h2jf0kprh9rr9v8dycbi3wxq-texlive-union-49435/share/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2017/04/05 v2.0i Standard LaTeX package
(/gnu/store/wcghdyp5h2jf0kprh9rr9v8dycbi3wxq-texlive-union-49435/share/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2017/04/05 v2.0i Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 48.
)) 
(/gnu/store/wcghdyp5h2jf0kprh9rr9v8dycbi3wxq-texlive-union-49435/share/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2018/04/06 v1.3b Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15

! LaTeX Error: File `utf8x.def' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: def)

Enter file name:
! Emergency stop.
<read *>

l.165 \endinput
                ^^M
*** (cannot \read from terminal in nonstop modes)


Here is how much of TeX's memory you used:
  449 strings out of 494708
  4931 string characters out of 6178433
  52744 words of memory out of 5000000
  4054 multiletter control sequences out of 15000+600000
  4403 words of font info for 15 fonts, out of 8000000 for 9000
  14 hyphenation exceptions out of 8191
  23i,0n,22p,142b,37s stack positions out of 
5000i,500n,10000p,200000b,80000s
!  ==> Fatal error occurred, no output PDF file produced!
----------------------------------------------------------------------



-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.io/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: LyX on foreign distro
  2019-03-25 21:05 LyX on foreign distro sirgazil
@ 2019-03-26  8:06 ` Ricardo Wurmus
  2019-03-26 15:48   ` sirgazil
  2019-03-26 17:44 ` sirgazil
  1 sibling, 1 reply; 8+ messages in thread
From: Ricardo Wurmus @ 2019-03-26  8:06 UTC (permalink / raw)
  To: sirgazil; +Cc: Help Guix


sirgazil <sirgazil@zoho.com> writes:

> 2. I'm getting a "LaTeX Error: File `utf8x.def' not found" when I try
> to export a document to PDF (see full error at the end of this
> message).
>
> About the second problem, I don't know what I should install with Guix
> to fix it.

Looks like that’s provided by the texlive-latex-ucs package.

We are trying to improve the (modular) LaTeX situation, but it’s tricky
and we haven’t packaged enough things yet, partly because it’s not clear
what files in the TeX Live SVN tree really belong together.

For the time being you may even want to install the huge, monolithic
“texlive” package into your profile instead of relying on the minimal
fragments of TeX Live that are required to build LyX.

--
Ricardo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: LyX on foreign distro
  2019-03-26  8:06 ` Ricardo Wurmus
@ 2019-03-26 15:48   ` sirgazil
  2019-03-26 16:03     ` Ricardo Wurmus
  0 siblings, 1 reply; 8+ messages in thread
From: sirgazil @ 2019-03-26 15:48 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Help Guix

El 26/03/19 a las 3:06 a. m., Ricardo Wurmus escribió:
> 
> sirgazil <sirgazil@zoho.com> writes:
> 
>> 2. I'm getting a "LaTeX Error: File `utf8x.def' not found" when I try
>> to export a document to PDF (see full error at the end of this
>> message).
>>
>> About the second problem, I don't know what I should install with Guix
>> to fix it.
> 
> Looks like that’s provided by the texlive-latex-ucs package.
> 
> We are trying to improve the (modular) LaTeX situation, but it’s tricky
> and we haven’t packaged enough things yet, partly because it’s not clear
> what files in the TeX Live SVN tree really belong together.
> 
> For the time being you may even want to install the huge, monolithic
> “texlive” package into your profile instead of relying on the minimal
> fragments of TeX Live that are required to build LyX.

I installed "texlive"; problem solved :)


Thanks, Ricardo.


-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.io/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: LyX on foreign distro
  2019-03-26 15:48   ` sirgazil
@ 2019-03-26 16:03     ` Ricardo Wurmus
  0 siblings, 0 replies; 8+ messages in thread
From: Ricardo Wurmus @ 2019-03-26 16:03 UTC (permalink / raw)
  To: sirgazil; +Cc: Help Guix


sirgazil <sirgazil@zoho.com> writes:

> El 26/03/19 a las 3:06 a. m., Ricardo Wurmus escribió:
>>
>> sirgazil <sirgazil@zoho.com> writes:
>>
>>> 2. I'm getting a "LaTeX Error: File `utf8x.def' not found" when I try
>>> to export a document to PDF (see full error at the end of this
>>> message).
>>>
>>> About the second problem, I don't know what I should install with Guix
>>> to fix it.
>>
>> Looks like that’s provided by the texlive-latex-ucs package.
>>
>> We are trying to improve the (modular) LaTeX situation, but it’s tricky
>> and we haven’t packaged enough things yet, partly because it’s not clear
>> what files in the TeX Live SVN tree really belong together.
>>
>> For the time being you may even want to install the huge, monolithic
>> “texlive” package into your profile instead of relying on the minimal
>> fragments of TeX Live that are required to build LyX.
>
> I installed "texlive"; problem solved :)

Not ideal, but I’m glad it’s working for you.  I hope we can soon
provide a better experience with the modular texlive.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: LyX on foreign distro
  2019-03-25 21:05 LyX on foreign distro sirgazil
  2019-03-26  8:06 ` Ricardo Wurmus
@ 2019-03-26 17:44 ` sirgazil
  2019-03-26 18:45   ` Ricardo Wurmus
  1 sibling, 1 reply; 8+ messages in thread
From: sirgazil @ 2019-03-26 17:44 UTC (permalink / raw)
  To: help-guix

El 25/03/19 a las 4:05 p. m., sirgazil escribió:
> Hello, I need some help :)
> 
> I'm using LyX 2.3.2-2 installed with Guix 
> (a506a4c3801838c0b75b58dd2ac8bb0ccf4279fb) on a foreign distribution, 
> and I noticed the following:
> 
> 1. Buttons in the toolbar do not display icons, just text.

About this issue, I get a lot of messages like this

frontends/qt4/GuiApplication.cpp (643): Cannot load icon 
/gnu/store/x9qb06kvbqd9l6521arvfbbk8m0s41r9-lyx-2.3.2-2/lyx2.3/share/lyx2.3/images/buffer-update.svgz 
please verify resource system!

when I run LyX from a terminal.


[...]

-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.io/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: LyX on foreign distro
  2019-03-26 17:44 ` sirgazil
@ 2019-03-26 18:45   ` Ricardo Wurmus
  2019-03-27  0:25     ` sirgazil
  0 siblings, 1 reply; 8+ messages in thread
From: Ricardo Wurmus @ 2019-03-26 18:45 UTC (permalink / raw)
  To: sirgazil; +Cc: help-guix


sirgazil <sirgazil@zoho.com> writes:

> El 25/03/19 a las 4:05 p. m., sirgazil escribió:
>> Hello, I need some help :)
>>
>> I'm using LyX 2.3.2-2 installed with Guix
>> (a506a4c3801838c0b75b58dd2ac8bb0ccf4279fb) on a foreign
>> distribution, and I noticed the following:
>>
>> 1. Buttons in the toolbar do not display icons, just text.
>
> About this issue, I get a lot of messages like this
>
> frontends/qt4/GuiApplication.cpp (643): Cannot load icon
> /gnu/store/x9qb06kvbqd9l6521arvfbbk8m0s41r9-lyx-2.3.2-2/lyx2.3/share/lyx2.3/images/buffer-update.svgz
> please verify resource system!

The lxqt package has this comment:

       ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
       ;; should be added to their propagated-inputs?
       ("qtsvg" ,qtsvg)

LyX is using Qt4 (why actually?), so this doesn’t directly apply, but I
guess the solution will be similar.

--
Ricardo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: LyX on foreign distro
  2019-03-26 18:45   ` Ricardo Wurmus
@ 2019-03-27  0:25     ` sirgazil
  2019-03-27  6:40       ` Ricardo Wurmus
  0 siblings, 1 reply; 8+ messages in thread
From: sirgazil @ 2019-03-27  0:25 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

El 26/03/19 a las 1:45 p. m., Ricardo Wurmus escribió:
> 
> sirgazil <sirgazil@zoho.com> writes:
> 
>> El 25/03/19 a las 4:05 p. m., sirgazil escribió:
>>> Hello, I need some help :)
>>>
>>> I'm using LyX 2.3.2-2 installed with Guix
>>> (a506a4c3801838c0b75b58dd2ac8bb0ccf4279fb) on a foreign
>>> distribution, and I noticed the following:
>>>
>>> 1. Buttons in the toolbar do not display icons, just text.
>>
>> About this issue, I get a lot of messages like this
>>
>> frontends/qt4/GuiApplication.cpp (643): Cannot load icon
>> /gnu/store/x9qb06kvbqd9l6521arvfbbk8m0s41r9-lyx-2.3.2-2/lyx2.3/share/lyx2.3/images/buffer-update.svgz
>> please verify resource system!
> 
> The lxqt package has this comment:
> 
>         ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
>         ;; should be added to their propagated-inputs?
>         ("qtsvg" ,qtsvg)
> 
> LyX is using Qt4 (why actually?), so this doesn’t directly apply, but I
> guess the solution will be similar.

I installed "qtsvg" and LyX now displays icons normally when I launch it 
from a terminal. It still displays no icons when I launch it using GNOME 
Shell's Alt+F2, though.



-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.io/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: LyX on foreign distro
  2019-03-27  0:25     ` sirgazil
@ 2019-03-27  6:40       ` Ricardo Wurmus
  0 siblings, 0 replies; 8+ messages in thread
From: Ricardo Wurmus @ 2019-03-27  6:40 UTC (permalink / raw)
  To: sirgazil; +Cc: help-guix


sirgazil <sirgazil@zoho.com> writes:

> El 26/03/19 a las 1:45 p. m., Ricardo Wurmus escribió:
>>
>> sirgazil <sirgazil@zoho.com> writes:
>>
>>> El 25/03/19 a las 4:05 p. m., sirgazil escribió:
>>>> Hello, I need some help :)
>>>>
>>>> I'm using LyX 2.3.2-2 installed with Guix
>>>> (a506a4c3801838c0b75b58dd2ac8bb0ccf4279fb) on a foreign
>>>> distribution, and I noticed the following:
>>>>
>>>> 1. Buttons in the toolbar do not display icons, just text.
>>>
>>> About this issue, I get a lot of messages like this
>>>
>>> frontends/qt4/GuiApplication.cpp (643): Cannot load icon
>>> /gnu/store/x9qb06kvbqd9l6521arvfbbk8m0s41r9-lyx-2.3.2-2/lyx2.3/share/lyx2.3/images/buffer-update.svgz
>>> please verify resource system!
>>
>> The lxqt package has this comment:
>>
>>         ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
>>         ;; should be added to their propagated-inputs?
>>         ("qtsvg" ,qtsvg)
>>
>> LyX is using Qt4 (why actually?), so this doesn’t directly apply, but I
>> guess the solution will be similar.
>
> I installed "qtsvg" and LyX now displays icons normally when I launch
> it from a terminal. It still displays no icons when I launch it using
> GNOME Shell's Alt+F2, though.

I think this means that the executable needs to be wrapped in an
environment that provides qtsvg as the availability of qtsvg in the
launch environment appears to make the difference here.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-03-27  6:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-25 21:05 LyX on foreign distro sirgazil
2019-03-26  8:06 ` Ricardo Wurmus
2019-03-26 15:48   ` sirgazil
2019-03-26 16:03     ` Ricardo Wurmus
2019-03-26 17:44 ` sirgazil
2019-03-26 18:45   ` Ricardo Wurmus
2019-03-27  0:25     ` sirgazil
2019-03-27  6:40       ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.