On 2010-06-07, William R. Buckley wrote:
> "To use the layouts, just copy the respective *.layout
> (and, if included, *.inc) files to the layouts folder of
> your user directory <http://wiki.lyx.org/LyX/UserDir> (if the folder
> doesn't exist yet,
> create it) and then reconfigure LyX (Tools=E2=86=92Reconfigure)."
> Following this advice, I checked to see where the User
> Directory should be placed, and for the operating system
> I use (Windows Vista Home Premium) the instructions are
> that the path to the user directory will be of the form:
> < c:\users\[user name]\AppData\Roaming\LyX16\>
> This seems to me to be in error, since within the above
> given path there are subdirectories, including this one:
> < .\Resources\layout>
> which seems to me the more appropriate place to which
> .layout files should be placed, since that directory includes
> a long list of other .layout files.
This might be a symbolic link (don't know what this is called in
Windows) to the system wide layouts folder.
Place the *.layout file(s) in
< c:\users\[user name]\AppData\Roaming\LyX16\layouts\>
(create this directory if necessary).
> "The layout file you have selected is a local layout
> file, not one in the system or user directory. Your
> document may not work with this layout if you do
> not keep the layout file in the document directory."
> There is here then inconsistent language usage; the difference
> being between the words "user directory" and "document directory."
user directory: Place where LyX looks for user-specific files
(e.g. /home/username/.lyx/)
document directory: directory where the document resides.
(e.g. /home/username/Documents/Papers/2007/)
> Which is it? Where exactly should .layout files be located?
If a layout file is used for just one document, it can be placed
alongside this document in the document folder.
If a layout file is used by just one user, it should be placed under the
user directory (<LyX user dir>/layouts/)
If a layout fils is used by all users on the system, it should be
placed under the <LyX dir>).
Günter