[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-book should generate \usepackage instead of \RequirePackage
From: |
Mats Bengtsson |
Subject: |
Re: lilypond-book should generate \usepackage instead of \RequirePackage - ver 2.7.20 /ChangeLog/1.4304/ |
Date: |
Tue, 29 Nov 2005 11:10:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 |
Bernard Hurley wrote:
This is for ChangeLog/1.4304/ but with my patch applied to get
lilypond-book actually to generate LaTeX
lilypond-book should not generate \RequirePackage{graphics} but
\usepackage{graphics}. The former version is for use in Class files,
where '@' has the status of a letter. \usepackage{graphics} is
equivalent to:
\makeatletter\RequirePackage{graphics}\makeatother
and so loads the package in the right environment if used in the
preamble of a document file.
I was the one who initially proposed to use \RequirePackage instead of
\usepackage, since I had got the impression that the latter wouldn't work
if the package was already loaded earlier, but I stay corrected and will
submit a corresponding patch to CVS.
It seems that:
\includegraphics{filename}
still works, but some of the other facilities of the graphics package
may be broken. this too may break in future versions of the graphics
package.
I'm not sure what you mean here. One issue was if we should use
\usepackage{graphics} or \usepackage{graphicx}, but from Sect. 4.7
of `texdoc grfguide`, I learnt that we should use the graphics package.
/Mats