Re: Approaching LyX 1.6.3 [status update #2]

2009-05-27 Thread Jürgen Spitzmüller
Georg Baum wrote: What about this small fix for external boost detection? Since I do not feel competent for the build stuff, I'd like to hear someone else's (JMarc's?) take on this. In any case, at this stage in the cycle, this should only go in if we are really sure it does not break

Re: possible Windows LyX 1.6.3 release blocker

2009-05-27 Thread Uwe Stöhr
Uwe Stöhr schrieb: configure.py breaks at this check: checking LaTeX configuration... default values +checking list of textclasses... Layout file C:/Program Files (x86)/LyX 1.6.3/bin/../Resources\layouts\manpage.layout has no \DeclareXXClass line. done Can anybody please take

Re: r29856 - lyx-devel/trunk/config

2009-05-27 Thread Abdelrazak Younes
b...@lyx.org wrote: Author: baum Date: Tue May 26 21:50:37 2009 New Revision: 29856 URL: http://www.lyx.org/trac/changeset/29856 +BOOST_FILESYSTEM = -lboost_filesystem$(BOOST_MT) AFAIR we don't use boost_filesystem anymore (neither in 1.6 nor in trunk). Not sure about boost_iostreams but I

Re: [PATCH] outputformat tag for literate programming

2009-05-27 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes jean-marc.lasgout...@inria.fr writes: This patch allows the sweave module to work our of the box (when R is installed, of course). The attached patch fixes the recognition of the module by adding a new feature one can test against: from-to, wheich tests whether the is a

Re: changeset/29734

2009-05-27 Thread Jean-Marc Lasgouttes
Uwe Stöhr uwesto...@web.de writes: Jean-Marc Lasgouttes schrieb: What I can do right now, until I have a proper way to check for R, is to remove the condition on Sweave.sty. Would that seem better to you for now? Yes. I'll do that for branch (after 1.6.3), but I have a good solution for

Re: Show disabled OptItems

2009-05-27 Thread Jean-Marc Lasgouttes
Vincent van Ravesteijn v.f.vanraveste...@tudelft.nl writes: This patch enables to show even disabled OptItems. I found that this is wanted sometimes. Example: An inlined equation does not have a label and thus no copy as reference, so these can be hidden. When the equation is displayed, you

Re: Documentation of tex2lyx

2009-05-27 Thread Jean-Marc Lasgouttes
Lavaud Michel michel.lav...@cegetel.net writes: Hello, Would it be possible, for Windows users, to have tex2lyx documentation in html form in addition to Unix man form? As far as I know, there is no user-friendly man viewer for Windows (except Emacs)? I suppose the source of the doc is in

Re: Approaching LyX 1.6.3 [status update #2]

2009-05-27 Thread Jean-Marc Lasgouttes
Richard heck rgh...@bobjweil.com writes: I don't think JMarc and I really know quite what to do yet. This is in part because tex2lyx does not produce a suitable format. Until it does I thought you would try to backport some of the code from trunk... This is enough for this bug AFAIR.

Re: Approaching LyX 1.6.3 [status update #2]

2009-05-27 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller sp...@lyx.org writes: Georg Baum wrote: A short message: I think we are ready. What about this small fix for external boost detection? Since I do not feel competent for the build stuff, I'd like to hear someone else's (JMarc's?) take on this. I do not have much ideas

RE: Show disabled OptItems

2009-05-27 Thread Vincent van Ravesteijn - TNW
This patch enables to show even disabled OptItems. I found that this is wanted sometimes. Example: An inlined equation does not have a label and thus no copy as reference, so these can be hidden. When the equation is displayed, you can insert a label. But, as long as there is no label

Re: [PATCH] outputformat tag for literate programming

2009-05-27 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes jean-marc.lasgout...@inria.fr writes: Jean-Marc Lasgouttes jean-marc.lasgout...@inria.fr writes: This patch allows the sweave module to work our of the box (when R is installed, of course). The attached patch fixes the recognition of the module by adding a new feature

Re: Show disabled OptItems

2009-05-27 Thread Jean-Marc Lasgouttes
Vincent van Ravesteijn - TNW v.f.vanraveste...@tudelft.nl writes: What is the difference with an Item then? An Item can be on/off, an OptItem can be on/hidden, but sometimes you might want an item to be on/off/hidden. In what situation would your item be hidden then? Sorry if I am a bit dense

RE: Show disabled OptItems

2009-05-27 Thread Vincent van Ravesteijn - TNW
What is the difference with an Item then? An Item can be on/off, an OptItem can be on/hidden, but sometimes you might want an item to be on/off/hidden. In what situation would your item be hidden then? Sorry if I am a bit dense today :) Jmarc It would be hidden by default if the item is

Re: Show disabled OptItems

2009-05-27 Thread Jean-Marc Lasgouttes
Vincent van Ravesteijn - TNW v.f.vanraveste...@tudelft.nl writes: It would be hidden by default if the item is disabled, unless you call status.showAlways(true) (or another name). OK. An inline equation can't have a label, so in the context menu, the items Equation Label and Copy as Ref are

Re: Show disabled OptItems

2009-05-27 Thread Vincent van Ravesteijn
An inline equation can't have a label, so in the context menu, the items Equation Label and Copy as Ref are hidden. When you change the equation to a display Equation, both items will appear, but Copy as Ref will be disabled as long as you don't insert a label. What if the inset says

Re: Approaching LyX 1.6.3 [status update #2]

2009-05-27 Thread Sven Hoexter
On Tue, May 26, 2009 at 11:23:56PM +0200, Pavel Sanda wrote: Sven Hoexter wrote: I don't know what other distributions currently do with relation to the boost changes. At least Fedora seems to provide the single threaded version with the old naming and the multi threaded version in the

Re: Show disabled OptItems

2009-05-27 Thread Jean-Marc Lasgouttes
Vincent van Ravesteijn v.f.vanraveste...@tudelft.nl writes: I think the distinction between 'do not handle' and 'handle but is disabled' captures what you want. It might even be that all uses of OptItem could be replaced by that in the code. Well, it's a not-so-very-well-defined difference in

Re: Documentation of tex2lyx

2009-05-27 Thread Enrico Forestieri
On Wed, May 27, 2009 at 04:05:32PM +0200, Jean-Marc Lasgouttes wrote: Lavaud Michel michel.lav...@cegetel.net writes: Hello, Would it be possible, for Windows users, to have tex2lyx documentation in html form in addition to Unix man form? As far as I know, there is no user-friendly

Re: Documentation of tex2lyx

2009-05-27 Thread Enrico Forestieri
On Wed, May 27, 2009 at 07:56:00PM +0200, Enrico Forestieri wrote: On Wed, May 27, 2009 at 04:05:32PM +0200, Jean-Marc Lasgouttes wrote: Lavaud Michel michel.lav...@cegetel.net writes: Hello, Would it be possible, for Windows users, to have tex2lyx documentation in html form in

Too many alternatives and options...

2009-05-27 Thread Enrico Forestieri
This happens in trunk. 1) Move apart the preferences file (mv ~/.lyx-2.0/preferences ~/.lyx-2.0/preferences.save) 2) In Tools-Preferences, change something and then save. 3) Now load a document with some bibliography and try to view the output. 4) References are missing [??] because bibtex

Re: Too many alternatives and options...

2009-05-27 Thread Enrico Forestieri
On Wed, May 27, 2009 at 09:06:35PM +0200, Enrico Forestieri wrote: Removing bibtex from Options fixes it, however, anytime the preferences are saved, the number of \bibtex_alternatives and \index_alternatives lines that are written to the preferences file increases. I think that this is due

Re: Documentation of tex2lyx

2009-05-27 Thread Guenter Milde
On 2009-05-27, Jean-Marc Lasgouttes wrote: Lavaud Michel michel.lav...@cegetel.net writes: Would it be possible, for Windows users, to have tex2lyx documentation in html form in addition to Unix man form? This is a very good point. In the old days, the man page was produced from a lyx

Re: Show disabled OptItems

2009-05-27 Thread Vincent van Ravesteijn
Jean-Marc Lasgouttes schreef: Does the attached patch make sense? It does not work (yet) but I did not have time to debug it. It makes sense, but it doesn't work because BufferView::getStatus() always returns true for LFUN_LABEL_COPY_AS_REF. Second, when InsetMathHull is asked for the

Hartmut has created updated screenshots for the LyX Graphical Tour

2009-05-27 Thread Christian Ridderström
Hi, Hartmut has created updated screenshots for the LyX Graphical Tour. According to him, these screenshots require a slight update to the text in the graphical tour, so for now I've place the new images in the subdirectory images/LGT/En If anyone (perhaps the original authors)

request to delete the file manpage.layout

2009-05-27 Thread Uwe Stöhr
manpage.layout declares a LinuxDoc class, but we removed LinuxDoc support in LyX some time ago. So I opt to delete this layout file. OK? regards Uwe

Re: Show disabled OptItems

2009-05-27 Thread Jean-Marc Lasgouttes
Le 27 mai 09 à 23:08, Vincent van Ravesteijn a écrit : It makes sense, but it doesn't work because BufferView::getStatus() always returns true for LFUN_LABEL_COPY_AS_REF. Second, when InsetMathHull is asked for the status of LABEL_INSERT, it _should_ return that it handles the LFUN, even

Re: request to delete the file manpage.layout

2009-05-27 Thread Jean-Marc Lasgouttes
Le 27 mai 09 à 23:36, Uwe Stöhr a écrit : manpage.layout declares a LinuxDoc class, but we removed LinuxDoc support in LyX some time ago. So I opt to delete this layout file. OK? José said it is OK there, but I forgot about it...

Re: request to delete the file manpage.layout

2009-05-27 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: manpage.layout declares a LinuxDoc class, but we removed LinuxDoc support in LyX some time ago. So I opt to delete this layout file. OK? José said it is OK there, but I forgot about it... http://thread.gmane.org/gmane.editors.lyx.devel/112377/focus=112686

Re: Too many alternatives and options...

2009-05-27 Thread Enrico Forestieri
On Wed, May 27, 2009 at 10:03:53PM +0200, Enrico Forestieri wrote: On Wed, May 27, 2009 at 09:06:35PM +0200, Enrico Forestieri wrote: Removing bibtex from Options fixes it, however, anytime the preferences are saved, the number of \bibtex_alternatives and \index_alternatives lines that are

Re: Too many alternatives and options...

2009-05-27 Thread Enrico Forestieri
On Thu, May 28, 2009 at 12:10:48AM +0200, Enrico Forestieri wrote: There still is the line \bibtex_command bibtex written to the preferences file (notice the trailing space), meaning that another off-by-one error is still hidden somewhere, but at least this doesn't cause any problem,

Re: Approaching LyX 1.6.3 [status update #2]

2009-05-27 Thread Jürgen Spitzmüller
Georg Baum wrote: >>> What about this small fix for external boost detection? >> >> Since I do not feel competent for the build stuff, I'd like to hear >> someone else's (JMarc's?) take on this. >> >> In any case, at this stage in the cycle, this should only go in if we are >> really sure it

Re: possible Windows LyX 1.6.3 release blocker

2009-05-27 Thread Uwe Stöhr
Uwe Stöhr schrieb: configure.py breaks at this check: checking LaTeX configuration... default values +checking list of textclasses... Layout file C:/Program Files (x86)/LyX 1.6.3/bin/../Resources\layouts\manpage.layout has no \DeclareXXClass line. done Can anybody please take

Re: r29856 - lyx-devel/trunk/config

2009-05-27 Thread Abdelrazak Younes
b...@lyx.org wrote: Author: baum Date: Tue May 26 21:50:37 2009 New Revision: 29856 URL: http://www.lyx.org/trac/changeset/29856 +BOOST_FILESYSTEM = -lboost_filesystem$(BOOST_MT) AFAIR we don't use boost_filesystem anymore (neither in 1.6 nor in trunk). Not sure about boost_iostreams but I

Re: [PATCH] outputformat tag for literate programming

2009-05-27 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes writes: > This patch allows the sweave module to work our of the box (when R is > installed, of course). The attached patch fixes the recognition of the module by adding a new "feature" one can test against: from->to, wheich tests whether the

Re: changeset/29734

2009-05-27 Thread Jean-Marc Lasgouttes
Uwe Stöhr writes: > Jean-Marc Lasgouttes schrieb: > >> What I can do right now, until I have a proper way to check for R, is to >> remove the condition on Sweave.sty. Would that seem better to you for >> now? > > Yes. I'll do that for branch (after 1.6.3), but I have a good

Re: Show disabled OptItems

2009-05-27 Thread Jean-Marc Lasgouttes
Vincent van Ravesteijn writes: > This patch enables to show even disabled OptItems. > > I found that this is wanted sometimes. Example: An inlined equation > does not have a label and thus no copy as reference, so these can be > hidden. When the equation is

Re: Documentation of tex2lyx

2009-05-27 Thread Jean-Marc Lasgouttes
Lavaud Michel writes: > Hello, > > Would it be possible, for Windows users, to have tex2lyx documentation > in html form in addition to Unix man form? As far as I know, there is > no user-friendly man viewer for Windows (except Emacs)? I suppose the > source of the doc

Re: Approaching LyX 1.6.3 [status update #2]

2009-05-27 Thread Jean-Marc Lasgouttes
Richard heck writes: > I don't think JMarc and I really know quite what to do yet. This is in > part because tex2lyx does not produce a suitable format. Until it > does I thought you would try to backport some of the code from trunk... This is enough for this bug AFAIR.

Re: Approaching LyX 1.6.3 [status update #2]

2009-05-27 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller writes: > Georg Baum wrote: >> > A short message: I think we are ready. >> >> What about this small fix for external boost detection? > > Since I do not feel competent for the build stuff, I'd like to hear someone > else's (JMarc's?) take on this. I do not

RE: Show disabled OptItems

2009-05-27 Thread Vincent van Ravesteijn - TNW
>> This patch enables to show even disabled OptItems. >> >> I found that this is wanted sometimes. Example: An inlined equation >> does not have a label and thus no copy as reference, so these can be >> hidden. When the equation is displayed, you can insert a label. But, >> as long as there

Re: [PATCH] outputformat tag for literate programming

2009-05-27 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes writes: > Jean-Marc Lasgouttes writes: > >> This patch allows the sweave module to work our of the box (when R is >> installed, of course). > > The attached patch fixes the recognition of the module by adding a

Re: Show disabled OptItems

2009-05-27 Thread Jean-Marc Lasgouttes
"Vincent van Ravesteijn - TNW" writes: >>What is the difference with an "Item" then? > > An Item can be on/off, an OptItem can be on/hidden, but sometimes you > might want an item to be on/off/hidden. In what situation would your item be hidden then? Sorry if I am a

RE: Show disabled OptItems

2009-05-27 Thread Vincent van Ravesteijn - TNW
>>>What is the difference with an "Item" then? >> >> An Item can be on/off, an OptItem can be on/hidden, but sometimes you >> might want an item to be on/off/hidden. > >In what situation would your item be hidden then? Sorry if I am a bit dense today :) > >Jmarc > It would be hidden by default

Re: Show disabled OptItems

2009-05-27 Thread Jean-Marc Lasgouttes
"Vincent van Ravesteijn - TNW" writes: > It would be hidden by default if the item is disabled, unless you call > status.showAlways(true) (or another name). OK. > An inline equation can't have a label, so in the context menu, the items > "Equation Label" and "Copy

Re: Show disabled OptItems

2009-05-27 Thread Vincent van Ravesteijn
An inline equation can't have a label, so in the context menu, the items "Equation Label" and "Copy as Ref" are hidden. When you change the equation to a display Equation, both items will appear, but "Copy as Ref" will be disabled as long as you don't insert a label. What if the inset

Re: Approaching LyX 1.6.3 [status update #2]

2009-05-27 Thread Sven Hoexter
On Tue, May 26, 2009 at 11:23:56PM +0200, Pavel Sanda wrote: > Sven Hoexter wrote: > > I don't know what other distributions currently do with relation to the > > boost > > changes. At least Fedora seems to provide the single threaded version with > > the old naming and the multi threaded version

Re: Show disabled OptItems

2009-05-27 Thread Jean-Marc Lasgouttes
Vincent van Ravesteijn writes: >> I think the distinction between 'do not handle' and 'handle but is >> disabled' captures what you want. It might even be that all uses of >> OptItem could be replaced by that in the code. > > Well, it's a not-so-very-well-defined

Re: Documentation of tex2lyx

2009-05-27 Thread Enrico Forestieri
On Wed, May 27, 2009 at 04:05:32PM +0200, Jean-Marc Lasgouttes wrote: > Lavaud Michel writes: > > > Hello, > > > > Would it be possible, for Windows users, to have tex2lyx documentation > > in html form in addition to Unix man form? As far as I know, there is > > no

Re: Documentation of tex2lyx

2009-05-27 Thread Enrico Forestieri
On Wed, May 27, 2009 at 07:56:00PM +0200, Enrico Forestieri wrote: > On Wed, May 27, 2009 at 04:05:32PM +0200, Jean-Marc Lasgouttes wrote: > > Lavaud Michel writes: > > > > > Hello, > > > > > > Would it be possible, for Windows users, to have tex2lyx documentation > >

Too many alternatives and options...

2009-05-27 Thread Enrico Forestieri
This happens in trunk. 1) Move apart the preferences file (mv ~/.lyx-2.0/preferences ~/.lyx-2.0/preferences.save) 2) In Tools->Preferences, change something and then save. 3) Now load a document with some bibliography and try to view the output. 4) References are missing [??] because bibtex

Re: Too many alternatives and options...

2009-05-27 Thread Enrico Forestieri
On Wed, May 27, 2009 at 09:06:35PM +0200, Enrico Forestieri wrote: > Removing "bibtex" from Options fixes it, however, anytime the preferences > are saved, the number of \bibtex_alternatives and \index_alternatives > lines that are written to the preferences file increases. > > I think that this

Re: Documentation of tex2lyx

2009-05-27 Thread Guenter Milde
On 2009-05-27, Jean-Marc Lasgouttes wrote: > Lavaud Michel writes: >> Would it be possible, for Windows users, to have tex2lyx documentation >> in html form in addition to Unix man form? > This is a very good point. In the old days, the man page was produced > from

Re: Show disabled OptItems

2009-05-27 Thread Vincent van Ravesteijn
Jean-Marc Lasgouttes schreef: Does the attached patch make sense? It does not work (yet) but I did not have time to debug it. It makes sense, but it doesn't work because BufferView::getStatus() always returns true for LFUN_LABEL_COPY_AS_REF. Second, when InsetMathHull is asked for the

Hartmut has created updated screenshots for the LyX Graphical Tour

2009-05-27 Thread Christian Ridderström
Hi, Hartmut has created updated screenshots for the LyX Graphical Tour. According to him, these screenshots require a slight update to the text in the graphical tour, so for now I've place the new images in the subdirectory images/LGT/En If anyone (perhaps the original authors)

request to delete the file "manpage.layout"

2009-05-27 Thread Uwe Stöhr
manpage.layout declares a LinuxDoc class, but we removed LinuxDoc support in LyX some time ago. So I opt to delete this layout file. OK? regards Uwe

Re: Show disabled OptItems

2009-05-27 Thread Jean-Marc Lasgouttes
Le 27 mai 09 à 23:08, Vincent van Ravesteijn a écrit : It makes sense, but it doesn't work because BufferView::getStatus() always returns true for LFUN_LABEL_COPY_AS_REF. Second, when InsetMathHull is asked for the status of LABEL_INSERT, it _should_ return that it handles the LFUN, even

Re: request to delete the file "manpage.layout"

2009-05-27 Thread Jean-Marc Lasgouttes
Le 27 mai 09 à 23:36, Uwe Stöhr a écrit : manpage.layout declares a LinuxDoc class, but we removed LinuxDoc support in LyX some time ago. So I opt to delete this layout file. OK? José said it is OK there, but I forgot about it...

Re: request to delete the file "manpage.layout"

2009-05-27 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: manpage.layout declares a LinuxDoc class, but we removed LinuxDoc support in LyX some time ago. So I opt to delete this layout file. OK? José said it is OK there, but I forgot about it... http://thread.gmane.org/gmane.editors.lyx.devel/112377/focus=112686

Re: Too many alternatives and options...

2009-05-27 Thread Enrico Forestieri
On Wed, May 27, 2009 at 10:03:53PM +0200, Enrico Forestieri wrote: > On Wed, May 27, 2009 at 09:06:35PM +0200, Enrico Forestieri wrote: > > Removing "bibtex" from Options fixes it, however, anytime the preferences > > are saved, the number of \bibtex_alternatives and \index_alternatives > > lines

Re: Too many alternatives and options...

2009-05-27 Thread Enrico Forestieri
On Thu, May 28, 2009 at 12:10:48AM +0200, Enrico Forestieri wrote: > There still is the line > \bibtex_command "bibtex " > written to the preferences file (notice the trailing space), meaning that > another off-by-one error is still hidden somewhere, but at least this > doesn't cause any problem,