On Wed, Aug 31, 2011 at 10:27:43AM -0400, Richard Heck wrote: > > So, do we want something in ANNOUNCE about this? If so, can someone send > me some text? I do not know well enough what needs saying.
Maybe something along this line: The support for using external files in ERT has been improved by the introduction of a prefix for the TEXINPUTS environment variable. This prefix can be set in preferences and by default includes the document directory (represented by a single '.'). The prefix can be set to any list of paths separated by the default separator for a given platform (':' on unix like systems and ';' on windows). When a file should be included by LaTeX, the paths listed in TEXINPUTS will be searched in turn for finding it. Note that any non-absolute path listed in the TEXINPUTS prefix is considered to be relative to the document directory, i.e., the directory where the LyX file lives. Users are advised to always include '.' (the document dir) as one of the path components, otherwise compilation may fail for some documents. This is because the previous (undocumented) mechanism based on the use of the \input@path macro has been dropped. The old mechanism did not work in all cases and was kind of a hack. Old documents using that undocumented hack for obtaining the path of the LyX file will have to be revised. A clean way for obtaining the document path is using the info inset through the "info-insert buffer path" LyX function. -- Enrico