mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +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. |
||
---|---|---|
.. | ||
qt4 | ||
tests | ||
.gitignore | ||
alert.h | ||
Application.h | ||
Clipboard.h | ||
CMakeLists.txt | ||
Delegates.h | ||
FontLoader.h | ||
FontMetrics.h | ||
KeyModifier.h | ||
KeySymbol.h | ||
Makefile.am | ||
mouse_state.h | ||
Painter.h | ||
Selection.h | ||
WorkArea.h | ||
WorkAreaManager.cpp | ||
WorkAreaManager.h |