mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-16 16:18:22 +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. |
||
---|---|---|
.. | ||
linkback | ||
mythes | ||
tests | ||
.gitignore | ||
AppleScript.h | ||
AppleScript.m | ||
AppleScriptProxy.cpp | ||
AppleSpeller.h | ||
AppleSpeller.m | ||
bind.h | ||
CMakeLists.txt | ||
ConsoleApplication.cpp | ||
ConsoleApplication.h | ||
ConsoleApplicationPrivate.h | ||
convert.cpp | ||
convert.h | ||
copied_ptr.h | ||
debug.cpp | ||
debug.h | ||
docstream.cpp | ||
docstream.h | ||
docstring_list.h | ||
docstring.cpp | ||
docstring.h | ||
environment.cpp | ||
environment.h | ||
ExceptionMessage.h | ||
FileMonitor.cpp | ||
FileMonitor.h | ||
FileName.cpp | ||
FileName.h | ||
FileNameList.h | ||
filetools.cpp | ||
filetools.h | ||
foreach.h | ||
ForkedCalls.cpp | ||
ForkedCalls.h | ||
functional.h | ||
gettext.cpp | ||
gettext.h | ||
gzstream.cpp | ||
gzstream.h | ||
kill.cpp | ||
lassert.cpp | ||
lassert.h | ||
limited_stack.h | ||
lstrings.cpp | ||
lstrings.h | ||
lyxalgo.h | ||
lyxlib.h | ||
lyxtime.cpp | ||
lyxtime.h | ||
Makefile.am | ||
Messages.cpp | ||
Messages.h | ||
metahash.h | ||
mutex.cpp | ||
mutex.h | ||
numpunct_lyx_char_type.h | ||
os_cygwin.cpp | ||
os_unix.cpp | ||
os_win32.cpp | ||
os_win32.h | ||
os.cpp | ||
os.h | ||
Package.cpp | ||
Package.h | ||
PathChanger.cpp | ||
PathChanger.h | ||
pch.h | ||
pmprof.h | ||
ProgressInterface.h | ||
qstring_helpers.cpp | ||
qstring_helpers.h | ||
RandomAccessList.h | ||
regex.h | ||
shared_ptr.h | ||
socktools.cpp | ||
socktools.h | ||
strfwd.h | ||
Systemcall.cpp | ||
Systemcall.h | ||
SystemcallPrivate.h | ||
TempFile.cpp | ||
TempFile.h | ||
textutils.h | ||
Timeout.cpp | ||
Timeout.h | ||
Translator.h | ||
trivstring.cpp | ||
trivstring.h | ||
types.h | ||
unicode.cpp | ||
unicode.h | ||
userinfo.cpp | ||
userinfo.h | ||
weighted_btree.h |