Don't print image in preamble

2006-12-04 Thread icebna

Hi all :

The image of the logo in preamble, don't print it. I can see it in the 
xdvi visor, but don't print it. This file, work fine in lyx-1.3.7, and 
print the logo. It's a bug of lyx-1.4.3 ?. My distro is Mandriva 2007.


Someone idea.

Miguel.


Numpad doesn't work with lyx 1.4.3 compiled on debian sarge

2006-12-04 Thread Gilles Mioni
Hi

I have lyx 1.4.3 on debian sarge. Numerics key of num pad don't work when
pad is locked on numeric function.
UI file is default.ui and shorcuts is cua.bind
Any idea ?
Thanks for help



tensind package incompatible with LyX?

2006-12-04 Thread Nils Becker
Hi all,

I am trying to use the package tensind.sty for typesetting tensors with 
multiple
upper and lower indices in LyX.

In LaTeX this works great: after defining a special tensor delimiter in the
preamble (here I use the letter ?) one can in math mode type
?A^\mu_\nu? for northwest, southeast indices and
?A_\mu^\nu? for southwest, northeast indices following the tensor symbol A.

Here, the order of super- and subscript matters! LyX seems to REORDER the 
super- and
subscript in such a way that always the subscript comes first.

Also, within tensind, ?g_\mu_\nu? is perfectly acceptable, and has a different
meaning (and typeset result) than ?g_{\mu\nu}? Within LyX, one always gets the 
latter
form due to automatic grouping in the math editor

Is there a workaround?

Thanks a lot, Nils


Re: tensind package incompatible with LyX?

2006-12-04 Thread Helge Hafting

Nils Becker wrote:

Hi all,

I am trying to use the package tensind.sty for typesetting tensors with 
multiple
upper and lower indices in LyX.

In LaTeX this works great: after defining a special tensor delimiter in the
preamble (here I use the letter ?) one can in math mode type
?A^\mu_\nu? for northwest, southeast indices and
?A_\mu^\nu? for southwest, northeast indices following the tensor symbol A.

Here, the order of super- and subscript matters! LyX seems to REORDER the 
super- and
subscript in such a way that always the subscript comes first.

Also, within tensind, ?g_\mu_\nu? is perfectly acceptable, and has a different
meaning (and typeset result) than ?g_{\mu\nu}? Within LyX, one always gets the 
latter
form due to automatic grouping in the math editor

Is there a workaround?
  

You know how to type this in latex, therefore, there is a workaround:
Type your tensor stuff in an ERT box, as raw latex. (Instead
of using mathed for it).  Non-tensor math can still go in the math
editor of course.

Consider filing a wishlist bug at bugzilla.lyx.org, perhaps someone
pick this up and fixes it some day. (Likely not right now, lyx
is in a feature freeze before version 1.5.0)

Helge Hafting


Re: First Relase from latowincd

2006-12-04 Thread Helge Hafting

Wolfgang Engelmann wrote:

Am Montag, 6. November 2006 15:47 schrieb uwe:
  

Hello,

we proudly presents the first Release of our latowincd on

http://latowincd.berlios.de/

Latowincd is a CD-iso with all needed Programms to install Latex und Lyx on
a Windows-PC .

The main aim indeed was to build an Latex-Documentclass. This class fits
all Formatting requirements of the German Berufsakademie.

This Documentclass is also separate on our Projektpage obtainable.

All Information for this Project at this time are in German

Feedback are welcome...

uwe



Good to hear. Would be nice to have a similar CD for Linux also.
  

Well, lyx and latex is packaged for several linux distributions
already. On debian:
apt-get install lyx-qt texlive

(As an alternative, specify tetex packages instead of texlive)
Other distributions have similiar ways, although they may require
manual downloading or inserting a distribution CD first.

Windows does not have a convenient package system, so an
install CD for windows is a nice thing to have.

Helge Hafting


different vertical margins for odd and even pages?

2006-12-04 Thread Robert Neumann
hello, 
is there a way to define different vertical margins for odd and even pages? 
(I'm designing Vocabulary-Cards with lyx and on the odd side I need a header 
and a footer, but on the even side I need neither one - but space to write the 
anwer...) 
One of my Ideas was, to have small margins and then a negative headsep and 
footsep. this works for the header fine but not for the footer, the minus is 
ignored in the footsep 
 
thanks 
Robert 



Re: First Relase from latowincd

2006-12-04 Thread Wolfgang Engelmann
Am Montag, 4. Dezember 2006 15:46 schrieben Sie:
 Wolfgang Engelmann wrote:
  Am Montag, 6. November 2006 15:47 schrieb uwe:
  Hello,
 
  we proudly presents the first Release of our latowincd on
 
  http://latowincd.berlios.de/
 
  Latowincd is a CD-iso with all needed Programms to install Latex und Lyx
  on a Windows-PC .
 
  The main aim indeed was to build an Latex-Documentclass. This class fits
  all Formatting requirements of the German Berufsakademie.
 
  This Documentclass is also separate on our Projektpage obtainable.
 
  All Information for this Project at this time are in German
 
  Feedback are welcome...
 
  uwe
 
  Good to hear. Would be nice to have a similar CD for Linux also.

 Well, lyx and latex is packaged for several linux distributions
 already. On debian:
 apt-get install lyx-qt texlive

 (As an alternative, specify tetex packages instead of texlive)
 Other distributions have similiar ways, although they may require
 manual downloading or inserting a distribution CD first.

 Windows does not have a convenient package system, so an
 install CD for windows is a nice thing to have.

 Helge Hafting

What I ment was a live CD under linux containing all the stuff needed for 
writing, illustrating, bibliographing documents, preferentially of the 
morphix type where one can add additional programs and safe the output.

Wolfgang


Re: different vertical margins for odd and even pages?

2006-12-04 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Robert Neumann [EMAIL PROTECTED]
Subject: different vertical margins for odd and even pages?
Date: Mon, 4 Dec 2006 15:06:17 + (UTC)

hello, 
is there a way to define different vertical margins for odd and even pages? 
(I'm designing Vocabulary-Cards with lyx and on the odd side I need a header 
and a footer, but on the even side I need neither one - but space to write 
the 
anwer...) 

Check the fancyhdr manual, the \lhead, \lfoot... have optional args to manage 
twosided documents.

E.g., to customize running headers:

\lhead[\fancyplain{\rm\thepage}{\rm\thepage}]{\fancyplain{}{\it\rightmark}}
\rhead[\fancyplain{}{\it\leftmark}]{\fancyplain{\rm\thepage}{\rm\thepage}}

(\fancyplain is used to remove the marks on plain pages, i.e. opening
chapter pages).

-- 
Jean-Pierre



Installation Error

2006-12-04 Thread service
Hello,

my question is: how am I able to redefine the captionlabel using
float-figures or -tables? Any ideas?
2nd question: Is it possible to define the font of the TOC-numbering?
Because I defined sffamily for my scrartcle but the numbers of the TOC are
still in different font...

I'm looking forward to hearing from somebody... thank you... regards...
nico



latowincd closed!!!!!

2006-12-04 Thread uwe
Hello,

as Uwe Stöhr wrote there is already a very very  good solution for 
Installation von Latex und Lyx on a Windowsystem.

