Fehler beim Öffnen einer lyx Datei

2009-06-19 Thread Konstantin Porzig
Sehr geehrtes Lyx Team,
ich schreibe derzeit meine Bachelorarbeit und habe nun das Problem, dass die
LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es
erscheint folgende Fehlermeldung:

D:/.../main_go.lyxist kein lesbares Lyx-Dokument.

LyX Version: 1.6.1
Betriebssystem: Windows XP

ich habe die Datei auf
http://rapidshare.com/files/246188211/main_go.rar.html hinterlegt und bitte
sie wenn möglich diese Datei zu reparieren. Damit würden sie mir wahnsinnig
helfen, da die Arbeit in einem sehr weit fortgeschrittenen Stadium war.

Vielen Dank im vorraus.

Mit freundlichen Grüßen
Konstantin Porzig


Re: Posters in LyX

2009-06-19 Thread Guenter Milde
On 2009-06-19, Steve Litt wrote:
 On Thursday 18 June 2009 08:58:38 pm Daniel Joshua Stark wrote:
 Dear All,

 I was wondering if LyX can handle making posters. 

It can. 

 Personally, posters are the last thing I'd use LyX for. I'd use Inkscape or 
 Gimp. The prime benefit of LyX and LaTeX is consistency throughout the 
 document -- just what you don't need in a poster.

This might be due to a different sort of poster. I wouldn't recommend LyX
for an advertisement poster, but have successfully used it for a poster
presentation at a scientific conference -- there you have far more formal
restrictions and a choice of document classes that produce decent results.

Beeing able to re-use parts of the article in the conference proceedings
is a real plus.

I used a homegrown a0poster-kh.layout together with a custom package
a0poster-kh.sty based on the a0poster.cls extension a0poster-kh.tex by
Karsten Held
http://www.physik.uni-augsburg.de/theo3/Comp/hp750c/computing_hp750c_A0.de.shtml

Nowadays (with 1.6.x) I'd write the layout using insets instead of styles
for the boxes.


Günter



SV: Fehler beim Öffnen einer lyx Datei

2009-06-19 Thread Ingar Pareliussen
 

 -Opprinnelig melding-
 Fra: Konstantin Porzig [mailto:kpor...@googlemail.com] 
 Sendt: 19. juni 2009 09:32
 Til: lyx-users@lists.lyx.org
 Emne: Fehler beim Öffnen einer lyx Datei
 
 Sehr geehrtes Lyx Team,
 ich schreibe derzeit meine Bachelorarbeit und habe nun das 
 Problem, dass die
 LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es
 erscheint folgende Fehlermeldung:
 
 D:/.../main_go.lyxist kein lesbares Lyx-Dokument.
 
 LyX Version: 1.6.1
 Betriebssystem: Windows XP
 
 ich habe die Datei auf
 http://rapidshare.com/files/246188211/main_go.rar.html 
 hinterlegt und bitte
 sie wenn möglich diese Datei zu reparieren. Damit würden sie 
 mir wahnsinnig
 helfen, da die Arbeit in einem sehr weit fortgeschrittenen 
 Stadium war.
 
 Vielen Dank im vorraus.
 
 Mit freundlichen Grüßen
 Konstantin Porzig

Hi
I am sorry, my Deutch is not up to scratch, when it comes to 
writing. There seems to be some problem with your file. I had
to add \end_inset \end_body \end_document to get it to load.

Probably there is some text missing. But atleast not all is lost :)
I'll send you the file directly.

Ingar


svn

2009-06-19 Thread Wolfgang Engelmann
Hello, list members,

I use lyx svn 1.6.3

is there a more recent version? I checked:

wolfg...@wolfgang:~/lyx-devel$ cd '/home/wolfgang/lyx-devel'
wolfg...@wolfgang:~/lyx-devel$ svn status
wolfg...@wolfgang:~/lyx-devel$ svn status -u
Status bezogen auf Revision:  30176

I am not sure what this means. I made
wolfg...@wolfgang:~/lyx-devel$ svn update
before and wonder what the next step has to be

Wolfgang


Re: svn

2009-06-19 Thread rgheck

Wolfgang Engelmann wrote:

Hello, list members,

I use lyx svn 1.6.3

is there a more recent version? I checked:

wolfg...@wolfgang:~/lyx-devel$ cd '/home/wolfgang/lyx-devel'
wolfg...@wolfgang:~/lyx-devel$ svn status
wolfg...@wolfgang:~/lyx-devel$ svn status -u
Status bezogen auf Revision:  30176

I am not sure what this means. I made
wolfg...@wolfgang:~/lyx-devel$ svn update
before and wonder what the next step has to be

  
That is the most recent revision. But you ought to be seeing 1.6.4svn in 
the about box.


rh



Re: Cannot display document pdf but dvi works

2009-06-19 Thread BH
On Fri, Jun 19, 2009 at 12:14 AM, Christiaan
Pauwchristiaan.p...@nova.org.za wrote:
 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

This really isn't enough to go on. The error message you give is
simply the path to the generated .pdf file.

When you typeset, does LyX give you any error messages? If so, what
are they? (If not, does LyX generate a .pdf file, which you cannot
open?)

Can you provide a minimal sample file that fails to typeset?

BH


Re: svn

2009-06-19 Thread Jürgen Spitzmüller
rgheck wrote:
 That is the most recent revision. But you ought to be seeing 1.6.4svn in
 the about box.

Not if he didn't perform ./autogen.sh and reconfigure after the version was 
upgraded.

Jürgen


Re: svn

2009-06-19 Thread Jean-Marc Lasgouttes
Wolfgang Engelmann engelm...@uni-tuebingen.de writes:

 Hello, list members,

 I use lyx svn 1.6.3

 is there a more recent version? I checked:

 wolfg...@wolfgang:~/lyx-devel$ cd '/home/wolfgang/lyx-devel'
 wolfg...@wolfgang:~/lyx-devel$ svn status
 wolfg...@wolfgang:~/lyx-devel$ svn status -u
 Status bezogen auf Revision:  30176

30176 is indeed the latest revision, but it should identify itself as
1.6.4svn.

Make sure that you have run configure with --enable-maintainer-mode.
This is supposedley automatic, but turned off when the version is a
non-svn one (like 1.6.3). After that, configure does not recognize
anymore the updates to the configure scripts (in particular the
version).

Another solution is to run ./autogen.sh.

JMarc


Re: Sweave code full of escape codes when printed?

2009-06-19 Thread Liviu Andronic
On 6/12/09, Graham Smith graham.sm...@myotis.co.uk wrote:
  Its now working. BUT the code still runs off the edge of the page and doesn't
 wrap with a continuation symbol. Anyone have any suggestions for fixing this
 one?

\SweaveOpts{keep.source=TRUE} can help with this issue. See
?RweaveLatex for details. The option allows you to fully control the
way echoed code is displayed and avoid unexpected results. I prefer
using this option in combination with ERT environments (instead of
Scrap ones).
Liviu


Creating New Layout Help

2009-06-19 Thread Danny Parker
I'm trying to create a .layout file for a .cls file I've been given.  I've
tried following the Customization tutorial but I am having no luck after two
frustrating days.  So I tried to back up and make the most basic layout file
I could.

#% Do not delete the line below; configure depends on this

#  \DeclareLaTeXClass[book]{hellobook}

Input stdclass.inc

I save the file as hellobook.layout in my C:\Program Files (x86)\LyX
1.6.3\Resources\layouts directory.  I then do a ToolsReconfigure and a
restart of LyX.  When I restart I start a new file then go to
DocumentsSettingsDocument Class.  Hellobook is in my drop down list but
when I select it I get the following error

LyX: Could not load class.  The document class hellobook could not be
loaded

When I click ok I get another error

LyX: Error.  Unable to set document class

This is the same error I get no matter what .layout I create.  I know there
is something simple I'm missing but after searching for two days I at my
wits end.  If anyone could give me some pointers it would be much
appreciated.

Danny


Re: Posters in LyX

2009-06-19 Thread Les Denham
On Thursday 18 June 2009, Daniel Joshua Stark wrote:
 Dear All,

 I was wondering if LyX can handle making posters.  I've looked around
 some, and I don't believe it can.  However, I wanted to ask you all
 first before giving up on using it to make one.

Daniel,

I assume you're talking about a poster paper.  The answer is Yes, LyX can 
be used for posters: I've done it.

I don't recommend it.  I've also tried OpenOffice, and I certainly don't 
recommend that, either.

What worked best for me is Scribus.

I've also found that it is best to work with a smaller format than the final 
poster.  My last poster paper required panels 60 inches by 35 inches; I 
prepared them as 20 inches by 11.67 inches, and scaled them to 300% when 
sending them to the plotter.  If you work on them full size, you tend to 
stuff in too much detail.
-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

I'm trying to create a .layout file for a .cls file I've been given.  I've
tried following the Customization tutorial but I am having no luck after two
frustrating days.  So I tried to back up and make the most basic layout file
I could.

#% Do not delete the line below; configure depends on this

#  \DeclareLaTeXClass[book]{hellobook}

Input stdclass.inc

I save the file as hellobook.layout in my C:\Program Files (x86)\LyX
1.6.3\Resources\layouts directory.  I then do a ToolsReconfigure and a
restart of LyX.  When I restart I start a new file then go to
DocumentsSettingsDocument Class.  Hellobook is in my drop down list but
when I select it I get the following error

LyX: Could not load class.  The document class hellobook could not be
loaded

When I click ok I get another error

LyX: Error.  Unable to set document class

This is the same error I get no matter what .layout I create.  I know there
is something simple I'm missing but after searching for two days I at my
wits end.  If anyone could give me some pointers it would be much
appreciated.

  

You need to declare the layout format, e.g.:
   Format 11
Otherwise, LyX chokes. See section 5.3.1.

rh



how to change font size for math on screen

2009-06-19 Thread Hauser Helmut

Hello,

I tried to find the place in LyX where I can change the size of the formulas when the cursor is not there. 
When I type them they have the right size, but later when leaving the maths area

they fall back to a smaller size. I was able to change the color (in the 
lookfeel section) but not the font size.

If that is possible at all, can anyone give me a pointer?

Very thankful as always!
Best regards,

- helmut





The formula font size seems to be too small compared to the font size of 
the text.


In the LookFeel Window I could not find anything to change that (only 
the color or/and font size of the text).




thanks for your help,

Best regards,

- helmut



--

Helmut Hauser
Institute for Theoretical Computer Sciences
Technische Universitaet Graz
Inffeldgasse 16b, I
A-8010 Graz, Austria
---
helmut.hau...@igi.tugraz.at
Tel: + 43 316 873-5821
Fax: + 43 316 873-5805
http://www.igi.TUGraz.at/helmut/





Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

Thanks for the reply. I appreciate the help.

I see now that my example was too simplistic but I'm still having the 
same problem.  I'm actually trying to do what is in 5.2.4 and my 
layout file is msuthesis.layout and is save in C:\Program Files 
(x86)\LyX 1.6.3\Resources\layouts


I took the book.layout and changed the \Declare line to include the 
msuthesis.cls and to report the name to LyX as msuthesis.  I also 
added the Preamble as described in 5.2.3.  I wasn't sure that I needed 
that with a class so I tried it with and without the Preable. I still 
get the same errors I described earlier.  Also, I've checked to make 
sure MikTeX has msuthesis.cls by compiling the example document from 
the command line.  It created the .ps file correctly.  My layout file 
is below.



I'm sorry the errors are not very informative. I should fix that.


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[msuthesis,book]{msuthesis}


Try taking out what is in the square brackets, thus:

#  \DeclareLaTeXClass{msuthesis}

and then make sure you save it as msuthesis.layout. I think this is your 
problem now.



# Book textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de 
mailto:ettr...@informatik.uni-tuebingen.de

# Transposed by Pascal André an...@via.ecp.fr mailto:an...@via.ecp.fr
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
End

Preamble


I'd use AddToPreamble here. Otherwise, you overwrite the preamble.


\usepackage{msuthesis}
EndPreamble

Otherwise, it looks as if it should be fine. What I'm attaching works 
for me, though I do get errors about not having the msuthesis file.


Richard

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{msuthesis}
# Book textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
# Transposed by Pascal André an...@via.ecp.fr
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
End

Preamble
\usepackage{msuthesis}
EndPreamble



Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
Thanks again.  I got mixed results but ultimately successful.  I tried
making the changes you suggested, reconfigured, restarted and I got the same
error.  I then downloaded the file you included and it worked.  When I
opened your file in notepad to see what was different I noticed that yours
showed the formatting characters.  For example where there should be line
returns there were boxes and the next word didn't start on the next line.  I
wonder if notepad was putting control characters in that were causing the
error.

I'd also like to understand why that fixed my problem.  From my
understanding the arguments in the [ ] are the necessary classes and the { }
is what is displayed in LyX.  Inside my msuthesis.cls there is a line

\LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{book}

