LyX and Sweave: reading data files

2008-10-09 Thread Jean-Marc Lasgouttes

Hello there,

I am trying to use Sweave and LyX for a project of my own, and have the
following problem: my R code reads some data
  somevars-read.table(somevars.dat)
and this data file is not available when Sweave is ran from the /tmp
directory. 

I guess this problem is quite common... How do people solve it in
general? I do not want to use an absolute path, since it makes the file
non portable...

JMarc


See Google Reader on your Google homepage

2008-10-09 Thread vbanait
Your friend, [EMAIL PROTECTED], has sent you the following Google Gadget  
and included this message:



See Google Reader on your Google homepage »




Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Konrad Hofbauer

Bennett Helm wrote:

On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
[EMAIL PROTECTED]wrote:


I cannot get tabbed windows working on Mac for RC3.  I had the same problem
with RC2.  Each additional file I open will open in its own window (which is
a nice feature), but sometimes I would like to have them tabbed in the same
window...

Any other Mac users seeing this???



It's a feature, not a bug! Nonetheless, you can turn it off: LyX 
Preferences  Look and Feel  Open documents in tabs.


I did not even know this, I was just about to send him to bugzilla. ;-)
Should we maybe make this the default?

Otherwise, there is no intuitive way of getting a tabbed window. Whereas 
for a new window, we have File-New Window.


All in all I have the feeling that multiple tabs/windows/views (and also 
session management) are (at least on the Mac) not fully worked out, yet.
I feel like we miss an underlying concept when what opens where, and how 
this is represented in the Gui/Menus.


For example, having multiple windows open, quitting lyx and reopening 
opens all documents in a single window (tabbed). Also, dragdrop of tabs 
between windows would be nice. In 1.5, a new window is a copy of the 
old one (in terms of documents loaded), in 1.6 it is empty. If I load an 
already open document in the new empty window, what do I get? What is on 
disk or what is in the other window? (Not clear from the GUI.)


Admittedly, I have not used 1.6 too much until now (I am writing on my 
thesis right now, so I don't dare switching to 1.6, yet.) So maybe I 
simply have not understood the concept yet.


/Konrad



Re: Experience using XeTeX with XeTeX?

2008-10-09 Thread William Adams

On Oct 9, 2008, at 5:37 AM, Charles de Miramon wrote:

I would rather have one stable and solid LyX Way (unicode + xetex  
(and in
the future luatex) + opentype) and a possibility to export pdflatex  
code

for special reasons (like microtypography).



Well, in the meanwhile one could use the hanging package to get  
hanging punctuation --- not quite as configurable as microtype, but it  
could be pretty easily built into LyX I'd think --- just enable a way  
to define styles to also be hanging environments.


William

--
William Adams
senior graphic designer
Fry Communications




Re: Experience using XeTeX with XeTeX?

2008-10-09 Thread Charles de Miramon
=??B?SsO8cmdlbiBTcGl0em3DvGxsZXI=?= wrote:

 are not installed.
 
 I would not talk of moving. We should provide support for XeTeX, but not
 at the price of dropping support for other LaTeX variants. There will
 always be enough reasons to not use XeTeX (as long as it misses support
 for micro typographic extensions, I will not use it, for instance).


I would rather have one stable and solid LyX Way (unicode + xetex (and in
the future luatex) + opentype) and a possibility to export pdflatex code
for special reasons (like microtypography).

Having the possibility to switch the latex engine in the middle of creating
a document is a recipe for subtle problems (encoding, fonts). LyX users
should not care and know anything about subtle differences between LaTeX
engines.

I will not mourn the death of LaTeX inputenc, font system, DVI...

Cheers,
Charles
-- 
http://www.kde-france.org



Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Bennett Helm
On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
[EMAIL PROTECTED]wrote:

 I cannot get tabbed windows working on Mac for RC3.  I had the same problem
 with RC2.  Each additional file I open will open in its own window (which is
 a nice feature), but sometimes I would like to have them tabbed in the same
 window...

 Any other Mac users seeing this???


It's a feature, not a bug! Nonetheless, you can turn it off: LyX 
Preferences  Look and Feel  Open documents in tabs.

Bennett


Re: LyX and Sweave: reading data files

2008-10-09 Thread Jean-Marc Lasgouttes
Uwe Stöhr [EMAIL PROTECTED] writes:
 I am trying to use Sweave and LyX for a project of my own, and have the
 following problem: my R code reads some data
   somevars-read.table(somevars.dat)
 and this data file is not available when Sweave is ran from the /tmp
 directory.

 Perhaps thids page helps you:
 http://wiki.lyx.org/LyX/LyxWithRThroughSweave

No. I am not sure that I read it carefully enough, but I did not find the
answer in Gregor Gorjanc article either.

JMarc


1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread James Sutherland
I cannot get tabbed windows working on Mac for RC3.  I had the same  
problem with RC2.  Each additional file I open will open in its own  
window (which is a nice feature), but sometimes I would like to have  
them tabbed in the same window...


Any other Mac users seeing this???


Re: LyX and Sweave: reading data files

2008-10-09 Thread Jean-Marc Lasgouttes
Gregor Gorjanc [EMAIL PROTECTED] writes:
 I am afraid there is no help here unless you are wiling to use the
 absolute path. I agree that this is far from optimal, but it is still
 tolerable. Afterall one probably does not switch computers/setups as
 often as underwear ;)

Hmm, I use the same documents on 3 computers from a common svn repository...

 P.S. Did you see my post about use of SageTeX?
 http://article.gmane.org/gmane.editors.lyx.devel/111574/match=sweave

Not carefully. I'll try first to make Rweave work out of the box on LyX
(because I need it ;)

That said, I think it is almost doable with current architecture. Lookup
the latex flag of converters/format, for example.

JMarc


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Abdelrazak Younes

On 09/10/2008 14:27, James Sutherland wrote:


On Oct 9, 2008, at 6:25 AM, Bennett Helm wrote:


On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
[EMAIL PROTECTED] wrote:
I cannot get tabbed windows working on Mac for RC3. I had the same
problem with RC2. Each additional file I open will open in its own
window (which is a nice feature), but sometimes I would like to have
them tabbed in the same window...

Any other Mac users seeing this???

It's a feature, not a bug! Nonetheless, you can turn it off: LyX 
Preferences  Look and Feel  Open documents in tabs.

Bennett




Bennett,

Is there a way to have the best of both worlds - to be able to dock a
window and have it show up as a tab - without having to have it either
all tabbed or all separate???


Put an enhancement request in bugzilla for a new menu item Open 
document in new Tab. Should be easy to implement.


Abdel.



RE: LyX and Sweave: reading data files

2008-10-09 Thread Gorjanc Gregor
Gregor Gorjanc [EMAIL PROTECTED] writes:
 I am afraid there is no help here unless you are wiling to use the
 absolute path. I agree that this is far from optimal, but it is still
 tolerable. Afterall one probably does not switch computers/setups as
 often as underwear ;)

 Hmm, I use the same documents on 3 computers from a common svn repository...

I see. Copying the lyx file to /tmp is really a problem in this context. Is 
there any
way to avoid this? I guess this still does not lead to general/portable 
solutions.

 P.S. Did you see my post about use of SageTeX?
 http://article.gmane.org/gmane.editors.lyx.devel/111574/match=sweave

 Not carefully. I'll try first to make Rweave work out of the box on LyX
 (because I need it ;)

I am glad to hear that.

 That said, I think it is almost doable with current architecture. Lookup
 the latex flag of converters/format, for example.

Thank you for this tip!

gg


Re: LyX and Sweave: reading data files

2008-10-09 Thread Uwe Stöhr

Jean-Marc Lasgouttes schrieb:


I am trying to use Sweave and LyX for a project of my own, and have the
following problem: my R code reads some data
  somevars-read.table(somevars.dat)
