Open dscho opened 10 years ago
Not so sure what is going on. We seem to be using the same TeX distribution.
You mention having to update geometry
: Could you please update the package cache by running texhash
(on my installation I have to use sudo texhash
). I always though tlmgr
would do it, but perhaps I've been wrong?
Another shot in dark: If I got it right, a diff
between my output and yours seems to indicate that some packages were not loaded. Could you please check if you have all of these installed?
/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
/usr/share/texlive/texmf-dist/tex/latex/mparhack/mparhack.sty
/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.sty
/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype-pdftex.def
/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.cfg
/usr/share/texlive/texmf-dist/tex/latex/sectsty/sectsty.sty
/usr/share/texlive/texmf-dist/tex/latex/appendix/appendix.sty
/usr/share/texlive/texmf-dist/tex/latex/SIunits/SIunits.sty
The output I pasted was from a fully up-to-date texlive-latex-extra
installation on Ubuntu 13.10 without any local hacks. Same for lyx
.
The comments you saw about updating geometry
and lyx
locally stemmed from some experiments with Ubuntu 12.04 (a Long Term Support version) because my original plan was to let Jenkins build & serve your guide (and I cannot flimiscally update the server to a non-LTS version or mess with the installed packages as if I had a single user machine).
FWIW I also hoped that I could patch the guide to make it possible to compile with more easily installed setups, to attract more contributors, but I fail even to compile the guide myself as it stands now...
Wow, that would be great. Really really appreciated. Thanks for that!
Please bear with my lack of analytical skills to solve this issue. I really did not know where to start. Now that I know you are using texlive-latex-extra
, I just looked at the list of CTAN packages included in it, and it seems that at least microtype
, and SIunits
are not included. That could be sufficient to stop the file from compiling (I'm guessing here).
I am using 'vanilla' MacTeX, and only now I am realizing that the debian distribution of TeX live 2013 may be different. Also, only now I realized that in Ubuntu, tlmgr
is not available from the repositories and can only be installed manually (do you confirm this?).
Here is what I will try to do: I will try to remove the requirements for the packages not listed in the Debian texlive-extra list.
If I fail, i.e., if some packages at CTAN that are not included in texlive-latex-extra
are really required (I went through this exercise of using only as little requirements as possible back in 2012), could we included download links for them in the building script, or is that a bad practice?
Meanwhile, I would ask you a favor:
with tlmgr
, we could run tlmgr list --only-installed
to obtain a list of all the packages installed. Without it, could you please send me all the list of files in /texlive/texmf-dist/tex/latex/
that got installed in your system?
(sorry to ask you this, but I only have access to my laptop and I'm afraid I may get a wrong list if I try elsewhere).
Also, please know I am really surprised that there are different TeX live distributions. I guess I do not understand the concept of a live distribution then.
Forgot to include this link to tex.stackexchange, in case it helps. Here, it seems that it is possible to obtain a list of all the installed LaTeX packages in Ubuntu using kpsepath
as an alternative to tlmgr
Also, It seems that others also had the need to have access to all the CTAN repertoire of LaTeX packages, rather then relying on the ones pre-selected by apt-get
. Would this help us https://github.com/scottkosty/install-tl-ubuntu#install-tl-ubuntu ?
OK, just had a look at all the CTAN packages required (see https://github.com/tferr/IJ-guide/commit/4b5dc762e2d2ed52764ebf4fb28b8bee833cc5da) and looked more carefully into this. I can obtain your error when I remove IJguide.module from the lyx layouts folder. IJguide.module is a common LaTeX preamble that gets applied to all the tex files (the README should describe this).
When I remove IJguide.module from the lyx user directory I get lots of "Warning: Module not available" messages when running lyx --force-overwrite --export pdflatex user-guide.lyx
. Did you get this type of messages?
If IJguide.module is not symlinked in your lyx layout folder:
The lyx layout folder is in the lyx user directory. If can be created if it does not exist. Unfortunately, I don't know how to check its path from the command line. I only know how to get its path using the LyX GUI, by clicking in LyX>About. In Ubuntu it looks as if it could be ~/.lyx/layouts
or /usr/share/lyx/layouts
. Once IJguide.module is symlinked there, lyx needs to be reconfigured. I think this can be done using lyx --execute reconfigure
If this is indeed the issue: Lyx seems to have a command line option to set the user directory, so I guess this could be improved
@dscho sorry for the delay. I think I got it, but had to install lubuntu 13.10 (through VirtualBox) to really see what was going on. This was really a fresh out-of-the-box lubuntu install. I came across two major problems:
sudo apt-get install lyx
did install a capable texlive, but it did not seem to install scalable fonts. So I removed the requirements for it. https://github.com/tferr/IJ-guide/commit/d70925e804ed6d79c79fb7eec1bf783e865663d6 should have solved this.With https://github.com/tferr/IJ-guide/commit/f261d2cd80da2f380d1551baf498595a2067d74d CompileLinux.sh was added that successfully built the 3 pdfs.
Could you please give it a try?
Even after upgrading the
geometry
package to a newer version, upgrading Ubuntu to 13.10, compiling LyX manually, the compilation fails:Any insight?