so I thought it was derived from the book class and thus needed the
[msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
misunderstand the help file?  Thanks again for all your help.  It's much
appreciated.

Danny

On Fri, Jun 19, 2009 at 10:20 AM, rgheck rgh...@bobjweil.com wrote:

 Danny Parker wrote:

 Thanks for the reply. I appreciate the help.

 I see now that my example was too simplistic but I'm still having the same
 problem.  I'm actually trying to do what is in 5.2.4 and my layout file is
 msuthesis.layout and is save in C:\Program Files (x86)\LyX
 1.6.3\Resources\layouts

 I took the book.layout and changed the \Declare line to include the
 msuthesis.cls and to report the name to LyX as msuthesis.  I also added the
 Preamble as described in 5.2.3.  I wasn't sure that I needed that with a
 class so I tried it with and without the Preable. I still get the same
 errors I described earlier.  Also, I've checked to make sure MikTeX has
 msuthesis.cls by compiling the example document from the command line.  It
 created the .ps file correctly.  My layout file is below.

  I'm sorry the errors are not very informative. I should fix that.

  #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[msuthesis,book]{msuthesis}

  Try taking out what is in the square brackets, thus:

 #  \DeclareLaTeXClass{msuthesis}

 and then make sure you save it as msuthesis.layout. I think this is your
 problem now.

  # Book textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de mailto:
 ettr...@informatik.uni-tuebingen.de
 # Transposed by Pascal André an...@via.ecp.fr mailto:an...@via.ecp.fr
 # Heavily modifed and enhanced by serveral developers.


 Format 11
 Input stdclass.inc
 Input numreport.inc


 Sides   2
 PageStyle   Headings


 NoStyle Abstract


 Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
 End

 Preamble

  I'd use AddToPreamble here. Otherwise, you overwrite the preamble.

  \usepackage{msuthesis}
 EndPreamble

  Otherwise, it looks as if it should be fine. What I'm attaching works for
 me, though I do get errors about not having the msuthesis file.

 Richard


 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass{msuthesis}
 # Book textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
 # Transposed by Pascal André an...@via.ecp.fr
 # Heavily modifed and enhanced by serveral developers.


 Format 11
 Input stdclass.inc
 Input numreport.inc


 Sides   2
 PageStyle   Headings


 NoStyle Abstract


 Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
 End

 Preamble
 \usepackage{msuthesis}
 EndPreamble





Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
Thanks for the reply. I appreciate the help.

I see now that my example was too simplistic but I'm still having the same
problem.  I'm actually trying to do what is in 5.2.4 and my layout file is
msuthesis.layout and is save in C:\Program Files (x86)\LyX
1.6.3\Resources\layouts

I took the book.layout and changed the \Declare line to include the
msuthesis.cls and to report the name to LyX as msuthesis.  I also added the
Preamble as described in 5.2.3.  I wasn't sure that I needed that with a
class so I tried it with and without the Preable. I still get the same
errors I described earlier.  Also, I've checked to make sure MikTeX has
msuthesis.cls by compiling the example document from the command line.  It
created the .ps file correctly.  My layout file is below.

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[msuthesis,book]{msuthesis}
# Book textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
# Transposed by Pascal André an...@via.ecp.fr
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
End

Preamble
\usepackage{msuthesis}
EndPreamble


On Fri, Jun 19, 2009 at 9:39 AM, rgheck rgh...@bobjweil.com wrote:

 Danny Parker wrote:

 I'm trying to create a .layout file for a .cls file I've been given.  I've
 tried following the Customization tutorial but I am having no luck after
 two
 frustrating days.  So I tried to back up and make the most basic layout
 file
 I could.

 #% Do not delete the line below; configure depends on this

 #  \DeclareLaTeXClass[book]{hellobook}

 Input stdclass.inc

 I save the file as hellobook.layout in my C:\Program Files (x86)\LyX
 1.6.3\Resources\layouts directory.  I then do a ToolsReconfigure and a
 restart of LyX.  When I restart I start a new file then go to
 DocumentsSettingsDocument Class.  Hellobook is in my drop down list but
 when I select it I get the following error

 LyX: Could not load class.  The document class hellobook could not be
 loaded

 When I click ok I get another error

 LyX: Error.  Unable to set document class

 This is the same error I get no matter what .layout I create.  I know
 there
 is something simple I'm missing but after searching for two days I at my
 wits end.  If anyone could give me some pointers it would be much
 appreciated.



 You need to declare the layout format, e.g.:
   Format 11
 Otherwise, LyX chokes. See section 5.3.1.

 rh




Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
I think it's definitely windows text editors that have been causing me the
problems.  I went and edited the file you gave me by deleting the Preamble
and it stopped working correctly.  I've tried both windows notepad and
wordpad are these known problems or do I not have some settings correct?

Danny

On Fri, Jun 19, 2009 at 10:39 AM, Danny Parker dparke...@gmail.com wrote:

 Thanks again.  I got mixed results but ultimately successful.  I tried
 making the changes you suggested, reconfigured, restarted and I got the same
 error.  I then downloaded the file you included and it worked.  When I
 opened your file in notepad to see what was different I noticed that yours
 showed the formatting characters.  For example where there should be line
 returns there were boxes and the next word didn't start on the next line.  I
 wonder if notepad was putting control characters in that were causing the
 error.

 I'd also like to understand why that fixed my problem.  From my
 understanding the arguments in the [ ] are the necessary classes and the { }
 is what is displayed in LyX.  Inside my msuthesis.cls there is a line


 \LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{book}

 so I thought it was derived from the book class and thus needed the
 [msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
 misunderstand the help file?  Thanks again for all your help.  It's much
 appreciated.

 Danny

 On Fri, Jun 19, 2009 at 10:20 AM, rgheck rgh...@bobjweil.com wrote:

 Danny Parker wrote:

 Thanks for the reply. I appreciate the help.

 I see now that my example was too simplistic but I'm still having the
 same problem.  I'm actually trying to do what is in 5.2.4 and my layout file
 is msuthesis.layout and is save in C:\Program Files (x86)\LyX
 1.6.3\Resources\layouts

 I took the book.layout and changed the \Declare line to include the
 msuthesis.cls and to report the name to LyX as msuthesis.  I also added the
 Preamble as described in 5.2.3.  I wasn't sure that I needed that with a
 class so I tried it with and without the Preable. I still get the same
 errors I described earlier.  Also, I've checked to make sure MikTeX has
 msuthesis.cls by compiling the example document from the command line.  It
 created the .ps file correctly.  My layout file is below.

  I'm sorry the errors are not very informative. I should fix that.

  #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[msuthesis,book]{msuthesis}

  Try taking out what is in the square brackets, thus:

 #  \DeclareLaTeXClass{msuthesis}

 and then make sure you save it as msuthesis.layout. I think this is your
 problem now.

  # Book textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.demailto:
 ettr...@informatik.uni-tuebingen.de
 # Transposed by Pascal André an...@via.ecp.fr mailto:an...@via.ecp.fr
 
 # Heavily modifed and enhanced by serveral developers.


 Format 11
 Input stdclass.inc
 Input numreport.inc


 Sides   2
 PageStyle   Headings


 NoStyle Abstract


 Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
 End

 Preamble

  I'd use AddToPreamble here. Otherwise, you overwrite the preamble.

  \usepackage{msuthesis}
 EndPreamble

  Otherwise, it looks as if it should be fine. What I'm attaching works
 for me, though I do get errors about not having the msuthesis file.

 Richard


 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass{msuthesis}
 # Book textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
 # Transposed by Pascal André an...@via.ecp.fr
 # Heavily modifed and enhanced by serveral developers.


 Format 11
 Input stdclass.inc
 Input numreport.inc


 Sides   2
 PageStyle   Headings


 NoStyle Abstract


 Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
 End

 Preamble
 \usepackage{msuthesis}
 EndPreamble






Sweave and xtable floating issues -- SOLVED

2009-06-19 Thread Liviu Andronic
Dear all,
I've recently made in LyX a report using Sweave and run into troubles
with xtable() generated LaTeX tables. One example, xtable() commands
inside floats (table, box (minipage), etc.) will make the LaTeX
compilation fail. Another, if four-five xtable() commands are run in a
sequence, at least one of the generated tables will strangely hop onto
the next page.

The culprit is that print.xtable() defaults to floating=TRUE, which
means that each xtable() generated table will be a float. To work
around any such issues instead of
 xtable(as.matrix(mean(c(1:10

simply issue
 print(xtable(as.matrix(mean(c(1:10, floating=F)

If you do so, you might also want to center the command in LaTeX (as
xtable() no longer does this). Hope this is of help,
Liviu



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Sweave code full of escape codes when printed?

2009-06-19 Thread Graham Smith



Liviu Andronic wrote:

On 6/12/09, Graham Smith graham.sm...@myotis.co.uk wrote:
  

 Its now working. BUT the code still runs off the edge of the page and doesn't
wrap with a continuation symbol. Anyone have any suggestions for fixing this
one?



\SweaveOpts{keep.source=TRUE} can help with this issue. See
?RweaveLatex for details. The option allows you to fully control the
way echoed code is displayed and avoid unexpected results. I prefer
using this option in combination with ERT environments (instead of
Scrap ones).
Liviu
  

Thanks. I will have a look at using ERT.

Graham



Re: Creating New Layout Help

2009-06-19 Thread Murat Yildizoglu
Notepad++ is also a very good Windows ASCII editor with a lot of  
convenient functions (like auto-complete in Latex files). I love it!

Murat

--
Murat Yildizoglu
murat.yildizo...@univ-cezanne.fr

Le 19 juin 2009 à 18:33, Danny Parker dparke...@gmail.com a écrit :

I downloaded notepad++ to do the text editing and that seems to have  
fixed

the problem of not being able to edit the files.

Danny


On Fri, Jun 19, 2009 at 10:55 AM, Danny Parker dparke...@gmail.com  
wrote:


I think it's definitely windows text editors that have been causing  
me the
problems.  I went and edited the file you gave me by deleting the  
Preamble
and it stopped working correctly.  I've tried both windows notepad  
and
wordpad are these known problems or do I not have some settings  
correct?


Danny


On Fri, Jun 19, 2009 at 10:39 AM, Danny Parker  
dparke...@gmail.comwrote:


Thanks again.  I got mixed results but ultimately successful.  I  
tried
making the changes you suggested, reconfigured, restarted and I  
got the same
error.  I then downloaded the file you included and it worked.   
When I
opened your file in notepad to see what was different I noticed  
that yours
showed the formatting characters.  For example where there should  
be line
returns there were boxes and the next word didn't start on the  
next line.  I
wonder if notepad was putting control characters in that were  
causing the

error.

I'd also like to understand why that fixed my problem.  From my
understanding the arguments in the [ ] are the necessary classes  
and the { }
is what is displayed in LyX.  Inside my msuthesis.cls there is a  
line



\LoadClass[letterpaper, 
12pt,oneside,onecolumn,openany,final,titlepage]{book}


so I thought it was derived from the book class and thus needed the
[msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
misunderstand the help file?  Thanks again for all your help.   
It's much

appreciated.

Danny

On Fri, Jun 19, 2009 at 10:20 AM, rgheck rgh...@bobjweil.com  
wrote:



Danny Parker wrote:


Thanks for the reply. I appreciate the help.

I see now that my example was too simplistic but I'm still  
having the
same problem.  I'm actually trying to do what is in 5.2.4 and my  
layout file

is msuthesis.layout and is save in C:\Program Files (x86)\LyX
1.6.3\Resources\layouts

I took the book.layout and changed the \Declare line to include  
the
msuthesis.cls and to report the name to LyX as msuthesis.  I  
also added the
Preamble as described in 5.2.3.  I wasn't sure that I needed  
that with a
class so I tried it with and without the Preable. I still get  
the same
errors I described earlier.  Also, I've checked to make sure  
MikTeX has
msuthesis.cls by compiling the example document from the command  
line.  It

created the .ps file correctly.  My layout file is below.

I'm sorry the errors are not very informative. I should fix that.


#% Do not delete the line below; configure depends on this

#  \DeclareLaTeXClass[msuthesis,book]{msuthesis}

Try taking out what is in the square brackets, thus:


#  \DeclareLaTeXClass{msuthesis}

and then make sure you save it as msuthesis.layout. I think this  
is your

problem now.

# Book textclass definition file. Taken from initial LyX source  
code
# Author : Matthias Ettrich ettr...@informatik.uni- 
tuebingen.demailto:

ettr...@informatik.uni-tuebingen.de
# Transposed by Pascal André an...@via.ecp.fr mailto:an...@via.ecp.f 
r



# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
  TopSep4
  LabelString   Bibliography
  LabelFont
Series  Bold
SizeHuge
  EndFont
End

Preamble

I'd use AddToPreamble here. Otherwise, you overwrite the preamble.


\usepackage{msuthesis}

EndPreamble

Otherwise, it looks as if it should be fine. What I'm attaching  
works

for me, though I do get errors about not having the msuthesis file.

Richard


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{msuthesis}
# Book textclass definition file. Taken from initial LyX source  
code

# Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
# Transposed by Pascal André an...@via.ecp.fr
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
  TopSep4
  LabelString   Bibliography
  LabelFont
Series  Bold
SizeHuge
  EndFont
End

Preamble
\usepackage{msuthesis}
EndPreamble









Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

I downloaded notepad++ to do the text editing and that seems to have fixed
the problem of not being able to edit the files.

  
This is strange. LyX is supposed to be able to handle either Windows- or 
*nix-style line endings.


rh



Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

Thanks again.  I got mixed results but ultimately successful.  I tried
making the changes you suggested, reconfigured, restarted and I got the same
error.  I then downloaded the file you included and it worked.  When I
opened your file in notepad to see what was different I noticed that yours
showed the formatting characters.  For example where there should be line
returns there were boxes and the next word didn't start on the next line.  I
wonder if notepad was putting control characters in that were causing the
error.

I'd also like to understand why that fixed my problem.  From my
understanding the arguments in the [ ] are the necessary classes and the { }
is what is displayed in LyX.  Inside my msuthesis.cls there is a line

\LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{book}

so I thought it was derived from the book class and thus needed the
[msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
misunderstand the help file?  Thanks again for all your help.  It's much
appreciated.

  
In the DeclareLaTeXClass line, the optional argument, in [], specifies 
what class file to use. It's optional because LyX will otherwise assume 
that the class name is the same as the filename---with the extensions 
changed, of course.


rh



Suppressing pagination (page numbers) on pages where the chapter starts

2009-06-19 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
Could anyone guide me how I could suppress page numbers on the start of
every chapter page? Thanks, FN
-- 
FN * http://fredericknoronha.wordpress.com http://twitter.com/fn
M +91-9822122436 P +91-832-2409490
http://fredericknoronha.multiply.com/ http://goa1556.goa-india.org
Never trust a computer you can't throw out a window. - Steve Wozniak


Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
That is the best I can track it down too.  I'm including two files.
msuthesis.layout was done with notepad++ and msuthesis2 was done with
windows notepad.  I don't know if it makes a difference but I'm using XPx64.

Danny

On Fri, Jun 19, 2009 at 12:39 PM, rgheck rgh...@bobjweil.com wrote:

 Danny Parker wrote:

 I downloaded notepad++ to do the text editing and that seems to have fixed
 the problem of not being able to edit the files.



 This is strange. LyX is supposed to be able to handle either Windows- or
 *nix-style line endings.

 rh




msuthesis2.layout
Description: Binary data


msuthesis.layout
Description: Binary data


Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
So you don't need the book class even though the msuthesis class calls it?

Danny

On Fri, Jun 19, 2009 at 12:41 PM, rgheck rgh...@bobjweil.com wrote:

 Danny Parker wrote:

 Thanks again.  I got mixed results but ultimately successful.  I tried
 making the changes you suggested, reconfigured, restarted and I got the
 same
 error.  I then downloaded the file you included and it worked.  When I
 opened your file in notepad to see what was different I noticed that yours
 showed the formatting characters.  For example where there should be line
 returns there were boxes and the next word didn't start on the next line.
  I
 wonder if notepad was putting control characters in that were causing the
 error.

 I'd also like to understand why that fixed my problem.  From my
 understanding the arguments in the [ ] are the necessary classes and the {
 }
 is what is displayed in LyX.  Inside my msuthesis.cls there is a line


 \LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{book}

 so I thought it was derived from the book class and thus needed the
 [msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
 misunderstand the help file?  Thanks again for all your help.  It's much
 appreciated.



 In the DeclareLaTeXClass line, the optional argument, in [], specifies what
 class file to use. It's optional because LyX will otherwise assume that the
 class name is the same as the filename---with the extensions changed, of
 course.

 rh




Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

So you don't need the book class even though the msuthesis class calls it?

  
You need the class file, but LyX doesn't need to know that. That 
argument just tells LyX two things: (i) what class to write into the 
LaTeX file and (ii) what class to check for when it reconfigures. LyX 
does not check for dependencies, so if, by some chance, you had 
msuthesis.cls but didn't have book.cls, LyX wouldn't be any the wiser.


rh



Re: Fehler beim Öffnen einer lyx Datei

2009-06-19 Thread Uwe Stöhr

Konstantin Porzig schrieb:


ich schreibe derzeit meine Bachelorarbeit und habe nun das Problem, dass die
LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es
erscheint folgende Fehlermeldung:

D:/.../main_go.lyxist kein lesbares Lyx-Dokument.


(The list language is English, I'm therefore replying in English.)

Your file is no textfile but consists of binary code. It can therefore not be repaired. LyX files 
are textfiles as you can see when you open LyX files with a text editors. I don't know how this 
could have happened but are sure that LyX is not to blame here since LyX is not able to create 
binary output.


As you are writing a bachelor thesis you will surely have a backup, so you 
should continue with this.

regards Uwe


Re: changeset/30162

2009-06-19 Thread Uwe Stöhr

 The only user visible difference to the previous state is that if a user
 types \iddots or \adots, the command is not displayed in red, but the dots
 are drawn instead.

But this implies that LyX supports them completely.

 The new commands do not appear in any menu and not in
 any documentation. It is a nice thing for people who know these commands,
 and others won't see them.

OK, but when a standard user gets a document where these commands are used and copy a formula from 
the document to his one, he gets an uncompilable document. As the commands don't no longer appear as 
red command in LyX but as image, an average user won't be able to find the problem.


I'm no fan of hidden features that are only usable by a few developers since normal users won't find 
them in the docs.


regards Uwe


assign tab to insert four spaces

2009-06-19 Thread Liviu Andronic
Dear all,
I would like to assign  (four spaces) to a key binding, but I am
not sure whether LyX allows anything similar. In case you think of
this, I do not intend to use such a binding to finger paint LaTeX
documents; I would more need to use it in ERT code (or in Scrap env)
to easily properly align R code in Sweave documents.
Please let me know if this can be achieved in LyX.
Thank you
Liviu


Re: assign tab to insert four spaces

2009-06-19 Thread rgheck

Liviu Andronic wrote:

Dear all,
I would like to assign  (four spaces) to a key binding, but I am
not sure whether LyX allows anything similar. In case you think of
this, I do not intend to use such a binding to finger paint LaTeX
documents; I would more need to use it in ERT code (or in Scrap env)
to easily properly align R code in Sweave documents.
Please let me know if this can be achieved in LyX.

  
You can do whatever you like with keybindings. See the Shortcuts pane of 
the Preferences dialog.


rh



Re: how to change font size for math on screen

2009-06-19 Thread Guenter Milde
On 2009-06-19, Hauser Helmut wrote:
 Hello,

 I tried to find the place in LyX where I can change the size of the
 formulas when the cursor is not there.  When I type them they have the
 right size, but later when leaving the maths area they fall back to a
 smaller size. I was able to change the color (in the lookfeel section)
 but not the font size.

Seems like you have the instant preview feature on. Disabling it
would keep the size as it is when you enter the formula.

You might also try to find some description of configuratin the size in
the instant preview, if you insist on this feature.

Günter



Re: Creating New Layout Help

2009-06-19 Thread Steve Litt
Pssst: Vim!

It's free software, it's easy to install on Windows, and it has no such 
issues.

SteveT

On Friday 19 June 2009 11:55:48 am Danny Parker wrote:
 I think it's definitely windows text editors that have been causing me the
 problems.  I went and edited the file you gave me by deleting the Preamble
 and it stopped working correctly.  I've tried both windows notepad and
 wordpad are these known problems or do I not have some settings correct?

 Danny

 On Fri, Jun 19, 2009 at 10:39 AM, Danny Parker dparke...@gmail.com wrote:
  Thanks again.  I got mixed results but ultimately successful.  I tried
  making the changes you suggested, reconfigured, restarted and I got the
  same error.  I then downloaded the file you included and it worked.  When
  I opened your file in notepad to see what was different I noticed that
  yours showed the formatting characters.  For example where there should
  be line returns there were boxes and the next word didn't start on the
  next line.  I wonder if notepad was putting control characters in that
  were causing the error.
 
  I'd also like to understand why that fixed my problem.  From my
  understanding the arguments in the [ ] are the necessary classes and the
  { } is what is displayed in LyX.  Inside my msuthesis.cls there is a line
 
 
  \LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{bo
 ok}
 
  so I thought it was derived from the book class and thus needed the
  [msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
  misunderstand the help file?  Thanks again for all your help.  It's much
  appreciated.
 
  Danny
 
  On Fri, Jun 19, 2009 at 10:20 AM, rgheck rgh...@bobjweil.com wrote:
  Danny Parker wrote:
  Thanks for the reply. I appreciate the help.
 
  I see now that my example was too simplistic but I'm still having the
  same problem.  I'm actually trying to do what is in 5.2.4 and my layout
  file is msuthesis.layout and is save in C:\Program Files (x86)\LyX
  1.6.3\Resources\layouts
 
  I took the book.layout and changed the \Declare line to include the
  msuthesis.cls and to report the name to LyX as msuthesis.  I also added
  the Preamble as described in 5.2.3.  I wasn't sure that I needed that
  with a class so I tried it with and without the Preable. I still get
  the same errors I described earlier.  Also, I've checked to make sure
  MikTeX has msuthesis.cls by compiling the example document from the
  command line.  It created the .ps file correctly.  My layout file is
  below.
 
   I'm sorry the errors are not very informative. I should fix that.
 
   #% Do not delete the line below; configure depends on this
 
  #  \DeclareLaTeXClass[msuthesis,book]{msuthesis}
 
   Try taking out what is in the square brackets, thus:
 
  #  \DeclareLaTeXClass{msuthesis}
 
  and then make sure you save it as msuthesis.layout. I think this is your
  problem now.
 
   # Book textclass definition file. Taken from initial LyX source code
 
  # Author : Matthias Ettrich
  ettr...@informatik.uni-tuebingen.demailto:
  ettr...@informatik.uni-tuebingen.de
  # Transposed by Pascal André an...@via.ecp.fr mailto:an...@via.ecp.fr
 
  # Heavily modifed and enhanced by serveral developers.
 
 
  Format 11
  Input stdclass.inc
  Input numreport.inc
 
 
  Sides   2
  PageStyle   Headings
 
 
  NoStyle Abstract
 
 
  Style Bibliography
 TopSep4
 LabelString   Bibliography
 LabelFont
   Series  Bold
   SizeHuge
 EndFont
  End
 
  Preamble
 
   I'd use AddToPreamble here. Otherwise, you overwrite the preamble.
 
   \usepackage{msuthesis}
 
  EndPreamble
 
   Otherwise, it looks as if it should be fine. What I'm attaching works
 
  for me, though I do get errors about not having the msuthesis file.
 
  Richard
 
 
  #% Do not delete the line below; configure depends on this
  #  \DeclareLaTeXClass{msuthesis}
  # Book textclass definition file. Taken from initial LyX source code
  # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
  # Transposed by Pascal André an...@via.ecp.fr
  # Heavily modifed and enhanced by serveral developers.
 
 
  Format 11
  Input stdclass.inc
  Input numreport.inc
 
 
  Sides   2
  PageStyle   Headings
 
 
  NoStyle Abstract
 
 
  Style Bibliography
 TopSep4
 LabelString   Bibliography
 LabelFont
   Series  Bold
   SizeHuge
 EndFont
  End
 
  Preamble
  \usepackage{msuthesis}
  EndPreamble


Re: how to change font size for math on screen

2009-06-19 Thread Uwe Stöhr

Hauser Helmut schrieb:

I tried to find the place in LyX where I can change the size of the 
formulas when the cursor is not there. When I type them they have the 
right size, but later when leaving the maths area

they fall back to a smaller size.


I don't understand. Do you have instant preview enabled (menu Tools - Preferences- 
Look  feel-
Graphics)?
If so, either turn it off or set it to no math, or add this line to the file lyxrc.dist that you 
find in LyX's installation folder:


\preview_scale_factor 1.0

The default size is 0.9. This has often been reported as too small therefore the alternative Windows 
installer sets it automatically to 1.0.


regards Uwe


Re: Suppressing pagination (page numbers) on pages where the chapter starts

2009-06-19 Thread Uwe Stöhr

Frederick Noronha [फ़रेदरिक नोरोनया] schrieb:


Could anyone guide me how I could suppress page numbers on the start of
every chapter page?


When you are using a koma-script document class, you can add this line to your 
document preamble:

\renewcommand*{\chapterpagestyle}{empty}

For more info, have a look at page 67 of
http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf

regards Uwe


Re: Child document not updated

2009-06-19 Thread bigblop

I have now tried to update to 1.6.3 on my vista64 machine but have the same
problem.

If I type ½ in the child document it sometime gets updated correctly. When I
look in the source ½ is \textonehalf{} maybe this trigger something in the
compilation - makes no sense at all. 

I have tried creating the same files in a fresh installation of LyX (1.6.2)
on Ubuntu 9.04 and get the same problem - its as if some of the child
documents are totally disconnect from the main even though I have specified
the main for each child.

Hopefully I can find 1.6 version of LyX (As far as I remember it did not
have this bug). 



bigblop wrote:
 
 I am using LyX 1.6.2 on Vista 64. I have made a master.lyx file from where
 I include a few child documents as input. I compile this master document
 and preview it with sumatra pdf.
 
 Normally when I edit and compile one of those child documents the updates
 for the whole docment are shown in my PDF previewer (sumatra pdf) but that
 does not work anymore. I compile the child document with the function:
 
 master-buffer-update pdf2
 
 Any ideas?
 
 
 

-- 
View this message in context: 
http://n2.nabble.com/Child-document-not-updated-tp3079483p3122519.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Creating New Layout Help

2009-06-19 Thread Enrico Forestieri
Danny Parker writes:

 That is the best I can track it down too.  I'm including two files.
 msuthesis.layout was done with notepad++ and msuthesis2 was done with
 windows notepad.  I don't know if it makes a difference but I'm using
 XPx64.

Notepad is writing a BOM (http://en.wikipedia.org/wiki/Byte-order_mark) at
the start of your file. You cannot see it in an editor but od reveals it:

$ od -c msuthesis2.layout | head -3
000 357 273 277   #   %   D   o   n   o   t   d   e   l
020   e   t   e   t   h   e   l   i   n   e   b   e   l
040   o   w   ;   c   o   n   f   i   g   u   r   e   d   e

The octal values 357 273 277 correspond to ef bb bf in hexadecimal, i.e.,
the BOM. This confuses LyX, apparently. Even if a BOM is not necessary
for UTF8, it is allowed by the standard and thus LyX should take it into
account. I suggest that you file a bug report.

-- 
Enrico



Dot Leaders

2009-06-19 Thread Tad Marko
Hello!

Hopefully this question has a simple answer. I'm working on a book which has
a table of contents. Is there any way to get the TOC to have dot leaders
between the chapter names and the page numbers?

Thanks,
Tad


Re: Fehler beim Öffnen einer lyx Datei

2009-06-19 Thread Florian Rubach

Uwe Stöhr schrieb:

Konstantin Porzig schrieb:

ich schreibe derzeit meine Bachelorarbeit und habe nun das Problem, 
dass die

LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es
erscheint folgende Fehlermeldung:

D:/.../main_go.lyxist kein lesbares Lyx-Dokument.


(The list language is English, I'm therefore replying in English.)

Your file is no textfile but consists of binary code. It can therefore 
not be repaired. LyX files are textfiles as you can see when you open 
LyX files with a text editors. I don't know how this could have 
happened but are sure that LyX is not to blame here since LyX is not 
able to create binary output.


Maybe he did enable compression for his document? I dont't know, but 
compressed Lyx-Documents look quite binary to me...


As you are writing a bachelor thesis you will surely have a backup, so 
you should continue with this.


+1


regards Uwe


Regards,
Florian


Fehler beim Öffnen einer lyx Datei

2009-06-19 Thread Konstantin Porzig
Sehr geehrtes Lyx Team,
ich schreibe derzeit meine Bachelorarbeit und habe nun das Problem, dass die
LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es
erscheint folgende Fehlermeldung:

D:/.../main_go.lyxist kein lesbares Lyx-Dokument.

LyX Version: 1.6.1
Betriebssystem: Windows XP

ich habe die Datei auf
http://rapidshare.com/files/246188211/main_go.rar.html hinterlegt und bitte
sie wenn möglich diese Datei zu reparieren. Damit würden sie mir wahnsinnig
helfen, da die Arbeit in einem sehr weit fortgeschrittenen Stadium war.

Vielen Dank im vorraus.

Mit freundlichen Grüßen
Konstantin Porzig


Re: Posters in LyX

2009-06-19 Thread Guenter Milde
On 2009-06-19, Steve Litt wrote:
 On Thursday 18 June 2009 08:58:38 pm Daniel Joshua Stark wrote:
 Dear All,

 I was wondering if LyX can handle making posters. 

It can. 

 Personally, posters are the last thing I'd use LyX for. I'd use Inkscape or 
 Gimp. The prime benefit of LyX and LaTeX is consistency throughout the 
 document -- just what you don't need in a poster.

This might be due to a different sort of poster. I wouldn't recommend LyX
for an advertisement poster, but have successfully used it for a poster
presentation at a scientific conference -- there you have far more formal
restrictions and a choice of document classes that produce decent results.

Beeing able to re-use parts of the article in the conference proceedings
is a real plus.

I used a homegrown a0poster-kh.layout together with a custom package
a0poster-kh.sty based on the a0poster.cls extension a0poster-kh.tex by
Karsten Held
http://www.physik.uni-augsburg.de/theo3/Comp/hp750c/computing_hp750c_A0.de.shtml

Nowadays (with 1.6.x) I'd write the layout using insets instead of styles
for the boxes.


Günter



SV: Fehler beim Öffnen einer lyx Datei

2009-06-19 Thread Ingar Pareliussen
 

 -Opprinnelig melding-
 Fra: Konstantin Porzig [mailto:kpor...@googlemail.com] 
 Sendt: 19. juni 2009 09:32
 Til: lyx-users@lists.lyx.org
 Emne: Fehler beim Öffnen einer lyx Datei
 
 Sehr geehrtes Lyx Team,
 ich schreibe derzeit meine Bachelorarbeit und habe nun das 
 Problem, dass die
 LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es
 erscheint folgende Fehlermeldung:
 
 D:/.../main_go.lyxist kein lesbares Lyx-Dokument.
 
 LyX Version: 1.6.1
 Betriebssystem: Windows XP
 
 ich habe die Datei auf
 http://rapidshare.com/files/246188211/main_go.rar.html 
 hinterlegt und bitte
 sie wenn möglich diese Datei zu reparieren. Damit würden sie 
 mir wahnsinnig
 helfen, da die Arbeit in einem sehr weit fortgeschrittenen 
 Stadium war.
 
 Vielen Dank im vorraus.
 
 Mit freundlichen Grüßen
 Konstantin Porzig

Hi
I am sorry, my Deutch is not up to scratch, when it comes to 
writing. There seems to be some problem with your file. I had
to add \end_inset \end_body \end_document to get it to load.

Probably there is some text missing. But atleast not all is lost :)
I'll send you the file directly.

Ingar


svn

2009-06-19 Thread Wolfgang Engelmann
Hello, list members,

I use lyx svn 1.6.3

is there a more recent version? I checked:

wolfg...@wolfgang:~/lyx-devel$ cd '/home/wolfgang/lyx-devel'
wolfg...@wolfgang:~/lyx-devel$ svn status
wolfg...@wolfgang:~/lyx-devel$ svn status -u
Status bezogen auf Revision:  30176

I am not sure what this means. I made
wolfg...@wolfgang:~/lyx-devel$ svn update
before and wonder what the next step has to be

Wolfgang


Re: svn

2009-06-19 Thread rgheck

Wolfgang Engelmann wrote:

Hello, list members,

I use lyx svn 1.6.3

is there a more recent version? I checked:

wolfg...@wolfgang:~/lyx-devel$ cd '/home/wolfgang/lyx-devel'
wolfg...@wolfgang:~/lyx-devel$ svn status
wolfg...@wolfgang:~/lyx-devel$ svn status -u
Status bezogen auf Revision:  30176

I am not sure what this means. I made
wolfg...@wolfgang:~/lyx-devel$ svn update
before and wonder what the next step has to be

  
That is the most recent revision. But you ought to be seeing 1.6.4svn in 
the about box.


rh



Re: Cannot display document pdf but dvi works

2009-06-19 Thread BH
On Fri, Jun 19, 2009 at 12:14 AM, Christiaan
Pauwchristiaan.p...@nova.org.za wrote:
 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

This really isn't enough to go on. The error message you give is
simply the path to the generated .pdf file.

When you typeset, does LyX give you any error messages? If so, what
are they? (If not, does LyX generate a .pdf file, which you cannot
open?)

Can you provide a minimal sample file that fails to typeset?

BH


Re: svn

2009-06-19 Thread Jürgen Spitzmüller
rgheck wrote:
 That is the most recent revision. But you ought to be seeing 1.6.4svn in
 the about box.

Not if he didn't perform ./autogen.sh and reconfigure after the version was 
upgraded.

Jürgen


Re: svn

2009-06-19 Thread Jean-Marc Lasgouttes
Wolfgang Engelmann engelm...@uni-tuebingen.de writes:

 Hello, list members,

 I use lyx svn 1.6.3

 is there a more recent version? I checked:

 wolfg...@wolfgang:~/lyx-devel$ cd '/home/wolfgang/lyx-devel'
 wolfg...@wolfgang:~/lyx-devel$ svn status
 wolfg...@wolfgang:~/lyx-devel$ svn status -u
 Status bezogen auf Revision:  30176

30176 is indeed the latest revision, but it should identify itself as
1.6.4svn.

Make sure that you have run configure with --enable-maintainer-mode.
This is supposedley automatic, but turned off when the version is a
non-svn one (like 1.6.3). After that, configure does not recognize
anymore the updates to the configure scripts (in particular the
version).

Another solution is to run ./autogen.sh.

JMarc


Re: Sweave code full of escape codes when printed?

2009-06-19 Thread Liviu Andronic
On 6/12/09, Graham Smith graham.sm...@myotis.co.uk wrote:
  Its now working. BUT the code still runs off the edge of the page and doesn't
 wrap with a continuation symbol. Anyone have any suggestions for fixing this
 one?

\SweaveOpts{keep.source=TRUE} can help with this issue. See
?RweaveLatex for details. The option allows you to fully control the
way echoed code is displayed and avoid unexpected results. I prefer
using this option in combination with ERT environments (instead of
Scrap ones).
Liviu


Creating New Layout Help

2009-06-19 Thread Danny Parker
I'm trying to create a .layout file for a .cls file I've been given.  I've
tried following the Customization tutorial but I am having no luck after two
frustrating days.  So I tried to back up and make the most basic layout file
I could.

#% Do not delete the line below; configure depends on this

#  \DeclareLaTeXClass[book]{hellobook}

Input stdclass.inc

I save the file as hellobook.layout in my C:\Program Files (x86)\LyX
1.6.3\Resources\layouts directory.  I then do a ToolsReconfigure and a
restart of LyX.  When I restart I start a new file then go to
DocumentsSettingsDocument Class.  Hellobook is in my drop down list but
when I select it I get the following error

LyX: Could not load class.  The document class hellobook could not be
loaded

When I click ok I get another error

LyX: Error.  Unable to set document class

This is the same error I get no matter what .layout I create.  I know there
is something simple I'm missing but after searching for two days I at my
wits end.  If anyone could give me some pointers it would be much
appreciated.

Danny


Re: Posters in LyX

2009-06-19 Thread Les Denham
On Thursday 18 June 2009, Daniel Joshua Stark wrote:
 Dear All,

 I was wondering if LyX can handle making posters.  I've looked around
 some, and I don't believe it can.  However, I wanted to ask you all
 first before giving up on using it to make one.

Daniel,

I assume you're talking about a poster paper.  The answer is Yes, LyX can 
be used for posters: I've done it.

I don't recommend it.  I've also tried OpenOffice, and I certainly don't 
recommend that, either.

What worked best for me is Scribus.

I've also found that it is best to work with a smaller format than the final 
poster.  My last poster paper required panels 60 inches by 35 inches; I 
prepared them as 20 inches by 11.67 inches, and scaled them to 300% when 
sending them to the plotter.  If you work on them full size, you tend to 
stuff in too much detail.
-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

I'm trying to create a .layout file for a .cls file I've been given.  I've
tried following the Customization tutorial but I am having no luck after two
frustrating days.  So I tried to back up and make the most basic layout file
I could.

#% Do not delete the line below; configure depends on this

#  \DeclareLaTeXClass[book]{hellobook}

Input stdclass.inc

I save the file as hellobook.layout in my C:\Program Files (x86)\LyX
1.6.3\Resources\layouts directory.  I then do a ToolsReconfigure and a
restart of LyX.  When I restart I start a new file then go to
DocumentsSettingsDocument Class.  Hellobook is in my drop down list but
when I select it I get the following error

LyX: Could not load class.  The document class hellobook could not be
loaded

When I click ok I get another error

LyX: Error.  Unable to set document class

This is the same error I get no matter what .layout I create.  I know there
is something simple I'm missing but after searching for two days I at my
wits end.  If anyone could give me some pointers it would be much
appreciated.

  

You need to declare the layout format, e.g.:
   Format 11
Otherwise, LyX chokes. See section 5.3.1.

rh



how to change font size for math on screen

2009-06-19 Thread Hauser Helmut

Hello,

I tried to find the place in LyX where I can change the size of the formulas when the cursor is not there. 
When I type them they have the right size, but later when leaving the maths area

they fall back to a smaller size. I was able to change the color (in the 
lookfeel section) but not the font size.

If that is possible at all, can anyone give me a pointer?

Very thankful as always!
Best regards,

- helmut





The formula font size seems to be too small compared to the font size of 
the text.


In the LookFeel Window I could not find anything to change that (only 
the color or/and font size of the text).




thanks for your help,

Best regards,

- helmut



--

Helmut Hauser
Institute for Theoretical Computer Sciences
Technische Universitaet Graz
Inffeldgasse 16b, I
A-8010 Graz, Austria
---
helmut.hau...@igi.tugraz.at
Tel: + 43 316 873-5821
Fax: + 43 316 873-5805
http://www.igi.TUGraz.at/helmut/





Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

Thanks for the reply. I appreciate the help.

I see now that my example was too simplistic but I'm still having the 
same problem.  I'm actually trying to do what is in 5.2.4 and my 
layout file is msuthesis.layout and is save in C:\Program Files 
(x86)\LyX 1.6.3\Resources\layouts


I took the book.layout and changed the \Declare line to include the 
msuthesis.cls and to report the name to LyX as msuthesis.  I also 
added the Preamble as described in 5.2.3.  I wasn't sure that I needed 
that with a class so I tried it with and without the Preable. I still 
get the same errors I described earlier.  Also, I've checked to make 
sure MikTeX has msuthesis.cls by compiling the example document from 
the command line.  It created the .ps file correctly.  My layout file 
is below.



I'm sorry the errors are not very informative. I should fix that.


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[msuthesis,book]{msuthesis}


Try taking out what is in the square brackets, thus:

#  \DeclareLaTeXClass{msuthesis}

and then make sure you save it as msuthesis.layout. I think this is your 
problem now.



# Book textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de 
mailto:ettr...@informatik.uni-tuebingen.de

# Transposed by Pascal André an...@via.ecp.fr mailto:an...@via.ecp.fr
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
End

Preamble


I'd use AddToPreamble here. Otherwise, you overwrite the preamble.


\usepackage{msuthesis}
EndPreamble

Otherwise, it looks as if it should be fine. What I'm attaching works 
for me, though I do get errors about not having the msuthesis file.


Richard

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{msuthesis}
# Book textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
# Transposed by Pascal André an...@via.ecp.fr
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
End

Preamble
\usepackage{msuthesis}
EndPreamble



Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
Thanks again.  I got mixed results but ultimately successful.  I tried
making the changes you suggested, reconfigured, restarted and I got the same
error.  I then downloaded the file you included and it worked.  When I
opened your file in notepad to see what was different I noticed that yours
showed the formatting characters.  For example where there should be line
returns there were boxes and the next word didn't start on the next line.  I
wonder if notepad was putting control characters in that were causing the
error.

I'd also like to understand why that fixed my problem.  From my
understanding the arguments in the [ ] are the necessary classes and the { }
is what is displayed in LyX.  Inside my msuthesis.cls there is a line

\LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{book}

so I thought it was derived from the book class and thus needed the
[msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
misunderstand the help file?  Thanks again for all your help.  It's much
appreciated.

Danny

On Fri, Jun 19, 2009 at 10:20 AM, rgheck rgh...@bobjweil.com wrote:

 Danny Parker wrote:

 Thanks for the reply. I appreciate the help.

 I see now that my example was too simplistic but I'm still having the same
 problem.  I'm actually trying to do what is in 5.2.4 and my layout file is
 msuthesis.layout and is save in C:\Program Files (x86)\LyX
 1.6.3\Resources\layouts

 I took the book.layout and changed the \Declare line to include the
 msuthesis.cls and to report the name to LyX as msuthesis.  I also added the
 Preamble as described in 5.2.3.  I wasn't sure that I needed that with a
 class so I tried it with and without the Preable. I still get the same
 errors I described earlier.  Also, I've checked to make sure MikTeX has
 msuthesis.cls by compiling the example document from the command line.  It
 created the .ps file correctly.  My layout file is below.

  I'm sorry the errors are not very informative. I should fix that.

  #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[msuthesis,book]{msuthesis}

  Try taking out what is in the square brackets, thus:

 #  \DeclareLaTeXClass{msuthesis}

 and then make sure you save it as msuthesis.layout. I think this is your
 problem now.

  # Book textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de mailto:
 ettr...@informatik.uni-tuebingen.de
 # Transposed by Pascal André an...@via.ecp.fr mailto:an...@via.ecp.fr
 # Heavily modifed and enhanced by serveral developers.


 Format 11
 Input stdclass.inc
 Input numreport.inc


 Sides   2
 PageStyle   Headings


 NoStyle Abstract


 Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
 End

 Preamble

  I'd use AddToPreamble here. Otherwise, you overwrite the preamble.

  \usepackage{msuthesis}
 EndPreamble

  Otherwise, it looks as if it should be fine. What I'm attaching works for
 me, though I do get errors about not having the msuthesis file.

 Richard


 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass{msuthesis}
 # Book textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
 # Transposed by Pascal André an...@via.ecp.fr
 # Heavily modifed and enhanced by serveral developers.


 Format 11
 Input stdclass.inc
 Input numreport.inc


 Sides   2
 PageStyle   Headings


 NoStyle Abstract


 Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
 End

 Preamble
 \usepackage{msuthesis}
 EndPreamble





Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
Thanks for the reply. I appreciate the help.

I see now that my example was too simplistic but I'm still having the same
problem.  I'm actually trying to do what is in 5.2.4 and my layout file is
msuthesis.layout and is save in C:\Program Files (x86)\LyX
1.6.3\Resources\layouts

I took the book.layout and changed the \Declare line to include the
msuthesis.cls and to report the name to LyX as msuthesis.  I also added the
Preamble as described in 5.2.3.  I wasn't sure that I needed that with a
class so I tried it with and without the Preable. I still get the same
errors I described earlier.  Also, I've checked to make sure MikTeX has
msuthesis.cls by compiling the example document from the command line.  It
created the .ps file correctly.  My layout file is below.

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[msuthesis,book]{msuthesis}
# Book textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
# Transposed by Pascal André an...@via.ecp.fr
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
End

Preamble
\usepackage{msuthesis}
EndPreamble


On Fri, Jun 19, 2009 at 9:39 AM, rgheck rgh...@bobjweil.com wrote:

 Danny Parker wrote:

 I'm trying to create a .layout file for a .cls file I've been given.  I've
 tried following the Customization tutorial but I am having no luck after
 two
 frustrating days.  So I tried to back up and make the most basic layout
 file
 I could.

 #% Do not delete the line below; configure depends on this

 #  \DeclareLaTeXClass[book]{hellobook}

 Input stdclass.inc

 I save the file as hellobook.layout in my C:\Program Files (x86)\LyX
 1.6.3\Resources\layouts directory.  I then do a ToolsReconfigure and a
 restart of LyX.  When I restart I start a new file then go to
 DocumentsSettingsDocument Class.  Hellobook is in my drop down list but
 when I select it I get the following error

 LyX: Could not load class.  The document class hellobook could not be
 loaded

 When I click ok I get another error

 LyX: Error.  Unable to set document class

 This is the same error I get no matter what .layout I create.  I know
 there
 is something simple I'm missing but after searching for two days I at my
 wits end.  If anyone could give me some pointers it would be much
 appreciated.



 You need to declare the layout format, e.g.:
   Format 11
 Otherwise, LyX chokes. See section 5.3.1.

 rh




Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
I think it's definitely windows text editors that have been causing me the
problems.  I went and edited the file you gave me by deleting the Preamble
and it stopped working correctly.  I've tried both windows notepad and
wordpad are these known problems or do I not have some settings correct?

Danny

On Fri, Jun 19, 2009 at 10:39 AM, Danny Parker dparke...@gmail.com wrote:

 Thanks again.  I got mixed results but ultimately successful.  I tried
 making the changes you suggested, reconfigured, restarted and I got the same
 error.  I then downloaded the file you included and it worked.  When I
 opened your file in notepad to see what was different I noticed that yours
 showed the formatting characters.  For example where there should be line
 returns there were boxes and the next word didn't start on the next line.  I
 wonder if notepad was putting control characters in that were causing the
 error.

 I'd also like to understand why that fixed my problem.  From my
 understanding the arguments in the [ ] are the necessary classes and the { }
 is what is displayed in LyX.  Inside my msuthesis.cls there is a line


 \LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{book}

 so I thought it was derived from the book class and thus needed the
 [msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
 misunderstand the help file?  Thanks again for all your help.  It's much
 appreciated.

 Danny

 On Fri, Jun 19, 2009 at 10:20 AM, rgheck rgh...@bobjweil.com wrote:

 Danny Parker wrote:

 Thanks for the reply. I appreciate the help.

 I see now that my example was too simplistic but I'm still having the
 same problem.  I'm actually trying to do what is in 5.2.4 and my layout file
 is msuthesis.layout and is save in C:\Program Files (x86)\LyX
 1.6.3\Resources\layouts

 I took the book.layout and changed the \Declare line to include the
 msuthesis.cls and to report the name to LyX as msuthesis.  I also added the
 Preamble as described in 5.2.3.  I wasn't sure that I needed that with a
 class so I tried it with and without the Preable. I still get the same
 errors I described earlier.  Also, I've checked to make sure MikTeX has
 msuthesis.cls by compiling the example document from the command line.  It
 created the .ps file correctly.  My layout file is below.

  I'm sorry the errors are not very informative. I should fix that.

  #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[msuthesis,book]{msuthesis}

  Try taking out what is in the square brackets, thus:

 #  \DeclareLaTeXClass{msuthesis}

 and then make sure you save it as msuthesis.layout. I think this is your
 problem now.

  # Book textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.demailto:
 ettr...@informatik.uni-tuebingen.de
 # Transposed by Pascal André an...@via.ecp.fr mailto:an...@via.ecp.fr
 
 # Heavily modifed and enhanced by serveral developers.


 Format 11
 Input stdclass.inc
 Input numreport.inc


 Sides   2
 PageStyle   Headings


 NoStyle Abstract


 Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
 End

 Preamble

  I'd use AddToPreamble here. Otherwise, you overwrite the preamble.

  \usepackage{msuthesis}
 EndPreamble

  Otherwise, it looks as if it should be fine. What I'm attaching works
 for me, though I do get errors about not having the msuthesis file.

 Richard


 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass{msuthesis}
 # Book textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
 # Transposed by Pascal André an...@via.ecp.fr
 # Heavily modifed and enhanced by serveral developers.


 Format 11
 Input stdclass.inc
 Input numreport.inc


 Sides   2
 PageStyle   Headings


 NoStyle Abstract


 Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
 End

 Preamble
 \usepackage{msuthesis}
 EndPreamble






Sweave and xtable floating issues -- SOLVED

2009-06-19 Thread Liviu Andronic
Dear all,
I've recently made in LyX a report using Sweave and run into troubles
with xtable() generated LaTeX tables. One example, xtable() commands
inside floats (table, box (minipage), etc.) will make the LaTeX
compilation fail. Another, if four-five xtable() commands are run in a
sequence, at least one of the generated tables will strangely hop onto
the next page.

The culprit is that print.xtable() defaults to floating=TRUE, which
means that each xtable() generated table will be a float. To work
around any such issues instead of
 xtable(as.matrix(mean(c(1:10

simply issue
 print(xtable(as.matrix(mean(c(1:10, floating=F)

If you do so, you might also want to center the command in LaTeX (as
xtable() no longer does this). Hope this is of help,
Liviu



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Sweave code full of escape codes when printed?

2009-06-19 Thread Graham Smith



Liviu Andronic wrote:

On 6/12/09, Graham Smith graham.sm...@myotis.co.uk wrote:
  

 Its now working. BUT the code still runs off the edge of the page and doesn't
wrap with a continuation symbol. Anyone have any suggestions for fixing this
one?



\SweaveOpts{keep.source=TRUE} can help with this issue. See
?RweaveLatex for details. The option allows you to fully control the
way echoed code is displayed and avoid unexpected results. I prefer
using this option in combination with ERT environments (instead of
Scrap ones).
Liviu
  

Thanks. I will have a look at using ERT.

Graham



Re: Creating New Layout Help

2009-06-19 Thread Murat Yildizoglu
Notepad++ is also a very good Windows ASCII editor with a lot of  
convenient functions (like auto-complete in Latex files). I love it!

Murat

--
Murat Yildizoglu
murat.yildizo...@univ-cezanne.fr

Le 19 juin 2009 à 18:33, Danny Parker dparke...@gmail.com a écrit :

I downloaded notepad++ to do the text editing and that seems to have  
fixed

the problem of not being able to edit the files.

Danny


On Fri, Jun 19, 2009 at 10:55 AM, Danny Parker dparke...@gmail.com  
wrote:


I think it's definitely windows text editors that have been causing  
me the
problems.  I went and edited the file you gave me by deleting the  
Preamble
and it stopped working correctly.  I've tried both windows notepad  
and
wordpad are these known problems or do I not have some settings  
correct?


Danny


On Fri, Jun 19, 2009 at 10:39 AM, Danny Parker  
dparke...@gmail.comwrote:


Thanks again.  I got mixed results but ultimately successful.  I  
tried
making the changes you suggested, reconfigured, restarted and I  
got the same
error.  I then downloaded the file you included and it worked.   
When I
opened your file in notepad to see what was different I noticed  
that yours
showed the formatting characters.  For example where there should  
be line
returns there were boxes and the next word didn't start on the  
next line.  I
wonder if notepad was putting control characters in that were  
causing the

error.

I'd also like to understand why that fixed my problem.  From my
understanding the arguments in the [ ] are the necessary classes  
and the { }
is what is displayed in LyX.  Inside my msuthesis.cls there is a  
line



\LoadClass[letterpaper, 
12pt,oneside,onecolumn,openany,final,titlepage]{book}


so I thought it was derived from the book class and thus needed the
[msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
misunderstand the help file?  Thanks again for all your help.   
It's much

appreciated.

Danny

On Fri, Jun 19, 2009 at 10:20 AM, rgheck rgh...@bobjweil.com  
wrote:



Danny Parker wrote:


Thanks for the reply. I appreciate the help.

I see now that my example was too simplistic but I'm still  
having the
same problem.  I'm actually trying to do what is in 5.2.4 and my  
layout file

is msuthesis.layout and is save in C:\Program Files (x86)\LyX
1.6.3\Resources\layouts

I took the book.layout and changed the \Declare line to include  
the
msuthesis.cls and to report the name to LyX as msuthesis.  I  
also added the
Preamble as described in 5.2.3.  I wasn't sure that I needed  
that with a
class so I tried it with and without the Preable. I still get  
the same
errors I described earlier.  Also, I've checked to make sure  
MikTeX has
msuthesis.cls by compiling the example document from the command  
line.  It

created the .ps file correctly.  My layout file is below.

I'm sorry the errors are not very informative. I should fix that.


#% Do not delete the line below; configure depends on this

#  \DeclareLaTeXClass[msuthesis,book]{msuthesis}

Try taking out what is in the square brackets, thus:


#  \DeclareLaTeXClass{msuthesis}

and then make sure you save it as msuthesis.layout. I think this  
is your

problem now.

# Book textclass definition file. Taken from initial LyX source  
code
# Author : Matthias Ettrich ettr...@informatik.uni- 
tuebingen.demailto:

ettr...@informatik.uni-tuebingen.de
# Transposed by Pascal André an...@via.ecp.fr mailto:an...@via.ecp.f 
r



# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
  TopSep4
  LabelString   Bibliography
  LabelFont
Series  Bold
SizeHuge
  EndFont
End

Preamble

I'd use AddToPreamble here. Otherwise, you overwrite the preamble.


\usepackage{msuthesis}

EndPreamble

Otherwise, it looks as if it should be fine. What I'm attaching  
works

for me, though I do get errors about not having the msuthesis file.

Richard


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{msuthesis}
# Book textclass definition file. Taken from initial LyX source  
code

# Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
# Transposed by Pascal André an...@via.ecp.fr
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
  TopSep4
  LabelString   Bibliography
  LabelFont
Series  Bold
SizeHuge
  EndFont
End

Preamble
\usepackage{msuthesis}
EndPreamble









Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

I downloaded notepad++ to do the text editing and that seems to have fixed
the problem of not being able to edit the files.

  
This is strange. LyX is supposed to be able to handle either Windows- or 
*nix-style line endings.


rh



Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

Thanks again.  I got mixed results but ultimately successful.  I tried
making the changes you suggested, reconfigured, restarted and I got the same
error.  I then downloaded the file you included and it worked.  When I
opened your file in notepad to see what was different I noticed that yours
showed the formatting characters.  For example where there should be line
returns there were boxes and the next word didn't start on the next line.  I
wonder if notepad was putting control characters in that were causing the
error.

I'd also like to understand why that fixed my problem.  From my
understanding the arguments in the [ ] are the necessary classes and the { }
is what is displayed in LyX.  Inside my msuthesis.cls there is a line

\LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{book}

so I thought it was derived from the book class and thus needed the
[msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
misunderstand the help file?  Thanks again for all your help.  It's much
appreciated.

  
In the DeclareLaTeXClass line, the optional argument, in [], specifies 
what class file to use. It's optional because LyX will otherwise assume 
that the class name is the same as the filename---with the extensions 
changed, of course.


rh



Suppressing pagination (page numbers) on pages where the chapter starts

2009-06-19 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
Could anyone guide me how I could suppress page numbers on the start of
every chapter page? Thanks, FN
-- 
FN * http://fredericknoronha.wordpress.com http://twitter.com/fn
M +91-9822122436 P +91-832-2409490
http://fredericknoronha.multiply.com/ http://goa1556.goa-india.org
Never trust a computer you can't throw out a window. - Steve Wozniak


Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
That is the best I can track it down too.  I'm including two files.
msuthesis.layout was done with notepad++ and msuthesis2 was done with
windows notepad.  I don't know if it makes a difference but I'm using XPx64.

Danny

On Fri, Jun 19, 2009 at 12:39 PM, rgheck rgh...@bobjweil.com wrote:

 Danny Parker wrote:

 I downloaded notepad++ to do the text editing and that seems to have fixed
 the problem of not being able to edit the files.



 This is strange. LyX is supposed to be able to handle either Windows- or
 *nix-style line endings.

 rh




msuthesis2.layout
Description: Binary data


msuthesis.layout
Description: Binary data


Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
So you don't need the book class even though the msuthesis class calls it?

Danny

On Fri, Jun 19, 2009 at 12:41 PM, rgheck rgh...@bobjweil.com wrote:

 Danny Parker wrote:

 Thanks again.  I got mixed results but ultimately successful.  I tried
 making the changes you suggested, reconfigured, restarted and I got the
 same
 error.  I then downloaded the file you included and it worked.  When I
 opened your file in notepad to see what was different I noticed that yours
 showed the formatting characters.  For example where there should be line
 returns there were boxes and the next word didn't start on the next line.
  I
 wonder if notepad was putting control characters in that were causing the
 error.

 I'd also like to understand why that fixed my problem.  From my
 understanding the arguments in the [ ] are the necessary classes and the {
 }
 is what is displayed in LyX.  Inside my msuthesis.cls there is a line


 \LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{book}

 so I thought it was derived from the book class and thus needed the
 [msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
 misunderstand the help file?  Thanks again for all your help.  It's much
 appreciated.



 In the DeclareLaTeXClass line, the optional argument, in [], specifies what
 class file to use. It's optional because LyX will otherwise assume that the
 class name is the same as the filename---with the extensions changed, of
 course.

 rh




Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

So you don't need the book class even though the msuthesis class calls it?

  
You need the class file, but LyX doesn't need to know that. That 
argument just tells LyX two things: (i) what class to write into the 
LaTeX file and (ii) what class to check for when it reconfigures. LyX 
does not check for dependencies, so if, by some chance, you had 
msuthesis.cls but didn't have book.cls, LyX wouldn't be any the wiser.


rh



Re: Fehler beim Öffnen einer lyx Datei

2009-06-19 Thread Uwe Stöhr

Konstantin Porzig schrieb:


ich schreibe derzeit meine Bachelorarbeit und habe nun das Problem, dass die
LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es
erscheint folgende Fehlermeldung:

D:/.../main_go.lyxist kein lesbares Lyx-Dokument.


(The list language is English, I'm therefore replying in English.)

Your file is no textfile but consists of binary code. It can therefore not be repaired. LyX files 
are textfiles as you can see when you open LyX files with a text editors. I don't know how this 
could have happened but are sure that LyX is not to blame here since LyX is not able to create 
binary output.


As you are writing a bachelor thesis you will surely have a backup, so you 
should continue with this.

regards Uwe


Re: changeset/30162

2009-06-19 Thread Uwe Stöhr

 The only user visible difference to the previous state is that if a user
 types \iddots or \adots, the command is not displayed in red, but the dots
 are drawn instead.

But this implies that LyX supports them completely.

 The new commands do not appear in any menu and not in
 any documentation. It is a nice thing for people who know these commands,
 and others won't see them.

OK, but when a standard user gets a document where these commands are used and copy a formula from 
the document to his one, he gets an uncompilable document. As the commands don't no longer appear as 
red command in LyX but as image, an average user won't be able to find the problem.


I'm no fan of hidden features that are only usable by a few developers since normal users won't find 
them in the docs.


regards Uwe


assign tab to insert four spaces

2009-06-19 Thread Liviu Andronic
Dear all,
I would like to assign  (four spaces) to a key binding, but I am
not sure whether LyX allows anything similar. In case you think of
this, I do not intend to use such a binding to finger paint LaTeX
documents; I would more need to use it in ERT code (or in Scrap env)
to easily properly align R code in Sweave documents.
Please let me know if this can be achieved in LyX.
Thank you
Liviu


Re: assign tab to insert four spaces

2009-06-19 Thread rgheck

Liviu Andronic wrote:

Dear all,
I would like to assign  (four spaces) to a key binding, but I am
not sure whether LyX allows anything similar. In case you think of
this, I do not intend to use such a binding to finger paint LaTeX
documents; I would more need to use it in ERT code (or in Scrap env)
to easily properly align R code in Sweave documents.
Please let me know if this can be achieved in LyX.

  
You can do whatever you like with keybindings. See the Shortcuts pane of 
the Preferences dialog.


rh



Re: how to change font size for math on screen

2009-06-19 Thread Guenter Milde
On 2009-06-19, Hauser Helmut wrote:
 Hello,

 I tried to find the place in LyX where I can change the size of the
 formulas when the cursor is not there.  When I type them they have the
 right size, but later when leaving the maths area they fall back to a
 smaller size. I was able to change the color (in the lookfeel section)
 but not the font size.

Seems like you have the instant preview feature on. Disabling it
would keep the size as it is when you enter the formula.

You might also try to find some description of configuratin the size in
the instant preview, if you insist on this feature.

Günter



Re: Creating New Layout Help

2009-06-19 Thread Steve Litt
Pssst: Vim!

It's free software, it's easy to install on Windows, and it has no such 
issues.

SteveT

On Friday 19 June 2009 11:55:48 am Danny Parker wrote:
 I think it's definitely windows text editors that have been causing me the
 problems.  I went and edited the file you gave me by deleting the Preamble
 and it stopped working correctly.  I've tried both windows notepad and
 wordpad are these known problems or do I not have some settings correct?

 Danny

 On Fri, Jun 19, 2009 at 10:39 AM, Danny Parker dparke...@gmail.com wrote:
  Thanks again.  I got mixed results but ultimately successful.  I tried
  making the changes you suggested, reconfigured, restarted and I got the
  same error.  I then downloaded the file you included and it worked.  When
  I opened your file in notepad to see what was different I noticed that
  yours showed the formatting characters.  For example where there should
  be line returns there were boxes and the next word didn't start on the
  next line.  I wonder if notepad was putting control characters in that
  were causing the error.
 
  I'd also like to understand why that fixed my problem.  From my
  understanding the arguments in the [ ] are the necessary classes and the
  { } is what is displayed in LyX.  Inside my msuthesis.cls there is a line
 
 
  \LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{bo
 ok}
 
  so I thought it was derived from the book class and thus needed the
  [msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
  misunderstand the help file?  Thanks again for all your help.  It's much
  appreciated.
 
  Danny
 
  On Fri, Jun 19, 2009 at 10:20 AM, rgheck rgh...@bobjweil.com wrote:
  Danny Parker wrote:
  Thanks for the reply. I appreciate the help.
 
  I see now that my example was too simplistic but I'm still having the
  same problem.  I'm actually trying to do what is in 5.2.4 and my layout
  file is msuthesis.layout and is save in C:\Program Files (x86)\LyX
  1.6.3\Resources\layouts
 
  I took the book.layout and changed the \Declare line to include the
  msuthesis.cls and to report the name to LyX as msuthesis.  I also added
  the Preamble as described in 5.2.3.  I wasn't sure that I needed that
  with a class so I tried it with and without the Preable. I still get
  the same errors I described earlier.  Also, I've checked to make sure
  MikTeX has msuthesis.cls by compiling the example document from the
  command line.  It created the .ps file correctly.  My layout file is
  below.
 
   I'm sorry the errors are not very informative. I should fix that.
 
   #% Do not delete the line below; configure depends on this
 
  #  \DeclareLaTeXClass[msuthesis,book]{msuthesis}
 
   Try taking out what is in the square brackets, thus:
 
  #  \DeclareLaTeXClass{msuthesis}
 
  and then make sure you save it as msuthesis.layout. I think this is your
  problem now.
 
   # Book textclass definition file. Taken from initial LyX source code
 
  # Author : Matthias Ettrich
  ettr...@informatik.uni-tuebingen.demailto:
  ettr...@informatik.uni-tuebingen.de
  # Transposed by Pascal André an...@via.ecp.fr mailto:an...@via.ecp.fr
 
  # Heavily modifed and enhanced by serveral developers.
 
 
  Format 11
  Input stdclass.inc
  Input numreport.inc
 
 
  Sides   2
  PageStyle   Headings
 
 
  NoStyle Abstract
 
 
  Style Bibliography
 TopSep4
 LabelString   Bibliography
 LabelFont
   Series  Bold
   SizeHuge
 EndFont
  End
 
  Preamble
 
   I'd use AddToPreamble here. Otherwise, you overwrite the preamble.
 
   \usepackage{msuthesis}
 
  EndPreamble
 
   Otherwise, it looks as if it should be fine. What I'm attaching works
 
  for me, though I do get errors about not having the msuthesis file.
 
  Richard
 
 
  #% Do not delete the line below; configure depends on this
  #  \DeclareLaTeXClass{msuthesis}
  # Book textclass definition file. Taken from initial LyX source code
  # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
  # Transposed by Pascal André an...@via.ecp.fr
  # Heavily modifed and enhanced by serveral developers.
 
 
  Format 11
  Input stdclass.inc
  Input numreport.inc
 
 
  Sides   2
  PageStyle   Headings
 
 
  NoStyle Abstract
 
 
  Style Bibliography
 TopSep4
 LabelString   Bibliography
 LabelFont
   Series  Bold
   SizeHuge
 EndFont
  End
 
  Preamble
  \usepackage{msuthesis}
  EndPreamble


Re: how to change font size for math on screen

2009-06-19 Thread Uwe Stöhr

Hauser Helmut schrieb:

I tried to find the place in LyX where I can change the size of the 
formulas when the cursor is not there. When I type them they have the 
right size, but later when leaving the maths area

they fall back to a smaller size.


I don't understand. Do you have instant preview enabled (menu Tools - Preferences- 
Look  feel-
Graphics)?
If so, either turn it off or set it to no math, or add this line to the file lyxrc.dist that you 
find in LyX's installation folder:


\preview_scale_factor 1.0

The default size is 0.9. This has often been reported as too small therefore the alternative Windows 
installer sets it automatically to 1.0.


regards Uwe


Re: Suppressing pagination (page numbers) on pages where the chapter starts

2009-06-19 Thread Uwe Stöhr

Frederick Noronha [फ़रेदरिक नोरोनया] schrieb:


Could anyone guide me how I could suppress page numbers on the start of
every chapter page?


When you are using a koma-script document class, you can add this line to your 
document preamble:

\renewcommand*{\chapterpagestyle}{empty}

For more info, have a look at page 67 of
http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf

regards Uwe


Re: Child document not updated

2009-06-19 Thread bigblop

I have now tried to update to 1.6.3 on my vista64 machine but have the same
problem.

If I type ½ in the child document it sometime gets updated correctly. When I
look in the source ½ is \textonehalf{} maybe this trigger something in the
compilation - makes no sense at all. 

I have tried creating the same files in a fresh installation of LyX (1.6.2)
on Ubuntu 9.04 and get the same problem - its as if some of the child
documents are totally disconnect from the main even though I have specified
the main for each child.

Hopefully I can find 1.6 version of LyX (As far as I remember it did not
have this bug). 



bigblop wrote:
 
 I am using LyX 1.6.2 on Vista 64. I have made a master.lyx file from where
 I include a few child documents as input. I compile this master document
 and preview it with sumatra pdf.
 
 Normally when I edit and compile one of those child documents the updates
 for the whole docment are shown in my PDF previewer (sumatra pdf) but that
 does not work anymore. I compile the child document with the function:
 
 master-buffer-update pdf2
 
 Any ideas?
 
 
 

-- 
View this message in context: 
http://n2.nabble.com/Child-document-not-updated-tp3079483p3122519.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Creating New Layout Help

2009-06-19 Thread Enrico Forestieri
Danny Parker writes:

 That is the best I can track it down too.  I'm including two files.
 msuthesis.layout was done with notepad++ and msuthesis2 was done with
 windows notepad.  I don't know if it makes a difference but I'm using
 XPx64.

Notepad is writing a BOM (http://en.wikipedia.org/wiki/Byte-order_mark) at
the start of your file. You cannot see it in an editor but od reveals it:

$ od -c msuthesis2.layout | head -3
000 357 273 277   #   %   D   o   n   o   t   d   e   l
020   e   t   e   t   h   e   l   i   n   e   b   e   l
040   o   w   ;   c   o   n   f   i   g   u   r   e   d   e

The octal values 357 273 277 correspond to ef bb bf in hexadecimal, i.e.,
the BOM. This confuses LyX, apparently. Even if a BOM is not necessary
for UTF8, it is allowed by the standard and thus LyX should take it into
account. I suggest that you file a bug report.

-- 
Enrico



Dot Leaders

2009-06-19 Thread Tad Marko
Hello!

Hopefully this question has a simple answer. I'm working on a book which has
a table of contents. Is there any way to get the TOC to have dot leaders
between the chapter names and the page numbers?

Thanks,
Tad


Re: Fehler beim Öffnen einer lyx Datei

2009-06-19 Thread Florian Rubach

Uwe Stöhr schrieb:

Konstantin Porzig schrieb:

ich schreibe derzeit meine Bachelorarbeit und habe nun das Problem, 
dass die

LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es
erscheint folgende Fehlermeldung:

D:/.../main_go.lyxist kein lesbares Lyx-Dokument.


(The list language is English, I'm therefore replying in English.)

Your file is no textfile but consists of binary code. It can therefore 
not be repaired. LyX files are textfiles as you can see when you open 
LyX files with a text editors. I don't know how this could have 
happened but are sure that LyX is not to blame here since LyX is not 
able to create binary output.


Maybe he did enable compression for his document? I dont't know, but 
compressed Lyx-Documents look quite binary to me...


As you are writing a bachelor thesis you will surely have a backup, so 
you should continue with this.


+1


regards Uwe


Regards,
Florian


Fehler beim Öffnen einer lyx Datei

2009-06-19 Thread Konstantin Porzig
Sehr geehrtes Lyx Team,
ich schreibe derzeit meine Bachelorarbeit und habe nun das Problem, dass die
LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es
erscheint folgende Fehlermeldung:

"D:/.../main_go.lyx"ist kein lesbares Lyx-Dokument."

LyX Version: 1.6.1
Betriebssystem: Windows XP

ich habe die Datei auf
http://rapidshare.com/files/246188211/main_go.rar.html hinterlegt und bitte
sie wenn möglich diese Datei zu reparieren. Damit würden sie mir wahnsinnig
helfen, da die Arbeit in einem sehr weit fortgeschrittenen Stadium war.

Vielen Dank im vorraus.

Mit freundlichen Grüßen
Konstantin Porzig


Re: Posters in LyX

2009-06-19 Thread Guenter Milde
On 2009-06-19, Steve Litt wrote:
> On Thursday 18 June 2009 08:58:38 pm Daniel Joshua Stark wrote:
>> Dear All,

>> I was wondering if LyX can handle making posters. 

It can. 

> Personally, posters are the last thing I'd use LyX for. I'd use Inkscape or 
> Gimp. The prime benefit of LyX and LaTeX is consistency throughout the 
> document -- just what you don't need in a poster.

This might be due to a different sort of poster. I wouldn't recommend LyX
for an advertisement poster, but have successfully used it for a poster
presentation at a scientific conference -- there you have far more formal
restrictions and a choice of document classes that produce decent results.

Beeing able to re-use parts of the article in the conference proceedings
is a real plus.

I used a homegrown a0poster-kh.layout together with a custom package
a0poster-kh.sty based on the a0poster.cls extension a0poster-kh.tex by
Karsten Held
http://www.physik.uni-augsburg.de/theo3/Comp/hp750c/computing_hp750c_A0.de.shtml

Nowadays (with 1.6.x) I'd write the layout using insets instead of styles
for the boxes.


Günter



SV: Fehler beim Öffnen einer lyx Datei

2009-06-19 Thread Ingar Pareliussen
 

> -Opprinnelig melding-
> Fra: Konstantin Porzig [mailto:kpor...@googlemail.com] 
> Sendt: 19. juni 2009 09:32
> Til: lyx-users@lists.lyx.org
> Emne: Fehler beim Öffnen einer lyx Datei
> 
> Sehr geehrtes Lyx Team,
> ich schreibe derzeit meine Bachelorarbeit und habe nun das 
> Problem, dass die
> LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es
> erscheint folgende Fehlermeldung:
> 
> "D:/.../main_go.lyx"ist kein lesbares Lyx-Dokument."
> 
> LyX Version: 1.6.1
> Betriebssystem: Windows XP
> 
> ich habe die Datei auf
> http://rapidshare.com/files/246188211/main_go.rar.html 
> hinterlegt und bitte
> sie wenn möglich diese Datei zu reparieren. Damit würden sie 
> mir wahnsinnig
> helfen, da die Arbeit in einem sehr weit fortgeschrittenen 
> Stadium war.
> 
> Vielen Dank im vorraus.
> 
> Mit freundlichen Grüßen
> Konstantin Porzig

Hi
I am sorry, my Deutch is not up to scratch, when it comes to 
writing. There seems to be some problem with your file. I had
to add \end_inset \end_body \end_document to get it to load.

Probably there is some text missing. But atleast not all is lost :)
I'll send you the file directly.

Ingar


svn

2009-06-19 Thread Wolfgang Engelmann
Hello, list members,

I use lyx svn 1.6.3

is there a more recent version? I checked:

wolfg...@wolfgang:~/lyx-devel$ cd '/home/wolfgang/lyx-devel'
wolfg...@wolfgang:~/lyx-devel$ svn status
wolfg...@wolfgang:~/lyx-devel$ svn status -u
Status bezogen auf Revision:  30176

I am not sure what this means. I made
wolfg...@wolfgang:~/lyx-devel$ svn update
before and wonder what the next step has to be

Wolfgang


Re: svn

2009-06-19 Thread rgheck

Wolfgang Engelmann wrote:

Hello, list members,

I use lyx svn 1.6.3

is there a more recent version? I checked:

wolfg...@wolfgang:~/lyx-devel$ cd '/home/wolfgang/lyx-devel'
wolfg...@wolfgang:~/lyx-devel$ svn status
wolfg...@wolfgang:~/lyx-devel$ svn status -u
Status bezogen auf Revision:  30176

I am not sure what this means. I made
wolfg...@wolfgang:~/lyx-devel$ svn update
before and wonder what the next step has to be

  
That is the most recent revision. But you ought to be seeing 1.6.4svn in 
the about box.


rh



Re: Cannot display document pdf but dvi works

2009-06-19 Thread BH
On Fri, Jun 19, 2009 at 12:14 AM, Christiaan
Pauw wrote:
> 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

This really isn't enough to go on. The "error message" you give is
simply the path to the generated .pdf file.

When you typeset, does LyX give you any error messages? If so, what
are they? (If not, does LyX generate a .pdf file, which you cannot
open?)

Can you provide a minimal sample file that fails to typeset?

BH


Re: svn

2009-06-19 Thread Jürgen Spitzmüller
rgheck wrote:
> That is the most recent revision. But you ought to be seeing 1.6.4svn in
> the about box.

Not if he didn't perform ./autogen.sh and reconfigure after the version was 
upgraded.

Jürgen


Re: svn

2009-06-19 Thread Jean-Marc Lasgouttes
Wolfgang Engelmann  writes:

> Hello, list members,
>
> I use lyx svn 1.6.3
>
> is there a more recent version? I checked:
>
> wolfg...@wolfgang:~/lyx-devel$ cd '/home/wolfgang/lyx-devel'
> wolfg...@wolfgang:~/lyx-devel$ svn status
> wolfg...@wolfgang:~/lyx-devel$ svn status -u
> Status bezogen auf Revision:  30176

30176 is indeed the latest revision, but it should identify itself as
1.6.4svn.

Make sure that you have run configure with --enable-maintainer-mode.
This is supposedley automatic, but turned off when the version is a
non-svn one (like 1.6.3). After that, configure does not recognize
anymore the updates to the configure scripts (in particular the
version).

Another solution is to run ./autogen.sh.

JMarc


Re: Sweave code full of escape codes when printed?

2009-06-19 Thread Liviu Andronic
On 6/12/09, Graham Smith  wrote:
>  Its now working. BUT the code still runs off the edge of the page and doesn't
> wrap with a continuation symbol. Anyone have any suggestions for fixing this
> one?
>
\SweaveOpts{keep.source=TRUE} can help with this issue. See
?RweaveLatex for details. The option allows you to fully control the
way echoed code is displayed and avoid unexpected results. I prefer
using this option in combination with ERT environments (instead of
Scrap ones).
Liviu


Creating New Layout Help

2009-06-19 Thread Danny Parker
I'm trying to create a .layout file for a .cls file I've been given.  I've
tried following the Customization tutorial but I am having no luck after two
frustrating days.  So I tried to back up and make the most basic layout file
I could.

#% Do not delete the line below; configure depends on this

#  \DeclareLaTeXClass[book]{hellobook}

Input stdclass.inc

I save the file as hellobook.layout in my C:\Program Files (x86)\LyX
1.6.3\Resources\layouts directory.  I then do a Tools>Reconfigure and a
restart of LyX.  When I restart I start a new file then go to
Documents>Settings>Document Class.  Hellobook is in my drop down list but
when I select it I get the following error

"LyX: Could not load class.  The document class hellobook could not be
loaded"

When I click ok I get another error

"LyX: Error.  Unable to set document class"

This is the same error I get no matter what .layout I create.  I know there
is something simple I'm missing but after searching for two days I at my
wits end.  If anyone could give me some pointers it would be much
appreciated.

Danny


Re: Posters in LyX

2009-06-19 Thread Les Denham
On Thursday 18 June 2009, Daniel Joshua Stark wrote:
> Dear All,
>
> I was wondering if LyX can handle making posters.  I've looked around
> some, and I don't believe it can.  However, I wanted to ask you all
> first before giving up on using it to make one.
>
Daniel,

I assume you're talking about a "poster paper".  The answer is "Yes, LyX can 
be used for posters: I've done it."

I don't recommend it.  I've also tried OpenOffice, and I certainly don't 
recommend that, either.

What worked best for me is Scribus.

I've also found that it is best to work with a smaller format than the final 
poster.  My last poster paper required panels 60 inches by 35 inches; I 
prepared them as 20 inches by 11.67 inches, and scaled them to 300% when 
sending them to the plotter.  If you work on them full size, you tend to 
stuff in too much detail.
-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

I'm trying to create a .layout file for a .cls file I've been given.  I've
tried following the Customization tutorial but I am having no luck after two
frustrating days.  So I tried to back up and make the most basic layout file
I could.

#% Do not delete the line below; configure depends on this

#  \DeclareLaTeXClass[book]{hellobook}

Input stdclass.inc

I save the file as hellobook.layout in my C:\Program Files (x86)\LyX
1.6.3\Resources\layouts directory.  I then do a Tools>Reconfigure and a
restart of LyX.  When I restart I start a new file then go to
Documents>Settings>Document Class.  Hellobook is in my drop down list but
when I select it I get the following error

"LyX: Could not load class.  The document class hellobook could not be
loaded"

When I click ok I get another error

"LyX: Error.  Unable to set document class"

This is the same error I get no matter what .layout I create.  I know there
is something simple I'm missing but after searching for two days I at my
wits end.  If anyone could give me some pointers it would be much
appreciated.

  

You need to declare the layout format, e.g.:
   Format 11
Otherwise, LyX chokes. See section 5.3.1.

rh



how to change font size for math on screen

2009-06-19 Thread Hauser Helmut

Hello,

I tried to find the place in LyX where I can change the size of the formulas when the cursor is not there. 
When I type them they have the right size, but later when leaving the maths area

they fall back to a smaller size. I was able to change the color (in the 
look section) but not the font size.

If that is possible at all, can anyone give me a pointer?

Very thankful as always!
Best regards,

- helmut





The formula font size seems to be too small compared to the font size of 
the text.


In the Look Window I could not find anything to change that (only 
the color or/and font size of the text).




thanks for your help,

Best regards,

- helmut



--

Helmut Hauser
Institute for Theoretical Computer Sciences
Technische Universitaet Graz
Inffeldgasse 16b, I
A-8010 Graz, Austria
---
helmut.hau...@igi.tugraz.at
Tel: + 43 316 873-5821
Fax: + 43 316 873-5805
http://www.igi.TUGraz.at/helmut/





Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

Thanks for the reply. I appreciate the help.

I see now that my example was too simplistic but I'm still having the 
same problem.  I'm actually trying to do what is in 5.2.4 and my 
layout file is msuthesis.layout and is save in C:\Program Files 
(x86)\LyX 1.6.3\Resources\layouts


I took the book.layout and changed the \Declare line to include the 
msuthesis.cls and to report the name to LyX as msuthesis.  I also 
added the Preamble as described in 5.2.3.  I wasn't sure that I needed 
that with a class so I tried it with and without the Preable. I still 
get the same errors I described earlier.  Also, I've checked to make 
sure MikTeX has msuthesis.cls by compiling the example document from 
the command line.  It created the .ps file correctly.  My layout file 
is below.



I'm sorry the errors are not very informative. I should fix that.


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[msuthesis,book]{msuthesis}


Try taking out what is in the square brackets, thus:

#  \DeclareLaTeXClass{msuthesis}

and then make sure you save it as msuthesis.layout. I think this is your 
problem now.



# Book textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich >

# Transposed by Pascal André >
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
TopSep4
LabelString   "Bibliography"
LabelFont
  Series  Bold
  SizeHuge
EndFont
End

Preamble


I'd use AddToPreamble here. Otherwise, you overwrite the preamble.


\usepackage{msuthesis}
EndPreamble

Otherwise, it looks as if it should be fine. What I'm attaching works 
for me, though I do get errors about not having the msuthesis file.


Richard

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{msuthesis}
# Book textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich 
# Transposed by Pascal André 
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
TopSep4
LabelString   "Bibliography"
LabelFont
  Series  Bold
  SizeHuge
EndFont
End

Preamble
\usepackage{msuthesis}
EndPreamble



Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
Thanks again.  I got mixed results but ultimately successful.  I tried
making the changes you suggested, reconfigured, restarted and I got the same
error.  I then downloaded the file you included and it worked.  When I
opened your file in notepad to see what was different I noticed that yours
showed the formatting characters.  For example where there should be line
returns there were boxes and the next word didn't start on the next line.  I
wonder if notepad was putting control characters in that were causing the
error.

I'd also like to understand why that fixed my problem.  From my
understanding the arguments in the [ ] are the necessary classes and the { }
is what is displayed in LyX.  Inside my msuthesis.cls there is a line

\LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{book}

so I thought it was derived from the book class and thus needed the
[msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
misunderstand the help file?  Thanks again for all your help.  It's much
appreciated.

Danny

On Fri, Jun 19, 2009 at 10:20 AM, rgheck  wrote:

> Danny Parker wrote:
>
>> Thanks for the reply. I appreciate the help.
>>
>> I see now that my example was too simplistic but I'm still having the same
>> problem.  I'm actually trying to do what is in 5.2.4 and my layout file is
>> msuthesis.layout and is save in C:\Program Files (x86)\LyX
>> 1.6.3\Resources\layouts
>>
>> I took the book.layout and changed the \Declare line to include the
>> msuthesis.cls and to report the name to LyX as msuthesis.  I also added the
>> Preamble as described in 5.2.3.  I wasn't sure that I needed that with a
>> class so I tried it with and without the Preable. I still get the same
>> errors I described earlier.  Also, I've checked to make sure MikTeX has
>> msuthesis.cls by compiling the example document from the command line.  It
>> created the .ps file correctly.  My layout file is below.
>>
>>  I'm sorry the errors are not very informative. I should fix that.
>
>  #% Do not delete the line below; configure depends on this
>> #  \DeclareLaTeXClass[msuthesis,book]{msuthesis}
>>
>>  Try taking out what is in the square brackets, thus:
>
> #  \DeclareLaTeXClass{msuthesis}
>
> and then make sure you save it as msuthesis.layout. I think this is your
> problem now.
>
>  # Book textclass definition file. Taken from initial LyX source code
>> # Author : Matthias Ettrich  ettr...@informatik.uni-tuebingen.de>>
>> # Transposed by Pascal André >
>> # Heavily modifed and enhanced by serveral developers.
>>
>>
>> Format 11
>> Input stdclass.inc
>> Input numreport.inc
>>
>>
>> Sides   2
>> PageStyle   Headings
>>
>>
>> NoStyle Abstract
>>
>>
>> Style Bibliography
>>TopSep4
>>LabelString   "Bibliography"
>>LabelFont
>>  Series  Bold
>>  SizeHuge
>>EndFont
>> End
>>
>> Preamble
>>
>>  I'd use AddToPreamble here. Otherwise, you overwrite the preamble.
>
>  \usepackage{msuthesis}
>> EndPreamble
>>
>>  Otherwise, it looks as if it should be fine. What I'm attaching works for
> me, though I do get errors about not having the msuthesis file.
>
> Richard
>
>
> #% Do not delete the line below; configure depends on this
> #  \DeclareLaTeXClass{msuthesis}
> # Book textclass definition file. Taken from initial LyX source code
> # Author : Matthias Ettrich 
> # Transposed by Pascal André 
> # Heavily modifed and enhanced by serveral developers.
>
>
> Format 11
> Input stdclass.inc
> Input numreport.inc
>
>
> Sides   2
> PageStyle   Headings
>
>
> NoStyle Abstract
>
>
> Style Bibliography
>TopSep4
>LabelString   "Bibliography"
>LabelFont
>  Series  Bold
>  SizeHuge
>EndFont
> End
>
> Preamble
> \usepackage{msuthesis}
> EndPreamble
>
>
>


Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
Thanks for the reply. I appreciate the help.

I see now that my example was too simplistic but I'm still having the same
problem.  I'm actually trying to do what is in 5.2.4 and my layout file is
msuthesis.layout and is save in C:\Program Files (x86)\LyX
1.6.3\Resources\layouts

I took the book.layout and changed the \Declare line to include the
msuthesis.cls and to report the name to LyX as msuthesis.  I also added the
Preamble as described in 5.2.3.  I wasn't sure that I needed that with a
class so I tried it with and without the Preable. I still get the same
errors I described earlier.  Also, I've checked to make sure MikTeX has
msuthesis.cls by compiling the example document from the command line.  It
created the .ps file correctly.  My layout file is below.

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[msuthesis,book]{msuthesis}
# Book textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich 
# Transposed by Pascal André 
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
TopSep4
LabelString   "Bibliography"
LabelFont
  Series  Bold
  SizeHuge
EndFont
End

Preamble
\usepackage{msuthesis}
EndPreamble


On Fri, Jun 19, 2009 at 9:39 AM, rgheck  wrote:

> Danny Parker wrote:
>
>> I'm trying to create a .layout file for a .cls file I've been given.  I've
>> tried following the Customization tutorial but I am having no luck after
>> two
>> frustrating days.  So I tried to back up and make the most basic layout
>> file
>> I could.
>>
>> #% Do not delete the line below; configure depends on this
>>
>> #  \DeclareLaTeXClass[book]{hellobook}
>>
>> Input stdclass.inc
>>
>> I save the file as hellobook.layout in my C:\Program Files (x86)\LyX
>> 1.6.3\Resources\layouts directory.  I then do a Tools>Reconfigure and a
>> restart of LyX.  When I restart I start a new file then go to
>> Documents>Settings>Document Class.  Hellobook is in my drop down list but
>> when I select it I get the following error
>>
>> "LyX: Could not load class.  The document class hellobook could not be
>> loaded"
>>
>> When I click ok I get another error
>>
>> "LyX: Error.  Unable to set document class"
>>
>> This is the same error I get no matter what .layout I create.  I know
>> there
>> is something simple I'm missing but after searching for two days I at my
>> wits end.  If anyone could give me some pointers it would be much
>> appreciated.
>>
>>
>>
> You need to declare the layout format, e.g.:
>   Format 11
> Otherwise, LyX chokes. See section 5.3.1.
>
> rh
>
>


Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
I think it's definitely windows text editors that have been causing me the
problems.  I went and edited the file you gave me by deleting the Preamble
and it stopped working correctly.  I've tried both windows notepad and
wordpad are these known problems or do I not have some settings correct?

Danny

On Fri, Jun 19, 2009 at 10:39 AM, Danny Parker  wrote:

> Thanks again.  I got mixed results but ultimately successful.  I tried
> making the changes you suggested, reconfigured, restarted and I got the same
> error.  I then downloaded the file you included and it worked.  When I
> opened your file in notepad to see what was different I noticed that yours
> showed the formatting characters.  For example where there should be line
> returns there were boxes and the next word didn't start on the next line.  I
> wonder if notepad was putting control characters in that were causing the
> error.
>
> I'd also like to understand why that fixed my problem.  From my
> understanding the arguments in the [ ] are the necessary classes and the { }
> is what is displayed in LyX.  Inside my msuthesis.cls there is a line
>
>
> \LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{book}
>
> so I thought it was derived from the book class and thus needed the
> [msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
> misunderstand the help file?  Thanks again for all your help.  It's much
> appreciated.
>
> Danny
>
> On Fri, Jun 19, 2009 at 10:20 AM, rgheck  wrote:
>
>> Danny Parker wrote:
>>
>>> Thanks for the reply. I appreciate the help.
>>>
>>> I see now that my example was too simplistic but I'm still having the
>>> same problem.  I'm actually trying to do what is in 5.2.4 and my layout file
>>> is msuthesis.layout and is save in C:\Program Files (x86)\LyX
>>> 1.6.3\Resources\layouts
>>>
>>> I took the book.layout and changed the \Declare line to include the
>>> msuthesis.cls and to report the name to LyX as msuthesis.  I also added the
>>> Preamble as described in 5.2.3.  I wasn't sure that I needed that with a
>>> class so I tried it with and without the Preable. I still get the same
>>> errors I described earlier.  Also, I've checked to make sure MikTeX has
>>> msuthesis.cls by compiling the example document from the command line.  It
>>> created the .ps file correctly.  My layout file is below.
>>>
>>>  I'm sorry the errors are not very informative. I should fix that.
>>
>>  #% Do not delete the line below; configure depends on this
>>> #  \DeclareLaTeXClass[msuthesis,book]{msuthesis}
>>>
>>>  Try taking out what is in the square brackets, thus:
>>
>> #  \DeclareLaTeXClass{msuthesis}
>>
>> and then make sure you save it as msuthesis.layout. I think this is your
>> problem now.
>>
>>  # Book textclass definition file. Taken from initial LyX source code
>>> # Author : Matthias Ettrich > ettr...@informatik.uni-tuebingen.de>>
>>> # Transposed by Pascal André >> >>
>>> # Heavily modifed and enhanced by serveral developers.
>>>
>>>
>>> Format 11
>>> Input stdclass.inc
>>> Input numreport.inc
>>>
>>>
>>> Sides   2
>>> PageStyle   Headings
>>>
>>>
>>> NoStyle Abstract
>>>
>>>
>>> Style Bibliography
>>>TopSep4
>>>LabelString   "Bibliography"
>>>LabelFont
>>>  Series  Bold
>>>  SizeHuge
>>>EndFont
>>> End
>>>
>>> Preamble
>>>
>>>  I'd use AddToPreamble here. Otherwise, you overwrite the preamble.
>>
>>  \usepackage{msuthesis}
>>> EndPreamble
>>>
>>>  Otherwise, it looks as if it should be fine. What I'm attaching works
>> for me, though I do get errors about not having the msuthesis file.
>>
>> Richard
>>
>>
>> #% Do not delete the line below; configure depends on this
>> #  \DeclareLaTeXClass{msuthesis}
>> # Book textclass definition file. Taken from initial LyX source code
>> # Author : Matthias Ettrich 
>> # Transposed by Pascal André 
>> # Heavily modifed and enhanced by serveral developers.
>>
>>
>> Format 11
>> Input stdclass.inc
>> Input numreport.inc
>>
>>
>> Sides   2
>> PageStyle   Headings
>>
>>
>> NoStyle Abstract
>>
>>
>> Style Bibliography
>>TopSep4
>>LabelString   "Bibliography"
>>LabelFont
>>  Series  Bold
>>  SizeHuge
>>EndFont
>> End
>>
>> Preamble
>> \usepackage{msuthesis}
>> EndPreamble
>>
>>
>>
>


Sweave and xtable floating issues -- SOLVED

2009-06-19 Thread Liviu Andronic
Dear all,
I've recently made in LyX a report using Sweave and run into troubles
with xtable() generated LaTeX tables. One example, xtable() commands
inside floats (table, box (minipage), etc.) will make the LaTeX
compilation fail. Another, if four-five xtable() commands are run in a
sequence, at least one of the generated tables will strangely hop onto
the next page.

The culprit is that print.xtable() defaults to floating=TRUE, which
means that each xtable() generated table will be a float. To work
around any such issues instead of
> xtable(as.matrix(mean(c(1:10

simply issue
> print(xtable(as.matrix(mean(c(1:10, floating=F)

If you do so, you might also want to center the command in LaTeX (as
xtable() no longer does this). Hope this is of help,
Liviu



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Sweave code full of escape codes when printed?

2009-06-19 Thread Graham Smith



Liviu Andronic wrote:

On 6/12/09, Graham Smith  wrote:
  

 Its now working. BUT the code still runs off the edge of the page and doesn't
wrap with a continuation symbol. Anyone have any suggestions for fixing this
one?



\SweaveOpts{keep.source=TRUE} can help with this issue. See
?RweaveLatex for details. The option allows you to fully control the
way echoed code is displayed and avoid unexpected results. I prefer
using this option in combination with ERT environments (instead of
Scrap ones).
Liviu
  

Thanks. I will have a look at using ERT.

Graham



Re: Creating New Layout Help

2009-06-19 Thread Murat Yildizoglu
Notepad++ is also a very good Windows ASCII editor with a lot of  
convenient functions (like auto-complete in Latex files). I love it!

Murat

--
Murat Yildizoglu
murat.yildizo...@univ-cezanne.fr

Le 19 juin 2009 à 18:33, Danny Parker  a écrit :

I downloaded notepad++ to do the text editing and that seems to have  
fixed

the problem of not being able to edit the files.

Danny


On Fri, Jun 19, 2009 at 10:55 AM, Danny Parker   
wrote:


I think it's definitely windows text editors that have been causing  
me the
problems.  I went and edited the file you gave me by deleting the  
Preamble
and it stopped working correctly.  I've tried both windows notepad  
and
wordpad are these known problems or do I not have some settings  
correct?


Danny


On Fri, Jun 19, 2009 at 10:39 AM, Danny Parker  
wrote:


Thanks again.  I got mixed results but ultimately successful.  I  
tried
making the changes you suggested, reconfigured, restarted and I  
got the same
error.  I then downloaded the file you included and it worked.   
When I
opened your file in notepad to see what was different I noticed  
that yours
showed the formatting characters.  For example where there should  
be line
returns there were boxes and the next word didn't start on the  
next line.  I
wonder if notepad was putting control characters in that were  
causing the

error.

I'd also like to understand why that fixed my problem.  From my
understanding the arguments in the [ ] are the necessary classes  
and the { }
is what is displayed in LyX.  Inside my msuthesis.cls there is a  
line



\LoadClass[letterpaper, 
12pt,oneside,onecolumn,openany,final,titlepage]{book}


so I thought it was derived from the book class and thus needed the
[msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
misunderstand the help file?  Thanks again for all your help.   
It's much

appreciated.

Danny

On Fri, Jun 19, 2009 at 10:20 AM, rgheck   
wrote:



Danny Parker wrote:


Thanks for the reply. I appreciate the help.

I see now that my example was too simplistic but I'm still  
having the
same problem.  I'm actually trying to do what is in 5.2.4 and my  
layout file

is msuthesis.layout and is save in C:\Program Files (x86)\LyX
1.6.3\Resources\layouts

I took the book.layout and changed the \Declare line to include  
the
msuthesis.cls and to report the name to LyX as msuthesis.  I  
also added the
Preamble as described in 5.2.3.  I wasn't sure that I needed  
that with a
class so I tried it with and without the Preable. I still get  
the same
errors I described earlier.  Also, I've checked to make sure  
MikTeX has
msuthesis.cls by compiling the example document from the command  
line.  It

created the .ps file correctly.  My layout file is below.

I'm sorry the errors are not very informative. I should fix that.


#% Do not delete the line below; configure depends on this

#  \DeclareLaTeXClass[msuthesis,book]{msuthesis}

Try taking out what is in the square brackets, thus:


#  \DeclareLaTeXClass{msuthesis}

and then make sure you save it as msuthesis.layout. I think this  
is your

problem now.

# Book textclass definition file. Taken from initial LyX source  
code
# Author : Matthias Ettrich >
# Transposed by Pascal André 
# Transposed by Pascal André 
# Heavily modifed and enhanced by serveral developers.


Format 11
Input stdclass.inc
Input numreport.inc


Sides   2
PageStyle   Headings


NoStyle Abstract


Style Bibliography
  TopSep4
  LabelString   "Bibliography"
  LabelFont
Series  Bold
SizeHuge
  EndFont
End

Preamble
\usepackage{msuthesis}
EndPreamble









Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

I downloaded notepad++ to do the text editing and that seems to have fixed
the problem of not being able to edit the files.

  
This is strange. LyX is supposed to be able to handle either Windows- or 
*nix-style line endings.


rh



Re: Creating New Layout Help

2009-06-19 Thread rgheck

Danny Parker wrote:

Thanks again.  I got mixed results but ultimately successful.  I tried
making the changes you suggested, reconfigured, restarted and I got the same
error.  I then downloaded the file you included and it worked.  When I
opened your file in notepad to see what was different I noticed that yours
showed the formatting characters.  For example where there should be line
returns there were boxes and the next word didn't start on the next line.  I
wonder if notepad was putting control characters in that were causing the
error.

I'd also like to understand why that fixed my problem.  From my
understanding the arguments in the [ ] are the necessary classes and the { }
is what is displayed in LyX.  Inside my msuthesis.cls there is a line

\LoadClass[letterpaper,12pt,oneside,onecolumn,openany,final,titlepage]{book}

so I thought it was derived from the book class and thus needed the
[msuthesis,book].  This is almost exactly the case in 5.2.4.  Did I
misunderstand the help file?  Thanks again for all your help.  It's much
appreciated.

  
In the DeclareLaTeXClass line, the optional argument, in [], specifies 
what class file to use. It's optional because LyX will otherwise assume 
that the class name is the same as the filename---with the extensions 
changed, of course.


rh



Suppressing pagination (page numbers) on pages where the chapter starts

2009-06-19 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
Could anyone guide me how I could suppress page numbers on the start of
every chapter page? Thanks, FN
-- 
FN * http://fredericknoronha.wordpress.com http://twitter.com/fn
M +91-9822122436 P +91-832-2409490
http://fredericknoronha.multiply.com/ http://goa1556.goa-india.org
"Never trust a computer you can't throw out a window." - Steve Wozniak


Re: Creating New Layout Help

2009-06-19 Thread Danny Parker
That is the best I can track it down too.  I'm including two files.
msuthesis.layout was done with notepad++ and msuthesis2 was done with
windows notepad.  I don't know if it makes a difference but I'm using XPx64.

Danny

On Fri, Jun 19, 2009 at 12:39 PM, rgheck  wrote:

> Danny Parker wrote:
>
>> I downloaded notepad++ to do the text editing and that seems to have fixed
>> the problem of not being able to edit the files.
>>
>>
>>
> This is strange. LyX is supposed to be able to handle either Windows- or
> *nix-style line endings.
>
> rh
>
>


msuthesis2.layout
Description: Binary data


msuthesis.layout
Description: Binary data


  1   2   >