svmult.cls layout problem?

2011-12-04 Thread stefano franchi
Has anyone used the layout for the svmult.cls class recently? (It is
the Springer class for edited volume)
The layout seems to have 2 problems (the class works fine in pure latex):

It does not recognize the \abstract* environment and it inserts the
\maketitle command too early (before \author)

Before I clumsily try to fix the problem, is is this a known problem
and/or is there anything I should know about it?


Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Re: Compile error: "The directory path to the document cannot contain spaces"

2011-12-04 Thread David
It would be too much of a hassle to change that because it's my default 
document directory, and there are some dependency problems as well which I 
don't think it's a good idea to alter it.

When I installed MikTeX 2.9 I didn't remove MikTeX 2.8. The compiler works fine 
if I re-configure LyX to use the MikTeX 2.8 installation. Compiling speed was 
very slow though (this happened after I installed some packages for 2.8 which 
seemed to be causing such slowness although I couldn't figure out why - this is 
the reason why I installed MikTeX 2.9).

Another point is that my office computer also uses LyX on a MikTeX 2.9 
installation (also runs on Windows XP). The directory also contains spaces, but 
I can compile normally on that machine. Now I don't know which part is actually 
the culprit, because it seems that the compiler is designed to deal with spaces 
but somehow that does not work on my computer.


--- 2011年12月5日 星期一,Richard Heck  寫道﹕

寄件人: Richard Heck 
主題: Re: Compile error: "The directory path to the document cannot contain 
spaces"
收件人: "David" 
副本(CC): lyx-users@lists.lyx.org
日期: 2011年12月5日,星期一,上午1:53



  


  
  
On 12/04/2011 07:55 AM, David wrote:

  

  
Dear all,

  

  I have been using MikTeX 2.8 and has recently upgraded to
  MikTeX 2.9. To ensure my LyX (2.0) runs smoothly I
  uninstalled that and reinstalled the latest version
  (2.0.2), pointing it to my latest MikTex installation.
  However, when I use it to compile my document (Ctrl+R) a
  message box appears immediately saying that "The directory
  path to the document cannot contain spaces", an error that
  I have never encountered before. Yes I know my directory
  contains spaces but it worked fine before I did all these
  changes. Moving my file somewhere else works, but
  certainly it will be too troublesome to do that every
  time. Furthermore my directory is something like "D:\My
  Documents\blahblahblah" and I clearly cannot change "My
  Documents" to something else.

  


  

  

Actually, you can change it. I don't have Windows machines in my
house any more, but I used to do it routinely on my wife's machine.




  

  
Is there an
  alternative method that can bypass this problem?

  


  

  

It would seem that the configuration script has for some reason
decided MikTeX won't allow spaces. You might try reconfiguring, but
then again, if the configure script failed this test, then there may
be an issue.



Windows people may be able to give more advice.



Richard



  



Re: Locale configuration when launching R from lyx

2011-12-04 Thread Yihui Xie
The correct fix, I believe, is to set the language of your interface
(not document) to Default in preferences. This will at least enable R
to read the Rnw document correctly. Then everything becomes a LaTeX
problem (you can use other special packages, or xelatex).

Regards,
Yihui
--
Yihui Xie 
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sun, Dec 4, 2011 at 7:35 PM, Etienne B. Racine  wrote:
> Hi, this is a follow up of ticket 7741[1].
>
> As I understand it, it is possible to fix the locale problem by setting the
> encoding to ASCII [2] when setting language to something else than English,
> or leaving the language to default. However, when the accents are in a
> sweave chunk, e.g. for commenting, this is not fixed by the encoding. Are
> there any detailed procedure to fix this issue ? Or any thoughts on what I
> could try ? I've tried using xelatex, but it didn't work.
>
> Is it possible to make succeed loading all the LC_X... ?
>
> 1: Setting LC_CTYPE failed, using "C"
>
> 2: Setting LC_COLLATE failed, using "C"
>
> 3: Setting LC_TIME failed, using "C"
>
> 4: Setting LC_MESSAGES failed, using "C"
>
> 5: Setting LC_PAPER failed, using "C"
>
> 6: Setting LC_PAPER failed, using "C"
>
>
> Thanks,
> Etienne
>
> [1] http://www.lyx.org/trac/ticket/7741
> [2] http://comments.gmane.org/gmane.editors.lyx.general/70185
>


Locale configuration when launching R from lyx

2011-12-04 Thread Etienne B. Racine
Hi, this is a follow up of ticket 7741[1].

As I understand it, it is possible to fix the locale problem by setting the
encoding to ASCII [2] when setting language to something else than English,
or leaving the language to default. However, when the accents are in a
sweave chunk, e.g. for commenting, this is not fixed by the encoding. Are
there any detailed procedure to fix this issue ? Or any thoughts on what I
could try ? I've tried using xelatex, but it didn't work.

