Re: \includeonly on 1.6.2?
On Mon, May 04, 2009 at 01:26:49PM +, Guenter Milde wrote: > > Are you sure the manual mentions \includeonly (as opposed to \include)? Yes. It turns out bug 5360 made this point, just not very prominently. I added a clarification there. > The wiki can be fixed by everyone, click the Edit button/link. Done. Thanks! A -- Andrew Sullivan a...@shinkuro.com Shinkuro, Inc.
Re: \includeonly on 1.6.2?
On 2009-05-03, Andrew Sullivan wrote: > On Sun, May 03, 2009 at 07:56:59PM +, Guenter Milde wrote: >> \includeonly is currently not supported. > Aha. I think this needs to be fixed in the wiki, then. Not to > mention the manual :) How do I go about that? Are you sure the manual mentions \includeonly (as opposed to \include)? The wiki can be fixed by everyone, click the Edit button/link. For the manual, you can write to the documentation list or file a bug report via trac. Günter
Re: \includeonly on 1.6.2?
On Sun, May 03, 2009 at 07:56:59PM +, Guenter Milde wrote: > \includeonly is currently not supported. Aha. I think this needs to be fixed in the wiki, then. Not to mention the manual :) How do I go about that? -- Andrew Sullivan a...@shinkuro.com Shinkuro, Inc.
Re: \includeonly on 1.6.2?
On 2009-05-03, Andrew Sullivan wrote: > When I use \includeonly with multiple files. I get the correct ToC and > such at the beginning of the output, but the included file doesn't > ever show up. I'm sure I've missed something in the documentation, > but I've looked through it several times & can't see what I've done > wrong. (I've tried absolute paths, relative paths, &c, all without > luck.) Could someone apply a cluestick? \includeonly is currently not supported. If you are using a temp-dir (the default), file names are mangled and \includeonly will fail. (It *might* work if all the included files are in the same dir.) In older versions, you could disable the temp-dir feature, maybe setting the path to the empty string or so will still do this... Günter
\includeonly on 1.6.2?
Hi, 1.6.2, Mac OS X 10.5.6. latex -version pdfTeX 3.141592-1.40.3-2.2 (Web2C 7.5.6) kpathsea version 3.5.6 Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Kpathsea is copyright 2007 Karl Berry and Olaf Weber. There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Kpathsea written by Karl Berry, Olaf Weber, and others. Compiled with libpng 1.2.15; using libpng 1.2.15 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.01 (This is from gwTeX.) When I use \includeonly with multiple files. I get the correct ToC and such at the beginning of the output, but the included file doesn't ever show up. I'm sure I've missed something in the documentation, but I've looked through it several times & can't see what I've done wrong. (I've tried absolute paths, relative paths, &c, all without luck.) Could someone apply a cluestick? A -- Andrew Sullivan a...@shinkuro.com Shinkuro, Inc.
Re: includeonly
On 2009-02-24, Rudi Gaelzer wrote: > On Friday 17 October 2008 04:57:07 Jürgen Spitzmüller wrote: >> Guenter Milde wrote: >> > none of e.g. >> > >> > \includeonly{thermisch} >> > >> > or >> > >> > \includeonly{Thermisch/thermisch} >> > >> > seems to work. >> Yes. This doesn't work with LyX, unfortunately. >> > Is there some kind of filename mangling when the tex files are generated >> > in the temporary dir? >> Yes, this is the reason. > What is the alternative for LyX 1.6.1? > I mean, if one wants to process a single chapter in the middle of a > multi- chapter document, but needs to retain all the previous > information, such as page/chapter numbering, cross-references, etc, how > can this be accomplished by LyX? It works, if you have all the sub-documents in the same directory. You can also try to disable the "use temporary directory" option (this was in pre 1.6 maybe you get this by leaving the Document>Settings>Paths: Temp setting empty now.) You could search in the temporary dir (/tmp/lyx_tmpdir*/ on my Debian system) for the given filename. But this is likely to change with every re-opening of LyX. Otherwise you really need to process the whole document and then select the appropriate pages in the viewer. Last but not least: File an enhancement request to bugzilla or vote for it if it is already there. Günter
Re: includeonly
On Friday 17 October 2008 04:57:07 Jürgen Spitzmüller wrote: > Guenter Milde wrote: > > none of e.g. > > > > \includeonly{thermisch} > > > > or > > > > \includeonly{Thermisch/thermisch} > > > > seems to work. > > Yes. This doesn't work with LyX, unfortunately. > > > Is there some kind of filename mangling when the tex files are generated > > in the temporary dir? > > Yes, this is the reason. > > Jürgen What is the alternative for LyX 1.6.1? I mean, if one wants to process a single chapter in the middle of a multi- chapter document, but needs to retain all the previous information, such as page/chapter numbering, cross-references, etc, how can this be accomplished by LyX? Thanks. -- Rudi Gaelzer Department of Physics Institute of Physics and Mathematics Federal University of Pelotas BRAZIL Registered linux user # 153741
Re: includeonly
Guenter Milde wrote: > none of e.g. > > \includeonly{thermisch} > > or > > \includeonly{Thermisch/thermisch} > > seems to work. Yes. This doesn't work with LyX, unfortunately. > Is there some kind of filename mangling when the tex files are generated in > the temporary dir? Yes, this is the reason. Jürgen
includeonly
Dear LyX users, I have a large document that is split into separate chapters, all in their own directories (with lyx and eps and graphic source files). The main.lyx file includes e.g. Einleitung/einleitung.lyx Thermisch/thermisch.lyx MTF/mtf.lyx Now I want to use \includeonly{} in the preamble, but none of e.g. \includeonly{thermisch} or \includeonly{Thermisch/thermisch} seems to work. Is there some kind of filename mangling when the tex files are generated in the temporary dir? Is this reproducible? Should I rather put all *lyx files in one common dir? Günter
Re: \includeonly NOT WORKING in LyX 1.5.2
Siegfried MEUNIER-GUTTIN-CLUZEL <[EMAIL PROTECTED]> writes: > In my opinion, since includeonly is a LaTeX command it isn't processed > by LyX, so if you put LyX files, it can't work. > I noticed that when you include a LyX file, the \include LaTeX command > don't show the .lyx extension. > I suppose it use the converted LaTeX file ... so try to suppress the > extensions in your includeonly command. The problems with includeonly are old. See: http://bugzilla.lyx.org/show_bug.cgi?id=1005 JMarc
Re: \includeonly NOT WORKING in LyX 1.5.2
César Vasques wrote: > Can anybody tell me if it SHOULD or SHOULD NOT work? It does not work, unfortunately. The reason is that LyX copies the files to the temp dir and mangles the file names to something unique (this seems to be necessary for several reasons). So the files that are processed by LyX have different names than those in your \includeonly statement. I don't see an easy solution besides implementing native includeonly support in LyX. Jürgen
Re: \includeonly NOT WORKING in LyX 1.5.2
César Vasques wrote: I am using LyX version 1.5.2 and I haven't been able to make the command "\includeonly{file1.lyx,file2.lyx,...}" placed in the preamble work. I use it to make LyX only to include some of the chapter files of a master document with entries "\include{*.lyx}". Can anybody tell me if it SHOULD or SHOULD NOT work? It works fine in LaTeX. It is a pitty not working with LyX. However in the help documentation it is said it is one of the available capabilities of LyX. In my opinion, since includeonly is a LaTeX command it isn't processed by LyX, so if you put LyX files, it can't work. I noticed that when you include a LyX file, the \include LaTeX command don't show the .lyx extension. I suppose it use the converted LaTeX file ... so try to suppress the extensions in your includeonly command. Hope it helps... Siegfried.
Re: \includeonly NOT WORKING in LyX 1.5.2
César Vasques wrote: Not working. How do I include the full path? Something like this: "c:/path/dir/file.lyx"? Not working. Yes, that was my idea, but if it's not working, then I don't know what the problem is. Try exporting to LaTeX and looking at the source. rh Cesar - Original Message - From: "rgheck" <[EMAIL PROTECTED]> To: "César Vasques" <[EMAIL PROTECTED]> Cc: Sent: Thursday, December 20, 2007 7:35 PM Subject: Re: \includeonly NOT WORKING in LyX 1.5.2 César Vasques wrote: I am using LyX version 1.5.2 and I haven't been able to make the command "\includeonly{file1.lyx,file2.lyx,...}" placed in the preamble work. I use it to make LyX only to include some of the chapter files of a master document with entries "\include{*.lyx}". Can anybody tell me if it SHOULD or SHOULD NOT work? It works fine in LaTeX. It is a pitty not working with LyX. However in the help documentation it is said it is one of the available capabilities of LyX. It should work, I think. Export to LaTeX, or just View Source, and you may be able to see what the problem is. It may be that the files aren't being found, because LyX does everything from a temporary directory. If so, trying including the full paths to the files. Richard
Re: \includeonly NOT WORKING in LyX 1.5.2
Not working. How do I include the full path? Something like this: "c:/path/dir/file.lyx"? Not working. Cesar - Original Message - From: "rgheck" <[EMAIL PROTECTED]> To: "César Vasques" <[EMAIL PROTECTED]> Cc: Sent: Thursday, December 20, 2007 7:35 PM Subject: Re: \includeonly NOT WORKING in LyX 1.5.2 César Vasques wrote: I am using LyX version 1.5.2 and I haven't been able to make the command "\includeonly{file1.lyx,file2.lyx,...}" placed in the preamble work. I use it to make LyX only to include some of the chapter files of a master document with entries "\include{*.lyx}". Can anybody tell me if it SHOULD or SHOULD NOT work? It works fine in LaTeX. It is a pitty not working with LyX. However in the help documentation it is said it is one of the available capabilities of LyX. It should work, I think. Export to LaTeX, or just View Source, and you may be able to see what the problem is. It may be that the files aren't being found, because LyX does everything from a temporary directory. If so, trying including the full paths to the files. Richard
Re: \includeonly NOT WORKING in LyX 1.5.2
César Vasques wrote: I am using LyX version 1.5.2 and I haven't been able to make the command "\includeonly{file1.lyx,file2.lyx,...}" placed in the preamble work. I use it to make LyX only to include some of the chapter files of a master document with entries "\include{*.lyx}". Can anybody tell me if it SHOULD or SHOULD NOT work? It works fine in LaTeX. It is a pitty not working with LyX. However in the help documentation it is said it is one of the available capabilities of LyX. It should work, I think. Export to LaTeX, or just View Source, and you may be able to see what the problem is. It may be that the files aren't being found, because LyX does everything from a temporary directory. If so, trying including the full paths to the files. Richard
\includeonly NOT WORKING in LyX 1.5.2
I am using LyX version 1.5.2 and I haven't been able to make the command "\includeonly{file1.lyx,file2.lyx,...}" placed in the preamble work. I use it to make LyX only to include some of the chapter files of a master document with entries "\include{*.lyx}". Can anybody tell me if it SHOULD or SHOULD NOT work? It works fine in LaTeX. It is a pitty not working with LyX. However in the help documentation it is said it is one of the available capabilities of LyX.