and this data file is not available when Sweave is ran from the /tmp
directory.


Perhaps thids page helps you:
http://wiki.lyx.org/LyX/LyxWithRThroughSweave

regards Uwe


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Bennett Helm
On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer [EMAIL PROTECTED]wrote:

 Bennett Helm wrote:

 On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
 [EMAIL PROTECTED]wrote:

  I cannot get tabbed windows working on Mac for RC3.  I had the same
 problem
 with RC2.  Each additional file I open will open in its own window (which
 is
 a nice feature), but sometimes I would like to have them tabbed in the
 same
 window...

 Any other Mac users seeing this???



 It's a feature, not a bug! Nonetheless, you can turn it off: LyX 
 Preferences  Look and Feel  Open documents in tabs.


 I did not even know this, I was just about to send him to bugzilla. ;-)
 Should we maybe make this the default?


The thought was that we should make LyX behave like a standard Mac
application as much as possible.


 Otherwise, there is no intuitive way of getting a tabbed window. Whereas
 for a new window, we have File-New Window.


Actually, you can: View  [filename] will open a view of that file as a tab
in the current window.



 All in all I have the feeling that multiple tabs/windows/views (and also
 session management) are (at least on the Mac) not fully worked out, yet.
 I feel like we miss an underlying concept when what opens where, and how
 this is represented in the Gui/Menus.


I agree and have raised some of these issues on the developer's list. But as
I'm not a programmer myself, I'm not going to complain too much: things are
improving and I appreciate especially Abdel's attentiveness to my complaints
thus far. (Thanks Abdel!)


 For example, having multiple windows open, quitting lyx and reopening opens
 all documents in a single window (tabbed).


I've reported that to bugzilla as a bug.


 Also, dragdrop of tabs between windows would be nice. In 1.5, a new
 window is a copy of the old one (in terms of documents loaded), in 1.6 it
 is empty.


File an enhancement request in bugzilla.


 If I load an already open document in the new empty window, what do I get?
 What is on disk or what is in the other window? (Not clear from the GUI.)


I agree: it's a bit confusing from the GUI. However, it's possible to have
multiple windows on a single document (which can be very useful), and LyX
ensures that they're all in sync. (That is, the multiple windows are simply
different views of the same thing, where it is this one thing -- the
document -- that gets edited from within any of these views.)

Bennett




 Admittedly, I have not used 1.6 too much until now (I am writing on my
 thesis right now, so I don't dare switching to 1.6, yet.) So maybe I simply
 have not understood the concept yet.

 /Konrad




Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Konrad Hofbauer

Bennett Helm wrote:
things are improving and I appreciate especially Abdel's attentiveness 
to my complaints thus far. (Thanks Abdel!)


Very much so !!! :-)

/Konrad


Re: hang up in 1.6.0 rc3

2008-10-09 Thread Pavel Sanda
 I have problems with RC2 and RC3 when I work on imported files. I have
 heavy and frequent crashes indeed.

try to find a a recipy how to reproduce it, or send a backtrace if
you can.

pavel


Re: LyX and Sweave: reading data files

2008-10-09 Thread Gregor Gorjanc
Hi Jean-Marc,

Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
 I am trying to use Sweave and LyX for a project of my own, and have the
 following problem: my R code reads some data
   somevars-read.table(somevars.dat)
 and this data file is not available when Sweave is ran from the /tmp
 directory. 
 
 I guess this problem is quite common... How do people solve it in
 general? I do not want to use an absolute path, since it makes the file
 non portable...

I am afraid there is no help here unless you are wiling to use the absolute
path. I agree that this is far from optimal, but it is still tolerable. Afterall
one probably does not switch computers/setups as often as underwear ;)

P.S. Did you see my post about use of SageTeX?
http://article.gmane.org/gmane.editors.lyx.devel/111574/match=sweave

gg





Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread James Sutherland


On Oct 9, 2008, at 6:25 AM, Bennett Helm wrote:

On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland [EMAIL PROTECTED] 
 wrote:
I cannot get tabbed windows working on Mac for RC3.  I had the same  
problem with RC2.  Each additional file I open will open in its own  
window (which is a nice feature), but sometimes I would like to have  
them tabbed in the same window...


Any other Mac users seeing this???

It's a feature, not a bug! Nonetheless, you can turn it off: LyX   
Preferences  Look and Feel  Open documents in tabs.


Bennett




Bennett,

Is there a way to have the best of both worlds - to be able to dock  
a window and have it show up as a tab - without having to have it  
either all tabbed or all separate???


James

Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Abdelrazak Younes

On 09/10/2008 16:42, Bennett Helm wrote:

On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer[EMAIL PROTECTED]wrote:

All in all I have the feeling that multiple tabs/windows/views (and also
session management) are (at least on the Mac) not fully worked out, yet.
I feel like we miss an underlying concept when what opens where, and how
this is represented in the Gui/Menus.



I agree and have raised some of these issues on the developer's list. But as
I'm not a programmer myself, I'm not going to complain too much: things are
improving and I appreciate especially Abdel's attentiveness to my complaints
thus far. (Thanks Abdel!)


Well, I have not been very attentive lately... too busy for any deep 
investigation. I had hoped that some other Mac developer would take the 
lead but it didn't happen unfortunately. I think we'll have access to 
some Mac machines at the Berlin meeting so I'll make sure that all Mac 
issues are fixed then.


Abdel.




Re: Problem referencing a figure

2008-10-09 Thread Marcelo Acuña
   I have a problem with a cross reference to a
 figure in Lyx.
   I inserted the
   figure using Insert figure float, then insert
 grapichs and
   finally  apply a
   label to it. Everything seems to be alright, but
 when I
   want to dvi it, i
   get the following message:
  
   LaTex Error: File 'prettyref.sty' not
 found.
  
   Has someone had a similar problem?
  
   I am using Lyx 1.5.6 on Woindows XP
  
   Thanks!
 
   Do you have installed prettyref.sty package in your
 system?
   The error message say not.
   Regards
  Marcelo
 
 Marcelo:
 
 Thanks!
 
 Well, I don´t, but I don´t know how to do it either.
 Could you tell me how
 to do it?
 
 Thanks for your time again!
 
 Fernando
 If you haven´t this package in your tex path you need to download from CTAN 
and install it in propper dir, then run texhash (in Linux, I don´t know how to 
make this in Windows. You need a help from windows users for that.)
 
 Regards
Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Zotero is great for organizing literature and bibliography

2008-10-09 Thread Erez Yerushalmi
Hi All,

I once asked for your help to connect bibtex with lyx, and like many of you
I use Jabref.

Lately, I've been using a new program called Zotero.
Its a new, cute, FREE program:  www.zotero.org, which is an add-on to
firefox.
I recommend watching there Ztour film for a quick overview.

So the point is that my pdf literature folder, which is has been a mess, is
much more organized.
You can export Zotero as bibtex for lyx.  etc...

Hope this helps anyone

Kind Regards,  Erez


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Andre Poenitz
On Thu, Oct 09, 2008 at 05:13:54PM +0200, Abdelrazak Younes wrote:
 On 09/10/2008 16:42, Bennett Helm wrote:
 On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer[EMAIL PROTECTED]wrote:
 All in all I have the feeling that multiple tabs/windows/views (and also
 session management) are (at least on the Mac) not fully worked out, yet.
 I feel like we miss an underlying concept when what opens where, and how
 this is represented in the Gui/Menus.


 I agree and have raised some of these issues on the developer's list. But as
 I'm not a programmer myself, I'm not going to complain too much: things are
 improving and I appreciate especially Abdel's attentiveness to my complaints
 thus far. (Thanks Abdel!)

 Well, I have not been very attentive lately... too busy for any deep  
 investigation. I had hoped that some other Mac developer would take the  
 lead but it didn't happen unfortunately. I think we'll have access to  
 some Mac machines at the Berlin meeting so I'll make sure that all Mac  
 issues are fixed then.

