On 03/30/2014 08:22 PM, Uwe Stöhr wrote:
Am 31.03.2014 02:15, schrieb Scott Kostyshak:

In principle, yes. Scott, can you please have a look and add the sty.files
required by the rjournal class?

Sure, I don't have experience with this so I have a few questions. Is
there any systematic way to know which ones LyX already checks for?

I think that you should only add packages the class files requires.

Which of the following should be added?

This one:

$ grep "RequirePackage" RJournal.sty | sed 's/.*{\(.*\)}.*/\1/'
>
...
>
Is there any systematic way to check that the template does not
require any unnecessary packages? For example...
$ grep -o "[^/]*\.sty" RJournal.log

A required package might require further packages so that the log lists more style files.

Would anyone be interested in a set of tests that automates checking
whether we do not have a sty listed that should be listed?

That is a good question. Richard, do we have a rule here what to add and what not?

Not as far as I know.

Richard

Reply via email to