mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +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. |
||
---|---|---|
.. | ||
.gitignore | ||
CMakeLists.txt | ||
generate_encoding_info.py | ||
lyx2lyx | ||
lyx2lyx_lang.py | ||
lyx2lyx_tools.py | ||
lyx2lyx_version.py.in | ||
lyx_0_06.py | ||
lyx_0_08.py | ||
lyx_0_10.py | ||
lyx_0_12.py | ||
lyx_1_0.py | ||
lyx_1_1_5.py | ||
lyx_1_1_6_0.py | ||
lyx_1_1_6_3.py | ||
lyx_1_1.py | ||
lyx_1_2.py | ||
lyx_1_3.py | ||
lyx_1_4.py | ||
lyx_1_5.py | ||
lyx_1_6.py | ||
lyx_2_0.py | ||
lyx_2_1.py | ||
lyx_2_2.py | ||
LyX.py | ||
Makefile.am | ||
parser_tools.py | ||
profiling.py | ||
test_parser_tools.py | ||
unicode_symbols.py |