Re: using "import" package within LyX?

2011-03-01 Thread Georg Baum
Jürgen Spitzmüller wrote: > James C. Sutherland wrote: >> Can't LyX sort through this issue in the same manner as it does with >> graphics paths, i.e. by transforming relative paths to absolute paths >> when the LaTeX is exported to the temporary directory? It can do so if you instruct it how it

Re: using "import" package within LyX?

2011-03-01 Thread Richard Heck
On 03/01/2011 10:28 AM, James C. Sutherland wrote: Can't LyX sort through this issue in the same manner as it does with graphics paths, i.e. by transforming relative paths to absolute paths when the LaTeX is exported to the temporary directory? So behind the scenes, LyX could change: \sub

Re: using "import" package within LyX?

2011-03-01 Thread Jürgen Spitzmüller
James C. Sutherland wrote: > Can't LyX sort through this issue in the same manner as it does with > graphics paths, i.e. by transforming relative paths to absolute paths when > the LaTeX is exported to the temporary directory? In the case of graphics, the procedure is slightly different: the graph

Re: using "import" package within LyX?

2011-03-01 Thread James C. Sutherland
On Tue, Mar 1, 2011 at 12:41 AM, Jürgen Spitzmüller wrote: > Richard Heck wrote: > > > 1. create a file "master.lyx" and edit the LaTeX preamble to include > > > "\usepackage{import}" > > > 2. Insert ERT "\subimport{subdir}{trythis.tex}" > > > 3. create "trythis.tex" in subdir > > > 4. Compile. >

Re: using "import" package within LyX?

2011-02-28 Thread Jürgen Spitzmüller
Richard Heck wrote: > > 1. create a file "master.lyx" and edit the LaTeX preamble to include > > "\usepackage{import}" > > 2. Insert ERT "\subimport{subdir}{trythis.tex}" > > 3. create "trythis.tex" in subdir > > 4. Compile. > > > > This will fail. > > > > If you export your "master.lyx" file to

Re: using "import" package within LyX?

2011-02-28 Thread Richard Heck
On 02/28/2011 12:22 PM, James C. Sutherland wrote: I need to use the LaTeX import package to manage hierarchical directory structures with graphics files distributed throughout the structure. Furthermore, this is in a mixed LyX/LaTeX environment, where LyX gathers the LaTeX files to create var

using "import" package within LyX?

2011-02-28 Thread James C. Sutherland
I need to use the LaTeX import package to manage hierarchical directory structures with graphics files distributed throughout the structure. Furthermore, this is in a mixed LyX/LaTeX environment, where LyX gathers the LaTeX files to create various "master" documents. While the "import" package see