Is that magical appearance of Macs something I am supposed to put on my
ToDo list?

Andre'


Re: Zotero is great for organizing literature and bibliography

2008-10-09 Thread Nikos Alexandris
On Thu, 2008-10-09 at 18:43 +0100, Erez Yerushalmi wrote:
 Hi All,
 
 I once asked for your help to connect bibtex with lyx, and like many of you
 I use Jabref.
 
 Lately, I've been using a new program called Zotero.
 Its a new, cute, FREE program:  www.zotero.org, which is an add-on to
 firefox.
 I recommend watching there Ztour film for a quick overview.
 
 So the point is that my pdf literature folder, which is has been a mess, is
 much more organized.
 You can export Zotero as bibtex for lyx.  etc...
 
 Hope this helps anyone
 
 Kind Regards,  Erez
 

Thanks for the information. I'll have a look at it sooner or later.
Kind regards, Nikos



Import utf8 latex on MacOS

2008-10-09 Thread Dmitrii Dimandt

Hi all

I have a LaTeX file created with TexMate and saved with  
UTF8(recommended)


When I import this file into Lyx, I get anything but cyrillic in my  
text: http://images.dmitriid.com/misc/tex/lyx.png (top of screenshot  
is what it shouldve looked like and bottom of the picture is what it  
looks like in Lyx)


My settings for Lyx are:
Default language: English
Language package: \usepackage[english,russian]{babel}
TeX encoding: T2A

And for the document I tried everything: language Russian, default  
encoding, utf8 - nothing works :(


I know that this issue has supposedly been fixed in 1.5.6, but here I  
am on 1.5.6 and importing utf8-encoded LaTeX files doesn't work :(


I guess there's a misunderstanding between Texmate, MacOS and Lyx on  
what utf8 actually means :) I hope there's somebody who has this  
figured out. Anyone? Help?







Index Problem on XP

2008-10-09 Thread Jim
I can't get the LyX Index functionality to work. Am doing this in 
Windows XP. When I use pdflatex, the typeset doc displays as it should, 
but with no Index. I've inserted Index List as the last statement in my 
LyX doc.


I figured out a .idx file is created and then used subsequently to 
create a .ind file. I searched for, and found the .idx file, but 
couldn't find the .ind file:


C:\Documents and Settings\Jim\Local 
Settings\lyx_tmpdir1208a00992\lyx_tmpbuf0\newfile1.idx


The lyx_tmpbuf0 directory also contained several other files, including 
newfile1.log. It contained a statement no newfile1.ind.


I've saved all newfile1.* files associated with this issue:

newfile1.lyx
newfile1.aux
newfile1.idx
newfile1.ilg
newfile1.log
newfile1.pdf
newfile1.tex
newfile1.tex.dep-pdf


Thanks, Jim




E-mail message checked by Spyware Doctor (5.5.1.322)
Database version: 5.10870e
http://www.pctools.com/en/spyware-doctor/


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Jean-Marc Lasgouttes
Is that magical appearance of Macs something I am supposed to put  
on my

ToDo list?


It would definitely help a lot.

JMarc


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Abdelrazak Younes

On 09/10/2008 20:15, Andre Poenitz wrote:

On Thu, Oct 09, 2008 at 05:13:54PM +0200, Abdelrazak Younes wrote:
   

On 09/10/2008 16:42, Bennett Helm wrote:
 

On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer[EMAIL PROTECTED]wrote:
   

All in all I have the feeling that multiple tabs/windows/views (and also
session management) are (at least on the Mac) not fully worked out, yet.
I feel like we miss an underlying concept when what opens where, and how
this is represented in the Gui/Menus.
 

I agree and have raised some of these issues on the developer's list. But as
I'm not a programmer myself, I'm not going to complain too much: things are
improving and I appreciate especially Abdel's attentiveness to my complaints
thus far. (Thanks Abdel!)
   

Well, I have not been very attentive lately... too busy for any deep
investigation. I had hoped that some other Mac developer would take the
lead but it didn't happen unfortunately. I think we'll have access to
some Mac machines at the Berlin meeting so I'll make sure that all Mac
issues are fixed then.
 


Is that magical appearance of Macs something I am supposed to put on my
ToDo list?
   


That would be nice indeed. Sorry I took for granted that 'Qt Software' 
has some Macs lying around...


Abdel.



citations in revtex4

2008-10-09 Thread Nick Barov
Hello,

I am trying to write a paper with revtex4, and Lyx version 1.5.6 on
CentOS 5.2 Linux.

I am having trouble with citations. In fact the standard revtex4
template file, revtex4.lyx, has this problem. The citation appears in
the text like:
(author?) [1] -- where (author?) appears in bold.

I believe the error is because LyX is calling for the \citet{} command,
which is an (Author-year) style of citation. I have tried to change that
by tweaking options in Document-Settings-Bibliography, but that
doesn't seem to work either.

Any help would be appreciated.

NB



LyX and Sweave: reading data files

2008-10-09 Thread Jean-Marc Lasgouttes

Hello there,

I am trying to use Sweave and LyX for a project of my own, and have the
following problem: my R code reads some data
  somevars-read.table(somevars.dat)
and this data file is not available when Sweave is ran from the /tmp
directory. 

I guess this problem is quite common... How do people solve it in
general? I do not want to use an absolute path, since it makes the file
non portable...

JMarc


See Google Reader on your Google homepage

2008-10-09 Thread vbanait
Your friend, [EMAIL PROTECTED], has sent you the following Google Gadget  
and included this message:



See Google Reader on your Google homepage »




Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Konrad Hofbauer

Bennett Helm wrote:

On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
[EMAIL PROTECTED]wrote:


I cannot get tabbed windows working on Mac for RC3.  I had the same problem
with RC2.  Each additional file I open will open in its own window (which is
a nice feature), but sometimes I would like to have them tabbed in the same
window...

Any other Mac users seeing this???



It's a feature, not a bug! Nonetheless, you can turn it off: LyX 
Preferences  Look and Feel  Open documents in tabs.


I did not even know this, I was just about to send him to bugzilla. ;-)
Should we maybe make this the default?

Otherwise, there is no intuitive way of getting a tabbed window. Whereas 
for a new window, we have File-New Window.


All in all I have the feeling that multiple tabs/windows/views (and also 
session management) are (at least on the Mac) not fully worked out, yet.
I feel like we miss an underlying concept when what opens where, and how 
this is represented in the Gui/Menus.


For example, having multiple windows open, quitting lyx and reopening 
opens all documents in a single window (tabbed). Also, dragdrop of tabs 
between windows would be nice. In 1.5, a new window is a copy of the 
old one (in terms of documents loaded), in 1.6 it is empty. If I load an 
already open document in the new empty window, what do I get? What is on 
disk or what is in the other window? (Not clear from the GUI.)


