lyx_mirror/src/graphics
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
..
CMakeLists.txt
epstools.cpp
epstools.h
GraphicsCache.cpp Mark some singletons with FIXME THREAD 2014-07-05 15:20:54 +02:00
GraphicsCache.h
GraphicsCacheItem.cpp Make sure that a generated temporary filename doesn't end with a dot. 2015-03-13 18:12:08 +01:00
GraphicsCacheItem.h
GraphicsConverter.cpp Let imagemagick detect file format (bug #2332) 2015-03-22 10:22:31 +01:00
GraphicsConverter.h
GraphicsImage.h
GraphicsLoader.cpp #9130 Text in main work area isn't rendered with high resolution 2014-10-18 15:26:49 +02:00
GraphicsLoader.h #9130 Text in main work area isn't rendered with high resolution 2014-10-18 15:26:49 +02:00
GraphicsParams.cpp #9130 Text in main work area isn't rendered with high resolution 2014-10-18 15:26:49 +02:00
GraphicsParams.h #9130 Text in main work area isn't rendered with high resolution 2014-10-18 15:26:49 +02:00
GraphicsTypes.h
PreviewImage.cpp Fix bug #7850 (Preview of inline math misaligned) 2015-04-26 19:08:16 +02:00
PreviewImage.h
PreviewLoader.cpp Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
PreviewLoader.h Properly fix #6369 2015-04-30 16:48:55 +02:00