Re: Does Sweave work for LyX 2.13 on Windows 7

2011-09-22 Thread christiaan pauw
Thanks Yihui and Jean-Marc

Sorry for being unclear. I could not add the Sweave Module.

It is fixed now. The reason was indeed that Rscript.exe was not specified in
the PATH .

*So to summarise for future reference: *

If Sweave does not work in LyX (Windows) but does work in R:

See if you can add the Sweave Module.
If not, check that that path to Rscripe.exe is specified in the PATH (under
Tools  Preferences  Paths PATH Prefix).
If not type the in the path to  Rscripe.exe seperated from other entries by
;  for example C:\R\bin\

regards
Christiaan


On 22 September 2011 00:30, Yihui Xie x...@yihui.name wrote:

 What exactly do you mean by does not work? As a first step, can you
 add the Sweave module to a LyX document?

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



 On Wed, Sep 21, 2011 at 8:48 AM, christiaan pauw cjp...@gmail.com wrote:
  Hallo Everybody
  Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have
 tried
  twice on two computers without success. Most recently I have installed R
  (2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is
 paths
  with spaces - as I have gathered that that may cause a problem) as well
 as
  Rtools on Windows 7 but I still could not get it to work. Sweave seems to
  work from R (I can create a pdf for the example files).  From what I have
  read on the web, since LyX 2 Sweave is a module in LyX and should 'just
  work'. I there something I missed? I also have a Mac and there everything
  works without a problem.
  best regards
  Christiaan
 
 



Re: Does Sweave work for LyX 2.13 on Windows 7

2011-09-22 Thread christiaan pauw
Thanks Yihui and Jean-Marc

Sorry for being unclear. I could not add the Sweave Module.

It is fixed now. The reason was indeed that Rscript.exe was not specified in
the PATH .

*So to summarise for future reference: *

If Sweave does not work in LyX (Windows) but does work in R:

See if you can add the Sweave Module.
If not, check that that path to Rscripe.exe is specified in the PATH (under
Tools  Preferences  Paths PATH Prefix).
If not type the in the path to  Rscripe.exe seperated from other entries by
;  for example C:\R\bin\

regards
Christiaan


On 22 September 2011 00:30, Yihui Xie x...@yihui.name wrote:

 What exactly do you mean by does not work? As a first step, can you
 add the Sweave module to a LyX document?

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



 On Wed, Sep 21, 2011 at 8:48 AM, christiaan pauw cjp...@gmail.com wrote:
  Hallo Everybody
  Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have
 tried
  twice on two computers without success. Most recently I have installed R
  (2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is
 paths
  with spaces - as I have gathered that that may cause a problem) as well
 as
  Rtools on Windows 7 but I still could not get it to work. Sweave seems to
  work from R (I can create a pdf for the example files).  From what I have
  read on the web, since LyX 2 Sweave is a module in LyX and should 'just
  work'. I there something I missed? I also have a Mac and there everything
  works without a problem.
  best regards
  Christiaan
 
 



Re: Does Sweave work for LyX 2.13 on Windows 7

2011-09-22 Thread christiaan pauw
Thanks Yihui and Jean-Marc

Sorry for being unclear. I could not add the Sweave Module.

It is fixed now. The reason was indeed that Rscript.exe was not specified in
the PATH .

*So to summarise for future reference: *

If Sweave does not work in LyX (Windows) but does work in R:

See if you can add the Sweave Module.
If not, check that that path to Rscripe.exe is specified in the PATH (under
Tools > Preferences > Paths >PATH Prefix).
If not type the in the path to  Rscripe.exe seperated from other entries by
;  for example "C:\R\bin\"

regards
Christiaan


On 22 September 2011 00:30, Yihui Xie <x...@yihui.name> wrote:

> What exactly do you mean by "does not work"? As a first step, can you
> add the Sweave module to a LyX document?
>
> Regards,
> Yihui
> --
> Yihui Xie <xieyi...@gmail.com>
> Phone: 515-294-2465 Web: http://yihui.name
> Department of Statistics, Iowa State University
> 2215 Snedecor Hall, Ames, IA
>
>
>
> On Wed, Sep 21, 2011 at 8:48 AM, christiaan pauw <cjp...@gmail.com> wrote:
> > Hallo Everybody
> > Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have
> tried
> > twice on two computers without success. Most recently I have installed R
> > (2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is
> paths
> > with spaces - as I have gathered that that may cause a problem) as well
> as
> > Rtools on Windows 7 but I still could not get it to work. Sweave seems to
> > work from R (I can create a pdf for the example files).  From what I have
> > read on the web, since LyX 2 Sweave is a module in LyX and should 'just
> > work'. I there something I missed? I also have a Mac and there everything
> > works without a problem.
> > best regards
> > Christiaan
> >
> >
>


Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread christiaan pauw
Hallo Everybody

Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have tried
twice on two computers without success. Most recently I have installed R
(2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is paths
with spaces - as I have gathered that that may cause a problem) as well as
Rtools on Windows 7 but I still could not get it to work. Sweave seems to
work from R (I can create a pdf for the example files).  From what I have
read on the web, since LyX 2 Sweave is a module in LyX and should 'just
work'. I there something I missed? I also have a Mac and there everything
works without a problem.

best regards
Christiaan


Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread christiaan pauw
Hallo Everybody

Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have tried
twice on two computers without success. Most recently I have installed R
(2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is paths
with spaces - as I have gathered that that may cause a problem) as well as
Rtools on Windows 7 but I still could not get it to work. Sweave seems to
work from R (I can create a pdf for the example files).  From what I have
read on the web, since LyX 2 Sweave is a module in LyX and should 'just
work'. I there something I missed? I also have a Mac and there everything
works without a problem.

best regards
Christiaan


Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread christiaan pauw
Hallo Everybody

Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have tried
twice on two computers without success. Most recently I have installed R
(2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is paths
with spaces - as I have gathered that that may cause a problem) as well as
Rtools on Windows 7 but I still could not get it to work. Sweave seems to
work from R (I can create a pdf for the example files).  From what I have
read on the web, since LyX 2 Sweave is a module in LyX and should 'just
work'. I there something I missed? I also have a Mac and there everything
works without a problem.

best regards
Christiaan


Cannot display document pdf but dvi works

2009-06-18 Thread Christiaan Pauw

Hallo everybody

I use LyX 1.6.1 on Mac OS X Leopard

Since yesterday I coundn't generate a pdf for a report that I am  
working on. The error message reads:


/var/folders/ub/ubvWLUkKHf8WAywv5rmtcE+++TI/-Tmp-/lyx_tmpdir.xJL136/ 
lyx_tmpbuf1/bsadan-090615-baselinreport-e.pdf


bsadan-090615-baselinreport-e is the name of my document.