http://wiki.lyx.org/Windows/LyXWinInstaller

Therefore we closed the Project latowincd. The Projectsfile where removed from 
the Berliosserver.

We work continuess on our original aim: the Documentclass for BA-Papers. To 
develop the docuclass we has  founded a new Berliosproject called

badocuclass

http://developer.berlios.de/projects/badocuclass/

Last week we presents our Solution about 70 BA-stundents at the 
Wirtschaftsinformatik BA in Stuttgart. The Students show a lot of interesset.

We wonder how many of them chose the presented Solution for writing the 
Papers.  To make it easy for the Students to test the Doculass, we distribute 
a Cd wiht the latest LyXWinInstaller and our BA-Docuslass.

uwe 






 Am Montag, 4. Dezember 2006 15:46 schrieben Sie:
  Wolfgang Engelmann wrote:
   Am Montag, 6. November 2006 15:47 schrieb uwe:
   Hello,
  
   we proudly presents the first Release of our latowincd on
  
   http://latowincd.berlios.de/
  
   Latowincd is a CD-iso with all needed Programms to install Latex und
   Lyx on a Windows-PC .
  
   The main aim indeed was to build an Latex-Documentclass. This class
   fits all Formatting requirements of the German Berufsakademie.
  
   This Documentclass is also separate on our Projektpage obtainable.
  
   All Information for this Project at this time are in German
  
   Feedback are welcome...
  
   uwe
  
   Good to hear. Would be nice to have a similar CD for Linux also.
 
  Well, lyx and latex is packaged for several linux distributions
  already. On debian:
  apt-get install lyx-qt texlive
 
  (As an alternative, specify tetex packages instead of texlive)
  Other distributions have similiar ways, although they may require
  manual downloading or inserting a distribution CD first.
 
  Windows does not have a convenient package system, so an
  install CD for windows is a nice thing to have.
 
  Helge Hafting

 What I ment was a live CD under linux containing all the stuff needed for
 writing, illustrating, bibliographing documents, preferentially of the
 morphix type where one can add additional programs and safe the output.

 Wolfgang



 lyx-users@lists.lyx.org


Re: Installation Error

2006-12-04 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
 my question is: how am I able to redefine the captionlabel using
 float-figures or -tables? Any ideas?

Supposing you are using a KOMA class (as stated below),
for instance:
\setkomafont{captionlabel}{\sffamily\bfseries}
(in preamble).

 2nd question: Is it possible to define the font of the TOC-numbering?
 Because I defined sffamily for my scrartcle but the numbers of the TOC are
 still in different font...

They shouldn't.
However, use the tocloft package (which is well documented) to tweak the look 
of the TOC.

Jürgen


Re: Problems after Lyx-installation: lyx produces one white page

2006-12-04 Thread Paul A. Rubin

Robert Neumann wrote:

I got it,
at least I can work again with my system. I insalled an old Miktex 2.4 and now
it works again. I still have no clue why (on my system) it doesn't work properly
with  Miktex 2.5 but I won't touch anything for the next ten years!
(The only thing which is a bit strange, that on my lyx 136 in the view-menu the
pdf is gone, there is only the dvipdfm and the pdflatex. Is there any
possibility to change that. (in the export-menu there is still the pdf which
uses the ps2pdf...)


View-PDF (ps2pdf) shows up automagically if (a) there is a conversion 
path specified that gets from LaTeX to PDF (ps2pdf) and (b) there is a 
viewer defined for the file type PDF (ps2pdf).  The export menu item 
requires just (a).  Since you have the export option, presumably (b) is 
the culprit.  Check in Edit-Preferences...-File formats-PDF (ps2pdf) 
that the Viewer: field is correctly set to whatever you use for viewing 
PDFs (acrord32?).


/Paul



DVI .eps render problem

2006-12-04 Thread Stephen Weymouth
Hello, 

 

I am running Lyx 1.4.3-5 on Windows XP. I am unable to render .eps files in
my documents. The preview shows up correctly, but the graphics do not appear
in the dvi or pdf docs. Please let me know what I can do. The following is
the error message that I receive: 

 

MiKTeX Problem Report

Message: The page could not be rendered.

Data: This is dvips(k) 5.95b Copyright 2005 Radical Eye Software
(www.radicaleye.com)

' TeX output 2006.12.04:0927' - 

tex.protexps.prospecial.pro. cmr10.pfb[1

0C__Documents_and_Settings_Stephen_Desktop_graph1.eps

0C__Documents_and_Settings_Stephen_Desktop_graph1.eps] 

 

Source: DviPage.cpp

Line: 1034

MiKTeX: 2.5

OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600)

SystemAdmin: yes

PowerUser: no

SharedSetup: yes

BinDir: C:\Program Files\MiKTeX 2.5\miktex\bin

Root0: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

Root1: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

Root3: C:\Program Files\MiKTeX 2.5

Install: C:\Program Files\MiKTeX 2.5

UserConfig: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

UserData: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

CommonConfig: C:\Documents and Settings\All Users\Application
Data\MiKTeX\2.5

CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

 

Stephen Weymouth

PhD Student

University of California, San Diego

Graduate School of International Relations and Pacific Studies

 Department of Political Science

(858)534-7687

 

 



Re: Problems after Lyx-installation: lyx produces one white page

2006-12-04 Thread Robert Neumann
 Check in Edit-Preferences...-File formats-PDF (ps2pdf) 
  that the Viewer: field is correctly set to whatever you use for viewing 

works perfectly now 
thx
Robert







Re: child doc changed; now can't create pdf

2006-12-04 Thread Sue Kientz

Jens,

Absolutely did the trick. Thanks!! I'll watch for that in future, too.

Sue

On Dec 1, 2006, at 6:43 PM, Jens Noeckel wrote:


Sue,

