lyx_mirror/lib/lyx2lyx
Enrico Forestieri 306b136cc0 Fix bug #4812 (Layout in local directory lost on Save As, Copying)
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.
2015-05-13 22:02:13 +02:00
..
.gitignore Setup .gitignore for generated files 2012-03-22 02:16:12 +01:00
CMakeLists.txt Cmake tests: Added parser_tools test to the lyx2lyx group tests 2014-06-12 09:07:57 +02:00
generate_encoding_info.py First step to make lyx2lyx code support both python 2 and python 3 (3.3+) 2015-03-11 12:09:18 +00:00
lyx2lyx lyx2lyx files: update GPL organization address and claim copyright also for the LyX team where it is necessary 2011-12-18 22:56:49 +00:00
lyx2lyx_lang.py Add "default" to language list. (fixes a crash). 2007-12-10 18:51:54 +00:00
lyx2lyx_tools.py First step to make lyx2lyx code support both python 2 and python 3 (3.3+) 2015-03-11 12:09:18 +00:00
lyx2lyx_version.py.in Fix inconsistent version in .lyx files (#7951) 2013-07-13 16:02:26 +02:00
lyx_0_06.py Update FSF address, patch from cornelisbb, #7735. 2011-08-25 23:10:36 +00:00
lyx_0_08.py Update FSF address, patch from cornelisbb, #7735. 2011-08-25 23:10:36 +00:00
lyx_0_10.py Update FSF address, patch from cornelisbb, #7735. 2011-08-25 23:10:36 +00:00
lyx_0_12.py Update FSF address, patch from cornelisbb, #7735. 2011-08-25 23:10:36 +00:00
lyx_1_0.py Update FSF address, patch from cornelisbb, #7735. 2011-08-25 23:10:36 +00:00
lyx_1_1_5.py Update FSF address, patch from cornelisbb, #7735. 2011-08-25 23:10:36 +00:00
lyx_1_1_6_0.py Update FSF address, patch from cornelisbb, #7735. 2011-08-25 23:10:36 +00:00
lyx_1_1_6_3.py Update FSF address, patch from cornelisbb, #7735. 2011-08-25 23:10:36 +00:00
lyx_1_1.py Update FSF address, patch from cornelisbb, #7735. 2011-08-25 23:10:36 +00:00
lyx_1_2.py First step to make lyx2lyx code support both python 2 and python 3 (3.3+) 2015-03-11 12:09:18 +00:00
lyx_1_3.py Update FSF address, patch from cornelisbb, #7735. 2011-08-25 23:10:36 +00:00
lyx_1_4.py First step to make lyx2lyx code support both python 2 and python 3 (3.3+) 2015-03-11 12:09:18 +00:00
lyx_1_5.py First step to make lyx2lyx code support both python 2 and python 3 (3.3+) 2015-03-11 12:09:18 +00:00
lyx_1_6.py First step to make lyx2lyx code support both python 2 and python 3 (3.3+) 2015-03-11 12:09:18 +00:00
lyx_2_0.py Fix bug #9162: Missing \use_indices 2014-07-04 19:55:44 +02:00
lyx_2_1.py Fix thinko in convert_corollary_args 2015-03-24 21:43:25 +01:00
lyx_2_2.py Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
LyX.py Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
Makefile.am Add cmake files to autoconf's dist 2014-08-31 15:21:20 +02:00
parser_tools.py First step to make lyx2lyx code support both python 2 and python 3 (3.3+) 2015-03-11 12:09:18 +00:00
profiling.py Update FSF address, patch from cornelisbb, #7735. 2011-08-25 23:10:36 +00:00
test_parser_tools.py Execute lyx2lyx unit test when running tests 2014-05-29 14:57:05 +02:00
unicode_symbols.py First step to make lyx2lyx code support both python 2 and python 3 (3.3+) 2015-03-11 12:09:18 +00:00