Admittedly, I have not used 1.6 too much until now (I am writing on my 
thesis right now, so I don't dare switching to 1.6, yet.) So maybe I 
simply have not understood the concept yet.


/Konrad



Re: Experience using XeTeX with XeTeX?

2008-10-09 Thread William Adams

On Oct 9, 2008, at 5:37 AM, Charles de Miramon wrote:

I would rather have one stable and solid LyX Way (unicode + xetex  
(and in
the future luatex) + opentype) and a possibility to export pdflatex  
code

for special reasons (like microtypography).



Well, in the meanwhile one could use the hanging package to get  
hanging punctuation --- not quite as configurable as microtype, but it  
could be pretty easily built into LyX I'd think --- just enable a way  
to define styles to also be hanging environments.


William

--
William Adams
senior graphic designer
Fry Communications




Re: Experience using XeTeX with XeTeX?

2008-10-09 Thread Charles de Miramon
=??B?SsO8cmdlbiBTcGl0em3DvGxsZXI=?= wrote:

 are not installed.
 
 I would not talk of moving. We should provide support for XeTeX, but not
 at the price of dropping support for other LaTeX variants. There will
 always be enough reasons to not use XeTeX (as long as it misses support
 for micro typographic extensions, I will not use it, for instance).


I would rather have one stable and solid LyX Way (unicode + xetex (and in
the future luatex) + opentype) and a possibility to export pdflatex code
for special reasons (like microtypography).

Having the possibility to switch the latex engine in the middle of creating
a document is a recipe for subtle problems (encoding, fonts). LyX users
should not care and know anything about subtle differences between LaTeX
engines.

I will not mourn the death of LaTeX inputenc, font system, DVI...

Cheers,
Charles
-- 
http://www.kde-france.org



Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Bennett Helm
On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
[EMAIL PROTECTED]wrote:

 I cannot get tabbed windows working on Mac for RC3.  I had the same problem
 with RC2.  Each additional file I open will open in its own window (which is
 a nice feature), but sometimes I would like to have them tabbed in the same
 window...

 Any other Mac users seeing this???


It's a feature, not a bug! Nonetheless, you can turn it off: LyX 
Preferences  Look and Feel  Open documents in tabs.

Bennett


Re: LyX and Sweave: reading data files

2008-10-09 Thread Jean-Marc Lasgouttes
Uwe Stöhr [EMAIL PROTECTED] writes:
 I am trying to use Sweave and LyX for a project of my own, and have the
 following problem: my R code reads some data
   somevars-read.table(somevars.dat)
 and this data file is not available when Sweave is ran from the /tmp
 directory.

 Perhaps thids page helps you:
 http://wiki.lyx.org/LyX/LyxWithRThroughSweave

No. I am not sure that I read it carefully enough, but I did not find the
answer in Gregor Gorjanc article either.

JMarc


1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread James Sutherland
I cannot get tabbed windows working on Mac for RC3.  I had the same  
problem with RC2.  Each additional file I open will open in its own  
window (which is a nice feature), but sometimes I would like to have  
them tabbed in the same window...


Any other Mac users seeing this???


Re: LyX and Sweave: reading data files

2008-10-09 Thread Jean-Marc Lasgouttes
Gregor Gorjanc [EMAIL PROTECTED] writes:
 I am afraid there is no help here unless you are wiling to use the
 absolute path. I agree that this is far from optimal, but it is still
 tolerable. Afterall one probably does not switch computers/setups as
 often as underwear ;)

Hmm, I use the same documents on 3 computers from a common svn repository...

 P.S. Did you see my post about use of SageTeX?
 http://article.gmane.org/gmane.editors.lyx.devel/111574/match=sweave

Not carefully. I'll try first to make Rweave work out of the box on LyX
(because I need it ;)

That said, I think it is almost doable with current architecture. Lookup
the latex flag of converters/format, for example.

JMarc


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Abdelrazak Younes

On 09/10/2008 14:27, James Sutherland wrote:


On Oct 9, 2008, at 6:25 AM, Bennett Helm wrote:


On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
[EMAIL PROTECTED] wrote:
I cannot get tabbed windows working on Mac for RC3. I had the same
problem with RC2. Each additional file I open will open in its own
window (which is a nice feature), but sometimes I would like to have
them tabbed in the same window...

Any other Mac users seeing this???

It's a feature, not a bug! Nonetheless, you can turn it off: LyX 
Preferences  Look and Feel  Open documents in tabs.

Bennett




Bennett,

Is there a way to have the best of both worlds - to be able to dock a
window and have it show up as a tab - without having to have it either
all tabbed or all separate???


Put an enhancement request in bugzilla for a new menu item Open 
document in new Tab. Should be easy to implement.


Abdel.



RE: LyX and Sweave: reading data files

2008-10-09 Thread Gorjanc Gregor
Gregor Gorjanc [EMAIL PROTECTED] writes:
 I am afraid there is no help here unless you are wiling to use the
 absolute path. I agree that this is far from optimal, but it is still
 tolerable. Afterall one probably does not switch computers/setups as
 often as underwear ;)

 Hmm, I use the same documents on 3 computers from a common svn repository...

I see. Copying the lyx file to /tmp is really a problem in this context. Is 
there any
way to avoid this? I guess this still does not lead to general/portable 
solutions.

 P.S. Did you see my post about use of SageTeX?
 http://article.gmane.org/gmane.editors.lyx.devel/111574/match=sweave

 Not carefully. I'll try first to make Rweave work out of the box on LyX
 (because I need it ;)

I am glad to hear that.

 That said, I think it is almost doable with current architecture. Lookup
 the latex flag of converters/format, for example.

Thank you for this tip!

gg


Re: LyX and Sweave: reading data files

2008-10-09 Thread Uwe Stöhr

Jean-Marc Lasgouttes schrieb:


I am trying to use Sweave and LyX for a project of my own, and have the
following problem: my R code reads some data
  somevars-read.table(somevars.dat)
and this data file is not available when Sweave is ran from the /tmp
directory.


Perhaps thids page helps you:
http://wiki.lyx.org/LyX/LyxWithRThroughSweave

regards Uwe


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Bennett Helm
On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer [EMAIL PROTECTED]wrote:

 Bennett Helm wrote:

 On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
 [EMAIL PROTECTED]wrote:

  I cannot get tabbed windows working on Mac for RC3.  I had the same
 problem
 with RC2.  Each additional file I open will open in its own window (which
 is
 a nice feature), but sometimes I would like to have them tabbed in the
 same
 window...

 Any other Mac users seeing this???



 It's a feature, not a bug! Nonetheless, you can turn it off: LyX 
 Preferences  Look and Feel  Open documents in tabs.


 I did not even know this, I was just about to send him to bugzilla. ;-)
 Should we maybe make this the default?


The thought was that we should make LyX behave like a standard Mac
application as much as possible.


 Otherwise, there is no intuitive way of getting a tabbed window. Whereas
 for a new window, we have File-New Window.


Actually, you can: View  [filename] will open a view of that file as a tab
in the current window.



 All in all I have the feeling that multiple tabs/windows/views (and also
 session management) are (at least on the Mac) not fully worked out, yet.
 I feel like we miss an underlying concept when what opens where, and how
 this is represented in the Gui/Menus.


I agree and have raised some of these issues on the developer's list. But as
I'm not a programmer myself, I'm not going to complain too much: things are
improving and I appreciate especially Abdel's attentiveness to my complaints
thus far. (Thanks Abdel!)


 For example, having multiple windows open, quitting lyx and reopening opens
 all documents in a single window (tabbed).


I've reported that to bugzilla as a bug.


 Also, dragdrop of tabs between windows would be nice. In 1.5, a new
 window is a copy of the old one (in terms of documents loaded), in 1.6 it
 is empty.


File an enhancement request in bugzilla.


 If I load an already open document in the new empty window, what do I get?
 What is on disk or what is in the other window? (Not clear from the GUI.)


I agree: it's a bit confusing from the GUI. However, it's possible to have
multiple windows on a single document (which can be very useful), and LyX
ensures that they're all in sync. (That is, the multiple windows are simply
different views of the same thing, where it is this one thing -- the
document -- that gets edited from within any of these views.)

Bennett




 Admittedly, I have not used 1.6 too much until now (I am writing on my
 thesis right now, so I don't dare switching to 1.6, yet.) So maybe I simply
 have not understood the concept yet.

 /Konrad




Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Konrad Hofbauer

Bennett Helm wrote:
things are improving and I appreciate especially Abdel's attentiveness 
to my complaints thus far. (Thanks Abdel!)


Very much so !!! :-)

/Konrad


Re: hang up in 1.6.0 rc3

