mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
306b136cc0
The "save-as" part of the bug is fixed by extending the \textclass tag such that, if a local layout file is used, its path relative to the document directory is now stored together with the name. If a relative path cannot be used, an absolute one is used but, in this case, the document is not usable on a different platform. The "copy" part is fixed by introducing a new \origin tag, which is written when the file is saved. This tag stores the absolute path of the document directory. If the document is manually copied to a different location, the local layout file is retrivied by using \origin (which is only updated on save). This new tag may prove useful also for locating other files when the document is manually moved to a different directory. As in the original implementation the files needed for the layout (for example, a latex class) had to be in the same directory as the layout file, this directory has also to be added to TEXINPUTS. |
||
---|---|---|
.. | ||
attic | ||
autotests | ||
checkurls | ||
cmake | ||
coding | ||
cygwin | ||
HTML | ||
keystest | ||
lyxserver | ||
MacOSX | ||
mathmacros | ||
tools | ||
Win32 | ||
.gitignore | ||
expectedTestFailures | ||
FORMAT | ||
LyX-Mac-binary-release.sh | ||
lyx.package.README | ||
lyx.rpm.README | ||
lyx.spec.in | ||
Makefile.am |