mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-01 05:25:55 +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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
epstools.cpp | ||
epstools.h | ||
GraphicsCache.cpp | ||
GraphicsCache.h | ||
GraphicsCacheItem.cpp | ||
GraphicsCacheItem.h | ||
GraphicsConverter.cpp | ||
GraphicsConverter.h | ||
GraphicsImage.h | ||
GraphicsLoader.cpp | ||
GraphicsLoader.h | ||
GraphicsParams.cpp | ||
GraphicsParams.h | ||
GraphicsTypes.h | ||
PreviewImage.cpp | ||
PreviewImage.h | ||
PreviewLoader.cpp | ||
PreviewLoader.h |