Is it possible to make succeed loading all the LC_X... ?

1: Setting LC_CTYPE failed, using "C"

2: Setting LC_COLLATE failed, using "C"

3: Setting LC_TIME failed, using "C"

4: Setting LC_MESSAGES failed, using "C"

5: Setting LC_PAPER failed, using "C"

6: Setting LC_PAPER failed, using "C"

Thanks,
Etienne

[1] http://www.lyx.org/trac/ticket/7741
[2] http://comments.gmane.org/gmane.editors.lyx.general/70185


Re: 2.0.2 and sweave

2011-12-04 Thread Yihui Xie
That is good to know. Thanks a lot for the experiment!

I need to add this approach to the manual; it is much easier (and
safer) than messing with the PATH variable directly. I often feel
extremely frustrated with instructing Windows users on how to modify
PATH.

Regards,
Yihui
--
Yihui Xie 
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sun, Dec 4, 2011 at 6:46 PM, Jack Tanner  wrote:
> Yihui Xie  yihui.name> writes:
>
>>
>> Or maybe it is easier to modify the preferences?
>> Tools-->Preferences-->Paths-->PATH prefix. I have never tried it.
>
> This works perfectly. Even better, it interpolates environment variables:
>
> Set R_HOME globally, e.g., to C:\Program Files\R\R-2.14.0
>
> Then in LyX, under Tools-->Preferences-->Paths-->PATH prefix, append
>
> ;$R_HOME\bin
>
> and "reconfigure" LyX.
>
> Proceed "preview" the PDF.
>
> Kudos!
>


Re: 2.0.2 and sweave

2011-12-04 Thread Jack Tanner
Yihui Xie  yihui.name> writes:

> 
> Or maybe it is easier to modify the preferences?
> Tools-->Preferences-->Paths-->PATH prefix. I have never tried it.

This works perfectly. Even better, it interpolates environment variables:

Set R_HOME globally, e.g., to C:\Program Files\R\R-2.14.0

Then in LyX, under Tools-->Preferences-->Paths-->PATH prefix, append 

;$R_HOME\bin

and "reconfigure" LyX.

Proceed "preview" the PDF.

Kudos!



Re: Another lyx-produced book

2011-12-04 Thread Pavel Sanda
stefano franchi wrote:
> Dear all,
> 
> in the wake of Richard's announcement, here is another one. The book "A
> Search for a Theory of Cognition," which I edited with Francesco Bianchini,
> has just come out with Rodopi:
> http://www.amazon.com/Search-Theory-Cognition-Mechanisms-Inquiry/dp/9042034270

in case you are not aware of it we have specific pages for listing
publications produced with lyx: http://wiki.lyx.org/LyX/ProducedPublications

and congratz of course :)
pavel


Putting tables and figures at the end?

2011-12-04 Thread fork
Hi all,

I am putting together my first article using Lyx, and I can't figure 
something out:

How do I get all my tables and figures to be placed at the end, 
one per page, preferably in a section called "figures and tables"?  

I will put the text "figure XX about here" where they should go 
in the body, as per academic tradition.

And are there more general guidelines to doing this sort of
thing in Lyx in general?

Thx for the excellent software!



Re: Version Control Problems

2011-12-04 Thread Pavel Sanda
Christoph Weber wrote:
> Hi everybody!
>
> I've some problems with RCS.
>
> I start using RCS with the "Register"-command. And the first version of my 
> file is registered, no error messages appear and the file is now 
> write-protected.
> But the problem is, that all the other buttons stay inactive. I can't click 
> "Check Out for Edit" to edit the file again.
>
> Has anyone similar problems or knows how to solve them?

it should just work. what is the version of RCS you use? 
can you provide detailed debug report what happens when you open
the file? (view->view messages->settings->selected->version control->yes)

pavel


Re: 2.0.2 and sweave