2008-10-09 Thread Pavel Sanda
 I have problems with RC2 and RC3 when I work on imported files. I have
 heavy and frequent crashes indeed.

try to find a a recipy how to reproduce it, or send a backtrace if
you can.

pavel


Re: LyX and Sweave: reading data files

2008-10-09 Thread Gregor Gorjanc
Hi Jean-Marc,

Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
 I am trying to use Sweave and LyX for a project of my own, and have the
 following problem: my R code reads some data
   somevars-read.table(somevars.dat)
 and this data file is not available when Sweave is ran from the /tmp
 directory. 
 
 I guess this problem is quite common... How do people solve it in
 general? I do not want to use an absolute path, since it makes the file
 non portable...

I am afraid there is no help here unless you are wiling to use the absolute
path. I agree that this is far from optimal, but it is still tolerable. Afterall
one probably does not switch computers/setups as often as underwear ;)

P.S. Did you see my post about use of SageTeX?
http://article.gmane.org/gmane.editors.lyx.devel/111574/match=sweave

gg





Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread James Sutherland


On Oct 9, 2008, at 6:25 AM, Bennett Helm wrote:

On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland [EMAIL PROTECTED] 
 wrote:
I cannot get tabbed windows working on Mac for RC3.  I had the same  
problem with RC2.  Each additional file I open will open in its own  
window (which is a nice feature), but sometimes I would like to have  
them tabbed in the same window...


Any other Mac users seeing this???

It's a feature, not a bug! Nonetheless, you can turn it off: LyX   
Preferences  Look and Feel  Open documents in tabs.


Bennett




Bennett,

Is there a way to have the best of both worlds - to be able to dock  
a window and have it show up as a tab - without having to have it  
either all tabbed or all separate???


James

Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Abdelrazak Younes

On 09/10/2008 16:42, Bennett Helm wrote:

On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer[EMAIL PROTECTED]wrote:

All in all I have the feeling that multiple tabs/windows/views (and also
session management) are (at least on the Mac) not fully worked out, yet.
I feel like we miss an underlying concept when what opens where, and how
this is represented in the Gui/Menus.



I agree and have raised some of these issues on the developer's list. But as
I'm not a programmer myself, I'm not going to complain too much: things are
improving and I appreciate especially Abdel's attentiveness to my complaints
thus far. (Thanks Abdel!)


Well, I have not been very attentive lately... too busy for any deep 
investigation. I had hoped that some other Mac developer would take the 
lead but it didn't happen unfortunately. I think we'll have access to 
some Mac machines at the Berlin meeting so I'll make sure that all Mac 
issues are fixed then.


Abdel.




Re: Problem referencing a figure

2008-10-09 Thread Marcelo Acuña
   I have a problem with a cross reference to a
 figure in Lyx.
   I inserted the
   figure using Insert figure float, then insert
 grapichs and
   finally  apply a
   label to it. Everything seems to be alright, but
 when I
   want to dvi it, i
   get the following message:
  
   LaTex Error: File 'prettyref.sty' not
 found.
  
   Has someone had a similar problem?
  
   I am using Lyx 1.5.6 on Woindows XP
  
   Thanks!
 
   Do you have installed prettyref.sty package in your
 system?
   The error message say not.
   Regards
  Marcelo
 
 Marcelo:
 
 Thanks!
 
 Well, I don´t, but I don´t know how to do it either.
 Could you tell me how
 to do it?
 
 Thanks for your time again!
 
 Fernando
 If you haven´t this package in your tex path you need to download from CTAN 
and install it in propper dir, then run texhash (in Linux, I don´t know how to 
make this in Windows. You need a help from windows users for that.)
 
 Regards
Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Zotero is great for organizing literature and bibliography

2008-10-09 Thread Erez Yerushalmi
Hi All,

I once asked for your help to connect bibtex with lyx, and like many of you
I use Jabref.

Lately, I've been using a new program called Zotero.
Its a new, cute, FREE program:  www.zotero.org, which is an add-on to
firefox.
I recommend watching there Ztour film for a quick overview.

So the point is that my pdf literature folder, which is has been a mess, is
much more organized.
You can export Zotero as bibtex for lyx.  etc...

Hope this helps anyone

Kind Regards,  Erez


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Andre Poenitz
On Thu, Oct 09, 2008 at 05:13:54PM +0200, Abdelrazak Younes wrote:
 On 09/10/2008 16:42, Bennett Helm wrote:
 On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer[EMAIL PROTECTED]wrote:
 All in all I have the feeling that multiple tabs/windows/views (and also
 session management) are (at least on the Mac) not fully worked out, yet.
 I feel like we miss an underlying concept when what opens where, and how
 this is represented in the Gui/Menus.


 I agree and have raised some of these issues on the developer's list. But as
 I'm not a programmer myself, I'm not going to complain too much: things are
 improving and I appreciate especially Abdel's attentiveness to my complaints
 thus far. (Thanks Abdel!)

 Well, I have not been very attentive lately... too busy for any deep  
 investigation. I had hoped that some other Mac developer would take the  
 lead but it didn't happen unfortunately. I think we'll have access to  
 some Mac machines at the Berlin meeting so I'll make sure that all Mac  
 issues are fixed then.

Is that magical appearance of Macs something I am supposed to put on my
ToDo list?

Andre'


Re: Zotero is great for organizing literature and bibliography

2008-10-09 Thread Nikos Alexandris
On Thu, 2008-10-09 at 18:43 +0100, Erez Yerushalmi wrote:
 Hi All,
 
 I once asked for your help to connect bibtex with lyx, and like many of you
 I use Jabref.
 
 Lately, I've been using a new program called Zotero.
 Its a new, cute, FREE program:  www.zotero.org, which is an add-on to
 firefox.
 I recommend watching there Ztour film for a quick overview.
 
 So the point is that my pdf literature folder, which is has been a mess, is
 much more organized.
 You can export Zotero as bibtex for lyx.  etc...
 
 Hope this helps anyone
 
 Kind Regards,  Erez
 

Thanks for the information. I'll have a look at it sooner or later.
Kind regards, Nikos



Import utf8 latex on MacOS

2008-10-09 Thread Dmitrii Dimandt

Hi all

I have a LaTeX file created with TexMate and saved with  
UTF8(recommended)


When I import this file into Lyx, I get anything but cyrillic in my  
text: http://images.dmitriid.com/misc/tex/lyx.png (top of screenshot  
is what it shouldve looked like and bottom of the picture is what it  
looks like in Lyx)


My settings for Lyx are:
Default language: English
Language package: \usepackage[english,russian]{babel}
TeX encoding: T2A

And for the document I tried everything: language Russian, default  
encoding, utf8 - nothing works :(


I know that this issue has supposedly been fixed in 1.5.6, but here I  
am on 1.5.6 and importing utf8-encoded LaTeX files doesn't work :(


I guess there's a misunderstanding between Texmate, MacOS and Lyx on  
what utf8 actually means :) I hope there's somebody who has this  
figured out. Anyone? Help?







Index Problem on XP

2008-10-09 Thread Jim
I can't get the LyX Index functionality to work. Am doing this in 
Windows XP. When I use pdflatex, the typeset doc displays as it should, 
but with no Index. I've inserted Index List as the last statement in my 
LyX doc.


I figured out a .idx file is created and then used subsequently to 
create a .ind file. I searched for, and found the .idx file, but 
couldn't find the .ind file:


C:\Documents and Settings\Jim\Local 
Settings\lyx_tmpdir1208a00992\lyx_tmpbuf0\newfile1.idx


The lyx_tmpbuf0 directory also contained several other files, including 
newfile1.log. It contained a statement no newfile1.ind.


I've saved all newfile1.* files associated with this issue:

newfile1.lyx
newfile1.aux
newfile1.idx
newfile1.ilg
newfile1.log
newfile1.pdf
newfile1.tex
newfile1.tex.dep-pdf