I can generate a pdf form a new document and i can still generate dvi  
(although that doesn't seem to update correctly). The document is in  
report(noweb) class and contains some R (Sweave) scraps - but all that  
works fine


I would appreciate any advice

regards
Christiaan








Cannot display document pdf but dvi works

2009-06-18 Thread Christiaan Pauw

Hallo everybody

I use LyX 1.6.1 on Mac OS X Leopard

Since yesterday I coundn't generate a pdf for a report that I am  
working on. The error message reads:


/var/folders/ub/ubvWLUkKHf8WAywv5rmtcE+++TI/-Tmp-/lyx_tmpdir.xJL136/ 
lyx_tmpbuf1/bsadan-090615-baselinreport-e.pdf


bsadan-090615-baselinreport-e is the name of my document.

I can generate a pdf form a new document and i can still generate dvi  
(although that doesn't seem to update correctly). The document is in  
report(noweb) class and contains some R (Sweave) scraps - but all that  
works fine


I would appreciate any advice

regards
Christiaan








Cannot display document pdf but dvi works

2009-06-18 Thread Christiaan Pauw

Hallo everybody

I use LyX 1.6.1 on Mac OS X Leopard

Since yesterday I coundn't generate a pdf for a report that I am  
working on. The error message reads:


/var/folders/ub/ubvWLUkKHf8WAywv5rmtcE+++TI/-Tmp-/lyx_tmpdir.xJL136/ 
lyx_tmpbuf1/bsadan-090615-baselinreport-e.pdf


"bsadan-090615-baselinreport-e" is the name of my document.

I can generate a pdf form a new document and i can still generate dvi  
(although that doesn't seem to update correctly). The document is in  
report(noweb) class and contains some R (Sweave) scraps - but all that  
works fine


I would appreciate any advice

regards
Christiaan








Re: Including LaTeX code produced by Sweave in a LyX document

2009-06-09 Thread christiaan pauw
Answering my own question for the record
To include latex code generated by R through Sweave one has to specify a
filename with a .tex extension save the latex files there. In that way
Sweave doesnt print the tex code in the pdf document by saves it in the
specified place.

 In LyX these tex documents can be included as child documents Insert  File
Child Document
Generate pdf and update the pdf directly afterwards. If you find a errors,
update a few times before looking for something else


2009/2/27 christiaan pauw cjp...@gmail.com

 Hi Everybody
 I started using R with LyX (through Sweave) recently (earlier today
 actually) and can see from here that it has great potential.

 R has functions can generate latex tables which is highly cusomizable. When
 these functions are run using sweave in LyX the do exactly what they are
 supposed to do and generate Latex code. LyX then typesets the verbatim code
 perfectly as in the pdf document. What I want is obviously the table and not
 the latex code that produces the table. When I paste that code into ERT it
 generate the table perfectly. I now want sweave to generate its output
 inside something like ERT

 Is there a way to say to LyX what follows here is LaTeX and it must be
 handled like you include ERT   latex code generated by sweave comes
 here  close ERT-like environment

 regrads
 Christiaan



Re: coloured background in header and margin

2009-06-09 Thread christiaan pauw
That sound promising. How does one make use of such a feature in a article
or report class. Do I have to dig up the tex code in the beamer .sty files
and work them into the article style?

2009/5/25 Paul A. Rubin ru...@msu.edu

 Christiaan Pauw wrote:


 Is it possible to use background colours in a header, footer and margin
 (or part of a each) only. I want to create a layout for a report that looks
 something like this:


 I don't know about odd v. even pages, but the beamer presentation package
 includes styles that use various combinations of colored headers, footers
 and sidebars.

 /Paul




Re: Including LaTeX code produced by Sweave in a LyX document

2009-06-09 Thread christiaan pauw
Answering my own question for the record
To include latex code generated by R through Sweave one has to specify a
filename with a .tex extension save the latex files there. In that way
Sweave doesnt print the tex code in the pdf document by saves it in the
specified place.

 In LyX these tex documents can be included as child documents Insert  File
Child Document
Generate pdf and update the pdf directly afterwards. If you find a errors,
update a few times before looking for something else


2009/2/27 christiaan pauw cjp...@gmail.com

 Hi Everybody
 I started using R with LyX (through Sweave) recently (earlier today
 actually) and can see from here that it has great potential.

 R has functions can generate latex tables which is highly cusomizable. When
 these functions are run using sweave in LyX the do exactly what they are
 supposed to do and generate Latex code. LyX then typesets the verbatim code
 perfectly as in the pdf document. What I want is obviously the table and not
 the latex code that produces the table. When I paste that code into ERT it
 generate the table perfectly. I now want sweave to generate its output
 inside something like ERT

 Is there a way to say to LyX what follows here is LaTeX and it must be
 handled like you include ERT   latex code generated by sweave comes
 here  close ERT-like environment

 regrads
 Christiaan



Re: coloured background in header and margin

2009-06-09 Thread christiaan pauw
That sound promising. How does one make use of such a feature in a article
or report class. Do I have to dig up the tex code in the beamer .sty files
and work them into the article style?

2009/5/25 Paul A. Rubin ru...@msu.edu

 Christiaan Pauw wrote:


 Is it possible to use background colours in a header, footer and margin
 (or part of a each) only. I want to create a layout for a report that looks
 something like this:


 I don't know about odd v. even pages, but the beamer presentation package
 includes styles that use various combinations of colored headers, footers
 and sidebars.

 /Paul




Re: Including LaTeX code produced by Sweave in a LyX document

2009-06-09 Thread christiaan pauw
Answering my own question for the record
To include latex code generated by R through Sweave one has to specify a
filename with a .tex extension save the latex files there. In that way
Sweave doesnt print the tex code in the pdf document by saves it in the
specified place.

 In LyX these tex documents can be included as child documents Insert > File
>Child Document
Generate pdf and update the pdf directly afterwards. If you find a errors,
update a few times before looking for something else


2009/2/27 christiaan pauw <cjp...@gmail.com>

> Hi Everybody
> I started using R with LyX (through Sweave) recently (earlier today
> actually) and can see from here that it has great potential.
>
> R has functions can generate latex tables which is highly cusomizable. When
> these functions are run using sweave in LyX the do exactly what they are
> supposed to do and generate Latex code. LyX then typesets the verbatim code
> perfectly as in the pdf document. What I want is obviously the table and not
> the latex code that produces the table. When I paste that code into ERT it
> generate the table perfectly. I now want sweave to generate its output
> inside something like ERT
>
> Is there a way to say to LyX "what follows here is LaTeX and it must be
> handled like you include ERT"   latex code generated by sweave comes
> here  "close ERT-like environment"
>
> regrads
> Christiaan
>


Re: coloured background in header and margin

2009-06-09 Thread christiaan pauw
That sound promising. How does one make use of such a feature in a article
or report class. Do I have to dig up the tex code in the beamer .sty files
and work them into the article style?

2009/5/25 Paul A. Rubin <ru...@msu.edu>

> Christiaan Pauw wrote:
>
>
>> Is it possible to use background colours in a header, footer and margin
>> (or part of a each) only. I want to create a layout for a report that looks
>> something like this:
>>
>>
> I don't know about odd v. even pages, but the beamer presentation package
> includes styles that use various combinations of colored headers, footers
> and sidebars.
>
> /Paul
>
>


Using named colors

2009-06-03 Thread christiaan pauw
Hi everybody
dvips knows 68 standard colours (see then at h t t p ://
en.wikibooks.org/wiki/LaTeX/Colors#The_68_standard_colors_known_to_dvips )
that have names. Some of them are quite beautiful. How can I use these named
colours is Lyx - for example to define text colours or the shading colour. I
have tried to insert:

\usepackage[usenames,dvipsnames]{color}

\definecolor{shadecolor}{named}{ProcessBlue}


in the preamble but it doesnt work.


If I export the LyX file to LateX and insert the in the first part of the
latex preamble it does work. Is there something extra that I need to do in
Lyx ?


Defning the shadecolor using rgb codes does work: e.g
 \definecolor{shadecolor}{rgb}{0.95,0.1,1} for a purplish colour to use in a
shaded box.  I suppose one could try to find the rgb codes for all those
nice dvips colours, but using the names would be more elegant and easy to
remember.


Incedently: Can I define the colour of a certain type of text (e.g. section
heading) in the preamble?


regards

Christiaan


Using named colors

2009-06-03 Thread christiaan pauw
Hi everybody
dvips knows 68 standard colours (see then at h t t p ://
en.wikibooks.org/wiki/LaTeX/Colors#The_68_standard_colors_known_to_dvips )
that have names. Some of them are quite beautiful. How can I use these named
colours is Lyx - for example to define text colours or the shading colour. I
have tried to insert:

\usepackage[usenames,dvipsnames]{color}

\definecolor{shadecolor}{named}{ProcessBlue}


in the preamble but it doesnt work.


If I export the LyX file to LateX and insert the in the first part of the
latex preamble it does work. Is there something extra that I need to do in
Lyx ?


Defning the shadecolor using rgb codes does work: e.g
 \definecolor{shadecolor}{rgb}{0.95,0.1,1} for a purplish colour to use in a
shaded box.  I suppose one could try to find the rgb codes for all those
nice dvips colours, but using the names would be more elegant and easy to
remember.


Incedently: Can I define the colour of a certain type of text (e.g. section
heading) in the preamble?


regards

Christiaan


Using named colors

2009-06-03 Thread christiaan pauw
Hi everybody
dvips knows 68 standard colours (see then at h t t p ://
en.wikibooks.org/wiki/LaTeX/Colors#The_68_standard_colors_known_to_dvips )
that have names. Some of them are quite beautiful. How can I use these named
colours is Lyx - for example to define text colours or the shading colour. I
have tried to insert:

\usepackage[usenames,dvipsnames]{color}

\definecolor{shadecolor}{named}{ProcessBlue}


in the preamble but it doesnt work.


If I export the LyX file to LateX and insert the in the first part of the
latex preamble it does work. Is there something extra that I need to do in
Lyx ?


Defning the shadecolor using rgb codes does work: e.g
 \definecolor{shadecolor}{rgb}{0.95,0.1,1} for a purplish colour to use in a
shaded box.  I suppose one could try to find the rgb codes for all those
nice dvips colours, but using the names would be more elegant and easy to
remember.


Incedently: Can I define the colour of a certain type of text (e.g. section
heading) in the preamble?


regards

Christiaan


coloured background in header and margin

2009-05-21 Thread Christiaan Pauw

Hi Everybody

Is it possible to use background colours in a header, footer and  
margin (or part of a each) only. I want to create a layout for a  
report that looks something like this:


odd page

|coloured background| Chapterpage# |
|   _|  |
|c  |   |   
|o  |   |
|l  |   |
|o  |   |
|r  |   |
|e  |   |
|d  |   |
|   |   |
|   |   |
|___|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|coloured background footer_ |

even page

|__colored background header|
|   |   
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   ___ |
|   |   |
|   |c  |
|   |o  |
|   |l  |
|   |o  |
|   |r  |
|   |f  |
|   |i  |
||ll__  |
|_page#  Chapter___ __ |

Any ideas?

regards
Christiaan









Christiaan Pauw
Tel   +27 44 6950 942
Mob +27 82 557 4328
www.nova.org.za






coloured background in header and margin

2009-05-21 Thread Christiaan Pauw

Hi Everybody

Is it possible to use background colours in a header, footer and  
margin (or part of a each) only. I want to create a layout for a  
report that looks something like this:


odd page

|coloured background| Chapterpage# |
|   _|  |
|c  |   |   
|o  |   |
|l  |   |
|o  |   |
|r  |   |
|e  |   |
|d  |   |
|   |   |
|   |   |
|___|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|coloured background footer_ |

even page

|__colored background header|
|   |   
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   ___ |
|   |   |
|   |c  |
|   |o  |
|   |l  |
|   |o  |
|   |r  |
|   |f  |
|   |i  |
||ll__  |
|_page#  Chapter___ __ |

Any ideas?

regards
Christiaan









Christiaan Pauw
Tel   +27 44 6950 942
Mob +27 82 557 4328
www.nova.org.za






coloured background in header and margin

2009-05-21 Thread Christiaan Pauw

Hi Everybody

Is it possible to use background colours in a header, footer and  
margin (or part of a each) only. I want to create a layout for a  
report that looks something like this:


odd page

|coloured background| Chapterpage# |
|   _|  |
|c  |   |   
|o  |   |
|l  |   |
|o  |   |
|r  |   |
|e  |   |
|d  |   |
|   |   |
|   |   |
|___|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|coloured background footer_ |

even page

|__colored background header|
|   |   
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   ___ |
|   |   |
|   |c  |
|   |o  |
|   |l  |
|   |o  |
|   |r  |
|   |f  |
|   |i  |
||ll__  |
|_page#  Chapter___ __ |

Any ideas?

regards
Christiaan









Christiaan Pauw
Tel   +27 44 6950 942
Mob +27 82 557 4328
www.nova.org.za






LyX and R: Unable to import data

2009-02-27 Thread christiaan pauw
Hi Everybody
I use R2.8.0 on Mac OS X. I set up LyX 1.6.1 to use Sweave today following
the instructions on the LyX wiki. It seems to work fine. I can compile the
test file I found on CRAN (http://cran.r-project.org/contrib/extra/lyx/)
without a problem and the output looks very nice. In the test file the
following R code is used.

myFirstChunkInLyX=
xObs - 100; xMean - 10; xVar - 9
x - rnorm(n=xObs, mean=xMean, sd=sqrt(xVar))
mean(x)
@

that should be the same as:

xObs - 100
xMean - 10
xVar - 9
x - rnorm(n=xObs, mean=xMean, sd=sqrt(xVar))
mean(x)

in the R console.

My problem is that I want to import data to use in my report. In the R
source I currently use to analyse my data I import it through csv.get(). I
have found that I cannot use csv.get() or write.csv() from within LyX. I
don't seem to be able to use load() to get a .rda file in either. So now I
am stuck because no data equals no report.

Is this issue related to LyX, LaTeX or R?

Thanks in advance
Christiaan


SOLVED: LyX and R: Unable to import data

2009-02-27 Thread christiaan pauw
The answer was that it was a operator (me) problem. The library that enables
get.csv is Hmisc and should have been loaded. thus:

myFirstChunkInLyX=
library(Hmisc)
x=csv.get(file=/Users/christiaanpauw/tmp/x.csv)
mean(x)
@

2009/2/27 christiaan pauw cjp...@gmail.com

 Hi Everybody
 I use R2.8.0 on Mac OS X. I set up LyX 1.6.1 to use Sweave today following
 the instructions on the LyX wiki. It seems to work fine. I can compile the
 test file I found on CRAN (http://cran.r-project.org/contrib/extra/lyx/)
 without a problem and the output looks very nice. In the test file the
 following R code is used.

 myFirstChunkInLyX=
 xObs - 100; xMean - 10; xVar - 9
 x - rnorm(n=xObs, mean=xMean, sd=sqrt(xVar))
 mean(x)
 @

 My problem is that I want to import data to use in my report. In the R
 source I currently use to analyse my data I import it through csv.get(). I
 have found that I cannot use csv.get() or write.csv() from within LyX. I
 don't seem to be able to use load() to get a .rda file in either. So now I
 am stuck because no data equals no report.

 Is this issue related to LyX, LaTeX or R?

 Thanks in advance
 Christiaan




Including LaTeX code produced by Sweave in a LyX document

2009-02-27 Thread christiaan pauw
Hi Everybody
I started using R with LyX (through Sweave) recently (earlier today
actually) and can see from here that it has great potential.

R has functions can generate latex tables which is highly cusomizable. When
these functions are run using sweave in LyX the do exactly what they are
supposed to do and generate Latex code. LyX then typesets the verbatim code
perfectly as in the pdf document. What I want is obviously the table and not
the latex code that produces the table. When I paste that code into ERT it
generate the table perfectly. I now want sweave to generate its output
inside something like ERT

Is there a way to say to LyX what follows here is LaTeX and it must be
handled like you include ERT   latex code generated by sweave comes
here  close ERT-like environment

regrads
Christiaan


LyX and R: Unable to import data

2009-02-27 Thread christiaan pauw
Hi Everybody
I use R2.8.0 on Mac OS X. I set up LyX 1.6.1 to use Sweave today following
the instructions on the LyX wiki. It seems to work fine. I can compile the
test file I found on CRAN (http://cran.r-project.org/contrib/extra/lyx/)
without a problem and the output looks very nice. In the test file the
following R code is used.

myFirstChunkInLyX=
xObs - 100; xMean - 10; xVar - 9
x - rnorm(n=xObs, mean=xMean, sd=sqrt(xVar))
mean(x)
@

that should be the same as:

xObs - 100
xMean - 10
xVar - 9
x - rnorm(n=xObs, mean=xMean, sd=sqrt(xVar))
mean(x)

in the R console.

My problem is that I want to import data to use in my report. In the R
source I currently use to analyse my data I import it through csv.get(). I
have found that I cannot use csv.get() or write.csv() from within LyX. I
don't seem to be able to use load() to get a .rda file in either. So now I
am stuck because no data equals no report.

Is this issue related to LyX, LaTeX or R?

Thanks in advance
Christiaan


SOLVED: LyX and R: Unable to import data

2009-02-27 Thread christiaan pauw
The answer was that it was a operator (me) problem. The library that enables
get.csv is Hmisc and should have been loaded. thus:

myFirstChunkInLyX=
library(Hmisc)
x=csv.get(file=/Users/christiaanpauw/tmp/x.csv)
mean(x)
@

2009/2/27 christiaan pauw cjp...@gmail.com

 Hi Everybody
 I use R2.8.0 on Mac OS X. I set up LyX 1.6.1 to use Sweave today following
 the instructions on the LyX wiki. It seems to work fine. I can compile the
 test file I found on CRAN (http://cran.r-project.org/contrib/extra/lyx/)
 without a problem and the output looks very nice. In the test file the
 following R code is used.

 myFirstChunkInLyX=
 xObs - 100; xMean - 10; xVar - 9
 x - rnorm(n=xObs, mean=xMean, sd=sqrt(xVar))
 mean(x)
 @

 My problem is that I want to import data to use in my report. In the R
 source I currently use to analyse my data I import it through csv.get(). I
 have found that I cannot use csv.get() or write.csv() from within LyX. I
 don't seem to be able to use load() to get a .rda file in either. So now I
 am stuck because no data equals no report.

 Is this issue related to LyX, LaTeX or R?

 Thanks in advance
 Christiaan




Including LaTeX code produced by Sweave in a LyX document

2009-02-27 Thread christiaan pauw
Hi Everybody
I started using R with LyX (through Sweave) recently (earlier today
actually) and can see from here that it has great potential.

R has functions can generate latex tables which is highly cusomizable. When
these functions are run using sweave in LyX the do exactly what they are
supposed to do and generate Latex code. LyX then typesets the verbatim code
perfectly as in the pdf document. What I want is obviously the table and not
the latex code that produces the table. When I paste that code into ERT it
generate the table perfectly. I now want sweave to generate its output
inside something like ERT

Is there a way to say to LyX what follows here is LaTeX and it must be
handled like you include ERT   latex code generated by sweave comes
here  close ERT-like environment

regrads
Christiaan


LyX and R: Unable to import data

2009-02-27 Thread christiaan pauw
Hi Everybody
I use R2.8.0 on Mac OS X. I set up LyX 1.6.1 to use Sweave today following
the instructions on the LyX wiki. It seems to work fine. I can compile the
test file I found on CRAN (http://cran.r-project.org/contrib/extra/lyx/)
without a problem and the output looks very nice. In the test file the
following R code is used.

<>=
xObs <- 100; xMean <- 10; xVar <- 9
x <- rnorm(n=xObs, mean=xMean, sd=sqrt(xVar))
mean(x)
@

that should be the same as:

xObs <- 100
xMean <- 10
xVar <- 9
x <- rnorm(n=xObs, mean=xMean, sd=sqrt(xVar))
mean(x)

in the R console.

My problem is that I want to import data to use in my report. In the R
source I currently use to analyse my data I import it through csv.get(). I
have found that I cannot use csv.get() or write.csv() from within LyX. I
don't seem to be able to use load() to get a .rda file in either. So now I
am stuck because no data equals no report.

Is this issue related to LyX, LaTeX or R?

Thanks in advance
Christiaan


SOLVED: LyX and R: Unable to import data

2009-02-27 Thread christiaan pauw
The answer was that it was a operator (me) problem. The library that enables
get.csv is Hmisc and should have been loaded. thus:

<>=
library(Hmisc)
x=csv.get(file="/Users/christiaanpauw/tmp/x.csv")
mean(x)
@

2009/2/27 christiaan pauw <cjp...@gmail.com>

> Hi Everybody
> I use R2.8.0 on Mac OS X. I set up LyX 1.6.1 to use Sweave today following
> the instructions on the LyX wiki. It seems to work fine. I can compile the
> test file I found on CRAN (http://cran.r-project.org/contrib/extra/lyx/)
> without a problem and the output looks very nice. In the test file the
> following R code is used.
>
> <>=
> xObs <- 100; xMean <- 10; xVar <- 9
> x <- rnorm(n=xObs, mean=xMean, sd=sqrt(xVar))
> mean(x)
> @
>
> My problem is that I want to import data to use in my report. In the R
> source I currently use to analyse my data I import it through csv.get(). I
> have found that I cannot use csv.get() or write.csv() from within LyX. I
> don't seem to be able to use load() to get a .rda file in either. So now I
> am stuck because no data equals no report.
>
> Is this issue related to LyX, LaTeX or R?
>
> Thanks in advance
> Christiaan
>
>


Including LaTeX code produced by Sweave in a LyX document

2009-02-27 Thread christiaan pauw
Hi Everybody
I started using R with LyX (through Sweave) recently (earlier today
actually) and can see from here that it has great potential.

R has functions can generate latex tables which is highly cusomizable. When
these functions are run using sweave in LyX the do exactly what they are
supposed to do and generate Latex code. LyX then typesets the verbatim code
perfectly as in the pdf document. What I want is obviously the table and not
the latex code that produces the table. When I paste that code into ERT it
generate the table perfectly. I now want sweave to generate its output
inside something like ERT

Is there a way to say to LyX "what follows here is LaTeX and it must be
handled like you include ERT"   latex code generated by sweave comes
here  "close ERT-like environment"

regrads
Christiaan


Re: Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-20 Thread christiaan pauw
Hi
It returns

./rotfloat.sty

Does that mean anything?

regards
Christiaan

2009/2/18 Juergen Spitzmueller j.spitzmuel...@gmx.de

 christiaan pauw wrote:

  I can see rotfloat.sty in the list of styles under ToolTex Information.

 what does kpsewhich rotfloat.sty return?

 Jürgen




 Hi

 I recently upgraded to 1.6.1. I have a document with a number of tables in
 floats rotated sideways. It used to work fine in LyX1.5.  Now I cannot
 produce pdf output anymore. The error message reads

 LaTeX Error: File `rotfloat.sty' not found. I cannot find a way to
 update packages with texlive (and TeXShop) in Mac OS X like one does with
 MikTex on Windows so  I searched the internet and manually copied rotfloat.sty
 to:   /usr/local/texlive/2007basic/texmf-dist/tex/latex/rotfloat/rotfloat
 .sty


 I can see rotfloat.sty in the list of styles under ToolTex Information.



Re: Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-20 Thread christiaan pauw
Indeed!
texhash in users mode doesn't work but it does work in administrator mode
(I used sudo). After running texhash in administrator  mode kpsewhich
returns ./rotfloat.sty from anywhere and not just from the directory in
which the file is located. I tried my LyX document and it worked.

Thanks a lot for your help

regards
Christiaan

2009/2/20 Juergen Spitzmueller j.spitzmuel...@gmx.de

 christiaan pauw wrote:

  It returns
 
  ./rotfloat.sty

 Does it help if you run texhash (in administrator mode)?

 Jürgen




Re: Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-20 Thread christiaan pauw
Hi
It returns

./rotfloat.sty

Does that mean anything?

regards
Christiaan

2009/2/18 Juergen Spitzmueller j.spitzmuel...@gmx.de

 christiaan pauw wrote:

  I can see rotfloat.sty in the list of styles under ToolTex Information.

 what does kpsewhich rotfloat.sty return?

 Jürgen




 Hi

 I recently upgraded to 1.6.1. I have a document with a number of tables in
 floats rotated sideways. It used to work fine in LyX1.5.  Now I cannot
 produce pdf output anymore. The error message reads

 LaTeX Error: File `rotfloat.sty' not found. I cannot find a way to
 update packages with texlive (and TeXShop) in Mac OS X like one does with
 MikTex on Windows so  I searched the internet and manually copied rotfloat.sty
 to:   /usr/local/texlive/2007basic/texmf-dist/tex/latex/rotfloat/rotfloat
 .sty


 I can see rotfloat.sty in the list of styles under ToolTex Information.



Re: Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-20 Thread christiaan pauw
Indeed!
texhash in users mode doesn't work but it does work in administrator mode
(I used sudo). After running texhash in administrator  mode kpsewhich
returns ./rotfloat.sty from anywhere and not just from the directory in
which the file is located. I tried my LyX document and it worked.

Thanks a lot for your help

regards
Christiaan

2009/2/20 Juergen Spitzmueller j.spitzmuel...@gmx.de

 christiaan pauw wrote:

  It returns
 
  ./rotfloat.sty

 Does it help if you run texhash (in administrator mode)?

 Jürgen




Re: Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-20 Thread christiaan pauw
Hi
It returns

./rotfloat.sty

Does that mean anything?

regards
Christiaan

2009/2/18 Juergen Spitzmueller <j.spitzmuel...@gmx.de>

> christiaan pauw wrote:
>
> > I can see rotfloat.sty in the list of styles under Tool>Tex Information.
>
> what does "kpsewhich rotfloat.sty" return?
>
> Jürgen



>
> Hi
>>
> I recently upgraded to 1.6.1. I have a document with a number of tables in
> floats rotated sideways. It used to work fine in LyX1.5.  Now I cannot
> produce pdf output anymore. The error message reads
>
> "LaTeX Error: File `rotfloat.sty' not found." I cannot find a way to
> update packages with texlive (and TeXShop) in Mac OS X like one does with
> MikTex on Windows so  I searched the internet and manually copied rotfloat.sty
> to:   /usr/local/texlive/2007basic/texmf-dist/tex/latex/rotfloat/rotfloat
> .sty
>
>
> I can see rotfloat.sty in the list of styles under Tool>Tex Information.
>


Re: Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-20 Thread christiaan pauw
Indeed!
"texhash" in users mode doesn't work but it does work in administrator mode
(I used sudo). After running "texhash" in administrator  mode "kpsewhich"
returns ./rotfloat.sty from anywhere and not just from the directory in
which the file is located. I tried my LyX document and it worked.

Thanks a lot for your help

regards
Christiaan

2009/2/20 Juergen Spitzmueller <j.spitzmuel...@gmx.de>

> christiaan pauw wrote:
>
> > It returns
> >
> > ./rotfloat.sty
>
> Does it help if you run "texhash" (in administrator mode)?
>
> Jürgen
>
>


Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-18 Thread christiaan pauw
Hi Everybody
I recently upgraded to 1.6.1. I have a document with a number of tables in
floats rotated sideways. It used to work fine in LyX 1.5.  Now I cannot
produce pdf output anymore. The error message reads
LaTeX Error: File `rotfloat.sty' not found. I cannot find a way to update
packages with texlive (and TeXShop) in Mac OS X like one does with MikTex on
Windows so  I searched the internet and manually copied rotfloat.sty to:
  /usr/local/texlive/2007basic/texmf-dist/tex/latex/rotfloat/rotfloat.sty

I can see rotfloat.sty in the list of styles under ToolTex Information.

Below is the bit if the LaTeX log that looks relevant

Regards
Christiaan
_

) (/usr/local/texlive/2007basic/texmf-dist/tex/latex/float/float.sty

Package: float 2001/11/08 v1.3d Float enhancements (AL)

\...@float@type=\count93

\fl...@exts=\toks18

\fl...@box=\box30

\...@float@everytoks=\toks19

\...@floatcapt=\box31

)

! LaTeX Error: File `rotfloat.sty' not found.

Type X to quit or RETURN to proceed,

or enter new name. (Default extension: sty)

Enter file name:

! Emergency stop.

read *

 l.17 \usepackage

{graphicx}^^M

*** (cannot \read from terminal in nonstop modes)


Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-18 Thread christiaan pauw
Hi Everybody
I recently upgraded to 1.6.1. I have a document with a number of tables in
floats rotated sideways. It used to work fine in LyX 1.5.  Now I cannot
produce pdf output anymore. The error message reads
LaTeX Error: File `rotfloat.sty' not found. I cannot find a way to update
packages with texlive (and TeXShop) in Mac OS X like one does with MikTex on
Windows so  I searched the internet and manually copied rotfloat.sty to:
  /usr/local/texlive/2007basic/texmf-dist/tex/latex/rotfloat/rotfloat.sty

I can see rotfloat.sty in the list of styles under ToolTex Information.

Below is the bit if the LaTeX log that looks relevant

Regards
Christiaan
_

) (/usr/local/texlive/2007basic/texmf-dist/tex/latex/float/float.sty

Package: float 2001/11/08 v1.3d Float enhancements (AL)

\...@float@type=\count93

\fl...@exts=\toks18

\fl...@box=\box30

\...@float@everytoks=\toks19

\...@floatcapt=\box31

)

! LaTeX Error: File `rotfloat.sty' not found.

Type X to quit or RETURN to proceed,

or enter new name. (Default extension: sty)

Enter file name:

! Emergency stop.

read *

 l.17 \usepackage

{graphicx}^^M

*** (cannot \read from terminal in nonstop modes)


Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-18 Thread christiaan pauw
Hi Everybody
I recently upgraded to 1.6.1. I have a document with a number of tables in
floats rotated sideways. It used to work fine in LyX 1.5.  Now I cannot
produce pdf output anymore. The error message reads
"LaTeX Error: File `rotfloat.sty' not found." I cannot find a way to update
packages with texlive (and TeXShop) in Mac OS X like one does with MikTex on
Windows so  I searched the internet and manually copied rotfloat.sty to:
  /usr/local/texlive/2007basic/texmf-dist/tex/latex/rotfloat/rotfloat.sty

I can see rotfloat.sty in the list of styles under Tool>Tex Information.

Below is the bit if the LaTeX log that looks relevant

Regards
Christiaan
_

) (/usr/local/texlive/2007basic/texmf-dist/tex/latex/float/float.sty

Package: float 2001/11/08 v1.3d Float enhancements (AL)

\...@float@type=\count93

\fl...@exts=\toks18

\fl...@box=\box30

\...@float@everytoks=\toks19

\...@floatcapt=\box31

)

! LaTeX Error: File `rotfloat.sty' not found.

Type X to quit or  to proceed,

or enter new name. (Default extension: sty)

Enter file name:

! Emergency stop.



 l.17 \usepackage

{graphicx}^^M

*** (cannot \read from terminal in nonstop modes)


graphic in fancy header causes crash with ps2pdf

2009-02-06 Thread christiaan pauw
Hallo Everybody
I use LyX 1.6.1 on Mac OS X

I have a report with fancy header and a logo in the header. It compiles very
well with pdflatex but cannot compile with ps2pdf

here is part of my preamble

\usepackage{graphics}

\usepackage{fancyhdr}

\pagestyle{fancy}

\lhead{Report page heading}

\chead{}

\rhead{\resizebox{2cm}{!}{\includegraphics{/Users/christiaanpauw/Pictures/logo.png}}}


The error message reads:

LaTeX Error: Cannot determine size of graphic in
/Users/christiaanpauw/Pictures/logo.png (no BoundingBox)


does anyone know why this happens?


regards

Christiaan


Re: graphic in fancy header causes crash with ps2pdf

2009-02-06 Thread christiaan pauw
2009/2/6 Uwe Stöhr uwesto...@web.de

 christiaan pauw schrieb:


 \rhead{\resizebox{2cm}{!}{\includegraphics{/Users/christiaanpauw/Pictures/logo.png}}}
 The error message reads:
 LaTeX Error: Cannot determine size of graphic in
 /Users/christiaanpauw/Pictures/logo.png (no BoundingBox)


 This is no crash.

Sorry, sloppy terminology on my side.


 You used ps2pdf, that means that first a Postscript file is generated, and
 that can only contain EPS images. So it should work when you use pdflatex
 instead of ps2pdf, or when you use an EPS image.


Thanks, I'll try using a eps image. The reason I used ps2pdf is because the
resulting pdf file is much smaller (the pdflatex  file is 27M for a 50 page
document). Why is there such a big difference between the size of the pdf
files?

Thanks again for helping

regards
Christiaan


graphic in fancy header causes crash with ps2pdf

2009-02-06 Thread christiaan pauw
Hallo Everybody
I use LyX 1.6.1 on Mac OS X

I have a report with fancy header and a logo in the header. It compiles very
well with pdflatex but cannot compile with ps2pdf

here is part of my preamble

\usepackage{graphics}

\usepackage{fancyhdr}

\pagestyle{fancy}

\lhead{Report page heading}

\chead{}

\rhead{\resizebox{2cm}{!}{\includegraphics{/Users/christiaanpauw/Pictures/logo.png}}}


The error message reads:

LaTeX Error: Cannot determine size of graphic in
/Users/christiaanpauw/Pictures/logo.png (no BoundingBox)


does anyone know why this happens?


regards

Christiaan


Re: graphic in fancy header causes crash with ps2pdf

2009-02-06 Thread christiaan pauw
2009/2/6 Uwe Stöhr uwesto...@web.de

 christiaan pauw schrieb:


 \rhead{\resizebox{2cm}{!}{\includegraphics{/Users/christiaanpauw/Pictures/logo.png}}}
 The error message reads:
 LaTeX Error: Cannot determine size of graphic in
 /Users/christiaanpauw/Pictures/logo.png (no BoundingBox)


 This is no crash.

Sorry, sloppy terminology on my side.


 You used ps2pdf, that means that first a Postscript file is generated, and
 that can only contain EPS images. So it should work when you use pdflatex
 instead of ps2pdf, or when you use an EPS image.


Thanks, I'll try using a eps image. The reason I used ps2pdf is because the
resulting pdf file is much smaller (the pdflatex  file is 27M for a 50 page
document). Why is there such a big difference between the size of the pdf
files?

Thanks again for helping

regards
Christiaan


graphic in fancy header causes crash with ps2pdf

2009-02-06 Thread christiaan pauw
Hallo Everybody
I use LyX 1.6.1 on Mac OS X

I have a report with fancy header and a logo in the header. It compiles very
well with pdflatex but cannot compile with ps2pdf

here is part of my preamble

\usepackage{graphics}

\usepackage{fancyhdr}

\pagestyle{fancy}

\lhead{Report page heading}

\chead{}

\rhead{\resizebox{2cm}{!}{\includegraphics{/Users/christiaanpauw/Pictures/logo.png}}}


The error message reads:

LaTeX Error: Cannot determine size of graphic in
/Users/christiaanpauw/Pictures/logo.png (no BoundingBox)


does anyone know why this happens?


regards

Christiaan


Re: graphic in fancy header causes crash with ps2pdf

2009-02-06 Thread christiaan pauw
2009/2/6 Uwe Stöhr <uwesto...@web.de>

> christiaan pauw schrieb:
>
>>
>> \rhead{\resizebox{2cm}{!}{\includegraphics{/Users/christiaanpauw/Pictures/logo.png}}}
>> The error message reads:
>> LaTeX Error: Cannot determine size of graphic in
>> /Users/christiaanpauw/Pictures/logo.png (no BoundingBox)
>>
>
> This is no crash.

Sorry, sloppy terminology on my side.


> You used ps2pdf, that means that first a Postscript file is generated, and
> that can only contain EPS images. So it should work when you use pdflatex
> instead of ps2pdf, or when you use an EPS image.
>

Thanks, I'll try using a eps image. The reason I used ps2pdf is because the
resulting pdf file is much smaller (the pdflatex  file is 27M for a 50 page
document). Why is there such a big difference between the size of the pdf
files?

Thanks again for helping

regards
Christiaan


Full colour book

2008-09-12 Thread christiaan pauw
Hi Everybody
I have written a large technical report with LyX and now the project sponsor
wants to publish it as a book. The format they are thinking about should be
very visual with a lot of photos as backdrop to the pages and things like
that.
I have approached a publisher that wants to do it in some DTP program. They
see all my beautiful LateX as an obstacle. They are going to be very
expensive (for example $3000 for indexing). Does anyone have experience or
examples of an more popular  eye candy approach to publishing with
LyX/LaTeX.

kind regards
Christiaan


Full colour book

2008-09-12 Thread christiaan pauw
Hi Everybody
I have written a large technical report with LyX and now the project sponsor
wants to publish it as a book. The format they are thinking about should be
very visual with a lot of photos as backdrop to the pages and things like
that.
I have approached a publisher that wants to do it in some DTP program. They
see all my beautiful LateX as an obstacle. They are going to be very
expensive (for example $3000 for indexing). Does anyone have experience or
examples of an more popular  eye candy approach to publishing with
LyX/LaTeX.

kind regards
Christiaan


Full colour book

2008-09-12 Thread christiaan pauw
Hi Everybody
I have written a large technical report with LyX and now the project sponsor
wants to publish it as a book. The format they are thinking about should be
very visual with a lot of photos as backdrop to the pages and things like
that.
I have approached a publisher that wants to do it in some DTP program. They
see all my beautiful LateX as an obstacle. They are going to be very
expensive (for example $3000 for indexing). Does anyone have experience or
examples of an more popular  "eye candy" approach to publishing with
LyX/LaTeX.

kind regards
Christiaan


font problems on mac

2008-08-21 Thread christiaan pauw
Hi everybody
Lyx 1.5.4 on Mac OS X leopard

I have a tex file that i cannot import into lyx because of what seems to be
a font problem. The error message is:

Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not
found

Does anyone know how to fix than on Mac?

regards
Christiaan


Re: font problems on mac

2008-08-21 Thread christiaan pauw


 christiaan pauw wrote:



 I have a tex file that i cannot import into lyx because of what seems to be
 a font problem. The error message is:
 Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not
 found




  Konrad Hofbauer to lyx-users, lyx-users
 Does the tex-file compile without latex (i.e. using latex myfile or
 pdflatex myfile in Terminal)? If not, then it is not a LyX problem.

 In any case, try to delete any font-related packages from the preamble.


Thanks Konrad, I removed \RequirePackage{times} from the preamble and it
worked in TeXshop but Lyx is still not able to import the file -which is
basically a table with a heading- correctly. The Lyx import is a page full
of ERT. If i try to compile it, it gives an error message like

Misplaced \omit.' with the rest of the message
 \ \multicolumn{1}{|S{Header}{c}|}{year} \ \multicolumn{1}{|S{Header}...
I expect to see \omit only after tab marks or the \cr of an alignment.
Proceed, and I'll ignore this case.

I think it has something to do with the array package

Does anyone have an idea

regards
Christiaan









 /Konrad




Trouble importing latex file in Lyx

2008-08-21 Thread christiaan pauw
Hi everybody
Lyx 1.5.4 on Mac OS X leopard, Texshop 2.14

I have a latex file which is an export from SAS which is basically huge
collection of tables that I need to use in a report which i write in Lyx. I
want to import the tables into the Lyx document. The TeX document compiles
nicely in Texshop (thanks to earlier help from Konrad on this list) and
gives a good quality pdf output. When i use Lyx's import function no table
is imported but only a series of ERT blocks with a lot of  s in between
(not in ERT for some reason). The stuf in the ERT look like this
\multicolumn{1}{|S{Data}{r}|}{1107.89}. This is the individual cell
content. At the beginning of each line there is a \hline and at the end of a
row there is a forced linebreak.

The file doesn't compile and gives the error message Misplaced \omit. and
.n{sastable}{[}c]{}\hline \multicolumn {1}{|S{Header}{c}|}{Obs}
I expect to see \omit only after tab marks or the \cr of an alignment.
Proceed, and I'll ignore this case.

Is there any hope to ever use this tex file in Lyx or do i have to do my
whole lyx document in Texshop?

regards
Christiaan


Re: Floating Table Objects Error

2008-08-21 Thread christiaan pauw
Hi Nico I Think the reason is that you have inserted the float inside a
subsection heading or something marked as such. You should cut is out and
press enter, make use the format type is standard and insert it. I should
work then.

regards
Christiaan

2008/8/21 Nico [EMAIL PROTECTED]

 Hello,

 I can't insert tables as floating Table objects. If I do so, there appears
 following error:

 ...subsection}

 The control sequence at the end of the top line

 of your error message was never \def'ed. If you have

 misspelled it (e.g., `\hobx'), type `I' and the correct

 spelling (e.g., `I\hbox'). Otherwise just continue,

 and I'll forget about whatever was undefined.


 This error appears much later in the document and if I cancel the floating
 object, the error message is gone and the pdf is generated. Does s.o. know
 the reason for this error?

 regards

 Nico



font problems on mac

2008-08-21 Thread christiaan pauw
Hi everybody
Lyx 1.5.4 on Mac OS X leopard

I have a tex file that i cannot import into lyx because of what seems to be
a font problem. The error message is:

Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not
found

Does anyone know how to fix than on Mac?

regards
Christiaan


Re: font problems on mac

2008-08-21 Thread christiaan pauw


 christiaan pauw wrote:



 I have a tex file that i cannot import into lyx because of what seems to be
 a font problem. The error message is:
 Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not
 found




  Konrad Hofbauer to lyx-users, lyx-users
 Does the tex-file compile without latex (i.e. using latex myfile or
 pdflatex myfile in Terminal)? If not, then it is not a LyX problem.

 In any case, try to delete any font-related packages from the preamble.


Thanks Konrad, I removed \RequirePackage{times} from the preamble and it
worked in TeXshop but Lyx is still not able to import the file -which is
basically a table with a heading- correctly. The Lyx import is a page full
of ERT. If i try to compile it, it gives an error message like

Misplaced \omit.' with the rest of the message
 \ \multicolumn{1}{|S{Header}{c}|}{year} \ \multicolumn{1}{|S{Header}...
I expect to see \omit only after tab marks or the \cr of an alignment.
Proceed, and I'll ignore this case.

I think it has something to do with the array package

Does anyone have an idea

regards
Christiaan









 /Konrad




Trouble importing latex file in Lyx

2008-08-21 Thread christiaan pauw
Hi everybody
Lyx 1.5.4 on Mac OS X leopard, Texshop 2.14

I have a latex file which is an export from SAS which is basically huge
collection of tables that I need to use in a report which i write in Lyx. I
want to import the tables into the Lyx document. The TeX document compiles
nicely in Texshop (thanks to earlier help from Konrad on this list) and
gives a good quality pdf output. When i use Lyx's import function no table
is imported but only a series of ERT blocks with a lot of  s in between
(not in ERT for some reason). The stuf in the ERT look like this
\multicolumn{1}{|S{Data}{r}|}{1107.89}. This is the individual cell
content. At the beginning of each line there is a \hline and at the end of a
row there is a forced linebreak.

The file doesn't compile and gives the error message Misplaced \omit. and
.n{sastable}{[}c]{}\hline \multicolumn {1}{|S{Header}{c}|}{Obs}
I expect to see \omit only after tab marks or the \cr of an alignment.
Proceed, and I'll ignore this case.

Is there any hope to ever use this tex file in Lyx or do i have to do my
whole lyx document in Texshop?

regards
Christiaan


Re: Floating Table Objects Error

2008-08-21 Thread christiaan pauw
Hi Nico I Think the reason is that you have inserted the float inside a
subsection heading or something marked as such. You should cut is out and
press enter, make use the format type is standard and insert it. I should
work then.

regards
Christiaan

2008/8/21 Nico [EMAIL PROTECTED]

 Hello,

 I can't insert tables as floating Table objects. If I do so, there appears
 following error:

 ...subsection}

 The control sequence at the end of the top line

 of your error message was never \def'ed. If you have

 misspelled it (e.g., `\hobx'), type `I' and the correct

 spelling (e.g., `I\hbox'). Otherwise just continue,

 and I'll forget about whatever was undefined.


 This error appears much later in the document and if I cancel the floating
 object, the error message is gone and the pdf is generated. Does s.o. know
 the reason for this error?

 regards

 Nico



font problems on mac

2008-08-21 Thread christiaan pauw
Hi everybody
Lyx 1.5.4 on Mac OS X leopard

I have a tex file that i cannot import into lyx because of what seems to be
a font problem. The error message is:

Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not
found

Does anyone know how to fix than on Mac?

regards
Christiaan


Re: font problems on mac

2008-08-21 Thread christiaan pauw
>
>
> christiaan pauw wrote:
>
>

> I have a tex file that i cannot import into lyx because of what seems to be
>> a font problem. The error message is:
>> Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not
>> found
>
>

>
>>  Konrad Hofbauer to lyx-users, lyx-users
> Does the tex-file compile without latex (i.e. using "latex myfile" or
> "pdflatex myfile" in Terminal)? If not, then it is not a LyX problem.
>
> In any case, try to delete any font-related packages from the preamble.


Thanks Konrad, I removed \RequirePackage{times} from the preamble and it
worked in TeXshop but Lyx is still not able to import the file -which is
basically a table with a heading- correctly. The Lyx import is a page full
of ERT. If i try to compile it, it gives an error message like

"Misplaced \omit.' with the rest of the message
" \& \multicolumn{1}{|S{Header}{c}|}{year} \& \multicolumn{1}{|S{Header}...
I expect to see \omit only after tab marks or the \cr of an alignment.
Proceed, and I'll ignore this case."

I think it has something to do with the array package

Does anyone have an idea

regards
Christiaan







>
>
> /Konrad
>
>


Trouble importing latex file in Lyx

2008-08-21 Thread christiaan pauw
Hi everybody
Lyx 1.5.4 on Mac OS X leopard, Texshop 2.14

I have a latex file which is an export from SAS which is basically huge
collection of tables that I need to use in a report which i write in Lyx. I
want to import the tables into the Lyx document. The TeX document compiles
nicely in Texshop (thanks to earlier help from Konrad on this list) and
gives a good quality pdf output. When i use Lyx's import function no table
is imported but only a series of ERT blocks with a lot of & s in between
(not in ERT for some reason). The stuf in the ERT look like this
"\multicolumn{1}{|S{Data}{r}|}{1107.89}". This is the individual cell
content. At the beginning of each line there is a \hline and at the end of a
row there is a forced linebreak.

The file doesn't compile and gives the error message "Misplaced \omit." and
".n{sastable}{[}c]{}\hline \multicolumn {1}{|S{Header}{c}|}{Obs}
I expect to see \omit only after tab marks or the \cr of an alignment.
Proceed, and I'll ignore this case."

Is there any hope to ever use this tex file in Lyx or do i have to do my
whole lyx document in Texshop?

regards
Christiaan


Re: Floating Table Objects Error

2008-08-21 Thread christiaan pauw
Hi Nico I Think the reason is that you have inserted the float inside a
subsection heading or something marked as such. You should cut is out and
press enter, make use the format type is "standard" and insert it. I should
work then.

regards
Christiaan

2008/8/21 Nico <[EMAIL PROTECTED]>

> Hello,
>
> I can't insert tables as floating Table objects. If I do so, there appears
> following error:
>
> ...subsection}
>
> The control sequence at the end of the top line
>
> of your error message was never \def'ed. If you have
>
> misspelled it (e.g., `\hobx'), type `I' and the correct
>
> spelling (e.g., `I\hbox'). Otherwise just continue,
>
> and I'll forget about whatever was undefined.
>
>
> This error appears much later in the document and if I cancel the floating
> object, the error message is gone and the pdf is generated. Does s.o. know
> the reason for this error?
>
> regards
>
> Nico
>


Uncompilable output due to bibtex fault

2008-04-28 Thread christiaan pauw
Hi Everybody

I use Lyx 1.5.3 of Mac OS X leapard with TexShop 2.14

I have a problem with a document that has an bibtex bibliogoraphy that
cannot compile in anything but plain.bst
When I use plain.bst as the style it give (author?) for the author but at
leasts gives a bibliography at the end

When I try to use natbib or apsrmp the document cannot compile at all.
The error message says misplaced alignment tab charachter 

Is there possibly a fault in my .bib file. (like a misplaced ). How does
one check a .bib file for errors on Mac OS X ?

thanks in advance
regards
Christiaan


Uncompilable output due to bibtex fault

2008-04-28 Thread christiaan pauw
Hi Everybody

I use Lyx 1.5.3 of Mac OS X leapard with TexShop 2.14

I have a problem with a document that has an bibtex bibliogoraphy that
cannot compile in anything but plain.bst
When I use plain.bst as the style it give (author?) for the author but at
leasts gives a bibliography at the end

When I try to use natbib or apsrmp the document cannot compile at all.
The error message says misplaced alignment tab charachter 

Is there possibly a fault in my .bib file. (like a misplaced ). How does
one check a .bib file for errors on Mac OS X ?

thanks in advance
regards
Christiaan


Uncompilable output due to bibtex fault

2008-04-28 Thread christiaan pauw
Hi Everybody

I use Lyx 1.5.3 of Mac OS X leapard with TexShop 2.14

I have a problem with a document that has an bibtex bibliogoraphy that
cannot compile in anything but plain.bst
When I use plain.bst as the style it give (author?) for the author but at
leasts gives a bibliography at the end

When I try to use natbib or apsrmp the document cannot compile at all.
The error message says "misplaced alignment tab charachter &"

Is there possibly a fault in my .bib file. (like a misplaced "&"). How does
one check a .bib file for errors on Mac OS X ?

thanks in advance
regards
Christiaan


Uncompilable file

2008-04-01 Thread Christiaan Pauw

Hallo Everybody

I'm in deep trouble. I have a file (a report due yesterday) that I  
cannot compile. I use LyX 1.5.4 on Mac OS X with TeXlive-2007-basic .  
The problem seems to be related to a inline formula


I exported the file to Latex and this is what the offending line looks  
like:


more than 30~000 \textgreek{m}g/m{\small 3} during stove use (several  
times the US-EPA 24-hour ambient standard of 150 \textgreek{m}g/m 
$^{3}$ for PM$_{10}$ {[}particulate matter with a diameter of less  
than 10 \textmu{}m]


The error message is:

Font LGR/cmr/m/n/9=grmn0900 at 9.0pt not loadable: Metric (TFM) file  
not found


 ...ween 300 to more than 30~000 \textgreek{m}
  g/cubic
I wasn't able to read the size data for this font, so I will ignore  
the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try  
inserting a different font spec; e.g., type `I\fontsame font  
id=substitute font name'



Does anyone understand what this means or how i can fix it?

thanks in advance

Christiaan







Re: Uncompilable file

2008-04-01 Thread christiaan pauw
Thanks Jürgen, it worked
Incidentally, How does M-x work. Is M some special key that you hold down.
I have a macbook, so I have fn,ctrl, alt and cmd -is it one of them?

Thanks again for saving my day

regard
Christiaan

On 01/04/2008, Jürgen Spitzmüller [EMAIL PROTECTED] wrote:

 Christiaan Pauw wrote:
  Does anyone understand what this means or how i can fix it?


 Yes. Since you're using a Greek µ (mu) character, LyX is switching to
 greek
 encoding, but you do not have the appropriate Greek fonts installed.

 One solution (apart from installing this font) is, as Bennett pointed out,
 to
 switch to math mode.

 Another one is to use the correct symbol MICRO SIGN instead of the
 (similar-looking) GREEK SMALL LETTER MU. You can insert the correct
 symbol
 in LyX by the sequence M-x unicode-insert 0x00b5 (where M-x opens
 the mini-buffer). Or just copy it from here: µ.

 If you use such units a lot, you might consider using a special package,
 such
 as SIunits.


 Jürgen



Uncompilable file

2008-04-01 Thread Christiaan Pauw

Hallo Everybody

I'm in deep trouble. I have a file (a report due yesterday) that I  
cannot compile. I use LyX 1.5.4 on Mac OS X with TeXlive-2007-basic .  
The problem seems to be related to a inline formula


I exported the file to Latex and this is what the offending line looks  
like:


more than 30~000 \textgreek{m}g/m{\small 3} during stove use (several  
times the US-EPA 24-hour ambient standard of 150 \textgreek{m}g/m 
$^{3}$ for PM$_{10}$ {[}particulate matter with a diameter of less  
than 10 \textmu{}m]


The error message is:

Font LGR/cmr/m/n/9=grmn0900 at 9.0pt not loadable: Metric (TFM) file  
not found


 ...ween 300 to more than 30~000 \textgreek{m}
  g/cubic
I wasn't able to read the size data for this font, so I will ignore  
the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try  
inserting a different font spec; e.g., type `I\fontsame font  
id=substitute font name'



Does anyone understand what this means or how i can fix it?

thanks in advance

Christiaan







Re: Uncompilable file

2008-04-01 Thread christiaan pauw
Thanks Jürgen, it worked
Incidentally, How does M-x work. Is M some special key that you hold down.
I have a macbook, so I have fn,ctrl, alt and cmd -is it one of them?

Thanks again for saving my day

regard
Christiaan

On 01/04/2008, Jürgen Spitzmüller [EMAIL PROTECTED] wrote:

 Christiaan Pauw wrote:
  Does anyone understand what this means or how i can fix it?


 Yes. Since you're using a Greek µ (mu) character, LyX is switching to
 greek
 encoding, but you do not have the appropriate Greek fonts installed.

 One solution (apart from installing this font) is, as Bennett pointed out,
 to
 switch to math mode.

 Another one is to use the correct symbol MICRO SIGN instead of the
 (similar-looking) GREEK SMALL LETTER MU. You can insert the correct
 symbol
 in LyX by the sequence M-x unicode-insert 0x00b5 (where M-x opens
 the mini-buffer). Or just copy it from here: µ.

 If you use such units a lot, you might consider using a special package,
 such
 as SIunits.


 Jürgen



Uncompilable file

2008-04-01 Thread Christiaan Pauw

Hallo Everybody

I'm in deep trouble. I have a file (a report due yesterday) that I  
cannot compile. I use LyX 1.5.4 on Mac OS X with TeXlive-2007-basic .  
The problem seems to be related to a inline formula


I exported the file to Latex and this is what the offending line looks  
like:


more than 30~000 \textgreek{m}g/m{\small 3} during stove use (several  
times the US-EPA 24-hour ambient standard of 150 \textgreek{m}g/m 
$^{3}$ for PM$_{10}$ {[}particulate matter with a diameter of less  
than 10 \textmu{}m]


The error message is:

Font LGR/cmr/m/n/9=grmn0900 at 9.0pt not loadable: Metric (TFM) file  
not found


 ...ween 300 to more than 30~000 \textgreek{m}
  g/cubic
I wasn't able to read the size data for this font, so I will ignore  
the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try  
inserting a different font spec; e.g., type `I\fontid>='



Does anyone understand what this means or how i can fix it?

thanks in advance

Christiaan







Re: Uncompilable file

2008-04-01 Thread christiaan pauw
Thanks Jürgen, it worked
Incidentally, How does M-x work. Is "M" some special key that you hold down.
I have a macbook, so I have fn,ctrl, alt and cmd -is it one of them?

Thanks again for saving my day

regard
Christiaan

On 01/04/2008, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote:
>
> Christiaan Pauw wrote:
> > Does anyone understand what this means or how i can fix it?
>
>
> Yes. Since you're using a Greek µ (mu) character, LyX is switching to
> greek
> encoding, but you do not have the appropriate Greek fonts installed.
>
> One solution (apart from installing this font) is, as Bennett pointed out,
> to
> switch to math mode.
>
> Another one is to use the correct symbol "MICRO SIGN" instead of the
> (similar-looking) "GREEK SMALL LETTER MU". You can insert the correct
> symbol
> in LyX by the sequence "M-x unicode-insert 0x00b5" (where M-x opens
> the "mini-buffer"). Or just copy it from here: µ.
>
> If you use such units a lot, you might consider using a special package,
> such
> as SIunits.
>
>
> Jürgen
>


Aspell broken

2007-11-14 Thread christiaan pauw

Hi everybody

I use to have a working Aspell on LyX 1.5.1 of Win XP but I seem to have 
broken it. When I try F7 get the message:


The spellchecker could not be started
No word list could be found for language en_US.

Does anyone know what to do bar re-installing LyX?

thanks
Christiaan



Aspell broken

2007-11-14 Thread christiaan pauw

Hi everybody

I use to have a working Aspell on LyX 1.5.1 of Win XP but I seem to have 
broken it. When I try F7 get the message:


The spellchecker could not be started
No word list could be found for language en_US.

Does anyone know what to do bar re-installing LyX?

thanks
Christiaan



Aspell broken

2007-11-14 Thread christiaan pauw

Hi everybody

I use to have a working Aspell on LyX 1.5.1 of Win XP but I seem to have 
broken it. When I try F7 get the message:


The spellchecker could not be started
No word list could be found for language "en_US".

Does anyone know what to do bar re-installing LyX?

thanks
Christiaan



Re: LyX cannot generate DVI - suspected bitex related problem

2007-11-01 Thread christiaan pauw

Thanks for the reply. See my comments below

Richard Heck wrote:

christiaan pauw wrote:

Hi Everybody

I use LyX 1.5.1 on Win XP. When I try to cite the reference below it 
generates an error message  (see below)
I chose jurabib as my Bibliography style. When I set it top plain it 
works again. Does anyone know why this happens?
Do you have something in the before or after fields that is 
causing the problem?
I had a page number after, but took it out. It still gives 12 error 
messages Undefined control sequence.
I attach some of the LateX error messages below. They all look related 
to the jurabib style. As I said when I change the bib style to plain it 
works again.


\jbbibargs {\bibnf

{L~J Le~Roux} {S~G~McCormick} {S.~G.~M.} {} {M~Zunc...

The control sequence at the end of the top line of your error message 
was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' 
and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and 
I'll forget about whatever was undefined.



...ick L~J Le~Roux M~Zunckel} {au} {\bibtfont

{Laboratory controlled

The control sequence at the end of the top line etc...




Re: LyX cannot generate DVI - suspected bitex related problem

2007-11-01 Thread christiaan pauw

Thanks for the reply. See my comments below

Richard Heck wrote:

christiaan pauw wrote:

Hi Everybody

I use LyX 1.5.1 on Win XP. When I try to cite the reference below it 
generates an error message  (see below)
I chose jurabib as my Bibliography style. When I set it top plain it 
works again. Does anyone know why this happens?
Do you have something in the before or after fields that is 
causing the problem?
I had a page number after, but took it out. It still gives 12 error 
messages Undefined control sequence.
I attach some of the LateX error messages below. They all look related 
to the jurabib style. As I said when I change the bib style to plain it 
works again.


\jbbibargs {\bibnf

{L~J Le~Roux} {S~G~McCormick} {S.~G.~M.} {} {M~Zunc...

The control sequence at the end of the top line of your error message 
was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' 
and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and 
I'll forget about whatever was undefined.



...ick L~J Le~Roux M~Zunckel} {au} {\bibtfont

{Laboratory controlled

The control sequence at the end of the top line etc...




Re: LyX cannot generate DVI - suspected bitex related problem

2007-11-01 Thread christiaan pauw

Thanks for the reply. See my comments below

Richard Heck wrote:

christiaan pauw wrote:

Hi Everybody

I use LyX 1.5.1 on Win XP. When I try to cite the reference below it 
generates an error message  (see below)
I chose jurabib as my Bibliography style. When I set it top plain it 
works again. Does anyone know why this happens?
Do you have something in the "before" or "after" fields that is 
causing the problem?
I had a page number after, but took it out. It still gives 12 error 
messages "Undefined control sequence."
I attach some of the LateX error messages below. They all look related 
to the jurabib style. As I said when I change the bib style to plain it 
works again.


\jbbibargs {\bibnf

{L~J Le~Roux} {S~G~McCormick} {S.~G.~M.} {} {M~Zunc...

The control sequence at the end of the top line of your error message 
was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' 
and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and 
I'll forget about whatever was undefined.



...ick L~J Le~Roux M~Zunckel} {au} {\bibtfont

{Laboratory controlled

The control sequence at the end of the top line etc...




LyX cannot generate DVI - suspected bitex related problem

2007-10-31 Thread christiaan pauw

Hi Everybody

I use LyX 1.5.1 on Win XP.

When I try to cite the reference below it generates an error message  
(see below)


I chose jurabib as my Bibliography style. When I set it top plain it 
works again. Does anyone know why this happens?


regards
Christiaan

EXAMPLE OF ERROR MESSAGE
Undefined control sequence.

]{csir2005}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.



PART of BIBTEX FILE

@TECHREPORT{csir2005,
 author = {L J Le Roux ,M Zunckel, S G McCormick},
 title = {Laboratory controlled quantitative information about reduction in
   air pollution using the Basa njengo Magogo methodology and 
applicability

   to low-smoke fuels},
 institution = {CSIR: Division of Water, Environment and Forestry 
Technology},

 year = {2005},
 owner = {p2477211},
}



--

Dr Christiaan Pauw

(tel) +27 12 420 2015
(fax) +27 12 420 4016
(cell) +27 82 557 4328



LyX cannot generate DVI - suspected bitex related problem

2007-10-31 Thread christiaan pauw

Hi Everybody

I use LyX 1.5.1 on Win XP.

When I try to cite the reference below it generates an error message  
(see below)


I chose jurabib as my Bibliography style. When I set it top plain it 
works again. Does anyone know why this happens?


regards
Christiaan

EXAMPLE OF ERROR MESSAGE
Undefined control sequence.

]{csir2005}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.



PART of BIBTEX FILE

@TECHREPORT{csir2005,
 author = {L J Le Roux ,M Zunckel, S G McCormick},
 title = {Laboratory controlled quantitative information about reduction in
   air pollution using the Basa njengo Magogo methodology and 
applicability

   to low-smoke fuels},
 institution = {CSIR: Division of Water, Environment and Forestry 
Technology},

 year = {2005},
 owner = {p2477211},
}



--

Dr Christiaan Pauw

(tel) +27 12 420 2015
(fax) +27 12 420 4016
(cell) +27 82 557 4328



LyX cannot generate DVI - suspected bitex related problem

2007-10-31 Thread christiaan pauw

Hi Everybody

I use LyX 1.5.1 on Win XP.

When I try to cite the reference below it generates an error message  
(see below)


I chose jurabib as my Bibliography style. When I set it top plain it 
works again. Does anyone know why this happens?


regards
Christiaan

EXAMPLE OF ERROR MESSAGE
Undefined control sequence.

]{csir2005}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.



PART of BIBTEX FILE

@TECHREPORT{csir2005,
 author = {L J Le Roux ,M Zunckel, S G McCormick},
 title = {Laboratory controlled quantitative information about reduction in
   air pollution using the "Basa njengo Magogo" methodology and 
applicability

   to low-smoke fuels},
 institution = {CSIR: Division of Water, Environment and Forestry 
Technology},

 year = {2005},
 owner = {p2477211},
}



--

Dr Christiaan Pauw

(tel) +27 12 420 2015
(fax) +27 12 420 4016
(cell) +27 82 557 4328



Aspell problems in Lyx 1.5.1

2007-10-04 Thread christiaan pauw

Hi All

I installed 1.5.1 for windows yesterday . It is a vast improvement on 
the already good 1.4.1 I had previously. The only thing that doesn't 
work is the spellchecker. I have a working aspell installed under 
C:\Aspell . In the preferences  language settings  spellchecker the 
spellchecker executable shows a greyed out aspell (library).
Does anyone have an idea what can be wrong or how I can point LyX to my 
Aspell instalation


Regards
Christiaan



Aspell problems in Lyx 1.5.1

2007-10-04 Thread christiaan pauw

Hi All

I installed 1.5.1 for windows yesterday . It is a vast improvement on 
the already good 1.4.1 I had previously. The only thing that doesn't 
work is the spellchecker. I have a working aspell installed under 
C:\Aspell . In the preferences  language settings  spellchecker the 
spellchecker executable shows a greyed out aspell (library).
Does anyone have an idea what can be wrong or how I can point LyX to my 
Aspell instalation


Regards
Christiaan



Aspell problems in Lyx 1.5.1

2007-10-04 Thread christiaan pauw

Hi All

I installed 1.5.1 for windows yesterday . It is a vast improvement on 
the already good 1.4.1 I had previously. The only thing that doesn't 
work is the spellchecker. I have a working aspell installed under 
C:\Aspell . In the preferences > language settings > spellchecker the 
spellchecker executable shows a greyed out "aspell (library)".
Does anyone have an idea what can be wrong or how I can point LyX to my 
Aspell instalation


Regards
Christiaan



Article with seperate title page and TOC

2007-10-03 Thread christiaan pauw

Hallo Everybody

I am writing a report using the article class but I want the title page 
and TOC on seperate pages like the report class does (but I don't want 
tot use Chapters like the report class). I used a manual page break 
after Title, author, date but sometimes I get errors when I compile. 
When I delete the manual page break, everything works again.


Is there a way in which I can change the article class to automatically 
break after the title-author-date or to change the report class to be 
able to use it without chapters so that it does not number the sections 
0.1 0.2 0.3 etc but just 1 2 3 etc?


regards
Christiaan



Article with seperate title page and TOC

2007-10-03 Thread christiaan pauw

Hallo Everybody

I am writing a report using the article class but I want the title page 
and TOC on seperate pages like the report class does (but I don't want 
tot use Chapters like the report class). I used a manual page break 
after Title, author, date but sometimes I get errors when I compile. 
When I delete the manual page break, everything works again.


Is there a way in which I can change the article class to automatically 
break after the title-author-date or to change the report class to be 
able to use it without chapters so that it does not number the sections 
0.1 0.2 0.3 etc but just 1 2 3 etc?


regards
Christiaan



Article with seperate title page and TOC

2007-10-03 Thread christiaan pauw

Hallo Everybody

I am writing a report using the article class but I want the title page 
and TOC on seperate pages like the report class does (but I don't want 
tot use Chapters like the report class). I used a manual page break 
after Title, author, date but sometimes I get errors when I compile. 
When I delete the manual page break, everything works again.


Is there a way in which I can change the article class to automatically 
break after the title-author-date or to change the report class to be 
able to use it without chapters so that it does not number the sections 
0.1 0.2 0.3 etc but just 1 2 3 etc?


regards
Christiaan



Adding longtables to List of Tables

2007-09-13 Thread christiaan pauw

Hi All

I have a 100 page document with a lot of table floats in it. Thus have a 
List of Tables in the Table of Content. Everything works fine except  
for 4 longtables that I have. I could not place these tables in a float 
because they cover several pages. I have searched this list and found 
some advice on how to add tables to a List of Tables. I added the 
following ERT


\addcontentsline{lot}{lot}{\hspace{0.6cm}\thetable\hspace{0.7cm} TABLE 
NAME \hfill}


The first table look OK in the List of Tables
The second and all subsequent ones have the table number too far left
The fourth table has the page number too far left

It looks something like this:
  1. TABLE 1  
   i
2. TABLE 2   
 ii
3. TABLE 3 
   iii

4. TABLE 4  1
(too much space here)
  5. TABLE 5
 5
  6. TABLE 6
 6

...etc

Table 5 is the first float. From there on everything is OK

Adjusting the values of the \hspace in the inserted ERT seems to have no 
effect.


This is the only mistake is an otherwise beautiful document. Does 
anybody know how to fix this.


regards
Christiaan



Adding longtables to List of Tables

2007-09-13 Thread christiaan pauw

Hi All

I have a 100 page document with a lot of table floats in it. Thus have a 
List of Tables in the Table of Content. Everything works fine except  
for 4 longtables that I have. I could not place these tables in a float 
because they cover several pages. I have searched this list and found 
some advice on how to add tables to a List of Tables. I added the 
following ERT


\addcontentsline{lot}{lot}{\hspace{0.6cm}\thetable\hspace{0.7cm} TABLE 
NAME \hfill}


The first table look OK in the List of Tables
The second and all subsequent ones have the table number too far left
The fourth table has the page number too far left

It looks something like this:
  1. TABLE 1  
   i
2. TABLE 2   
 ii
3. TABLE 3 
   iii

4. TABLE 4  1
(too much space here)
  5. TABLE 5
 5
  6. TABLE 6
 6

...etc

Table 5 is the first float. From there on everything is OK

Adjusting the values of the \hspace in the inserted ERT seems to have no 
effect.


This is the only mistake is an otherwise beautiful document. Does 
anybody know how to fix this.


regards
Christiaan



Adding longtables to List of Tables

2007-09-13 Thread christiaan pauw

Hi All

I have a 100 page document with a lot of table floats in it. Thus have a 
List of Tables in the Table of Content. Everything works fine except  
for 4 longtables that I have. I could not place these tables in a float 
because they cover several pages. I have searched this list and found 
some advice on how to add tables to a List of Tables. I added the 
following ERT


\addcontentsline{lot}{lot}{\hspace{0.6cm}\thetable\hspace{0.7cm} TABLE 
NAME \hfill}


The first table look OK in the List of Tables
The second and all subsequent ones have the table number too far left
The fourth table has the page number too far left

It looks something like this:
  1. TABLE 1  
   i
2. TABLE 2   
 ii
3. TABLE 3 
   iii

4. TABLE 4  1
(too much space here)
  5. TABLE 5
 5
  6. TABLE 6
 6

...etc

Table 5 is the first float. From there on everything is OK

Adjusting the values of the \hspace in the inserted ERT seems to have no 
effect.


This is the only mistake is an otherwise beautiful document. Does 
anybody know how to fix this.


regards
Christiaan



strange text alignment in tables

2006-06-20 Thread christiaan pauw

Hi all

I am writhing a questionnaire in Lyx 1.4.1 on Win XP. The whole thing is
one gigantic table.

I experience very strange effects with the alignment of text both
vertically and horizontally

1. Text in adjacent columns are not aligned even when both are set at
the same vertical alignment. This happens not only but especially when a 
ctr-enter  was used.


2. Multicolunm the cells above and below to disregard their column width
settings

3. Horizontal alignment is not the same for rows either. Sometimes the 
text begins with an indent, sometimes not


4. Setting the column with sometimes does not set the width of the
column but the width of the text within . this is the case
in multicolumns. The problem is that there is no control over the
width of a column when one cell is also part of a multicolumn

Can anyone help

regards
Christiaan

.

--

Dr Christiaan Pauw

(tel) +27 12 420 2015
(fax) +27 12 420 4016

The peacock’s feather - whenever I gaze at it - makes me sick
Charles Darwin




strange text alignment in tables

2006-06-20 Thread christiaan pauw

Hi all

I am writhing a questionnaire in Lyx 1.4.1 on Win XP. The whole thing is
one gigantic table.

I experience very strange effects with the alignment of text both
vertically and horizontally

1. Text in adjacent columns are not aligned even when both are set at
the same vertical alignment. This happens not only but especially when a 
ctr-enter  was used.


2. Multicolunm the cells above and below to disregard their column width
settings

3. Horizontal alignment is not the same for rows either. Sometimes the 
text begins with an indent, sometimes not


4. Setting the column with sometimes does not set the width of the
column but the width of the text within . this is the case
in multicolumns. The problem is that there is no control over the
width of a column when one cell is also part of a multicolumn

Can anyone help

regards
Christiaan

.

--

Dr Christiaan Pauw

(tel) +27 12 420 2015
(fax) +27 12 420 4016

The peacock’s feather - whenever I gaze at it - makes me sick
Charles Darwin




strange text alignment in tables

2006-06-20 Thread christiaan pauw

Hi all

I am writhing a questionnaire in Lyx 1.4.1 on Win XP. The whole thing is
one gigantic table.

I experience very strange effects with the alignment of text both
vertically and horizontally

1. Text in adjacent columns are not aligned even when both are set at
the same vertical alignment. This happens not only but especially when a 
ctr-enter  was used.


2. Multicolunm the cells above and below to disregard their column width
settings

3. Horizontal alignment is not the same for rows either. Sometimes the 
text begins with an indent, sometimes not


4. Setting the column with sometimes does not set the width of the
column but the width of the text within . this is the case
in multicolumns. The problem is that there is no control over the
width of a column when one cell is also part of a multicolumn

Can anyone help

regards
Christiaan

.

--

Dr Christiaan Pauw

(tel) +27 12 420 2015
(fax) +27 12 420 4016

"The peacock’s feather - whenever I gaze at it - makes me sick"
Charles Darwin




lost border with v-space insite table

2006-06-13 Thread christiaan pauw

Hi all

In lyx 1.4.1. (win) the side border gets lost if one inserts vspace in a 
table.  I attach an example.


Regards
Christiaan



vspaceexample.pdf
Description: Adobe PDF document


vspaceexample.lyx
Description: application/lyx


lost border with v-space insite table

2006-06-13 Thread christiaan pauw

Hi all

In lyx 1.4.1. (win) the side border gets lost if one inserts vspace in a 
table.  I attach an example.


Regards
Christiaan



vspaceexample.pdf
Description: Adobe PDF document


vspaceexample.lyx
Description: application/lyx


lost border with v-space insite table

2006-06-13 Thread christiaan pauw

Hi all

In lyx 1.4.1. (win) the side border gets lost if one inserts vspace in a 
table.  I attach an example.


Regards
Christiaan



vspaceexample.pdf
Description: Adobe PDF document


vspaceexample.lyx
Description: application/lyx


Re: Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-08 Thread christiaan pauw

Hi

See attachement for a whitespace footprint by a comment in lyx 1.4.1 for Win

Paul A. Rubin wrote:

christiaan pauw wrote:

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works 
well. After some searching I found the comment format under 
INSERTNOTEComment. . This is weird but fine. I have had two 
problems. 1. It is now necessary to highlight an entire section to be 
commented. 
 
My ...  problem is that there is a whitespace footprint (something 
like an open line ) in the DVI output. Can this be fixed?

I'm unable to reproduce the whitespace.  Can you post a minimal example?




Regards and thanks
Christiaan



Whitespacecomment.pdf
Description: Adobe PDF document


Whitespacecomment.lyx
Description: application/lyx


Re: Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-08 Thread christiaan pauw

Hi

See attachement for a whitespace footprint by a comment in lyx 1.4.1 for Win

Paul A. Rubin wrote:

christiaan pauw wrote:

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works 
well. After some searching I found the comment format under 
INSERTNOTEComment. . This is weird but fine. I have had two 
problems. 1. It is now necessary to highlight an entire section to be 
commented. 
 
My ...  problem is that there is a whitespace footprint (something 
like an open line ) in the DVI output. Can this be fixed?

I'm unable to reproduce the whitespace.  Can you post a minimal example?




Regards and thanks
Christiaan



Whitespacecomment.pdf
Description: Adobe PDF document


Whitespacecomment.lyx
Description: application/lyx


Re: Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-08 Thread christiaan pauw

Hi

See attachement for a whitespace footprint by a comment in lyx 1.4.1 for Win

Paul A. Rubin wrote:

christiaan pauw wrote:

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works 
well. After some searching I found the comment format under 
INSERT>NOTE>Comment. . This is weird but fine. I have had two 
problems. 1. It is now necessary to highlight an entire section to be 
commented. 
 
My ...  problem is that there is a whitespace footprint (something 
like an open line ) in the DVI output. Can this be fixed?

I'm unable to reproduce the whitespace.  Can you post a minimal example?




Regards and thanks
Christiaan



Whitespacecomment.pdf
Description: Adobe PDF document


Whitespacecomment.lyx
Description: application/lyx


Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-03 Thread christiaan pauw

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works well. 
After some searching I found the comment format under 
INSERTNOTEComment. . This is weird but fine. I have had two problems. 
1. It is now necessary to highlight an entire section to be commented. 
Once I got an error due to this ( a problem with to many }s). 2. My  
bigger problem is that there is a whitespace footprint (something like 
an open line ) in the DVI output. Can this be fixed?


regards
christiaan


Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-03 Thread christiaan pauw

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works well. 
After some searching I found the comment format under 
INSERTNOTEComment. . This is weird but fine. I have had two problems. 
1. It is now necessary to highlight an entire section to be commented. 
Once I got an error due to this ( a problem with to many }s). 2. My  
bigger problem is that there is a whitespace footprint (something like 
an open line ) in the DVI output. Can this be fixed?


regards
christiaan


Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-03 Thread christiaan pauw

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works well. 
After some searching I found the comment format under 
INSERT>NOTE>Comment. . This is weird but fine. I have had two problems. 
1. It is now necessary to highlight an entire section to be commented. 
Once I got an error due to this ( a problem with to many }s). 2. My  
bigger problem is that there is a whitespace footprint (something like 
an open line ) in the DVI output. Can this be fixed?


regards
christiaan