2011-12-04 Thread Yihui Xie
We mentioned this once before
(http://comments.gmane.org/gmane.editors.lyx.general/72719), but did
not get anybody work on it. So let's call for python hackers again: it
will be fantastic if LyX is able to find Rscript automatically under
Windows (from environmental variables RHOME, R_HOME or from the
Windows Registry Hive). Before that, users still have to modify the
PATH by themselves.

Or maybe it is easier to modify the preferences?
Tools-->Preferences-->Paths-->PATH prefix. I have never tried it.

Regards,
Yihui
--
Yihui Xie 
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sun, Dec 4, 2011 at 2:06 PM, Jack Tanner  wrote:
> Yihui Xie  yihui.name> writes:
>
>>
>> We need someone to update the wiki pages (I'm quite busy these days);
>> currently you should refer to the manual built-in with LyX
>> (examples/sweave.lyx), and a PDF version is here:
>> https://github.com/downloads/yihui/lyx/sweave.pdf
>
> Thanks! Looks like a very smooth integration.
>
> A couple of questions: Is it possible to set the path to Rscript directly 
> within
> LyX, without changing the global system PATH? Does LyX check either RHOME or
> R_HOME? Is it preferable to use the 32-bit or 64-bit Rscript?
>
>
>


Re: 2.0.2 and sweave

2011-12-04 Thread Liviu Andronic
On Sun, Dec 4, 2011 at 8:42 PM, Yihui Xie  wrote:
> We need someone to update the wiki pages (I'm quite busy these days);
>
This should be coordinated with the original authors. I never quite
understood those instructions, but I think there are still people
using them.

Liviu


> currently you should refer to the manual built-in with LyX
> (examples/sweave.lyx), and a PDF version is here:
> https://github.com/downloads/yihui/lyx/sweave.pdf
>
> Regards,
> Yihui
> --
> Yihui Xie 
> Phone: 515-294-2465 Web: http://yihui.name
> Department of Statistics, Iowa State University
> 2215 Snedecor Hall, Ames, IA
>
>
>
> On Sun, Dec 4, 2011 at 1:34 PM, Jack Tanner  wrote:
>> I'd like to get started with LyX and Sweave. There are a bunch of tutorials 
>> out
>> there, some linked from the LyX wiki, some not. But I can't tell which are
>> current and which aren't. I'm on LyX 2.0.2, R 2.14, Miktex 2.9, Windows 7 
>> x64;
>> could someone suggest the right tutorial or just post the steps here? Thanks 
>> in
>> advance.
>>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0.2 and sweave

2011-12-04 Thread Liviu Andronic
On Sun, Dec 4, 2011 at 9:01 PM, Xu Wang  wrote:
> Just curious -- why isn't Yihui's manual in the Help menu in LyX? Because
> it's still a work in progress?
>
It didn't get into 2.0.2 because of the string freeze. It's in for
2.0.3. Also, it is already shipped in 'examples'.
Liviu

http://www.lyx.org/trac/ticket/7891


> Xu
>
>
> On Sun, Dec 4, 2011 at 2:42 PM, Yihui Xie  wrote:
>>
>> We need someone to update the wiki pages (I'm quite busy these days);
>> currently you should refer to the manual built-in with LyX
>> (examples/sweave.lyx), and a PDF version is here:
>> https://github.com/downloads/yihui/lyx/sweave.pdf
>>
>> Regards,
>> Yihui
>> --
>> Yihui Xie 
>> Phone: 515-294-2465 Web: http://yihui.name
>> Department of Statistics, Iowa State University
>> 2215 Snedecor Hall, Ames, IA
>>
>>
>>
>> On Sun, Dec 4, 2011 at 1:34 PM, Jack Tanner  wrote:
>> > I'd like to get started with LyX and Sweave. There are a bunch of
>> > tutorials out
>> > there, some linked from the LyX wiki, some not. But I can't tell which
>> > are
>> > current and which aren't. I'm on LyX 2.0.2, R 2.14, Miktex 2.9, Windows
>> > 7 x64;
>> > could someone suggest the right tutorial or just post the steps here?
>> > Thanks in
>> > advance.
>> >
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0.2 and sweave

2011-12-04 Thread Jack Tanner
Yihui Xie  yihui.name> writes:

> 
> We need someone to update the wiki pages (I'm quite busy these days);
> currently you should refer to the manual built-in with LyX
> (examples/sweave.lyx), and a PDF version is here:
> https://github.com/downloads/yihui/lyx/sweave.pdf

Thanks! Looks like a very smooth integration. 

A couple of questions: Is it possible to set the path to Rscript directly within
LyX, without changing the global system PATH? Does LyX check either RHOME or
R_HOME? Is it preferable to use the 32-bit or 64-bit Rscript?





Re: 2.0.2 and sweave

2011-12-04 Thread Xu Wang
Just curious -- why isn't Yihui's manual in the Help menu in LyX? Because
it's still a work in progress?

Xu

On Sun, Dec 4, 2011 at 2:42 PM, Yihui Xie  wrote:

> We need someone to update the wiki pages (I'm quite busy these days);
> currently you should refer to the manual built-in with LyX
> (examples/sweave.lyx), and a PDF version is here:
> https://github.com/downloads/yihui/lyx/sweave.pdf
>
> Regards,
> Yihui
> --
> Yihui Xie 
> Phone: 515-294-2465 Web: http://yihui.name
> Department of Statistics, Iowa State University
> 2215 Snedecor Hall, Ames, IA
>
>
>
> On Sun, Dec 4, 2011 at 1:34 PM, Jack Tanner  wrote:
> > I'd like to get started with LyX and Sweave. There are a bunch of
> tutorials out
> > there, some linked from the LyX wiki, some not. But I can't tell which
> are
> > current and which aren't. I'm on LyX 2.0.2, R 2.14, Miktex 2.9, Windows
> 7 x64;
> > could someone suggest the right tutorial or just post the steps here?
> Thanks in
> > advance.
> >
>


Re: 2.0.2 and sweave

2011-12-04 Thread Yihui Xie
We need someone to update the wiki pages (I'm quite busy these days);
currently you should refer to the manual built-in with LyX
(examples/sweave.lyx), and a PDF version is here:
https://github.com/downloads/yihui/lyx/sweave.pdf

Regards,
Yihui
--
Yihui Xie 
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sun, Dec 4, 2011 at 1:34 PM, Jack Tanner  wrote:
> I'd like to get started with LyX and Sweave. There are a bunch of tutorials 
> out
> there, some linked from the LyX wiki, some not. But I can't tell which are
> current and which aren't. I'm on LyX 2.0.2, R 2.14, Miktex 2.9, Windows 7 x64;
> could someone suggest the right tutorial or just post the steps here? Thanks 
> in
> advance.
>


2.0.2 and sweave

2011-12-04 Thread Jack Tanner
I'd like to get started with LyX and Sweave. There are a bunch of tutorials out
there, some linked from the LyX wiki, some not. But I can't tell which are
current and which aren't. I'm on LyX 2.0.2, R 2.14, Miktex 2.9, Windows 7 x64;
could someone suggest the right tutorial or just post the steps here? Thanks in
advance.



Re: Compile error: "The directory path to the document cannot contain spaces"

2011-12-04 Thread Richard Heck
On 12/04/2011 07:55 AM, David wrote:
> Dear all,
>
> I have been using MikTeX 2.8 and has recently upgraded to MikTeX 2.9.
> To ensure my LyX (2.0) runs smoothly I uninstalled that and
> reinstalled the latest version (2.0.2), pointing it to my latest
> MikTex installation. However, when I use it to compile my document
> (Ctrl+R) a message box appears immediately saying that "The directory
> path to the document cannot contain spaces", an error that I have
> never encountered before. Yes I know my directory contains spaces but
> it worked fine before I did all these changes. Moving my file
> somewhere else works, but certainly it will be too troublesome to do
> that every time. Furthermore my directory is something like "D:\My
> Documents\blahblahblah" and I clearly cannot change "My Documents" to
> something else.
>
Actually, you can change it. I don't have Windows machines in my house
any more, but I used to do it routinely on my wife's machine.

> Is there an alternative method that can bypass this problem?
>
It would seem that the configuration script has for some reason decided
MikTeX won't allow spaces. You might try reconfiguring, but then again,
if the configure script failed this test, then there may be an issue.

Windows people may be able to give more advice.

Richard



Re: Keyboard shortcut for cross-reference

2011-12-04 Thread Hal Kierstead
After discovering the LyX Users archive I found the answer:

dialog-show-new-inset ref
which is not hard.

Sorry,

Hal

On Dec 3, 2011, at 4:45 PM, Hal Kierstead wrote:

> I am using LyX 2.02 on Mac 10.6.8.
> 
> How do I make a keyboard shortcut for inserting a cross-reference?  I asked 
> this a year or two ago and got very complicated answer that I have 
> unfortunately lost.  In the mean time I had instead made a keyboard short cut 
> in OS X for the menu item, but this no longer seems to work in LyX 2.02.
> 
> In fact, each time I opened LyX, my old OS X keyboard short cut for the menu 
> item only worked after I first inserted a cross-reference using the mouse, 
> but I tolerated this peculiarity.
> 
> It seems that anything that you can do with a mouse click should be possible 
> from the keyboard.
> 
> Thanks,
> 
> Hal



Compile error: "The directory path to the document cannot contain spaces"

2011-12-04 Thread David
Dear all,

I have been using MikTeX 2.8 and has recently upgraded to MikTeX 2.9. To
 ensure my LyX (2.0) runs smoothly I uninstalled that and reinstalled 
the latest version (2.0.2), pointing it to my latest MikTex 
installation. However, when I use it to compile my document (Ctrl+R) a 
message box appears immediately saying that "The directory path to the 
document cannot contain spaces", an error that I have never encountered 
before. Yes I know my directory contains spaces but it worked fine 
before I did all these changes. Moving my file somewhere else works, but
 certainly it will be too troublesome to do that every time. Furthermore
 my directory is something like "D:\My Documents\blahblahblah" and I 
clearly cannot change "My Documents" to something else.

Is there an alternative method that can bypass this problem?

Thanks,
David