the way to fix this is to put the following in the Document  
Preamble of the main file (Document  Settings  LaTeX Preamle -  
insert it either at the start or end, doesn't matter):


\newcommand\Prefix[3]{\vphantom{#3}#1#2#3}

What happened is that the author of the child document put in a  
custom definition in the preamble of that file, which is not  
defined at the top level (in your main document). That's the line I  
copied above. With this line added to the main preamble, everything  
compiles fine here.


The reason for this problem is that the Child Document feature of  
LyX is really simplistic. It doesn't seem to merge the preambles of  
the included documents. And of course that would be really hard to  
implement correctly in practice, so I think all one can say is: use  
this feature with caution.


Jens


On Dec 1, 2006, at 5:10 PM, Sue Kientz wrote:


Jens,

I've done as you suggested. It is in the child doc. with the new  
changes, which has a lot of equations. I attach here the parent  
doc and the recalcitrant child doc. As mentioned, the child doc by  
itself will generate a PDF just fine.

pdf-gen-prob.lyx

materials.lyx

materials.lyx must be in a subdirectory of the parent file and  
named materials, or you must browse and select the file again.


Thanks for any help.

Sue Kientz

On Dec 1, 2006, at 4:21 PM, Jens Noeckel wrote:



On Dec 1, 2006, at 3:10 PM, Sue Kientz wrote:


On Dec 1, 2006, at 1:34 PM, Jens Noeckel wrote:


On Dec 1, 2006, at 1:04 PM, Sue Kientz wrote:

I had a set of related .lyx documents, a master and bunch of  
child documents, which were working fine as far as creating  
the PDF until someone changed one of the child documents. Now  
I cannot generate a PDF of the entire work. I get Undefined  
control sequence errors (about 40 of them), e.g.,


...symbol{\sigma}}\,,\label{eq:5}\end{gather}

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

Now I've tried adding an inconsequential change to the master  
document, opening and closing LyX, and every other trick I've  
used this last 6 months working with this program, as I have  
learned that many times the error messages tell you one thing  
is wrong when it's something completely different. FWIW, the  
child doc which was changed will generate a PDF just fine. In  
fact, each child document that I've tried generates a PDF with  
no trouble. As I said, only the one was changed. I'm using  
1.4.3 on Max OS X.


Any fix, tips or lyx voodoo would be greatly appreciated.


Did you perhaps un-check the AMS math box in the master  
document? It needs to be checked (in DocumentSettingsMath  
Options) because the gather environment is part of AMS LaTeX,  
not standard LaTeX. That's the only thing I can guess without  
an example file...


No, that's checked, both in the parent and in the child doc that  
was changed (and probably is checked in all docs. I didn't  
change anything else since this problem began).


I'll attach the parent file but how can you check the problem  
without all the files, and surely you don't want them all?




Sorry, that was my only idea for now. I guess it would be nice to  
have a minimal example. I.e., while periodically checking if the  
compilation succeeds, cut out all the files that are unrelated to  
the problem, and cut all the unrelated content from the files  
that cause the problem, and then post only those files that are  
left, with the compilation error still occurring. By doing that,  
you may even be able to isolate the problem yourself.


Jens









Re: DVI .eps render problem

2006-12-04 Thread Paul A. Rubin

Stephen Weymouth wrote:
Hello, 

 


I am running Lyx 1.4.3-5 on Windows XP. I am unable to render .eps files in
my documents. The preview shows up correctly, but the graphics do not appear
in the dvi or pdf docs. Please let me know what I can do. The following is
the error message that I receive: 

 


MiKTeX Problem Report

Message: The page could not be rendered.

Data: This is dvips(k) 5.95b Copyright 2005 Radical Eye Software
(www.radicaleye.com)

' TeX output 2006.12.04:0927' - 


tex.protexps.prospecial.pro. cmr10.pfb[1

0C__Documents_and_Settings_Stephen_Desktop_graph1.eps

0C__Documents_and_Settings_Stephen_Desktop_graph1.eps] 

 


Source: DviPage.cpp

Line: 1034

MiKTeX: 2.5

OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600)

SystemAdmin: yes

PowerUser: no

SharedSetup: yes

BinDir: C:\Program Files\MiKTeX 2.5\miktex\bin

Root0: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

Root1: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

Root3: C:\Program Files\MiKTeX 2.5

Install: C:\Program Files\MiKTeX 2.5

UserConfig: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

UserData: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

CommonConfig: C:\Documents and Settings\All Users\Application
Data\MiKTeX\2.5

CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

 


Stephen Weymouth

PhD Student

University of California, San Diego

Graduate School of International Relations and Pacific Studies

 Department of Political Science

(858)534-7687

 


Dude!  UCSD has one of the best known Computer Science programs in the 
US.  Can't you get them to fix it?


Ok, just kidding.  First thing I would try is the following.  Open the 
document in LyX and do View-DVI.  While you're staring at the 
image-free output (or the associated error message), use Windows 
Explorer to locate your LyX temp directory.  Unless you modified the 
path (in Tools - Preferences... - Paths - Temporary directory), 
you'll find it in C:\Documents and Settings\Stephen\Local Settings\Temp.


Now see if there is a file named 
0C__Documents_and_Settings_Stephen_Desktop_graph1.eps sitting there.  If 
yes, try to open it with Ghostview (or whatever you use to view EPS 
files).  This is by way of checking that the file itself (a) has been 
copied to the temp directory from your desktop (suitably renamed) and 
(b) is intact.


/Paul



Lyx not printing

2006-12-04 Thread Daniel Culver

Hi,
I've read, looked first and am confused; and I can't print directly  
from Lyx. I am on an Apple G5 10.4.current patch using PPC chip. I  
have Lyx running locally on Apple OS and I also have a Fink / Lyx  
install. Both show same error 'that document... can't print. Check  
your printer for correct settings.'. I can export to texshop and  
print only if there are absolutely no errors in the document. Since I  
am trying to teach my kids to use Lyx in preparation for college and  
error free pages are still rare. I've tried piping to the printer by  
different routes that I have experience with in other programs (Neo  
Office, Inkscape) and I don't think that is the problem.

Thanks for any help.
Daniel Culver
[EMAIL PROTECTED]





Don't print image in preamble

2006-12-04 Thread icebna

Hi all :

The image of the logo in preamble, don't print it. I can see it in the 
xdvi visor, but don't print it. This file, work fine in lyx-1.3.7, and 
print the logo. It's a bug of lyx-1.4.3 ?. My distro is Mandriva 2007.


Someone idea.

Miguel.


Numpad doesn't work with lyx 1.4.3 compiled on debian sarge

2006-12-04 Thread Gilles Mioni
Hi

I have lyx 1.4.3 on debian sarge. Numerics key of num pad don't work when
pad is locked on numeric function.
UI file is default.ui and shorcuts is cua.bind
Any idea ?
Thanks for help



tensind package incompatible with LyX?

2006-12-04 Thread Nils Becker
Hi all,

I am trying to use the package tensind.sty for typesetting tensors with 
multiple
upper and lower indices in LyX.

In LaTeX this works great: after defining a special tensor delimiter in the
preamble (here I use the letter ?) one can in math mode type
?A^\mu_\nu? for northwest, southeast indices and
?A_\mu^\nu? for southwest, northeast indices following the tensor symbol A.

Here, the order of super- and subscript matters! LyX seems to REORDER the 
super- and
subscript in such a way that always the subscript comes first.

Also, within tensind, ?g_\mu_\nu? is perfectly acceptable, and has a different
meaning (and typeset result) than ?g_{\mu\nu}? Within LyX, one always gets the 
latter
form due to automatic grouping in the math editor

Is there a workaround?

Thanks a lot, Nils


Re: tensind package incompatible with LyX?

2006-12-04 Thread Helge Hafting

Nils Becker wrote:

Hi all,

I am trying to use the package tensind.sty for typesetting tensors with 
multiple
upper and lower indices in LyX.

In LaTeX this works great: after defining a special tensor delimiter in the
preamble (here I use the letter ?) one can in math mode type
?A^\mu_\nu? for northwest, southeast indices and
?A_\mu^\nu? for southwest, northeast indices following the tensor symbol A.

Here, the order of super- and subscript matters! LyX seems to REORDER the 
super- and
subscript in such a way that always the subscript comes first.

Also, within tensind, ?g_\mu_\nu? is perfectly acceptable, and has a different
meaning (and typeset result) than ?g_{\mu\nu}? Within LyX, one always gets the 
latter
form due to automatic grouping in the math editor

Is there a workaround?
  

You know how to type this in latex, therefore, there is a workaround:
Type your tensor stuff in an ERT box, as raw latex. (Instead
of using mathed for it).  Non-tensor math can still go in the math
editor of course.

Consider filing a wishlist bug at bugzilla.lyx.org, perhaps someone
pick this up and fixes it some day. (Likely not right now, lyx
is in a feature freeze before version 1.5.0)

Helge Hafting


Re: First Relase from latowincd

2006-12-04 Thread Helge Hafting

Wolfgang Engelmann wrote:

Am Montag, 6. November 2006 15:47 schrieb uwe:
  

Hello,

we proudly presents the first Release of our latowincd on

http://latowincd.berlios.de/

Latowincd is a CD-iso with all needed Programms to install Latex und Lyx on
a Windows-PC .

The main aim indeed was to build an Latex-Documentclass. This class fits
all Formatting requirements of the German Berufsakademie.

This Documentclass is also separate on our Projektpage obtainable.

All Information for this Project at this time are in German

Feedback are welcome...

uwe



Good to hear. Would be nice to have a similar CD for Linux also.
  

Well, lyx and latex is packaged for several linux distributions
already. On debian:
apt-get install lyx-qt texlive

(As an alternative, specify tetex packages instead of texlive)
Other distributions have similiar ways, although they may require
manual downloading or inserting a distribution CD first.

Windows does not have a convenient package system, so an
install CD for windows is a nice thing to have.

Helge Hafting


different vertical margins for odd and even pages?

2006-12-04 Thread Robert Neumann
hello, 
is there a way to define different vertical margins for odd and even pages? 
(I'm designing Vocabulary-Cards with lyx and on the odd side I need a header 
and a footer, but on the even side I need neither one - but space to write the 
anwer...) 
One of my Ideas was, to have small margins and then a negative headsep and 
footsep. this works for the header fine but not for the footer, the minus is 
ignored in the footsep 
 
thanks 
Robert 



Re: First Relase from latowincd

2006-12-04 Thread Wolfgang Engelmann
Am Montag, 4. Dezember 2006 15:46 schrieben Sie:
 Wolfgang Engelmann wrote:
  Am Montag, 6. November 2006 15:47 schrieb uwe:
  Hello,
 
  we proudly presents the first Release of our latowincd on
 
  http://latowincd.berlios.de/
 
  Latowincd is a CD-iso with all needed Programms to install Latex und Lyx
  on a Windows-PC .
 
  The main aim indeed was to build an Latex-Documentclass. This class fits
  all Formatting requirements of the German Berufsakademie.
 
  This Documentclass is also separate on our Projektpage obtainable.
 
  All Information for this Project at this time are in German
 
  Feedback are welcome...
 
  uwe
 
  Good to hear. Would be nice to have a similar CD for Linux also.

 Well, lyx and latex is packaged for several linux distributions
 already. On debian:
 apt-get install lyx-qt texlive

 (As an alternative, specify tetex packages instead of texlive)
 Other distributions have similiar ways, although they may require
 manual downloading or inserting a distribution CD first.

 Windows does not have a convenient package system, so an
 install CD for windows is a nice thing to have.

 Helge Hafting

What I ment was a live CD under linux containing all the stuff needed for 
writing, illustrating, bibliographing documents, preferentially of the 
morphix type where one can add additional programs and safe the output.

Wolfgang


Re: different vertical margins for odd and even pages?

2006-12-04 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Robert Neumann [EMAIL PROTECTED]
Subject: different vertical margins for odd and even pages?
Date: Mon, 4 Dec 2006 15:06:17 + (UTC)

hello, 
is there a way to define different vertical margins for odd and even pages? 
(I'm designing Vocabulary-Cards with lyx and on the odd side I need a header 
and a footer, but on the even side I need neither one - but space to write 
the 
anwer...) 

Check the fancyhdr manual, the \lhead, \lfoot... have optional args to manage 
twosided documents.

E.g., to customize running headers:

\lhead[\fancyplain{\rm\thepage}{\rm\thepage}]{\fancyplain{}{\it\rightmark}}
\rhead[\fancyplain{}{\it\leftmark}]{\fancyplain{\rm\thepage}{\rm\thepage}}

(\fancyplain is used to remove the marks on plain pages, i.e. opening
chapter pages).

-- 
Jean-Pierre



Installation Error

2006-12-04 Thread service
Hello,

my question is: how am I able to redefine the captionlabel using
float-figures or -tables? Any ideas?
2nd question: Is it possible to define the font of the TOC-numbering?
Because I defined sffamily for my scrartcle but the numbers of the TOC are
still in different font...

I'm looking forward to hearing from somebody... thank you... regards...
nico



latowincd closed!!!!!

2006-12-04 Thread uwe
Hello,

as Uwe Stöhr wrote there is already a very very  good solution for 
Installation von Latex und Lyx on a Windowsystem.

http://wiki.lyx.org/Windows/LyXWinInstaller

Therefore we closed the Project latowincd. The Projectsfile where removed from 
the Berliosserver.

We work continuess on our original aim: the Documentclass for BA-Papers. To 
develop the docuclass we has  founded a new Berliosproject called

badocuclass

http://developer.berlios.de/projects/badocuclass/

Last week we presents our Solution about 70 BA-stundents at the 
Wirtschaftsinformatik BA in Stuttgart. The Students show a lot of interesset.

We wonder how many of them chose the presented Solution for writing the 
Papers.  To make it easy for the Students to test the Doculass, we distribute 
a Cd wiht the latest LyXWinInstaller and our BA-Docuslass.

uwe 






 Am Montag, 4. Dezember 2006 15:46 schrieben Sie:
  Wolfgang Engelmann wrote:
   Am Montag, 6. November 2006 15:47 schrieb uwe:
   Hello,
  
   we proudly presents the first Release of our latowincd on
  
   http://latowincd.berlios.de/
  
   Latowincd is a CD-iso with all needed Programms to install Latex und
   Lyx on a Windows-PC .
  
   The main aim indeed was to build an Latex-Documentclass. This class
   fits all Formatting requirements of the German Berufsakademie.
  
   This Documentclass is also separate on our Projektpage obtainable.
  
   All Information for this Project at this time are in German
  
   Feedback are welcome...
  
   uwe
  
   Good to hear. Would be nice to have a similar CD for Linux also.
 
  Well, lyx and latex is packaged for several linux distributions
  already. On debian:
  apt-get install lyx-qt texlive
 
  (As an alternative, specify tetex packages instead of texlive)
  Other distributions have similiar ways, although they may require
  manual downloading or inserting a distribution CD first.
 
  Windows does not have a convenient package system, so an
  install CD for windows is a nice thing to have.
 
  Helge Hafting

 What I ment was a live CD under linux containing all the stuff needed for
 writing, illustrating, bibliographing documents, preferentially of the
 morphix type where one can add additional programs and safe the output.

 Wolfgang



 lyx-users@lists.lyx.org


Re: Installation Error

2006-12-04 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
 my question is: how am I able to redefine the captionlabel using
 float-figures or -tables? Any ideas?

Supposing you are using a KOMA class (as stated below),
for instance:
\setkomafont{captionlabel}{\sffamily\bfseries}
(in preamble).

 2nd question: Is it possible to define the font of the TOC-numbering?
 Because I defined sffamily for my scrartcle but the numbers of the TOC are
 still in different font...

They shouldn't.
However, use the tocloft package (which is well documented) to tweak the look 
of the TOC.

Jürgen


Re: Problems after Lyx-installation: lyx produces one white page

2006-12-04 Thread Paul A. Rubin

Robert Neumann wrote:

I got it,
at least I can work again with my system. I insalled an old Miktex 2.4 and now
it works again. I still have no clue why (on my system) it doesn't work properly
with  Miktex 2.5 but I won't touch anything for the next ten years!
(The only thing which is a bit strange, that on my lyx 136 in the view-menu the
pdf is gone, there is only the dvipdfm and the pdflatex. Is there any
possibility to change that. (in the export-menu there is still the pdf which
uses the ps2pdf...)


View-PDF (ps2pdf) shows up automagically if (a) there is a conversion 
path specified that gets from LaTeX to PDF (ps2pdf) and (b) there is a 
viewer defined for the file type PDF (ps2pdf).  The export menu item 
requires just (a).  Since you have the export option, presumably (b) is 
the culprit.  Check in Edit-Preferences...-File formats-PDF (ps2pdf) 
that the Viewer: field is correctly set to whatever you use for viewing 
PDFs (acrord32?).


/Paul



DVI .eps render problem

2006-12-04 Thread Stephen Weymouth
Hello, 

 

I am running Lyx 1.4.3-5 on Windows XP. I am unable to render .eps files in
my documents. The preview shows up correctly, but the graphics do not appear
in the dvi or pdf docs. Please let me know what I can do. The following is
the error message that I receive: 

 

MiKTeX Problem Report

Message: The page could not be rendered.

Data: This is dvips(k) 5.95b Copyright 2005 Radical Eye Software
(www.radicaleye.com)

' TeX output 2006.12.04:0927' - 

tex.protexps.prospecial.pro. cmr10.pfb[1

0C__Documents_and_Settings_Stephen_Desktop_graph1.eps

0C__Documents_and_Settings_Stephen_Desktop_graph1.eps] 

 

Source: DviPage.cpp

Line: 1034

MiKTeX: 2.5

OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600)

SystemAdmin: yes

PowerUser: no

SharedSetup: yes

BinDir: C:\Program Files\MiKTeX 2.5\miktex\bin

Root0: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

Root1: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

Root3: C:\Program Files\MiKTeX 2.5

Install: C:\Program Files\MiKTeX 2.5

UserConfig: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

UserData: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

CommonConfig: C:\Documents and Settings\All Users\Application
Data\MiKTeX\2.5

CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

 

Stephen Weymouth

PhD Student

University of California, San Diego

Graduate School of International Relations and Pacific Studies

 Department of Political Science

(858)534-7687

 

 



Re: Problems after Lyx-installation: lyx produces one white page

2006-12-04 Thread Robert Neumann
 Check in Edit-Preferences...-File formats-PDF (ps2pdf) 
  that the Viewer: field is correctly set to whatever you use for viewing 

works perfectly now 
thx
Robert







Re: child doc changed; now can't create pdf

2006-12-04 Thread Sue Kientz

Jens,

Absolutely did the trick. Thanks!! I'll watch for that in future, too.

Sue

On Dec 1, 2006, at 6:43 PM, Jens Noeckel wrote:


Sue,

the way to fix this is to put the following in the Document  
Preamble of the main file (Document  Settings  LaTeX Preamle -  
insert it either at the start or end, doesn't matter):


\newcommand\Prefix[3]{\vphantom{#3}#1#2#3}

What happened is that the author of the child document put in a  
custom definition in the preamble of that file, which is not  
defined at the top level (in your main document). That's the line I  
copied above. With this line added to the main preamble, everything  
compiles fine here.


The reason for this problem is that the Child Document feature of  
LyX is really simplistic. It doesn't seem to merge the preambles of  
the included documents. And of course that would be really hard to  
implement correctly in practice, so I think all one can say is: use  
this feature with caution.


Jens


On Dec 1, 2006, at 5:10 PM, Sue Kientz wrote:


Jens,

I've done as you suggested. It is in the child doc. with the new  
changes, which has a lot of equations. I attach here the parent  
doc and the recalcitrant child doc. As mentioned, the child doc by  
itself will generate a PDF just fine.

pdf-gen-prob.lyx

materials.lyx

materials.lyx must be in a subdirectory of the parent file and  
named materials, or you must browse and select the file again.


Thanks for any help.

Sue Kientz

On Dec 1, 2006, at 4:21 PM, Jens Noeckel wrote:



On Dec 1, 2006, at 3:10 PM, Sue Kientz wrote:


On Dec 1, 2006, at 1:34 PM, Jens Noeckel wrote:


On Dec 1, 2006, at 1:04 PM, Sue Kientz wrote:

I had a set of related .lyx documents, a master and bunch of  
child documents, which were working fine as far as creating  
the PDF until someone changed one of the child documents. Now  
I cannot generate a PDF of the entire work. I get Undefined  
control sequence errors (about 40 of them), e.g.,


...symbol{\sigma}}\,,\label{eq:5}\end{gather}

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

Now I've tried adding an inconsequential change to the master  
document, opening and closing LyX, and every other trick I've  
used this last 6 months working with this program, as I have  
learned that many times the error messages tell you one thing  
is wrong when it's something completely different. FWIW, the  
child doc which was changed will generate a PDF just fine. In  
fact, each child document that I've tried generates a PDF with  
no trouble. As I said, only the one was changed. I'm using  
1.4.3 on Max OS X.


Any fix, tips or lyx voodoo would be greatly appreciated.


Did you perhaps un-check the AMS math box in the master  
document? It needs to be checked (in DocumentSettingsMath  
Options) because the gather environment is part of AMS LaTeX,  
not standard LaTeX. That's the only thing I can guess without  
an example file...


No, that's checked, both in the parent and in the child doc that  
was changed (and probably is checked in all docs. I didn't  
change anything else since this problem began).


I'll attach the parent file but how can you check the problem  
without all the files, and surely you don't want them all?




Sorry, that was my only idea for now. I guess it would be nice to  
have a minimal example. I.e., while periodically checking if the  
compilation succeeds, cut out all the files that are unrelated to  
the problem, and cut all the unrelated content from the files  
that cause the problem, and then post only those files that are  
left, with the compilation error still occurring. By doing that,  
you may even be able to isolate the problem yourself.


Jens









Re: DVI .eps render problem

2006-12-04 Thread Paul A. Rubin

Stephen Weymouth wrote:
Hello, 

 


I am running Lyx 1.4.3-5 on Windows XP. I am unable to render .eps files in
my documents. The preview shows up correctly, but the graphics do not appear
in the dvi or pdf docs. Please let me know what I can do. The following is
the error message that I receive: 

 


MiKTeX Problem Report

Message: The page could not be rendered.

Data: This is dvips(k) 5.95b Copyright 2005 Radical Eye Software
(www.radicaleye.com)

' TeX output 2006.12.04:0927' - 


tex.protexps.prospecial.pro. cmr10.pfb[1

0C__Documents_and_Settings_Stephen_Desktop_graph1.eps

0C__Documents_and_Settings_Stephen_Desktop_graph1.eps] 

 


Source: DviPage.cpp

Line: 1034

MiKTeX: 2.5

OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600)

SystemAdmin: yes

PowerUser: no

SharedSetup: yes

BinDir: C:\Program Files\MiKTeX 2.5\miktex\bin

Root0: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

Root1: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

Root3: C:\Program Files\MiKTeX 2.5

Install: C:\Program Files\MiKTeX 2.5

UserConfig: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

UserData: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

CommonConfig: C:\Documents and Settings\All Users\Application
Data\MiKTeX\2.5

CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

 


Stephen Weymouth

PhD Student

University of California, San Diego

Graduate School of International Relations and Pacific Studies

 Department of Political Science

(858)534-7687

 


Dude!  UCSD has one of the best known Computer Science programs in the 
US.  Can't you get them to fix it?


Ok, just kidding.  First thing I would try is the following.  Open the 
document in LyX and do View-DVI.  While you're staring at the 
image-free output (or the associated error message), use Windows 
Explorer to locate your LyX temp directory.  Unless you modified the 
path (in Tools - Preferences... - Paths - Temporary directory), 
you'll find it in C:\Documents and Settings\Stephen\Local Settings\Temp.


Now see if there is a file named 
0C__Documents_and_Settings_Stephen_Desktop_graph1.eps sitting there.  If 
yes, try to open it with Ghostview (or whatever you use to view EPS 
files).  This is by way of checking that the file itself (a) has been 
copied to the temp directory from your desktop (suitably renamed) and 
(b) is intact.


/Paul



Lyx not printing

2006-12-04 Thread Daniel Culver

Hi,
I've read, looked first and am confused; and I can't print directly  
from Lyx. I am on an Apple G5 10.4.current patch using PPC chip. I  
have Lyx running locally on Apple OS and I also have a Fink / Lyx  
install. Both show same error 'that document... can't print. Check  
your printer for correct settings.'. I can export to texshop and  
print only if there are absolutely no errors in the document. Since I  
am trying to teach my kids to use Lyx in preparation for college and  
error free pages are still rare. I've tried piping to the printer by  
different routes that I have experience with in other programs (Neo  
Office, Inkscape) and I don't think that is the problem.

Thanks for any help.
Daniel Culver
[EMAIL PROTECTED]





Don't print image in preamble

2006-12-04 Thread icebna

Hi all :

The image of the logo in preamble, don't print it. I can see it in the 
xdvi visor, but don't print it. This file, work fine in lyx-1.3.7, and 
print the logo. It's a bug of lyx-1.4.3 ?. My distro is Mandriva 2007.


Someone idea.

Miguel.


Numpad doesn't work with lyx 1.4.3 compiled on debian sarge

2006-12-04 Thread Gilles Mioni
Hi

I have lyx 1.4.3 on debian sarge. Numerics key of num pad don't work when
pad is locked on numeric function.
UI file is default.ui and shorcuts is cua.bind
Any idea ?
Thanks for help



tensind package incompatible with LyX?

2006-12-04 Thread Nils Becker
Hi all,

I am trying to use the package "tensind.sty" for typesetting tensors with 
multiple
upper and lower indices in LyX.

In LaTeX this works great: after defining a special "tensor delimiter" in the
preamble (here I use the letter "?") one can in math mode type
?A^\mu_\nu? for northwest, southeast indices and
?A_\mu^\nu? for southwest, northeast indices following the tensor symbol A.

Here, the order of super- and subscript matters! LyX seems to REORDER the 
super- and
subscript in such a way that always the subscript comes first.

Also, within tensind, ?g_\mu_\nu? is perfectly acceptable, and has a different
meaning (and typeset result) than ?g_{\mu\nu}? Within LyX, one always gets the 
latter
form due to automatic grouping in the math editor

Is there a workaround?

Thanks a lot, Nils


Re: tensind package incompatible with LyX?

2006-12-04 Thread Helge Hafting

Nils Becker wrote:

Hi all,

I am trying to use the package "tensind.sty" for typesetting tensors with 
multiple
upper and lower indices in LyX.

In LaTeX this works great: after defining a special "tensor delimiter" in the
preamble (here I use the letter "?") one can in math mode type
?A^\mu_\nu? for northwest, southeast indices and
?A_\mu^\nu? for southwest, northeast indices following the tensor symbol A.

Here, the order of super- and subscript matters! LyX seems to REORDER the 
super- and
subscript in such a way that always the subscript comes first.

Also, within tensind, ?g_\mu_\nu? is perfectly acceptable, and has a different
meaning (and typeset result) than ?g_{\mu\nu}? Within LyX, one always gets the 
latter
form due to automatic grouping in the math editor

Is there a workaround?
  

You know how to type this in latex, therefore, there is a workaround:
Type your tensor stuff in an ERT box, as raw latex. (Instead
of using mathed for it).  Non-tensor math can still go in the math
editor of course.

Consider filing a wishlist bug at bugzilla.lyx.org, perhaps someone
pick this up and fixes it some day. (Likely not right now, lyx
is in a feature freeze before version 1.5.0)

Helge Hafting


Re: First Relase from latowincd

2006-12-04 Thread Helge Hafting

Wolfgang Engelmann wrote:

Am Montag, 6. November 2006 15:47 schrieb uwe:
  

Hello,

we proudly presents the first Release of our "latowincd" on

http://latowincd.berlios.de/

Latowincd is a CD-iso with all needed Programms to install Latex und Lyx on
a Windows-PC .

The main aim indeed was to build an Latex-Documentclass. This class fits
all Formatting requirements of the German Berufsakademie.

This Documentclass is also separate on our Projektpage obtainable.

All Information for this Project at this time are in German

Feedback are welcome...

uwe



Good to hear. Would be nice to have a similar CD for Linux also.
  

Well, lyx and latex is packaged for several linux distributions
already. On debian:
apt-get install lyx-qt texlive

(As an alternative, specify tetex packages instead of texlive)
Other distributions have similiar ways, although they may require
manual downloading or inserting a distribution CD first.

Windows does not have a convenient package system, so an
install CD for windows is a nice thing to have.

Helge Hafting


different vertical margins for odd and even pages?

2006-12-04 Thread Robert Neumann
hello, 
is there a way to define different vertical margins for odd and even pages? 
(I'm designing Vocabulary-Cards with lyx and on the odd side I need a header 
and a footer, but on the even side I need neither one - but space to write the 
anwer...) 
One of my Ideas was, to have small margins and then a negative headsep and 
footsep. this works for the header fine but not for the footer, the minus is 
ignored in the footsep 
 
thanks 
Robert 



Re: First Relase from latowincd

2006-12-04 Thread Wolfgang Engelmann
Am Montag, 4. Dezember 2006 15:46 schrieben Sie:
> Wolfgang Engelmann wrote:
> > Am Montag, 6. November 2006 15:47 schrieb uwe:
> >> Hello,
> >>
> >> we proudly presents the first Release of our "latowincd" on
> >>
> >> http://latowincd.berlios.de/
> >>
> >> Latowincd is a CD-iso with all needed Programms to install Latex und Lyx
> >> on a Windows-PC .
> >>
> >> The main aim indeed was to build an Latex-Documentclass. This class fits
> >> all Formatting requirements of the German Berufsakademie.
> >>
> >> This Documentclass is also separate on our Projektpage obtainable.
> >>
> >> All Information for this Project at this time are in German
> >>
> >> Feedback are welcome...
> >>
> >> uwe
> >
> > Good to hear. Would be nice to have a similar CD for Linux also.
>
> Well, lyx and latex is packaged for several linux distributions
> already. On debian:
> apt-get install lyx-qt texlive
>
> (As an alternative, specify tetex packages instead of texlive)
> Other distributions have similiar ways, although they may require
> manual downloading or inserting a distribution CD first.
>
> Windows does not have a convenient package system, so an
> install CD for windows is a nice thing to have.
>
> Helge Hafting

What I ment was a live CD under linux containing all the stuff needed for 
writing, illustrating, bibliographing documents, preferentially of the 
morphix type where one can add additional programs and safe the output.

Wolfgang


Re: different vertical margins for odd and even pages?

2006-12-04 Thread Jean-Pierre Chretien

>>To: lyx-users@lists.lyx.org
>>From: Robert Neumann <[EMAIL PROTECTED]>
>>Subject: different vertical margins for odd and even pages?
>>Date: Mon, 4 Dec 2006 15:06:17 + (UTC)
>>
>>hello, 
>>is there a way to define different vertical margins for odd and even pages? 
>>(I'm designing Vocabulary-Cards with lyx and on the odd side I need a header 
>>and a footer, but on the even side I need neither one - but space to write 
>>the 
>>anwer...) 

Check the fancyhdr manual, the \lhead, \lfoot... have optional args to manage 
twosided documents.

E.g., to customize running headers:

\lhead[\fancyplain{\rm\thepage}{\rm\thepage}]{\fancyplain{}{\it\rightmark}}
\rhead[\fancyplain{}{\it\leftmark}]{\fancyplain{\rm\thepage}{\rm\thepage}}

(\fancyplain is used to remove the marks on "plain" pages, i.e. opening
chapter pages).

-- 
Jean-Pierre



Installation Error

2006-12-04 Thread service
Hello,

my question is: how am I able to redefine the captionlabel using
float-figures or -tables? Any ideas?
2nd question: Is it possible to define the font of the TOC-numbering?
Because I defined sffamily for my scrartcle but the numbers of the TOC are
still in different font...

I'm looking forward to hearing from somebody... thank you... regards...
nico



latowincd closed!!!!!

2006-12-04 Thread uwe
Hello,

as Uwe Stöhr wrote there is already a very very  good solution for 
Installation von Latex und Lyx on a Windowsystem.

http://wiki.lyx.org/Windows/LyXWinInstaller

Therefore we closed the Project latowincd. The Projectsfile where removed from 
the Berliosserver.

We work continuess on our original aim: the Documentclass for BA-Papers. To 
develop the docuclass we has  founded a new Berliosproject called

badocuclass

http://developer.berlios.de/projects/badocuclass/

Last week we presents our Solution about 70 BA-stundents at the 
Wirtschaftsinformatik BA in Stuttgart. The Students show a lot of interesset.

We wonder how many of them chose the presented Solution for writing the 
Papers.  To make it easy for the Students to test the Doculass, we distribute 
a Cd wiht the latest LyXWinInstaller and our BA-Docuslass.

uwe 






> Am Montag, 4. Dezember 2006 15:46 schrieben Sie:
> > Wolfgang Engelmann wrote:
> > > Am Montag, 6. November 2006 15:47 schrieb uwe:
> > >> Hello,
> > >>
> > >> we proudly presents the first Release of our "latowincd" on
> > >>
> > >> http://latowincd.berlios.de/
> > >>
> > >> Latowincd is a CD-iso with all needed Programms to install Latex und
> > >> Lyx on a Windows-PC .
> > >>
> > >> The main aim indeed was to build an Latex-Documentclass. This class
> > >> fits all Formatting requirements of the German Berufsakademie.
> > >>
> > >> This Documentclass is also separate on our Projektpage obtainable.
> > >>
> > >> All Information for this Project at this time are in German
> > >>
> > >> Feedback are welcome...
> > >>
> > >> uwe
> > >
> > > Good to hear. Would be nice to have a similar CD for Linux also.
> >
> > Well, lyx and latex is packaged for several linux distributions
> > already. On debian:
> > apt-get install lyx-qt texlive
> >
> > (As an alternative, specify tetex packages instead of texlive)
> > Other distributions have similiar ways, although they may require
> > manual downloading or inserting a distribution CD first.
> >
> > Windows does not have a convenient package system, so an
> > install CD for windows is a nice thing to have.
> >
> > Helge Hafting
>
> What I ment was a live CD under linux containing all the stuff needed for
> writing, illustrating, bibliographing documents, preferentially of the
> morphix type where one can add additional programs and safe the output.
>
> Wolfgang



> lyx-users@lists.lyx.org


Re: Installation Error

2006-12-04 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
> my question is: how am I able to redefine the captionlabel using
> float-figures or -tables? Any ideas?

Supposing you are using a KOMA class (as stated below),
for instance:
\setkomafont{captionlabel}{\sffamily\bfseries}
(in preamble).

> 2nd question: Is it possible to define the font of the TOC-numbering?
> Because I defined sffamily for my scrartcle but the numbers of the TOC are
> still in different font...

They shouldn't.
However, use the tocloft package (which is well documented) to tweak the look 
of the TOC.

Jürgen


Re: Problems after Lyx-installation: lyx produces one white page

2006-12-04 Thread Paul A. Rubin

Robert Neumann wrote:

I got it,
at least I can work again with my system. I insalled an old Miktex 2.4 and now
it works again. I still have no clue why (on my system) it doesn't work properly
with  Miktex 2.5 but I won't touch anything for the next ten years!
(The only thing which is a bit strange, that on my lyx 136 in the view-menu the
"pdf" is gone, there is only the "dvipdfm" and the "pdflatex". Is there any
possibility to change that. (in the export-menu there is still the pdf which
uses the ps2pdf...)


View->PDF (ps2pdf) shows up automagically if (a) there is a conversion 
path specified that gets from LaTeX to PDF (ps2pdf) and (b) there is a 
viewer defined for the file type PDF (ps2pdf).  The export menu item 
requires just (a).  Since you have the export option, presumably (b) is 
the culprit.  Check in Edit->Preferences...->File formats->PDF (ps2pdf) 
that the Viewer: field is correctly set to whatever you use for viewing 
PDFs (acrord32?).


/Paul



DVI .eps render problem

2006-12-04 Thread Stephen Weymouth
Hello, 

 

I am running Lyx 1.4.3-5 on Windows XP. I am unable to render .eps files in
my documents. The preview shows up correctly, but the graphics do not appear
in the dvi or pdf docs. Please let me know what I can do. The following is
the error message that I receive: 

 

MiKTeX Problem Report

Message: The page could not be rendered.

Data: This is dvips(k) 5.95b Copyright 2005 Radical Eye Software
(www.radicaleye.com)

' TeX output 2006.12.04:0927' -> 

. [1

<0C__Documents_and_Settings_Stephen_Desktop_graph1.eps>

<0C__Documents_and_Settings_Stephen_Desktop_graph1.eps>] 

 

Source: DviPage.cpp

Line: 1034

MiKTeX: 2.5

OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600)

SystemAdmin: yes

PowerUser: no

SharedSetup: yes

BinDir: C:\Program Files\MiKTeX 2.5\miktex\bin

Root0: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

Root1: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

Root3: C:\Program Files\MiKTeX 2.5

Install: C:\Program Files\MiKTeX 2.5

UserConfig: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

UserData: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

CommonConfig: C:\Documents and Settings\All Users\Application
Data\MiKTeX\2.5

CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

 

Stephen Weymouth

PhD Student

University of California, San Diego

Graduate School of International Relations and Pacific Studies

& Department of Political Science

(858)534-7687

 

 



Re: Problems after Lyx-installation: lyx produces one white page

2006-12-04 Thread Robert Neumann
> Check in Edit->Preferences...->File formats->PDF (ps2pdf) 
  that the Viewer: field is correctly set to whatever you use for viewing 

works perfectly now 
thx
Robert







Re: child doc changed; now can't create pdf

2006-12-04 Thread Sue Kientz

Jens,

Absolutely did the trick. Thanks!! I'll watch for that in future, too.

Sue

On Dec 1, 2006, at 6:43 PM, Jens Noeckel wrote:


Sue,

the way to fix this is to put the following in the Document  
Preamble of the main file (Document > Settings > LaTeX Preamle -  
insert it either at the start or end, doesn't matter):


\newcommand\Prefix[3]{\vphantom{#3}#1#2#3}

What happened is that the author of the child document put in a  
custom definition in the preamble of that file, which is not  
defined at the top level (in your main document). That's the line I  
copied above. With this line added to the main preamble, everything  
compiles fine here.


The reason for this problem is that the "Child Document" feature of  
LyX is really simplistic. It doesn't seem to merge the preambles of  
the included documents. And of course that would be really hard to  
implement correctly in practice, so I think all one can say is: use  
this feature with caution.


Jens


On Dec 1, 2006, at 5:10 PM, Sue Kientz wrote:


Jens,

I've done as you suggested. It is in the child doc. with the new  
changes, which has a lot of equations. I attach here the parent  
doc and the recalcitrant child doc. As mentioned, the child doc by  
itself will generate a PDF just fine.





"materials.lyx" must be in a subdirectory of the parent file and  
named "materials," or you must browse and select the file again.


Thanks for any help.

Sue Kientz

On Dec 1, 2006, at 4:21 PM, Jens Noeckel wrote:



On Dec 1, 2006, at 3:10 PM, Sue Kientz wrote:


On Dec 1, 2006, at 1:34 PM, Jens Noeckel wrote:


On Dec 1, 2006, at 1:04 PM, Sue Kientz wrote:

I had a set of related .lyx documents, a master and bunch of  
child documents, which were working fine as far as creating  
the PDF until someone changed one of the child documents. Now  
I cannot generate a PDF of the entire work. I get "Undefined  
control sequence" errors (about 40 of them), e.g.,


...symbol{\sigma}}\,,\label{eq:5}\end{gather}

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

Now I've tried adding an inconsequential change to the master  
document, opening and closing LyX, and every other trick I've  
used this last 6 months working with this program, as I have  
learned that many times the error messages tell you one thing  
is wrong when it's something completely different. FWIW, the  
child doc which was changed will generate a PDF just fine. In  
fact, each child document that I've tried generates a PDF with  
no trouble. As I said, only the one was changed. I'm using  
1.4.3 on Max OS X.


Any fix, tips or lyx voodoo would be greatly appreciated.


Did you perhaps un-check the AMS math box in the master  
document? It needs to be checked (in Document>Settings>Math  
Options) because the "gather" environment is part of AMS LaTeX,  
not standard LaTeX. That's the only thing I can guess without  
an example file...


No, that's checked, both in the parent and in the child doc that  
was changed (and probably is checked in all docs. I didn't  
change anything else since this problem began).


I'll attach the parent file but how can you check the problem  
without all the files, and surely you don't want them all?




Sorry, that was my only idea for now. I guess it would be nice to  
have a minimal example. I.e., while periodically checking if the  
compilation succeeds, cut out all the files that are unrelated to  
the problem, and cut all the unrelated content from the files  
that cause the problem, and then post only those files that are  
left, with the compilation error still occurring. By doing that,  
you may even be able to isolate the problem yourself.


Jens









Re: DVI .eps render problem

2006-12-04 Thread Paul A. Rubin

Stephen Weymouth wrote:
Hello, 

 


I am running Lyx 1.4.3-5 on Windows XP. I am unable to render .eps files in
my documents. The preview shows up correctly, but the graphics do not appear
in the dvi or pdf docs. Please let me know what I can do. The following is
the error message that I receive: 

 


MiKTeX Problem Report

Message: The page could not be rendered.

Data: This is dvips(k) 5.95b Copyright 2005 Radical Eye Software
(www.radicaleye.com)

' TeX output 2006.12.04:0927' -> 


. [1

<0C__Documents_and_Settings_Stephen_Desktop_graph1.eps>

<0C__Documents_and_Settings_Stephen_Desktop_graph1.eps>] 

 


Source: DviPage.cpp

Line: 1034

MiKTeX: 2.5

OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600)

SystemAdmin: yes

PowerUser: no

SharedSetup: yes

BinDir: C:\Program Files\MiKTeX 2.5\miktex\bin

Root0: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

Root1: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

Root3: C:\Program Files\MiKTeX 2.5

Install: C:\Program Files\MiKTeX 2.5

UserConfig: C:\Documents and Settings\Stephen\Application Data\MiKTeX\2.5

UserData: C:\Documents and Settings\Stephen\Local Settings\Application
Data\MiKTeX\2.5

CommonConfig: C:\Documents and Settings\All Users\Application
Data\MiKTeX\2.5

CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5

 


Stephen Weymouth

PhD Student

University of California, San Diego

Graduate School of International Relations and Pacific Studies

& Department of Political Science

(858)534-7687

 


Dude!  UCSD has one of the best known Computer Science programs in the 
US.  Can't you get them to fix it?


Ok, just kidding.  First thing I would try is the following.  Open the 
document in LyX and do View->DVI.  While you're staring at the 
image-free output (or the associated error message), use Windows 
Explorer to locate your LyX temp directory.  Unless you modified the 
path (in Tools -> Preferences... -> Paths -> Temporary directory), 
you'll find it in C:\Documents and Settings\Stephen\Local Settings\Temp.


Now see if there is a file named 
0C__Documents_and_Settings_Stephen_Desktop_graph1.eps sitting there.  If 
yes, try to open it with Ghostview (or whatever you use to view EPS 
files).  This is by way of checking that the file itself (a) has been 
copied to the temp directory from your desktop (suitably renamed) and 
(b) is intact.


/Paul



Lyx not printing

2006-12-04 Thread Daniel Culver

Hi,
I've read, looked first and am confused; and I can't print directly  
from Lyx. I am on an Apple G5 10.4.current patch using PPC chip. I  
have Lyx running locally on Apple OS and I also have a Fink / Lyx  
install. Both show same error 'that document... can't print. Check  
your printer for correct settings.'. I can export to texshop and  
print only if there are absolutely no errors in the document. Since I  
am trying to teach my kids to use Lyx in preparation for college and  
error free pages are still rare. I've tried piping to the printer by  
different routes that I have experience with in other programs (Neo  
Office, Inkscape) and I don't think that is the problem.

Thanks for any help.
Daniel Culver
[EMAIL PROTECTED]