Uwe Stöhr schreef op 29-3-2014 5:26:
While stepping through all template files I noticed that LyX informs me on opening the RJournal template file that the package "msc" is missing. The attached simple patch fixed this.

OK to master or better LyX 2.1.1?

regards Uwe

I don't understand. When I start a new document based on the RJournal template, it needs "bibtex/bib/msc/biblio.bib" from the msc package. This is because the template file has a bibliography called "biblio". The only citation in the document is an example citation. We can just add a sample citation to xampl.bib as we do for other templates.

Question 1.
What has this to do with "msc.sty".

Question 2.
If a template needs a certain package, why would we then add this to the layout file ? Should the layout not only care about the document class and the RJournal.sty file instead ?

Question 3.
I tried the RJournal class myself. Of course I had to download the sty file, and I had to remove the knitr dependency. Now on compilation it appeared I needed: "inconsolata.sty" (a font not even provided by my MikTeX version), "environ.sty", "trimspace.sty". Shouldn't these be added to the layout file ? If we do so, shouldn't we then add all packages other than those that are checked for in configure.py ?

In short, no, I don't agree to commit this patch to master.

Vincent


Reply via email to