Thanks, Jim




E-mail message checked by Spyware Doctor (5.5.1.322)
Database version: 5.10870e
http://www.pctools.com/en/spyware-doctor/


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Jean-Marc Lasgouttes
Is that magical appearance of Macs something I am supposed to put  
on my

ToDo list?


It would definitely help a lot.

JMarc


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Abdelrazak Younes

On 09/10/2008 20:15, Andre Poenitz wrote:

On Thu, Oct 09, 2008 at 05:13:54PM +0200, Abdelrazak Younes wrote:
   

On 09/10/2008 16:42, Bennett Helm wrote:
 

On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer[EMAIL PROTECTED]wrote:
   

All in all I have the feeling that multiple tabs/windows/views (and also
session management) are (at least on the Mac) not fully worked out, yet.
I feel like we miss an underlying concept when what opens where, and how
this is represented in the Gui/Menus.
 

I agree and have raised some of these issues on the developer's list. But as
I'm not a programmer myself, I'm not going to complain too much: things are
improving and I appreciate especially Abdel's attentiveness to my complaints
thus far. (Thanks Abdel!)
   

Well, I have not been very attentive lately... too busy for any deep
investigation. I had hoped that some other Mac developer would take the
lead but it didn't happen unfortunately. I think we'll have access to
some Mac machines at the Berlin meeting so I'll make sure that all Mac
issues are fixed then.
 


Is that magical appearance of Macs something I am supposed to put on my
ToDo list?
   


That would be nice indeed. Sorry I took for granted that 'Qt Software' 
has some Macs lying around...


Abdel.



citations in revtex4

2008-10-09 Thread Nick Barov
Hello,

I am trying to write a paper with revtex4, and Lyx version 1.5.6 on
CentOS 5.2 Linux.

I am having trouble with citations. In fact the standard revtex4
template file, revtex4.lyx, has this problem. The citation appears in
the text like:
(author?) [1] -- where (author?) appears in bold.

I believe the error is because LyX is calling for the \citet{} command,
which is an (Author-year) style of citation. I have tried to change that
by tweaking options in Document-Settings-Bibliography, but that
doesn't seem to work either.

Any help would be appreciated.

NB



LyX and Sweave: reading data files

2008-10-09 Thread Jean-Marc Lasgouttes

Hello there,

I am trying to use Sweave and LyX for a project of my own, and have the
following problem: my R code reads some data
  somevars<-read.table("somevars.dat")
and this data file is not available when Sweave is ran from the /tmp
directory. 

I guess this problem is quite common... How do people solve it in
general? I do not want to use an absolute path, since it makes the file
non portable...

JMarc


See "Google Reader" on your Google homepage

2008-10-09 Thread vbanait
Your friend, [EMAIL PROTECTED], has sent you the following Google Gadget  
and included this message:



See "Google Reader" on your Google homepage »




Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Konrad Hofbauer

Bennett Helm wrote:

On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
<[EMAIL PROTECTED]>wrote:


I cannot get tabbed windows working on Mac for RC3.  I had the same problem
with RC2.  Each additional file I open will open in its own window (which is
a nice feature), but sometimes I would like to have them tabbed in the same
window...

Any other Mac users seeing this???



It's a feature, not a bug! Nonetheless, you can turn it off: LyX >
Preferences > Look and Feel > Open documents in tabs.


I did not even know this, I was just about to send him to bugzilla. ;-)
Should we maybe make this the default?

Otherwise, there is no intuitive way of getting a tabbed window. Whereas 
for a new window, we have File->New Window.


All in all I have the feeling that multiple tabs/windows/views (and also 
session management) are (at least on the Mac) not fully worked out, yet.
I feel like we miss an underlying concept when what opens where, and how 
this is represented in the Gui/Menus.


For example, having multiple windows open, quitting lyx and reopening 
opens all documents in a single window (tabbed). Also, drag of tabs 
between windows would be nice. In 1.5, a "new window" is a copy of the 
old one (in terms of documents loaded), in 1.6 it is empty. If I load an 
already open document in the new empty window, what do I get? What is on 
disk or what is in the other window? (Not clear from the GUI.)


Admittedly, I have not used 1.6 too much until now (I am writing on my 
thesis right now, so I don't dare switching to 1.6, yet.) So maybe I 
simply have not understood the concept yet.


/Konrad



Re: Experience using XeTeX with XeTeX?

2008-10-09 Thread William Adams

On Oct 9, 2008, at 5:37 AM, Charles de Miramon wrote:

I would rather have one stable and solid LyX Way (unicode + xetex  
(and in
the future luatex) + opentype) and a possibility to export pdflatex  
code

for special reasons (like microtypography).



Well, in the meanwhile one could use the hanging package to get  
hanging punctuation --- not quite as configurable as microtype, but it  
could be pretty easily built into LyX I'd think --- just enable a way  
to define styles to also be hanging environments.


William

--
William Adams
senior graphic designer
Fry Communications




Re: Experience using XeTeX with XeTeX?

2008-10-09 Thread Charles de Miramon
=??B?SsO8cmdlbiBTcGl0em3DvGxsZXI=?= wrote:

>> are not installed.
> 
> I would not talk of "moving". We should provide support for XeTeX, but not
> at the price of dropping support for other LaTeX variants. There will
> always be enough reasons to not use XeTeX (as long as it misses support
> for micro typographic extensions, I will not use it, for instance).


I would rather have one stable and solid LyX Way (unicode + xetex (and in
the future luatex) + opentype) and a possibility to export pdflatex code
for special reasons (like microtypography).

Having the possibility to switch the latex engine in the middle of creating
a document is a recipe for subtle problems (encoding, fonts). LyX users
should not care and know anything about subtle differences between LaTeX
engines.

I will not mourn the death of LaTeX inputenc, font system, DVI...

Cheers,
Charles
-- 
http://www.kde-france.org



Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Bennett Helm
On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
<[EMAIL PROTECTED]>wrote:

> I cannot get tabbed windows working on Mac for RC3.  I had the same problem
> with RC2.  Each additional file I open will open in its own window (which is
> a nice feature), but sometimes I would like to have them tabbed in the same
> window...
>
> Any other Mac users seeing this???


It's a feature, not a bug! Nonetheless, you can turn it off: LyX >
Preferences > Look and Feel > Open documents in tabs.

Bennett


Re: LyX and Sweave: reading data files

2008-10-09 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes:
>> I am trying to use Sweave and LyX for a project of my own, and have the
>> following problem: my R code reads some data
>>   somevars<-read.table("somevars.dat")
>> and this data file is not available when Sweave is ran from the /tmp
>> directory.
>
> Perhaps thids page helps you:
> http://wiki.lyx.org/LyX/LyxWithRThroughSweave

No. I am not sure that I read it carefully enough, but I did not find the
answer in Gregor Gorjanc article either.

JMarc


1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread James Sutherland
I cannot get tabbed windows working on Mac for RC3.  I had the same  
problem with RC2.  Each additional file I open will open in its own  
window (which is a nice feature), but sometimes I would like to have  
them tabbed in the same window...


Any other Mac users seeing this???


Re: LyX and Sweave: reading data files

2008-10-09 Thread Jean-Marc Lasgouttes
Gregor Gorjanc <[EMAIL PROTECTED]> writes:
> I am afraid there is no help here unless you are wiling to use the
> absolute path. I agree that this is far from optimal, but it is still
> tolerable. Afterall one probably does not switch computers/setups as
> often as underwear ;)

Hmm, I use the same documents on 3 computers from a common svn repository...

> P.S. Did you see my post about use of SageTeX?
> http://article.gmane.org/gmane.editors.lyx.devel/111574/match=sweave

Not carefully. I'll try first to make Rweave work out of the box on LyX
(because I need it ;)

