lyx_mirror/src/frontends
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
..
qt4 Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
tests Fix biblio regex test 2015-01-08 20:46:54 +01:00
.gitignore
alert.h Remove heavy includes 2014-11-30 12:52:01 +01:00
Application.h Fix missing symbols in math completer 2015-02-14 20:32:25 +01:00
Clipboard.h GuiLog: Use GuiClipboard to put the log on the clipboard 2014-04-29 15:38:35 +02:00
CMakeLists.txt Cmake testing: Added test_biblio 2013-08-07 15:00:03 +02:00
Delegates.h
FontLoader.h Work around broken math symbol display (bug 7954) 2014-03-08 11:13:39 +01:00
FontMetrics.h Improve support for on screen length calculation 2015-03-26 17:10:15 +01:00
KeyModifier.h
KeySymbol.h
Makefile.am Add cmake files to autoconf's dist 2014-08-31 15:21:20 +02:00
mouse_state.h
Painter.h Tweak the shape of the parbreak separator. 2014-10-25 23:38:52 +02:00
Selection.h
WorkArea.h
WorkAreaManager.cpp
WorkAreaManager.h