On Mar 10, 2004, at 6:56 PM, Angus Leeming wrote:
M. C. D. wrote:The documentation is good, but it's getting old. I'd encourage you --- anybody and everybody, in fact --- to post here any changes you think would improve it. There are places where things are now so out of date they're just plain wrong. The layout sections are a case in point. Would you consider adding a paragraph or two to make things clearer in light of your own experiences.)
I wouldn't mind, but I don't know how LyX is supposed to behave. LyX/Mac is a little unusual, and I'm also using the Mac distribution of teTeX rather than the standard Unix one. It turned out that I didn't need to install my package in TEXMFLOCAL at all - its regular location in HOMETEXMF works fine - but having no other system to test on I'm not sure whether that's normal behavior.
Put it this way: if you can add a layout to your machine and get it working, then others will be able to distil something from your experiences only if you document them.
I agree, but I can't correct the existing documentation if I have no way of knowing what's right and wrong. All I know for sure is that it didn't work as written.
In general you probably shouldn't change things in the globally accessible directories. At least, not until you're happy with the new layout. LyX differentiates between system configuration files, to be found in ${PREFIX}/share/lyx/
LyX/Mac files appear to be in /Applications/LyX.app/Contents/Resources/LyX/.
Whatever. Different names, same principle.
I only mentioned it for the record. ${PREFIX}/share/lyx doesn't exist, under any definition of ${PREFIX}. If I hadn't already known where the files were, it might not have been obvious where to find them. It also requires special effort to navigate to the contents of an .app package on OSX - you have to know that the LyX program is actually a directory, /Applications/LyX.app/, to get inside it from the command line. You need to control-click the LyX icon and choose "Show package contents" to get inside it from the Finder.
mary