That said, I think it is almost doable with current architecture. Lookup
the "latex" flag of converters/format, for example.

JMarc


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Abdelrazak Younes

On 09/10/2008 14:27, James Sutherland wrote:


On Oct 9, 2008, at 6:25 AM, Bennett Helm wrote:


On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
<[EMAIL PROTECTED]> wrote:
I cannot get tabbed windows working on Mac for RC3. I had the same
problem with RC2. Each additional file I open will open in its own
window (which is a nice feature), but sometimes I would like to have
them tabbed in the same window...

Any other Mac users seeing this???

It's a feature, not a bug! Nonetheless, you can turn it off: LyX >
Preferences > Look and Feel > Open documents in tabs.

Bennett




Bennett,

Is there a way to have the best of both worlds - to be able to "dock" a
window and have it show up as a tab - without having to have it either
all tabbed or all separate???


Put an enhancement request in bugzilla for a new menu item "Open 
document in new Tab". Should be easy to implement.


Abdel.



RE: LyX and Sweave: reading data files

2008-10-09 Thread Gorjanc Gregor
>>Gregor Gorjanc <[EMAIL PROTECTED]> writes:
>> I am afraid there is no help here unless you are wiling to use the
>> absolute path. I agree that this is far from optimal, but it is still
>> tolerable. Afterall one probably does not switch computers/setups as
>> often as underwear ;)
>
> Hmm, I use the same documents on 3 computers from a common svn repository...

I see. Copying the lyx file to /tmp is really a problem in this context. Is 
there any
way to avoid this? I guess this still does not lead to general/portable 
solutions.

>> P.S. Did you see my post about use of SageTeX?
>> http://article.gmane.org/gmane.editors.lyx.devel/111574/match=sweave
>
> Not carefully. I'll try first to make Rweave work out of the box on LyX
> (because I need it ;)

I am glad to hear that.

> That said, I think it is almost doable with current architecture. Lookup
> the "latex" flag of converters/format, for example.

Thank you for this tip!

gg


Re: LyX and Sweave: reading data files

2008-10-09 Thread Uwe Stöhr

Jean-Marc Lasgouttes schrieb:


I am trying to use Sweave and LyX for a project of my own, and have the
following problem: my R code reads some data
  somevars<-read.table("somevars.dat")
and this data file is not available when Sweave is ran from the /tmp
directory.


Perhaps thids page helps you:
http://wiki.lyx.org/LyX/LyxWithRThroughSweave

regards Uwe


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Bennett Helm
On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer <[EMAIL PROTECTED]>wrote:

> Bennett Helm wrote:
>
>> On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland
>> <[EMAIL PROTECTED]>wrote:
>>
>>  I cannot get tabbed windows working on Mac for RC3.  I had the same
>>> problem
>>> with RC2.  Each additional file I open will open in its own window (which
>>> is
>>> a nice feature), but sometimes I would like to have them tabbed in the
>>> same
>>> window...
>>>
>>> Any other Mac users seeing this???
>>>
>>
>>
>> It's a feature, not a bug! Nonetheless, you can turn it off: LyX >
>> Preferences > Look and Feel > Open documents in tabs.
>>
>
> I did not even know this, I was just about to send him to bugzilla. ;-)
> Should we maybe make this the default?


The thought was that we should make LyX behave like a standard Mac
application as much as possible.


> Otherwise, there is no intuitive way of getting a tabbed window. Whereas
> for a new window, we have File->New Window.


Actually, you can: View > [filename] will open a view of that file as a tab
in the current window.

>
>
> All in all I have the feeling that multiple tabs/windows/views (and also
> session management) are (at least on the Mac) not fully worked out, yet.
> I feel like we miss an underlying concept when what opens where, and how
> this is represented in the Gui/Menus.


I agree and have raised some of these issues on the developer's list. But as
I'm not a programmer myself, I'm not going to complain too much: things are
improving and I appreciate especially Abdel's attentiveness to my complaints
thus far. (Thanks Abdel!)


> For example, having multiple windows open, quitting lyx and reopening opens
> all documents in a single window (tabbed).


I've reported that to bugzilla as a bug.


> Also, drag of tabs between windows would be nice. In 1.5, a "new
> window" is a copy of the old one (in terms of documents loaded), in 1.6 it
> is empty.


File an enhancement request in bugzilla.


> If I load an already open document in the new empty window, what do I get?
> What is on disk or what is in the other window? (Not clear from the GUI.)


I agree: it's a bit confusing from the GUI. However, it's possible to have
multiple windows on a single document (which can be very useful), and LyX
ensures that they're all in sync. (That is, the multiple windows are simply
different views of the same thing, where it is this one thing -- the
document -- that gets edited from within any of these views.)

Bennett



>
> Admittedly, I have not used 1.6 too much until now (I am writing on my
> thesis right now, so I don't dare switching to 1.6, yet.) So maybe I simply
> have not understood the concept yet.
>
> /Konrad
>
>


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Konrad Hofbauer

Bennett Helm wrote:
things are improving and I appreciate especially Abdel's attentiveness 
to my complaints thus far. (Thanks Abdel!)


Very much so !!! :-)

/Konrad


Re: hang up in 1.6.0 rc3

2008-10-09 Thread Pavel Sanda
> I have problems with RC2 and RC3 when I work on imported files. I have
> heavy and frequent crashes indeed.

try to find a a recipy how to reproduce it, or send a backtrace if
you can.

pavel


Re: LyX and Sweave: reading data files

2008-10-09 Thread Gregor Gorjanc
Hi Jean-Marc,

Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> I am trying to use Sweave and LyX for a project of my own, and have the
> following problem: my R code reads some data
>   somevars<-read.table("somevars.dat")
> and this data file is not available when Sweave is ran from the /tmp
> directory. 
> 
> I guess this problem is quite common... How do people solve it in
> general? I do not want to use an absolute path, since it makes the file
> non portable...

I am afraid there is no help here unless you are wiling to use the absolute
path. I agree that this is far from optimal, but it is still tolerable. Afterall
one probably does not switch computers/setups as often as underwear ;)

P.S. Did you see my post about use of SageTeX?
http://article.gmane.org/gmane.editors.lyx.devel/111574/match=sweave

gg





Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread James Sutherland


On Oct 9, 2008, at 6:25 AM, Bennett Helm wrote:

On Thu, Oct 9, 2008 at 8:23 AM, James Sutherland <[EMAIL PROTECTED] 
> wrote:
I cannot get tabbed windows working on Mac for RC3.  I had the same  
problem with RC2.  Each additional file I open will open in its own  
window (which is a nice feature), but sometimes I would like to have  
them tabbed in the same window...


Any other Mac users seeing this???

It's a feature, not a bug! Nonetheless, you can turn it off: LyX >  
Preferences > Look and Feel > Open documents in tabs.


Bennett




Bennett,

Is there a way to have the best of both worlds - to be able to "dock"  
a window and have it show up as a tab - without having to have it  
either all tabbed or all separate???


James

Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Abdelrazak Younes

On 09/10/2008 16:42, Bennett Helm wrote:

On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer<[EMAIL PROTECTED]>wrote:

All in all I have the feeling that multiple tabs/windows/views (and also
session management) are (at least on the Mac) not fully worked out, yet.
I feel like we miss an underlying concept when what opens where, and how
this is represented in the Gui/Menus.



I agree and have raised some of these issues on the developer's list. But as
I'm not a programmer myself, I'm not going to complain too much: things are
improving and I appreciate especially Abdel's attentiveness to my complaints
thus far. (Thanks Abdel!)


Well, I have not been very attentive lately... too busy for any deep 
investigation. I had hoped that some other Mac developer would take the 
lead but it didn't happen unfortunately. I think we'll have access to 
some Mac machines at the Berlin meeting so I'll make sure that all Mac 
issues are fixed then.


Abdel.




