Well, it is not so stupid ;) . By checking it I noticed once thing. Making a new file, and adding to the preamble *\usepackage{lipsum}* everything works fine. But my problem is a little different. As I'm writing a scientific paper, my advisor shared with me his LyX template, from the APS (Revtex 4.1). He compiled it with some institutional data, and loaded some modules via the dialog *Document**->Settings->Modules* as shown in the figure. [image: Immagine incorporata 2] And on my laptop the module lipsum is "(not found)". Since I'd like to leave everything as it is in his template, I tried to add to his preamble *\usepackage*{lipsum} but it doesn't work. No lipsum text is shown. And a couple of "Flex:Lipsum" insets result being "Undefined"
[image: Immagine incorporata 3] Can you explain me better the difference between Modules loaded via the dialog and via \usepackage{}? In fact, I cannot choose the lipsum package from the dialog. But still I can put it in the preamble via \usepackage{}. 2016-10-12 11:25 GMT+02:00 John Kane <jrkrid...@gmail.com>: > This sounds stupid but you do have \usepackage{lipsum} in your LaTeX > preamble? > > On 12 October 2016 at 03:31, Riccardo <chiona...@gmail.com> wrote: > >> Hello everybody, >> I'm using LyX 2.2.1 under Ubuntu 16.04. I have texlive 2016 installed >> via this <http://ppa.launchpad.net/jonathonf/texlive-2016/ubuntu> PPA. I >> have a problem with a module missing in LyX: lipsum.sty >> >> >> *kpsewhich lipsum.sty* returns a path correctly >> >> */usr/local/share/texmf/tex/latex/lipsum/lipsum.sty* >> >> but still, in *Document→Settings→Modules* there is no module "Lipsum" >> showing up. >> >> >> I checked your guide at https://wiki.lyx.org/FAQ/LaTeX >> Errors#missing-class. >> >> >> *apt-file search lipsum.sty* returns the package *texlive-latex-extra* >> >> that I actually have in >> */usr/share/texlive/texmf-dist/tex/latex/lipsum/lipsum.sty*. Moreover, >> *texlive-latex-extra* is already at the newest version >> (2016.20160819-1~ubuntu16.04.1york0). >> >> >> To be sure I downloaded the lipsum module from CTAN, and followed their >> instructions. I run *latex lipsum.ins* and inserted the resulting >> *lipsum.sty* file into *$TEXMF/tex/latex/lipsum/* , in my case: >> >> >> >> *kpsewhich -var-value TEXMFLOCAL/usr/local/share/texmf* >> >> and >> >> >> *kpsewhich -var-value TEXMFHOME/home/chionatan/texmf* >> >> >> I think the package is correctly installed, since any other editor >> (TeXmaker for example) compile any file with *\usepackage{lipsum}* in >> the preamble. >> >> >> Am I missing something in LyX, to set *lipsum* as a module? >> >> I'd appreciate your help. >> >> >> Riccardo >> > > > > -- > John Kane > Kingston ON Canada >