Re: Problem referencing a figure

2008-10-09 Thread Marcelo Acuña
> > > I have a problem with a cross reference to a
> figure in Lyx.
> > > I inserted the
> > > figure using Insert figure float, then insert
> grapichs and
> > > finally  apply a
> > > label to it. Everything seems to be alright, but
> when I
> > > want to dvi it, i
> > > get the following message:
> > >
> > > LaTex Error: File 'prettyref.sty' not
> found.
> > >
> > > Has someone had a similar problem?
> > >
> > > I am using Lyx 1.5.6 on Woindows XP
> > >
> > > Thanks!
> >
> >  Do you have installed prettyref.sty package in your
> system?
> >  The error message say not.
> >  Regards
> > Marcelo
> >
> Marcelo:
> 
> Thanks!
> 
> Well, I don´t, but I don´t know how to do it either.
> Could you tell me how
> to do it?
> 
> Thanks for your time again!
> 
> Fernando
 If you haven´t this package in your tex path you need to download from CTAN 
and install it in propper dir, then run texhash (in Linux, I don´t know how to 
make this in Windows. You need a help from windows users for that.)
 
 Regards
Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Zotero is great for organizing literature and bibliography

2008-10-09 Thread Erez Yerushalmi
Hi All,

I once asked for your help to connect bibtex with lyx, and like many of you
I use Jabref.

Lately, I've been using a new program called Zotero.
Its a new, cute, FREE program:  www.zotero.org, which is an add-on to
firefox.
I recommend watching there Ztour film for a quick overview.

So the point is that my pdf literature folder, which is has been a mess, is
much more organized.
You can export Zotero as bibtex for lyx.  etc...

Hope this helps anyone

Kind Regards,  Erez


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Andre Poenitz
On Thu, Oct 09, 2008 at 05:13:54PM +0200, Abdelrazak Younes wrote:
> On 09/10/2008 16:42, Bennett Helm wrote:
>> On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer<[EMAIL PROTECTED]>wrote:
>>> All in all I have the feeling that multiple tabs/windows/views (and also
>>> session management) are (at least on the Mac) not fully worked out, yet.
>>> I feel like we miss an underlying concept when what opens where, and how
>>> this is represented in the Gui/Menus.
>>
>>
>> I agree and have raised some of these issues on the developer's list. But as
>> I'm not a programmer myself, I'm not going to complain too much: things are
>> improving and I appreciate especially Abdel's attentiveness to my complaints
>> thus far. (Thanks Abdel!)
>
> Well, I have not been very attentive lately... too busy for any deep  
> investigation. I had hoped that some other Mac developer would take the  
> lead but it didn't happen unfortunately. I think we'll have access to  
> some Mac machines at the Berlin meeting so I'll make sure that all Mac  
> issues are fixed then.

Is that magical appearance of Macs something I am supposed to put on my
ToDo list?

Andre'


Re: Zotero is great for organizing literature and bibliography

2008-10-09 Thread Nikos Alexandris
On Thu, 2008-10-09 at 18:43 +0100, Erez Yerushalmi wrote:
> Hi All,
> 
> I once asked for your help to connect bibtex with lyx, and like many of you
> I use Jabref.
> 
> Lately, I've been using a new program called Zotero.
> Its a new, cute, FREE program:  www.zotero.org, which is an add-on to
> firefox.
> I recommend watching there Ztour film for a quick overview.
> 
> So the point is that my pdf literature folder, which is has been a mess, is
> much more organized.
> You can export Zotero as bibtex for lyx.  etc...
> 
> Hope this helps anyone
> 
> Kind Regards,  Erez
> 

Thanks for the information. I'll have a look at it sooner or later.
Kind regards, Nikos



Import utf8 latex on MacOS

2008-10-09 Thread Dmitrii Dimandt

Hi all

I have a LaTeX file created with TexMate and saved with  
"UTF8(recommended)"


When I import this file into Lyx, I get anything but cyrillic in my  
text: http://images.dmitriid.com/misc/tex/lyx.png (top of screenshot  
is what it shouldve looked like and bottom of the picture is what it  
looks like in Lyx)


My settings for Lyx are:
Default language: English
Language package: \usepackage[english,russian]{babel}
TeX encoding: T2A

And for the document I tried everything: language Russian, default  
encoding, utf8 - nothing works :(


I know that this issue has supposedly been fixed in 1.5.6, but here I  
am on 1.5.6 and importing utf8-encoded LaTeX files doesn't work :(


I guess there's a misunderstanding between Texmate, MacOS and Lyx on  
what utf8 actually means :) I hope there's somebody who has this  
figured out. Anyone? Help?







Index Problem on XP

2008-10-09 Thread Jim
I can't get the LyX Index functionality to work. Am doing this in 
Windows XP. When I use pdflatex, the typeset doc displays as it should, 
but with no Index. I've inserted Index List as the last statement in my 
LyX doc.


I figured out a .idx file is created and then used subsequently to 
create a .ind file. I searched for, and found the .idx file, but 
couldn't find the .ind file:


C:\Documents and Settings\Jim\Local 
Settings\lyx_tmpdir1208a00992\lyx_tmpbuf0\newfile1.idx


The lyx_tmpbuf0 directory also contained several other files, including 
newfile1.log. It contained a statement "no newfile1.ind".


I've saved all newfile1.* files associated with this issue:

newfile1.lyx
newfile1.aux
newfile1.idx
newfile1.ilg
newfile1.log
newfile1.pdf
newfile1.tex
newfile1.tex.dep-pdf


Thanks, Jim




E-mail message checked by Spyware Doctor (5.5.1.322)
Database version: 5.10870e
http://www.pctools.com/en/spyware-doctor/


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Jean-Marc Lasgouttes
Is that magical appearance of Macs something I am supposed to put  
on my

ToDo list?


It would definitely help a lot.

JMarc


Re: 1.6rc3 on Mac - no tabbed windows?

2008-10-09 Thread Abdelrazak Younes

On 09/10/2008 20:15, Andre Poenitz wrote:

On Thu, Oct 09, 2008 at 05:13:54PM +0200, Abdelrazak Younes wrote:
   

On 09/10/2008 16:42, Bennett Helm wrote:
 

On Thu, Oct 9, 2008 at 8:47 AM, Konrad Hofbauer<[EMAIL PROTECTED]>wrote:
   

All in all I have the feeling that multiple tabs/windows/views (and also
session management) are (at least on the Mac) not fully worked out, yet.
I feel like we miss an underlying concept when what opens where, and how
this is represented in the Gui/Menus.
 

I agree and have raised some of these issues on the developer's list. But as
I'm not a programmer myself, I'm not going to complain too much: things are
improving and I appreciate especially Abdel's attentiveness to my complaints
thus far. (Thanks Abdel!)
   

Well, I have not been very attentive lately... too busy for any deep
investigation. I had hoped that some other Mac developer would take the
lead but it didn't happen unfortunately. I think we'll have access to
some Mac machines at the Berlin meeting so I'll make sure that all Mac
issues are fixed then.
 


Is that magical appearance of Macs something I am supposed to put on my
ToDo list?
   


That would be nice indeed. Sorry I took for granted that 'Qt Software' 
has some Macs lying around...


Abdel.



citations in revtex4

2008-10-09 Thread Nick Barov
Hello,

I am trying to write a paper with revtex4, and Lyx version 1.5.6 on
CentOS 5.2 Linux.

I am having trouble with citations. In fact the standard revtex4
template file, revtex4.lyx, has this problem. The citation appears in
the text like:
(author?) [1] -- where (author?) appears in bold.

I believe the error is because LyX is calling for the \citet{} command,
which is an (Author-year) style of citation. I have tried to change that
by tweaking options in Document->Settings->Bibliography, but that
doesn't seem to work either.

Any help would be appreciated.

NB