Re: HTML export from LyX

2011-05-17 Thread Pascal Francq
Thanks, it works. 

On lundi 16 mai 2011, Guenter Milde wrote:
 On 2011-05-16, Richard Heck wrote:
  On 05/16/2011 06:35 AM, Pascal Francq wrote:
  How can I, from the command line, export a given LyX document into
  a HTML document in another directory (in LyX, the document is always
  exported in the same directory).
  
  There's no support presently in LyX for naming the export directory,
  either for XHTML or for any other format. There is a bug about this
  already.
 
 For the time being, you can use the external elyxer (works even
 without a LyX installation):
 
 # elyxer --help
 
   * Usage: elyxer.py [options] [filein] [fileout]
   * Convert LyX input file filein to HTML file fileout.
   * If filein (or fileout) is not given use standard input (or output).
   * Main program of the eLyXer package (http://elyxer.nongnu.org/).
 
 ...
 
 
 Günter


-- 

Dr. Ir. Pascal Francq
BELGIUM


signature.asc
Description: This is a digitally signed message part.


Aspell not found

2011-05-17 Thread Julio Rojas
Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have
also installed Aspell, but Lyx cannot find it, even after reconfiguration. I
install Enchant and Abiword, just in case, but nothing. Can somebody give me
a tip on the good direction?

Regards.
-
Julio Rojas
jcredbe...@gmail.com


Re: Aspell not found

2011-05-17 Thread Julio Rojas
I've found this answer:
http://comments.gmane.org/gmane.editors.lyx.general/63955

Shouldn't ./configure give you a very big warning on this issue?

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 11:20 AM, Julio Rojas jcredbe...@gmail.com wrote:

 Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have
 also installed Aspell, but Lyx cannot find it, even after reconfiguration. I
 install Enchant and Abiword, just in case, but nothing. Can somebody give me
 a tip on the good direction?

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



Re: Aspell not found

2011-05-17 Thread Stephan Witt
Am 17.05.2011 um 11:20 schrieb Julio Rojas:

 Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have also 
 installed Aspell, but Lyx cannot find it, even after reconfiguration. I 
 install Enchant and Abiword, just in case, but nothing. Can somebody give me 
 a tip on the good direction?

Did you install the developer packages?

Stephan

BTW. Your ticket http://www.lyx.org/trac/ticket/7564 is not forgotten. I didn't 
had the time to have a look.

Re: moderncv template error to compile

2011-05-17 Thread Manolo Martínez
Hello, Uwe

 
 Assure that you are using LyX 1.6.8 or newer. If the problem persists with 
 this LyX version, please 
 send me your file.

I'm using LyX 2.0.0. I have problems with the file Hélène sent and
similar ones, and I have been sidestepping them in the manner I describe
in my previous post.

In an earlier message --
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86608.html -- I
posted a MWE and the error log.

I should point out that I'm only having these problems with moderncv
since I moved from Ubuntu to Fedora 15, so I'm guessing it's got
something to do with the LaTeX distribution (I'm using TL 2010 now)

Cheers,
Manolo



Re: Aspell not found

2011-05-17 Thread Julio Rojas
Thanks Stephan. I have installed them and recompiled. Everything is working
perfectly now. I was just wondering if a warning should be included at the
end of the ./configure step, just to remind you to include the spell
checker.

BTW, I'm now working on Ubuntu and the jumping spell checker problem hasn't
appeared yet.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 11:29 AM, Stephan Witt st.w...@gmx.net wrote:

 Am 17.05.2011 um 11:20 schrieb Julio Rojas:

  Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have
 also installed Aspell, but Lyx cannot find it, even after reconfiguration. I
 install Enchant and Abiword, just in case, but nothing. Can somebody give me
 a tip on the good direction?

 Did you install the developer packages?

 Stephan

 BTW. Your ticket http://www.lyx.org/trac/ticket/7564 is not forgotten. I
 didn't had the time to have a look.


Re: Footnote location

2011-05-17 Thread Tania
Sandro Portmann sandro.portmann@... writes:

 Goodmorning,
actually i have the same problem regarding the footnote location
i wrote a paragraph and then skiped to the next page without filling the 
previous one. the footnote in the latter is right under the end of the 
paragraph 
meaning positioned in the middle of the page. how to keep it always at the 
bottom
thank you for the help
 I've tested it, but ut doesn't work. Is there anyone in the community that 
 can 
help me?
 
 SP
 
 Am 02.04.2010 um 16:43 schrieb rgheck:
 
  On 04/02/2010 09:45 AM, Sandro Portmann wrote:
  Thanks a lot, works good. But there's an other question I have. How can I 
put the footnote right to the
 bottom of the page, if the page's not totally filled?
  

  Sorry, don't know the answer to that one. You could try something like:
 \setlength{\skip\footins}{2cm plus \textheight}
  which allows LaTeX to stretch that length. But I don't know if it would 
work.
  
  rh
  
 
 






Re: plotting over graph in Lyx / beamer presentation

2011-05-17 Thread Rainer M Krug
Hi Phil and Liviu,

thanks for your ideas - interesting reading.

I found a solution using tikz:

Based on 
http://tex.stackexchange.com/questions/15990/draw-red-x-over-an-external-image-using-pgf-tikz
, I developed the solution attached - as described in the link, the
image is placed in a node, and one can draw.

The nice thing: the inserting of the picture can be done in LyX!

I will look into the pstricks solution, as it sounds also quite easy -
could you post a small example?

Thanks,

Rainer




On Tue, May 17, 2011 at 2:48 AM, Phil philip_...@yahoo.com wrote:


 I want to plot a square / circle over a graph (in pdf format) to
 highlight certain sections. I rmember that it is possible, but I do

 maybe there is an easier way... but what I usually do is use pstricks with
 powerdot (I assume you can

 use the same technique with beamer) and then after I insert my graphic I add 
 in
 a \psgrid to

 find the coordinates and then I put in a \psframebox or \psellipse where I 
 want
 to highlight.




-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          rai...@krugs.de

Skype:          RMkrug
Google:         r.m.k...@gmail.com


Example.lyx
Description: application/lyx


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-17 Thread Gunnar
On Monday 16 May 2011 18.15.43 Julien Rioux wrote:
 On 14/05/2011 2:47 AM, Gunnar wrote:
  How can I make LyX work with ERT and pdf? (Yes, I need ERT)
 
 I'm curious what is your use case which requires ERT for includegraphics
 ? Since LyX supports inclusion of any graphics format and does the
 conversion for me, I dare not go back to plain latex, unless I need
 really high quality eps and pdf.

When the document was first written, a long time ago, images with wrap-around 
text was giving awful results. I haven't tried without ERT and specific 
graphics placement commands for a long time, but things might have changed?


Re: plotting over graph in Lyx / beamer presentation

2011-05-17 Thread Liviu Andronic
On Tue, May 17, 2011 at 1:01 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 Hi Phil and Liviu,

 thanks for your ideas - interesting reading.

 I found a solution using tikz:

 Based on 
 http://tex.stackexchange.com/questions/15990/draw-red-x-over-an-external-image-using-pgf-tikz
 , I developed the solution attached - as described in the link, the
 image is placed in a node, and one can draw.

 The nice thing: the inserting of the picture can be done in LyX!

 I will look into the pstricks solution, as it sounds also quite easy -
 could you post a small example?

The big problem with pstricks is that it doesn't work with pdflatex.
Should work with xetex, though.
Liviu


 Thanks,

 Rainer




 On Tue, May 17, 2011 at 2:48 AM, Phil philip_...@yahoo.com wrote:


 I want to plot a square / circle over a graph (in pdf format) to
 highlight certain sections. I rmember that it is possible, but I do

 maybe there is an easier way... but what I usually do is use pstricks with
 powerdot (I assume you can

 use the same technique with beamer) and then after I insert my graphic I add 
 in
 a \psgrid to

 find the coordinates and then I put in a \psframebox or \psellipse where I 
 want
 to highlight.




 --
 NEW GERMAN FAX NUMBER!!!

 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
 Biology, UCT), Dipl. Phys. (Germany)

 Centre of Excellence for Invasion Biology
 Natural Sciences Building
 Office Suite 2039
 Stellenbosch University
 Main Campus, Merriman Avenue
 Stellenbosch
 South Africa

 Cell:           +27 - (0)83 9479 042
 Fax:            +27 - (0)86 516 2782
 Fax:            +49 - (0)321 2125 2244
 email:          rai...@krugs.de

 Skype:          RMkrug
 Google:         r.m.k...@gmail.com




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


Re: Footnote location

2011-05-17 Thread Richard Heck
On 05/17/2011 06:16 AM, Tania wrote:
 Sandro Portmann sandro.portmann@... writes:

 Goodmorning,
 actually i have the same problem regarding the footnote location
 i wrote a paragraph and then skiped to the next page without filling the 
 previous one. the footnote in the latter is right under the end of the 
 paragraph 
 meaning positioned in the middle of the page. how to keep it always at the 
 bottom thank you for the help

What document class is this? In any event, you can try:
\flushbottom
in your preamble.

Richard



to create a layout

2011-05-17 Thread Patrick Dupre

Hello,

I wished t create a layout from a cls file. Following the instructions,
I should find the class from which it is descendant but I cannot get it.
This is the begenning of the cls file:

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{tMPH2e}[2009/09/07 v3.6 Molecular Physics LaTeX2e document 
class]

\newif\if@restonecol
\@twosidetrue\@mparswitchtrue
\@twocolumnfalse
%%
\def\jobtag{Molecular Physics}
\newdimen\draftrule
\draftrule=0pt
\newif\ifdraft
\draftfalse
\newif\ifprinter
\newif\ifappendix\appendixfalse
%
\newdimen\trimrule
\trimrule=.1pt
%
\newdimen\draftrule
\draftrule=0pt
%
\DeclareOption{draft}{\setlength\overfullrule{5pt}\draftrule0.1pt\global\drafttr
\DeclareOption{printer}{\setlength\overfullrule{0pt}\trimrule0pt\global\printert


Some ideas ?

Thanks

--
---
==
 Patrick DUPRÉ  |   |
 Department of Chemistry|   |  Phone: (44)-(0)-1904-434384
 The University of York |   |  Fax:   (44)-(0)-1904-432516
 Heslington |   |
 York YO10 5DD  United Kingdom  |   |  email: patrick.du...@york.ac.uk
==

Re: to create a layout

2011-05-17 Thread Richard Heck
On 05/17/2011 09:36 AM, Patrick Dupre wrote:
 Hello,

 I wished t create a layout from a cls file. Following the instructions,
 I should find the class from which it is descendant but I cannot get it.

Some classes aren't descended in this way, and one has to try to
figure out which class they might otherwise be like. In this case, I'd
say article, since the class does not give you chapters. (This is
slightly odd, because it does define a chapter counter and do various
things with it, but it never gets used, in fact.)

The biggest question, in a way, is: What sectioning commands does the
class define? If you search for \section, you will find them, all
grouped together.

Richard



find in math mode

2011-05-17 Thread Patrick Dupre

Hello,

Is there an option to make a find inside a math formula ?

Thank.

--
---
==
 Patrick DUPRÉ  |   |
 Department of Chemistry|   |  Phone: (44)-(0)-1904-434384
 The University of York |   |  Fax:   (44)-(0)-1904-432516
 Heslington |   |
 York YO10 5DD  United Kingdom  |   |  email: patrick.du...@york.ac.uk
==

Re: moderncv template error to compile

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 11:45, schrieb Manolo Martínez:


I'm using LyX 2.0.0. I have problems with the file Hélène sent and
similar ones, and I have been sidestepping them in the manner I describe
in my previous post.

In an earlier message --
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86608.html -- I
posted a MWE and the error log.


Can you please resend your LyX file. The one in the mailing list is empty.

regards Uwe


LyX cache

2011-05-17 Thread Påvel Nicklasson
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder I  
realised that my .lyx folder is very big. Most of the space is taken by  
the subfolder cache which is over 5GB big. It mostly contains images  
from my projects in .eps and .png formats. Is it safe to empty the cache  
subfolder? Is there a way to flush it from within LyX? Such a big cache  
building up can be an issue on small systems.


Best Regards
Påvel


Re: Lyx 2.0.0 OSX crashes

2011-05-17 Thread Stephan Witt
Am 17.05.2011 um 18:05 schrieb Murat Yildizoglu:

 I am lost on this. I have installed the last version of Lyx and it crashes 
 quite systematically. I have never seen this with Lyx. It is nearly unusable.
 I have also version 1.6 on my laptop but the preferences folders are of 
 course separated. I have downloaded and reinstalled Lyx (two hours ago), but 
 I continue to get the same problem. I can launch Lyx, but at one point it 
 crashes as soon as I click somewhere on the window. 
 
 I have renamed the old Lyx2 config folder and started Lyx, but it has 
 immediately crashed (but It has created the new configuration folder in the 
 Library).
 I have also tried to launch Lyx from a terminal window. I have ended with a 
 Segmentation fault
 
 I get the following crash report under OSX:

...

It looks like you're using divvy or SizeUp or a similar tool.
http://www.lyx.org/trac/ticket/7365

Please, can you stop it and try again?

Stephan

Re: Lyx 2.0.0 OSX crashes

2011-05-17 Thread Murat Yildizoglu
Thanks Stephan!
I have indeed totally forgotten this problem that we have discussed on the
users list.

Yes, I am using Divvy, but I am not trying to use it on the Lyx Window. Even
without this, can it crash Lyx?
The bug report does not show any potential solution. Am I stuck between
going back to 1.6 and dropping Divvy?


2011/5/17 Stephan Witt st.w...@gmx.net

 Am 17.05.2011 um 18:05 schrieb Murat Yildizoglu:

  I am lost on this. I have installed the last version of Lyx and it
 crashes quite systematically. I have never seen this with Lyx. It is nearly
 unusable.
  I have also version 1.6 on my laptop but the preferences folders are of
 course separated. I have downloaded and reinstalled Lyx (two hours ago), but
 I continue to get the same problem. I can launch Lyx, but at one point it
 crashes as soon as I click somewhere on the window.
 
  I have renamed the old Lyx2 config folder and started Lyx, but it has
 immediately crashed (but It has created the new configuration folder in the
 Library).
  I have also tried to launch Lyx from a terminal window. I have ended with
 a Segmentation fault
 
  I get the following crash report under OSX:

 ...

 It looks like you're using divvy or SizeUp or a similar tool.
 http://www.lyx.org/trac/ticket/7365

 Please, can you stop it and try again?

 Stephan




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http:/yildizoglu.co.cc
http://www.twitter.com/yildizoglu
__


Fwd: Lyx 2 problem

2011-05-17 Thread Reza Azarderakhsh
Hi I am using IEEEtran template. When I want to write a Theorem, it inserts
Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead of
Lemma 1. It is increasing the numbers for all of these formats such as
definition, remark ,.. .

I just installed Lyx 2 and facing this problem.

Would you please help with that.

Thanks

Reza
-- 
**
Reza Azarderakhsh
PhD Candidate,
Department of Electrical and Computer Engineering,
The University of Western Ontario,
London, Ontario, Canada
Email: razar...@uwo.ca
http://publish.uwo.ca/~razarder/
**



-- 
**
Reza Azarderakhsh
PhD Candidate,
Department of Electrical and Computer Engineering,
The University of Western Ontario,
London, Ontario, Canada
Email: razar...@uwo.ca
http://publish.uwo.ca/~razarder/
**


Re: Lyx 2 problem

2011-05-17 Thread Julio Rojas
Dear Reza, you should use a module specially for that. Go to Document -
Settings - Modules - Theorems (AMS, Numbered by Type).

I hope this works.

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:03 PM, Reza Azarderakhsh razar...@uwo.ca wrote:





 Hi I am using IEEEtran template. When I want to write a Theorem, it inserts
 Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead of
 Lemma 1. It is increasing the numbers for all of these formats such as
 definition, remark ,.. .

 I just installed Lyx 2 and facing this problem.

 Would you please help with that.

 Thanks

 Reza
 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



Re: Lyx 2 problem

2011-05-17 Thread Julio Rojas
OS? On Windows should be there by default?
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:41 PM, Reza Azarderakhsh
azarderak...@gmail.comwrote:

 Hello,

 Thanks so much for the prompt reply. But I was unable to add it (Theorems
 (AMS, Numbered by Type).) from left column to the right side to apply it. It
 seems that it is not available.

 On Tue, May 17, 2011 at 1:30 PM, Julio Rojas jcredbe...@gmail.com wrote:

 Dear Reza, you should use a module specially for that. Go to Document -
 Settings - Modules - Theorems (AMS, Numbered by Type).

 I hope this works.

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Tue, May 17, 2011 at 7:03 PM, Reza Azarderakhsh razar...@uwo.cawrote:





 Hi I am using IEEEtran template. When I want to write a Theorem, it
 inserts Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead
 of Lemma 1. It is increasing the numbers for all of these formats such as
 definition, remark ,.. .

 I just installed Lyx 2 and facing this problem.

 Would you please help with that.

 Thanks

 Reza
 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **





 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



PDF will not reload

2011-05-17 Thread Hafney
Hi,

I'm at the end of my rope with adobe acrobat. I'm using adobe acrobat reader 
10. I can successfully generate a pdf but I cannot update the pdf after I 
make changes to my .lyx document.  How do I fix this? (I'm using windows). 
I read some speculation that this could be a bug in adobe but that 
Lyx 2.0 solved the problem.  But I just installed Lyx 2.0 and the 
problem persists.  I read http://wiki.lyx.org/FAQ/PDF (near bottom) but 
still cannot solve my problem. I've now abandoned adobe all together and 
am using Sumatra (as advised in the wiki entry.)  

Could I fix this problem with acrobat?

Or did I make the right choice by dumping it? 

If that was the right choice, what is the best pdf viewer to use with Lyx? 
Any guidance will be much appreciated. Thanks.

Hafney




Re: Lyx 2 problem

2011-05-17 Thread Jim Oldfield



Thanks so much for the prompt reply. But I was unable to add it (Theorems 
(AMS, 

Numbered by Type).) from left column to the right side to apply it. It seems 
that it is not available.




You need to remove the Theorems (AMS) (or Theorems) module before you can 
add the Theorems (AMS, Numbered by Type) one.

Note that numbering all theorems/lemmas/etc together is not a problem, just a 
matter of taste. (I certainly prefer it... it's annoying hunting for Lemma 15, 
when all you know is that this page has Theorem 12 and Definition 18. Which way 
do I look?)


Re: LyX cache

2011-05-17 Thread Richard Heck

On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder 
I realised that my .lyx folder is very big. Most of the space is taken 
by the subfolder cache which is over 5GB big. It mostly contains 
images from my projects in .eps and .png formats. Is it safe to empty 
the cache subfolder? Is there a way to flush it from within LyX? Such 
a big cache building up can be an issue on small systems.


It's safe to remove. I don't think there's any way to do it from within 
LyX. Probably there should be, and a limit cache to N MB choice, too.


Richard



Re: plotting over graph in Lyx / beamer presentation

2011-05-17 Thread Phil
 I will look into the pstricks solution, as it sounds also quite easy -
 could you post a small example?


attached example using pstricks  powerdot

pstricks_example_file.lyx
Description: Binary data


lyx 2.0 thesis template generate too much vertical space before and after the equation

2011-05-17 Thread Ruida Yun
Hi all,

I'm writing my dissertation using the thesis template offered  by the
new Lyx2.0.  The Latex preamble shipped with the thesis template
somehow messed up the fleqn option when the line space is set to
double. There is way too much vertical space before and after the
equation.

If I delete the preamble or remove the fleqn option, the vertical
space looks normal. I'm not sure what causes the problem and hope
someone could help me out here.

The latex preamble looks like this:

% increase link area for cross-references and autoname them
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
\newlength{\abc}
\settowidth{\abc}{\space}
\AtBeginDocument{%
\addto\extrasenglish{
 \renewcommand{\equationautorefname}{\hspace{-\abc}}
 \renewcommand{\sectionautorefname}{sec.\negthinspace}
 \renewcommand{\subsectionautorefname}{sec.\negthinspace}
 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
 \renewcommand{\figureautorefname}{Fig.\negthinspace}
 \renewcommand{\tableautorefname}{Tab.\negthinspace}
}
}

% in case somebody want to have the label equation
%\renewcommand{\eqref}[1]{equation~(\negthinspace\autoref{#1})}

% that links to image floats jumps to the beginning
% of the float and not to its caption
\usepackage[figure]{hypcap}

% the pages of the TOC is numbered roman
% and a pdf-bookmark for the TOC is added
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
  \frontmatter
  \pdfbookmark[1]{\contentsname}{}
  \myTOC
  \mainmatter }

% make caption labels bold
\setkomafont{captionlabel}{\bfseries}
\setcapindent{1em}

% enable calculations
\usepackage{calc}

% fancy page header/footer settings
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}

% increase the bottom float placement fraction
\renewcommand{\bottomfraction}{0.5}

% avoid that floats are placed above its sections
\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}




-- 
Ruida Yun


Re: LyX cache

2011-05-17 Thread Påvel Nicklasson

Den 2011-05-17 20:16:16 skrev Richard Heck rgh...@comcast.net:


On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder  
I realised that my .lyx folder is very big. Most of the space is taken  
by the subfolder cache which is over 5GB big. It mostly contains  
images from my projects in .eps and .png formats. Is it safe to empty  
the cache subfolder? Is there a way to flush it from within LyX? Such a  
big cache building up can be an issue on small systems.


It's safe to remove. I don't think there's any way to do it from within  
LyX. Probably there should be, and a limit cache to N MB choice, too.


Richard




Thank you for the answer!
I guess I have to remember cleaning the cache now and then.
Regards
Påvel


Re: PDF will not reload

2011-05-17 Thread Julio Rojas
You cannot. Enjoy Sumatra. Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:53 PM, Hafney hafne...@gmail.com wrote:

 Hi,

 I'm at the end of my rope with adobe acrobat. I'm using adobe acrobat
 reader
 10. I can successfully generate a pdf but I cannot update the pdf after I
 make changes to my .lyx document.  How do I fix this? (I'm using windows).
 I read some speculation that this could be a bug in adobe but that
 Lyx 2.0 solved the problem.  But I just installed Lyx 2.0 and the
 problem persists.  I read http://wiki.lyx.org/FAQ/PDF (near bottom) but
 still cannot solve my problem. I've now abandoned adobe all together and
 am using Sumatra (as advised in the wiki entry.)

 Could I fix this problem with acrobat?

 Or did I make the right choice by dumping it?

 If that was the right choice, what is the best pdf viewer to use with Lyx?
 Any guidance will be much appreciated. Thanks.

 Hafney





Re: LyX cache

2011-05-17 Thread Richard Heck

On 05/17/2011 03:17 PM, Påvel Nicklasson wrote:

Den 2011-05-17 20:16:16 skrev Richard Heck rgh...@comcast.net:


On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home 
folder I realised that my .lyx folder is very big. Most of the space 
is taken by the subfolder cache which is over 5GB big. It mostly 
contains images from my projects in .eps and .png formats. Is it 
safe to empty the cache subfolder? Is there a way to flush it from 
within LyX? Such a big cache building up can be an issue on small 
systems.


It's safe to remove. I don't think there's any way to do it from 
within LyX. Probably there should be, and a limit cache to N MB 
choice, too.




Thank you for the answer!
I guess I have to remember cleaning the cache now and then.

Set up a cron job. Have it check the size of the cache and remove as 
much as it needs to remove (starting with the older files) to get it 
down to some level you specify. Shouldn't be too hard.


rh



LyX for Mac OSX 10.6.7?

2011-05-17 Thread Samuel Turk
To whom it may concern:


I have never used LyX before but I've been told it is a very good program. I 
would like to install it on my Mac OSX 10.6.7

I found LyX available on Apple's web site here: 
http://www.apple.com/downloads/macosx/unix_open_source/lyx.html

However, the download failed. Would you direct me to where I can find step by 
step instructions to get LyX properly downloaded and running on my Mac?

Thanks in advance,

Sam

Re: LyX for Mac OSX 10.6.7?

2011-05-17 Thread Sandro Portmann
That's no problem, if you never used LyX. Just go to the LyX homepage 
(www.lyx.org), where you can download the program. You're also finding a 
manual, how to install it, because you need a TeX distribution to running LyX

Regards

Sandro

Am 17.05.2011 um 22:38 schrieb Samuel Turk:

 To whom it may concern:
 
 
 I have never used LyX before but I've been told it is a very good program. I 
 would like to install it on my Mac OSX 10.6.7
 
 I found LyX available on Apple's web site here: 
 http://www.apple.com/downloads/macosx/unix_open_source/lyx.html
 
 However, the download failed. Would you direct me to where I can find step by 
 step instructions to get LyX properly downloaded and running on my Mac?
 
 Thanks in advance,
 
 Sam



Re: Lyx 2 problem

2011-05-17 Thread Jim Oldfield
Hi Reza,

Please reply to the list in future (use reply to all in your email client), 
so 
that all users can help with your problem, and see any suggested solutions.

 Unfortunately IEEE Tran journals do not accept the way you explained. 

Ah ha, I hadn't thought of that. This turns out to be the key point. It seems 
that in LyX, if you select an IEEEtran document class, then the theorem layout 
as chosen *as if* you had selected the theorems module yourself, so there's no 
way to unselect it.

It could be that this is because this is what the IEEEtran latex class does and 
LyX is just showing it through. Or, it could be a quirk of LyX. I don't know 
because I've never used this document class.

Jim


Re: Lyx 2 problem

2011-05-17 Thread Reza Azarderakhsh
Hi, sure.

But this problem exists only in Lyx 2. and in Lyx 1.6 it is OK for numbering
and working well. Then it seems that the problem is from Lyx side.

Thanks

Reza

On Tue, May 17, 2011 at 5:08 PM, Jim Oldfield jim_...@yahoo.co.uk wrote:

 Hi Reza,

 Please reply to the list in future (use reply to all in your email
 client), so
 that all users can help with your problem, and see any suggested solutions.

  Unfortunately IEEE Tran journals do not accept the way you explained.

 Ah ha, I hadn't thought of that. This turns out to be the key point. It
 seems
 that in LyX, if you select an IEEEtran document class, then the theorem
 layout
 as chosen *as if* you had selected the theorems module yourself, so there's
 no
 way to unselect it.

 It could be that this is because this is what the IEEEtran latex class does
 and
 LyX is just showing it through. Or, it could be a quirk of LyX. I don't
 know
 because I've never used this document class.

 Jim




--


Re: to create a layout

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 15:36, schrieb Patrick Dupre:


I wished t create a layout from a cls file. Following the instructions,
I should find the class from which it is descendant but I cannot get it.
This is the begenning of the cls file:

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{tMPH2e}[2009/09/07 v3.6 Molecular Physics LaTeX2e document class]


We don't yet have a layout file for this class.
Can you give me a link to download the LaTeX class tMPH2e? I'll have a look if I can quickly create 
a layout file.


regards Uwe


Re: find in math mode

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 16:27, schrieb Patrick Dupre:


Is there an option to make a find inside a math formula ?


LyX's new advanced find dialog (Ctrl+Shift F) offers to insert also equations so that you can search 
for them


regards Uwe


Re: PDF will not reload

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 19:53, schrieb Hafney:


I'm at the end of my rope with adobe acrobat. I'm using adobe acrobat reader
10. I can successfully generate a pdf but I cannot update the pdf after I
make changes to my .lyx document.


This should be fixed with LyX 2.0. But you need the latest Adobe Reader for this: Adobe Reader X 
(after installing it, install also the provided updates).
If this doesn't work for you, please uninstall LyX 2.0.0 with its user settings and reinstall it 
afterwards using the latest Windows installer you find at our homepage.


regards Uwe


Re: PDF will not reload

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 21:30, schrieb Julio Rojas:


You cannot. Enjoy Sumatra. Regards.


Hmm, but I can with Acrobat 7 as well as with Adobe Reader X.

regards Uwe


Re: lyx 2.0 thesis template generate too much vertical space before and after the equation

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 20:36, schrieb Ruida Yun:


I'm writing my dissertation using the thesis template offered  by the
new Lyx2.0.  The Latex preamble shipped with the thesis template
somehow messed up the fleqn option when the line space is set to
double. There is way too much vertical space before and after the
equation.


Can you please send a screenshot where you have too much space. I cannot see a difference between 
fleqn or not.
Note the space around equations depends if the equation is in an own paragraph or not. If it in an 
own paragraph the spacing is the normal one PLUS the paragraph separation space.


regards Uwe


Re: PDF will not reload

2011-05-17 Thread Hafney
Uwe Stöhr uwestoehr at web.de writes:

 
 Am 17.05.2011 19:53, schrieb Hafney:
 
  I'm at the end of my rope with adobe acrobat. I'm using adobe acrobat reader
  10. I can successfully generate a pdf but I cannot update the pdf after I
  make changes to my .lyx document.
 
 This should be fixed with LyX 2.0. But you need the latest Adobe Reader for 
this: Adobe Reader X 
 (after installing it, install also the provided updates).
 If this doesn't work for you, please uninstall LyX 2.0.0 with its user 
settings and reinstall it 
 afterwards using the latest Windows installer you find at our homepage.
 
 regards Uwe
 
 


Hi Uwe.  Thanks for your reply.  I did as you suggested, 
and although I can still write to a pdf once, I still also
cannot update the pdf to reflect subsequent changes to my
file. I'm using Lyx 2.0 and acrobat reader 10.0.1 on windows 
7.  Could this have something to do with the default security 
settings in this version of acrobat? The problem also
exists with PDF-XChange PDF Viewer and the developers of 
that reader explained that it locks files while they are 
open and prevents being written to.  However, Sumatra works 
perfectly. 

Thanks.



Re: PDF will not reload

2011-05-17 Thread Uwe Stöhr

Am 18.05.2011 03:05, schrieb Hafney:


I did as you suggested,
and although I can still write to a pdf once, I still also
cannot update the pdf to reflect subsequent changes to my
file.


Strange, because I can do this with Adobe Reader 10.1 and LyX 2.0.0 under Win7 
without problems.


I'm using Lyx 2.0 and acrobat reader 10.0.1 on windows
7.  Could this have something to do with the default security
settings in this version of acrobat? The problem also
exists with PDF-XChange PDF Viewer and the developers of
that reader explained that it locks files while they are
open and prevents being written to.


Yes, that's why we created a program to close/reopen Adobe Reader automatically.

Joost, do you have an idea why this doesn't work for Hafney?

regards Uwe


Re: PDF will not reload

2011-05-17 Thread Julio Rojas
I didn't know you had made a module specially for this issue. I still prefer
Sumatra for previewing as it is far much lighter.

Thx for the tip, though.

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Wed, May 18, 2011 at 2:32 AM, Uwe Stöhr uwesto...@web.de wrote:

 Am 17.05.2011 21:30, schrieb Julio Rojas:


  You cannot. Enjoy Sumatra. Regards.


 Hmm, but I can with Acrobat 7 as well as with Adobe Reader X.

 regards Uwe



Re: HTML export from LyX

2011-05-17 Thread Pascal Francq
Thanks, it works. 

On lundi 16 mai 2011, Guenter Milde wrote:
 On 2011-05-16, Richard Heck wrote:
  On 05/16/2011 06:35 AM, Pascal Francq wrote:
  How can I, from the command line, export a given LyX document into
  a HTML document in another directory (in LyX, the document is always
  exported in the same directory).
  
  There's no support presently in LyX for naming the export directory,
  either for XHTML or for any other format. There is a bug about this
  already.
 
 For the time being, you can use the external elyxer (works even
 without a LyX installation):
 
 # elyxer --help
 
   * Usage: elyxer.py [options] [filein] [fileout]
   * Convert LyX input file filein to HTML file fileout.
   * If filein (or fileout) is not given use standard input (or output).
   * Main program of the eLyXer package (http://elyxer.nongnu.org/).
 
 ...
 
 
 Günter


-- 

Dr. Ir. Pascal Francq
BELGIUM


signature.asc
Description: This is a digitally signed message part.


Aspell not found

2011-05-17 Thread Julio Rojas
Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have
also installed Aspell, but Lyx cannot find it, even after reconfiguration. I
install Enchant and Abiword, just in case, but nothing. Can somebody give me
a tip on the good direction?

Regards.
-
Julio Rojas
jcredbe...@gmail.com


Re: Aspell not found

2011-05-17 Thread Julio Rojas
I've found this answer:
http://comments.gmane.org/gmane.editors.lyx.general/63955

Shouldn't ./configure give you a very big warning on this issue?

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 11:20 AM, Julio Rojas jcredbe...@gmail.com wrote:

 Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have
 also installed Aspell, but Lyx cannot find it, even after reconfiguration. I
 install Enchant and Abiword, just in case, but nothing. Can somebody give me
 a tip on the good direction?

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



Re: Aspell not found

2011-05-17 Thread Stephan Witt
Am 17.05.2011 um 11:20 schrieb Julio Rojas:

 Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have also 
 installed Aspell, but Lyx cannot find it, even after reconfiguration. I 
 install Enchant and Abiword, just in case, but nothing. Can somebody give me 
 a tip on the good direction?

Did you install the developer packages?

Stephan

BTW. Your ticket http://www.lyx.org/trac/ticket/7564 is not forgotten. I didn't 
had the time to have a look.

Re: moderncv template error to compile

2011-05-17 Thread Manolo Martínez
Hello, Uwe

 
 Assure that you are using LyX 1.6.8 or newer. If the problem persists with 
 this LyX version, please 
 send me your file.

I'm using LyX 2.0.0. I have problems with the file Hélène sent and
similar ones, and I have been sidestepping them in the manner I describe
in my previous post.

In an earlier message --
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86608.html -- I
posted a MWE and the error log.

I should point out that I'm only having these problems with moderncv
since I moved from Ubuntu to Fedora 15, so I'm guessing it's got
something to do with the LaTeX distribution (I'm using TL 2010 now)

Cheers,
Manolo



Re: Aspell not found

2011-05-17 Thread Julio Rojas
Thanks Stephan. I have installed them and recompiled. Everything is working
perfectly now. I was just wondering if a warning should be included at the
end of the ./configure step, just to remind you to include the spell
checker.

BTW, I'm now working on Ubuntu and the jumping spell checker problem hasn't
appeared yet.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 11:29 AM, Stephan Witt st.w...@gmx.net wrote:

 Am 17.05.2011 um 11:20 schrieb Julio Rojas:

  Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have
 also installed Aspell, but Lyx cannot find it, even after reconfiguration. I
 install Enchant and Abiword, just in case, but nothing. Can somebody give me
 a tip on the good direction?

 Did you install the developer packages?

 Stephan

 BTW. Your ticket http://www.lyx.org/trac/ticket/7564 is not forgotten. I
 didn't had the time to have a look.


Re: Footnote location

2011-05-17 Thread Tania
Sandro Portmann sandro.portmann@... writes:

 Goodmorning,
actually i have the same problem regarding the footnote location
i wrote a paragraph and then skiped to the next page without filling the 
previous one. the footnote in the latter is right under the end of the 
paragraph 
meaning positioned in the middle of the page. how to keep it always at the 
bottom
thank you for the help
 I've tested it, but ut doesn't work. Is there anyone in the community that 
 can 
help me?
 
 SP
 
 Am 02.04.2010 um 16:43 schrieb rgheck:
 
  On 04/02/2010 09:45 AM, Sandro Portmann wrote:
  Thanks a lot, works good. But there's an other question I have. How can I 
put the footnote right to the
 bottom of the page, if the page's not totally filled?
  

  Sorry, don't know the answer to that one. You could try something like:
 \setlength{\skip\footins}{2cm plus \textheight}
  which allows LaTeX to stretch that length. But I don't know if it would 
work.
  
  rh
  
 
 






Re: plotting over graph in Lyx / beamer presentation

2011-05-17 Thread Rainer M Krug
Hi Phil and Liviu,

thanks for your ideas - interesting reading.

I found a solution using tikz:

Based on 
http://tex.stackexchange.com/questions/15990/draw-red-x-over-an-external-image-using-pgf-tikz
, I developed the solution attached - as described in the link, the
image is placed in a node, and one can draw.

The nice thing: the inserting of the picture can be done in LyX!

I will look into the pstricks solution, as it sounds also quite easy -
could you post a small example?

Thanks,

Rainer




On Tue, May 17, 2011 at 2:48 AM, Phil philip_...@yahoo.com wrote:


 I want to plot a square / circle over a graph (in pdf format) to
 highlight certain sections. I rmember that it is possible, but I do

 maybe there is an easier way... but what I usually do is use pstricks with
 powerdot (I assume you can

 use the same technique with beamer) and then after I insert my graphic I add 
 in
 a \psgrid to

 find the coordinates and then I put in a \psframebox or \psellipse where I 
 want
 to highlight.




-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          rai...@krugs.de

Skype:          RMkrug
Google:         r.m.k...@gmail.com


Example.lyx
Description: application/lyx


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-17 Thread Gunnar
On Monday 16 May 2011 18.15.43 Julien Rioux wrote:
 On 14/05/2011 2:47 AM, Gunnar wrote:
  How can I make LyX work with ERT and pdf? (Yes, I need ERT)
 
 I'm curious what is your use case which requires ERT for includegraphics
 ? Since LyX supports inclusion of any graphics format and does the
 conversion for me, I dare not go back to plain latex, unless I need
 really high quality eps and pdf.

When the document was first written, a long time ago, images with wrap-around 
text was giving awful results. I haven't tried without ERT and specific 
graphics placement commands for a long time, but things might have changed?


Re: plotting over graph in Lyx / beamer presentation

2011-05-17 Thread Liviu Andronic
On Tue, May 17, 2011 at 1:01 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 Hi Phil and Liviu,

 thanks for your ideas - interesting reading.

 I found a solution using tikz:

 Based on 
 http://tex.stackexchange.com/questions/15990/draw-red-x-over-an-external-image-using-pgf-tikz
 , I developed the solution attached - as described in the link, the
 image is placed in a node, and one can draw.

 The nice thing: the inserting of the picture can be done in LyX!

 I will look into the pstricks solution, as it sounds also quite easy -
 could you post a small example?

The big problem with pstricks is that it doesn't work with pdflatex.
Should work with xetex, though.
Liviu


 Thanks,

 Rainer




 On Tue, May 17, 2011 at 2:48 AM, Phil philip_...@yahoo.com wrote:


 I want to plot a square / circle over a graph (in pdf format) to
 highlight certain sections. I rmember that it is possible, but I do

 maybe there is an easier way... but what I usually do is use pstricks with
 powerdot (I assume you can

 use the same technique with beamer) and then after I insert my graphic I add 
 in
 a \psgrid to

 find the coordinates and then I put in a \psframebox or \psellipse where I 
 want
 to highlight.




 --
 NEW GERMAN FAX NUMBER!!!

 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
 Biology, UCT), Dipl. Phys. (Germany)

 Centre of Excellence for Invasion Biology
 Natural Sciences Building
 Office Suite 2039
 Stellenbosch University
 Main Campus, Merriman Avenue
 Stellenbosch
 South Africa

 Cell:           +27 - (0)83 9479 042
 Fax:            +27 - (0)86 516 2782
 Fax:            +49 - (0)321 2125 2244
 email:          rai...@krugs.de

 Skype:          RMkrug
 Google:         r.m.k...@gmail.com




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


Re: Footnote location

2011-05-17 Thread Richard Heck
On 05/17/2011 06:16 AM, Tania wrote:
 Sandro Portmann sandro.portmann@... writes:

 Goodmorning,
 actually i have the same problem regarding the footnote location
 i wrote a paragraph and then skiped to the next page without filling the 
 previous one. the footnote in the latter is right under the end of the 
 paragraph 
 meaning positioned in the middle of the page. how to keep it always at the 
 bottom thank you for the help

What document class is this? In any event, you can try:
\flushbottom
in your preamble.

Richard



to create a layout

2011-05-17 Thread Patrick Dupre

Hello,

I wished t create a layout from a cls file. Following the instructions,
I should find the class from which it is descendant but I cannot get it.
This is the begenning of the cls file:

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{tMPH2e}[2009/09/07 v3.6 Molecular Physics LaTeX2e document 
class]

\newif\if@restonecol
\@twosidetrue\@mparswitchtrue
\@twocolumnfalse
%%
\def\jobtag{Molecular Physics}
\newdimen\draftrule
\draftrule=0pt
\newif\ifdraft
\draftfalse
\newif\ifprinter
\newif\ifappendix\appendixfalse
%
\newdimen\trimrule
\trimrule=.1pt
%
\newdimen\draftrule
\draftrule=0pt
%
\DeclareOption{draft}{\setlength\overfullrule{5pt}\draftrule0.1pt\global\drafttr
\DeclareOption{printer}{\setlength\overfullrule{0pt}\trimrule0pt\global\printert


Some ideas ?

Thanks

--
---
==
 Patrick DUPRÉ  |   |
 Department of Chemistry|   |  Phone: (44)-(0)-1904-434384
 The University of York |   |  Fax:   (44)-(0)-1904-432516
 Heslington |   |
 York YO10 5DD  United Kingdom  |   |  email: patrick.du...@york.ac.uk
==

Re: to create a layout

2011-05-17 Thread Richard Heck
On 05/17/2011 09:36 AM, Patrick Dupre wrote:
 Hello,

 I wished t create a layout from a cls file. Following the instructions,
 I should find the class from which it is descendant but I cannot get it.

Some classes aren't descended in this way, and one has to try to
figure out which class they might otherwise be like. In this case, I'd
say article, since the class does not give you chapters. (This is
slightly odd, because it does define a chapter counter and do various
things with it, but it never gets used, in fact.)

The biggest question, in a way, is: What sectioning commands does the
class define? If you search for \section, you will find them, all
grouped together.

Richard



find in math mode

2011-05-17 Thread Patrick Dupre

Hello,

Is there an option to make a find inside a math formula ?

Thank.

--
---
==
 Patrick DUPRÉ  |   |
 Department of Chemistry|   |  Phone: (44)-(0)-1904-434384
 The University of York |   |  Fax:   (44)-(0)-1904-432516
 Heslington |   |
 York YO10 5DD  United Kingdom  |   |  email: patrick.du...@york.ac.uk
==

Re: moderncv template error to compile

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 11:45, schrieb Manolo Martínez:


I'm using LyX 2.0.0. I have problems with the file Hélène sent and
similar ones, and I have been sidestepping them in the manner I describe
in my previous post.

In an earlier message --
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86608.html -- I
posted a MWE and the error log.


Can you please resend your LyX file. The one in the mailing list is empty.

regards Uwe


LyX cache

2011-05-17 Thread Påvel Nicklasson
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder I  
realised that my .lyx folder is very big. Most of the space is taken by  
the subfolder cache which is over 5GB big. It mostly contains images  
from my projects in .eps and .png formats. Is it safe to empty the cache  
subfolder? Is there a way to flush it from within LyX? Such a big cache  
building up can be an issue on small systems.


Best Regards
Påvel


Re: Lyx 2.0.0 OSX crashes

2011-05-17 Thread Stephan Witt
Am 17.05.2011 um 18:05 schrieb Murat Yildizoglu:

 I am lost on this. I have installed the last version of Lyx and it crashes 
 quite systematically. I have never seen this with Lyx. It is nearly unusable.
 I have also version 1.6 on my laptop but the preferences folders are of 
 course separated. I have downloaded and reinstalled Lyx (two hours ago), but 
 I continue to get the same problem. I can launch Lyx, but at one point it 
 crashes as soon as I click somewhere on the window. 
 
 I have renamed the old Lyx2 config folder and started Lyx, but it has 
 immediately crashed (but It has created the new configuration folder in the 
 Library).
 I have also tried to launch Lyx from a terminal window. I have ended with a 
 Segmentation fault
 
 I get the following crash report under OSX:

...

It looks like you're using divvy or SizeUp or a similar tool.
http://www.lyx.org/trac/ticket/7365

Please, can you stop it and try again?

Stephan

Re: Lyx 2.0.0 OSX crashes

2011-05-17 Thread Murat Yildizoglu
Thanks Stephan!
I have indeed totally forgotten this problem that we have discussed on the
users list.

Yes, I am using Divvy, but I am not trying to use it on the Lyx Window. Even
without this, can it crash Lyx?
The bug report does not show any potential solution. Am I stuck between
going back to 1.6 and dropping Divvy?


2011/5/17 Stephan Witt st.w...@gmx.net

 Am 17.05.2011 um 18:05 schrieb Murat Yildizoglu:

  I am lost on this. I have installed the last version of Lyx and it
 crashes quite systematically. I have never seen this with Lyx. It is nearly
 unusable.
  I have also version 1.6 on my laptop but the preferences folders are of
 course separated. I have downloaded and reinstalled Lyx (two hours ago), but
 I continue to get the same problem. I can launch Lyx, but at one point it
 crashes as soon as I click somewhere on the window.
 
  I have renamed the old Lyx2 config folder and started Lyx, but it has
 immediately crashed (but It has created the new configuration folder in the
 Library).
  I have also tried to launch Lyx from a terminal window. I have ended with
 a Segmentation fault
 
  I get the following crash report under OSX:

 ...

 It looks like you're using divvy or SizeUp or a similar tool.
 http://www.lyx.org/trac/ticket/7365

 Please, can you stop it and try again?

 Stephan




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http:/yildizoglu.co.cc
http://www.twitter.com/yildizoglu
__


Fwd: Lyx 2 problem

2011-05-17 Thread Reza Azarderakhsh
Hi I am using IEEEtran template. When I want to write a Theorem, it inserts
Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead of
Lemma 1. It is increasing the numbers for all of these formats such as
definition, remark ,.. .

I just installed Lyx 2 and facing this problem.

Would you please help with that.

Thanks

Reza
-- 
**
Reza Azarderakhsh
PhD Candidate,
Department of Electrical and Computer Engineering,
The University of Western Ontario,
London, Ontario, Canada
Email: razar...@uwo.ca
http://publish.uwo.ca/~razarder/
**



-- 
**
Reza Azarderakhsh
PhD Candidate,
Department of Electrical and Computer Engineering,
The University of Western Ontario,
London, Ontario, Canada
Email: razar...@uwo.ca
http://publish.uwo.ca/~razarder/
**


Re: Lyx 2 problem

2011-05-17 Thread Julio Rojas
Dear Reza, you should use a module specially for that. Go to Document -
Settings - Modules - Theorems (AMS, Numbered by Type).

I hope this works.

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:03 PM, Reza Azarderakhsh razar...@uwo.ca wrote:





 Hi I am using IEEEtran template. When I want to write a Theorem, it inserts
 Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead of
 Lemma 1. It is increasing the numbers for all of these formats such as
 definition, remark ,.. .

 I just installed Lyx 2 and facing this problem.

 Would you please help with that.

 Thanks

 Reza
 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



Re: Lyx 2 problem

2011-05-17 Thread Julio Rojas
OS? On Windows should be there by default?
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:41 PM, Reza Azarderakhsh
azarderak...@gmail.comwrote:

 Hello,

 Thanks so much for the prompt reply. But I was unable to add it (Theorems
 (AMS, Numbered by Type).) from left column to the right side to apply it. It
 seems that it is not available.

 On Tue, May 17, 2011 at 1:30 PM, Julio Rojas jcredbe...@gmail.com wrote:

 Dear Reza, you should use a module specially for that. Go to Document -
 Settings - Modules - Theorems (AMS, Numbered by Type).

 I hope this works.

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Tue, May 17, 2011 at 7:03 PM, Reza Azarderakhsh razar...@uwo.cawrote:





 Hi I am using IEEEtran template. When I want to write a Theorem, it
 inserts Theorem 1. Then when I want to add a Lemma is writes Lemma 2 instead
 of Lemma 1. It is increasing the numbers for all of these formats such as
 definition, remark ,.. .

 I just installed Lyx 2 and facing this problem.

 Would you please help with that.

 Thanks

 Reza
 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **





 --
 **
 Reza Azarderakhsh
 PhD Candidate,
 Department of Electrical and Computer Engineering,
 The University of Western Ontario,
 London, Ontario, Canada
 Email: razar...@uwo.ca
 http://publish.uwo.ca/~razarder/
 **



PDF will not reload

2011-05-17 Thread Hafney
Hi,

I'm at the end of my rope with adobe acrobat. I'm using adobe acrobat reader 
10. I can successfully generate a pdf but I cannot update the pdf after I 
make changes to my .lyx document.  How do I fix this? (I'm using windows). 
I read some speculation that this could be a bug in adobe but that 
Lyx 2.0 solved the problem.  But I just installed Lyx 2.0 and the 
problem persists.  I read http://wiki.lyx.org/FAQ/PDF (near bottom) but 
still cannot solve my problem. I've now abandoned adobe all together and 
am using Sumatra (as advised in the wiki entry.)  

Could I fix this problem with acrobat?

Or did I make the right choice by dumping it? 

If that was the right choice, what is the best pdf viewer to use with Lyx? 
Any guidance will be much appreciated. Thanks.

Hafney




Re: Lyx 2 problem

2011-05-17 Thread Jim Oldfield



Thanks so much for the prompt reply. But I was unable to add it (Theorems 
(AMS, 

Numbered by Type).) from left column to the right side to apply it. It seems 
that it is not available.




You need to remove the Theorems (AMS) (or Theorems) module before you can 
add the Theorems (AMS, Numbered by Type) one.

Note that numbering all theorems/lemmas/etc together is not a problem, just a 
matter of taste. (I certainly prefer it... it's annoying hunting for Lemma 15, 
when all you know is that this page has Theorem 12 and Definition 18. Which way 
do I look?)


Re: LyX cache

2011-05-17 Thread Richard Heck

On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder 
I realised that my .lyx folder is very big. Most of the space is taken 
by the subfolder cache which is over 5GB big. It mostly contains 
images from my projects in .eps and .png formats. Is it safe to empty 
the cache subfolder? Is there a way to flush it from within LyX? Such 
a big cache building up can be an issue on small systems.


It's safe to remove. I don't think there's any way to do it from within 
LyX. Probably there should be, and a limit cache to N MB choice, too.


Richard



Re: plotting over graph in Lyx / beamer presentation

2011-05-17 Thread Phil
 I will look into the pstricks solution, as it sounds also quite easy -
 could you post a small example?


attached example using pstricks  powerdot

pstricks_example_file.lyx
Description: Binary data


lyx 2.0 thesis template generate too much vertical space before and after the equation

2011-05-17 Thread Ruida Yun
Hi all,

I'm writing my dissertation using the thesis template offered  by the
new Lyx2.0.  The Latex preamble shipped with the thesis template
somehow messed up the fleqn option when the line space is set to
double. There is way too much vertical space before and after the
equation.

If I delete the preamble or remove the fleqn option, the vertical
space looks normal. I'm not sure what causes the problem and hope
someone could help me out here.

The latex preamble looks like this:

% increase link area for cross-references and autoname them
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
\newlength{\abc}
\settowidth{\abc}{\space}
\AtBeginDocument{%
\addto\extrasenglish{
 \renewcommand{\equationautorefname}{\hspace{-\abc}}
 \renewcommand{\sectionautorefname}{sec.\negthinspace}
 \renewcommand{\subsectionautorefname}{sec.\negthinspace}
 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
 \renewcommand{\figureautorefname}{Fig.\negthinspace}
 \renewcommand{\tableautorefname}{Tab.\negthinspace}
}
}

% in case somebody want to have the label equation
%\renewcommand{\eqref}[1]{equation~(\negthinspace\autoref{#1})}

% that links to image floats jumps to the beginning
% of the float and not to its caption
\usepackage[figure]{hypcap}

% the pages of the TOC is numbered roman
% and a pdf-bookmark for the TOC is added
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
  \frontmatter
  \pdfbookmark[1]{\contentsname}{}
  \myTOC
  \mainmatter }

% make caption labels bold
\setkomafont{captionlabel}{\bfseries}
\setcapindent{1em}

% enable calculations
\usepackage{calc}

% fancy page header/footer settings
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}

% increase the bottom float placement fraction
\renewcommand{\bottomfraction}{0.5}

% avoid that floats are placed above its sections
\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}




-- 
Ruida Yun


Re: LyX cache

2011-05-17 Thread Påvel Nicklasson

Den 2011-05-17 20:16:16 skrev Richard Heck rgh...@comcast.net:


On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder  
I realised that my .lyx folder is very big. Most of the space is taken  
by the subfolder cache which is over 5GB big. It mostly contains  
images from my projects in .eps and .png formats. Is it safe to empty  
the cache subfolder? Is there a way to flush it from within LyX? Such a  
big cache building up can be an issue on small systems.


It's safe to remove. I don't think there's any way to do it from within  
LyX. Probably there should be, and a limit cache to N MB choice, too.


Richard




Thank you for the answer!
I guess I have to remember cleaning the cache now and then.
Regards
Påvel


Re: PDF will not reload

2011-05-17 Thread Julio Rojas
You cannot. Enjoy Sumatra. Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 7:53 PM, Hafney hafne...@gmail.com wrote:

 Hi,

 I'm at the end of my rope with adobe acrobat. I'm using adobe acrobat
 reader
 10. I can successfully generate a pdf but I cannot update the pdf after I
 make changes to my .lyx document.  How do I fix this? (I'm using windows).
 I read some speculation that this could be a bug in adobe but that
 Lyx 2.0 solved the problem.  But I just installed Lyx 2.0 and the
 problem persists.  I read http://wiki.lyx.org/FAQ/PDF (near bottom) but
 still cannot solve my problem. I've now abandoned adobe all together and
 am using Sumatra (as advised in the wiki entry.)

 Could I fix this problem with acrobat?

 Or did I make the right choice by dumping it?

 If that was the right choice, what is the best pdf viewer to use with Lyx?
 Any guidance will be much appreciated. Thanks.

 Hafney





Re: LyX cache

2011-05-17 Thread Richard Heck

On 05/17/2011 03:17 PM, Påvel Nicklasson wrote:

Den 2011-05-17 20:16:16 skrev Richard Heck rgh...@comcast.net:


On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home 
folder I realised that my .lyx folder is very big. Most of the space 
is taken by the subfolder cache which is over 5GB big. It mostly 
contains images from my projects in .eps and .png formats. Is it 
safe to empty the cache subfolder? Is there a way to flush it from 
within LyX? Such a big cache building up can be an issue on small 
systems.


It's safe to remove. I don't think there's any way to do it from 
within LyX. Probably there should be, and a limit cache to N MB 
choice, too.




Thank you for the answer!
I guess I have to remember cleaning the cache now and then.

Set up a cron job. Have it check the size of the cache and remove as 
much as it needs to remove (starting with the older files) to get it 
down to some level you specify. Shouldn't be too hard.


rh



LyX for Mac OSX 10.6.7?

2011-05-17 Thread Samuel Turk
To whom it may concern:


I have never used LyX before but I've been told it is a very good program. I 
would like to install it on my Mac OSX 10.6.7

I found LyX available on Apple's web site here: 
http://www.apple.com/downloads/macosx/unix_open_source/lyx.html

However, the download failed. Would you direct me to where I can find step by 
step instructions to get LyX properly downloaded and running on my Mac?

Thanks in advance,

Sam

Re: LyX for Mac OSX 10.6.7?

2011-05-17 Thread Sandro Portmann
That's no problem, if you never used LyX. Just go to the LyX homepage 
(www.lyx.org), where you can download the program. You're also finding a 
manual, how to install it, because you need a TeX distribution to running LyX

Regards

Sandro

Am 17.05.2011 um 22:38 schrieb Samuel Turk:

 To whom it may concern:
 
 
 I have never used LyX before but I've been told it is a very good program. I 
 would like to install it on my Mac OSX 10.6.7
 
 I found LyX available on Apple's web site here: 
 http://www.apple.com/downloads/macosx/unix_open_source/lyx.html
 
 However, the download failed. Would you direct me to where I can find step by 
 step instructions to get LyX properly downloaded and running on my Mac?
 
 Thanks in advance,
 
 Sam



Re: Lyx 2 problem

2011-05-17 Thread Jim Oldfield
Hi Reza,

Please reply to the list in future (use reply to all in your email client), 
so 
that all users can help with your problem, and see any suggested solutions.

 Unfortunately IEEE Tran journals do not accept the way you explained. 

Ah ha, I hadn't thought of that. This turns out to be the key point. It seems 
that in LyX, if you select an IEEEtran document class, then the theorem layout 
as chosen *as if* you had selected the theorems module yourself, so there's no 
way to unselect it.

It could be that this is because this is what the IEEEtran latex class does and 
LyX is just showing it through. Or, it could be a quirk of LyX. I don't know 
because I've never used this document class.

Jim


Re: Lyx 2 problem

2011-05-17 Thread Reza Azarderakhsh
Hi, sure.

But this problem exists only in Lyx 2. and in Lyx 1.6 it is OK for numbering
and working well. Then it seems that the problem is from Lyx side.

Thanks

Reza

On Tue, May 17, 2011 at 5:08 PM, Jim Oldfield jim_...@yahoo.co.uk wrote:

 Hi Reza,

 Please reply to the list in future (use reply to all in your email
 client), so
 that all users can help with your problem, and see any suggested solutions.

  Unfortunately IEEE Tran journals do not accept the way you explained.

 Ah ha, I hadn't thought of that. This turns out to be the key point. It
 seems
 that in LyX, if you select an IEEEtran document class, then the theorem
 layout
 as chosen *as if* you had selected the theorems module yourself, so there's
 no
 way to unselect it.

 It could be that this is because this is what the IEEEtran latex class does
 and
 LyX is just showing it through. Or, it could be a quirk of LyX. I don't
 know
 because I've never used this document class.

 Jim




--


Re: to create a layout

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 15:36, schrieb Patrick Dupre:


I wished t create a layout from a cls file. Following the instructions,
I should find the class from which it is descendant but I cannot get it.
This is the begenning of the cls file:

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{tMPH2e}[2009/09/07 v3.6 Molecular Physics LaTeX2e document class]


We don't yet have a layout file for this class.
Can you give me a link to download the LaTeX class tMPH2e? I'll have a look if I can quickly create 
a layout file.


regards Uwe


Re: find in math mode

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 16:27, schrieb Patrick Dupre:


Is there an option to make a find inside a math formula ?


LyX's new advanced find dialog (Ctrl+Shift F) offers to insert also equations so that you can search 
for them


regards Uwe


Re: PDF will not reload

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 19:53, schrieb Hafney:


I'm at the end of my rope with adobe acrobat. I'm using adobe acrobat reader
10. I can successfully generate a pdf but I cannot update the pdf after I
make changes to my .lyx document.


This should be fixed with LyX 2.0. But you need the latest Adobe Reader for this: Adobe Reader X 
(after installing it, install also the provided updates).
If this doesn't work for you, please uninstall LyX 2.0.0 with its user settings and reinstall it 
afterwards using the latest Windows installer you find at our homepage.


regards Uwe


Re: PDF will not reload

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 21:30, schrieb Julio Rojas:


You cannot. Enjoy Sumatra. Regards.


Hmm, but I can with Acrobat 7 as well as with Adobe Reader X.

regards Uwe


Re: lyx 2.0 thesis template generate too much vertical space before and after the equation

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 20:36, schrieb Ruida Yun:


I'm writing my dissertation using the thesis template offered  by the
new Lyx2.0.  The Latex preamble shipped with the thesis template
somehow messed up the fleqn option when the line space is set to
double. There is way too much vertical space before and after the
equation.


Can you please send a screenshot where you have too much space. I cannot see a difference between 
fleqn or not.
Note the space around equations depends if the equation is in an own paragraph or not. If it in an 
own paragraph the spacing is the normal one PLUS the paragraph separation space.


regards Uwe


Re: PDF will not reload

2011-05-17 Thread Hafney
Uwe Stöhr uwestoehr at web.de writes:

 
 Am 17.05.2011 19:53, schrieb Hafney:
 
  I'm at the end of my rope with adobe acrobat. I'm using adobe acrobat reader
  10. I can successfully generate a pdf but I cannot update the pdf after I
  make changes to my .lyx document.
 
 This should be fixed with LyX 2.0. But you need the latest Adobe Reader for 
this: Adobe Reader X 
 (after installing it, install also the provided updates).
 If this doesn't work for you, please uninstall LyX 2.0.0 with its user 
settings and reinstall it 
 afterwards using the latest Windows installer you find at our homepage.
 
 regards Uwe
 
 


Hi Uwe.  Thanks for your reply.  I did as you suggested, 
and although I can still write to a pdf once, I still also
cannot update the pdf to reflect subsequent changes to my
file. I'm using Lyx 2.0 and acrobat reader 10.0.1 on windows 
7.  Could this have something to do with the default security 
settings in this version of acrobat? The problem also
exists with PDF-XChange PDF Viewer and the developers of 
that reader explained that it locks files while they are 
open and prevents being written to.  However, Sumatra works 
perfectly. 

Thanks.



Re: PDF will not reload

2011-05-17 Thread Uwe Stöhr

Am 18.05.2011 03:05, schrieb Hafney:


I did as you suggested,
and although I can still write to a pdf once, I still also
cannot update the pdf to reflect subsequent changes to my
file.


Strange, because I can do this with Adobe Reader 10.1 and LyX 2.0.0 under Win7 
without problems.


I'm using Lyx 2.0 and acrobat reader 10.0.1 on windows
7.  Could this have something to do with the default security
settings in this version of acrobat? The problem also
exists with PDF-XChange PDF Viewer and the developers of
that reader explained that it locks files while they are
open and prevents being written to.


Yes, that's why we created a program to close/reopen Adobe Reader automatically.

Joost, do you have an idea why this doesn't work for Hafney?

regards Uwe


Re: PDF will not reload

2011-05-17 Thread Julio Rojas
I didn't know you had made a module specially for this issue. I still prefer
Sumatra for previewing as it is far much lighter.

Thx for the tip, though.

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Wed, May 18, 2011 at 2:32 AM, Uwe Stöhr uwesto...@web.de wrote:

 Am 17.05.2011 21:30, schrieb Julio Rojas:


  You cannot. Enjoy Sumatra. Regards.


 Hmm, but I can with Acrobat 7 as well as with Adobe Reader X.

 regards Uwe



Re: HTML export from LyX

2011-05-17 Thread Pascal Francq
Thanks, it works. 

On lundi 16 mai 2011, Guenter Milde wrote:
> On 2011-05-16, Richard Heck wrote:
> > On 05/16/2011 06:35 AM, Pascal Francq wrote:
> >> How can I, from the command line, export a given LyX document into
> >> a HTML document in another directory (in LyX, the document is always
> >> exported in the same directory).
> > 
> > There's no support presently in LyX for naming the export directory,
> > either for XHTML or for any other format. There is a bug about this
> > already.
> 
> For the time being, you can use the external elyxer (works even
> without a LyX installation):
> 
> #> elyxer --help
> 
>   * Usage: elyxer.py [options] [filein] [fileout]
>   * Convert LyX input file "filein" to HTML file "fileout".
>   * If filein (or fileout) is not given use standard input (or output).
>   * Main program of the eLyXer package (http://elyxer.nongnu.org/).
> 
> ...
> 
> 
> Günter


-- 

Dr. Ir. Pascal Francq
BELGIUM


signature.asc
Description: This is a digitally signed message part.


Aspell not found

2011-05-17 Thread Julio Rojas
Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have
also installed Aspell, but Lyx cannot find it, even after reconfiguration. I
install Enchant and Abiword, just in case, but nothing. Can somebody give me
a tip on the good direction?

Regards.
-
Julio Rojas
jcredbe...@gmail.com


Re: Aspell not found

2011-05-17 Thread Julio Rojas
I've found this answer:
http://comments.gmane.org/gmane.editors.lyx.general/63955

Shouldn't "./configure" give you a very big warning on this issue?

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 11:20 AM, Julio Rojas  wrote:

> Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have
> also installed Aspell, but Lyx cannot find it, even after reconfiguration. I
> install Enchant and Abiword, just in case, but nothing. Can somebody give me
> a tip on the good direction?
>
> Regards.
> -
> Julio Rojas
> jcredbe...@gmail.com
>


Re: Aspell not found

2011-05-17 Thread Stephan Witt
Am 17.05.2011 um 11:20 schrieb Julio Rojas:

> Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have also 
> installed Aspell, but Lyx cannot find it, even after reconfiguration. I 
> install Enchant and Abiword, just in case, but nothing. Can somebody give me 
> a tip on the good direction?

Did you install the developer packages?

Stephan

BTW. Your ticket http://www.lyx.org/trac/ticket/7564 is not forgotten. I didn't 
had the time to have a look.

Re: moderncv template error to compile

2011-05-17 Thread Manolo Martínez
Hello, Uwe

> 
> Assure that you are using LyX 1.6.8 or newer. If the problem persists with 
> this LyX version, please 
> send me your file.

I'm using LyX 2.0.0. I have problems with the file Hélène sent and
similar ones, and I have been sidestepping them in the manner I describe
in my previous post.

In an earlier message --
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86608.html -- I
posted a MWE and the error log.

I should point out that I'm only having these problems with moderncv
since I moved from Ubuntu to Fedora 15, so I'm guessing it's got
something to do with the LaTeX distribution (I'm using TL 2010 now)

Cheers,
Manolo



Re: Aspell not found

2011-05-17 Thread Julio Rojas
Thanks Stephan. I have installed them and recompiled. Everything is working
perfectly now. I was just wondering if a warning should be included at the
end of the "./configure" step, just to remind you to include the spell
checker.

BTW, I'm now working on Ubuntu and the jumping spell checker problem hasn't
appeared yet.
-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 17, 2011 at 11:29 AM, Stephan Witt  wrote:

> Am 17.05.2011 um 11:20 schrieb Julio Rojas:
>
> > Dear all. I have just compiled/installed Lyx 2.0 on Ubuntu 11.04. I have
> also installed Aspell, but Lyx cannot find it, even after reconfiguration. I
> install Enchant and Abiword, just in case, but nothing. Can somebody give me
> a tip on the good direction?
>
> Did you install the developer packages?
>
> Stephan
>
> BTW. Your ticket http://www.lyx.org/trac/ticket/7564 is not forgotten. I
> didn't had the time to have a look.


Re: Footnote location

2011-05-17 Thread Tania
Sandro Portmann  writes:

> Goodmorning,
actually i have the same problem regarding the footnote location
i wrote a paragraph and then skiped to the next page without filling the 
previous one. the footnote in the latter is right under the end of the 
paragraph 
meaning positioned in the middle of the page. how to keep it always at the 
bottom
thank you for the help
> I've tested it, but ut doesn't work. Is there anyone in the community that 
> can 
help me?
> 
> SP
> 
> Am 02.04.2010 um 16:43 schrieb rgheck:
> 
> > On 04/02/2010 09:45 AM, Sandro Portmann wrote:
> >> Thanks a lot, works good. But there's an other question I have. How can I 
put the footnote right to the
> bottom of the page, if the page's not totally filled?
> >> 
> >>   
> > Sorry, don't know the answer to that one. You could try something like:
> >\setlength{\skip\footins}{2cm plus \textheight}
> > which allows LaTeX to "stretch" that length. But I don't know if it would 
work.
> > 
> > rh
> > 
> 
> 






Re: plotting over graph in Lyx / beamer presentation

2011-05-17 Thread Rainer M Krug
Hi Phil and Liviu,

thanks for your ideas - interesting reading.

I found a solution using tikz:

Based on 
http://tex.stackexchange.com/questions/15990/draw-red-x-over-an-external-image-using-pgf-tikz
, I developed the solution attached - as described in the link, the
image is placed in a node, and one can draw.

The nice thing: the inserting of the picture can be done in LyX!

I will look into the pstricks solution, as it sounds also quite easy -
could you post a small example?

Thanks,

Rainer




On Tue, May 17, 2011 at 2:48 AM, Phil  wrote:
>
>
>> I want to plot a square / circle over a graph (in pdf format) to
>> highlight certain sections. I rmember that it is possible, but I do
>
> maybe there is an easier way... but what I usually do is use pstricks with
> powerdot (I assume you can
>
> use the same technique with beamer) and then after I insert my graphic I add 
> in
> a \psgrid to
>
> find the coordinates and then I put in a \psframebox or \psellipse where I 
> want
> to highlight.
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          rai...@krugs.de

Skype:          RMkrug
Google:         r.m.k...@gmail.com


Example.lyx
Description: application/lyx


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-17 Thread Gunnar
On Monday 16 May 2011 18.15.43 Julien Rioux wrote:
> On 14/05/2011 2:47 AM, Gunnar wrote:
> > How can I make LyX work with ERT and pdf? (Yes, I need ERT)
> 
> I'm curious what is your use case which requires ERT for includegraphics
> ? Since LyX supports inclusion of any graphics format and does the
> conversion for me, I dare not go back to plain latex, unless I need
> really high quality eps and pdf.

When the document was first written, a long time ago, images with wrap-around 
text was giving awful results. I haven't tried without ERT and specific 
graphics placement commands for a long time, but things might have changed?


Re: plotting over graph in Lyx / beamer presentation

2011-05-17 Thread Liviu Andronic
On Tue, May 17, 2011 at 1:01 PM, Rainer M Krug  wrote:
> Hi Phil and Liviu,
>
> thanks for your ideas - interesting reading.
>
> I found a solution using tikz:
>
> Based on 
> http://tex.stackexchange.com/questions/15990/draw-red-x-over-an-external-image-using-pgf-tikz
> , I developed the solution attached - as described in the link, the
> image is placed in a node, and one can draw.
>
> The nice thing: the inserting of the picture can be done in LyX!
>
> I will look into the pstricks solution, as it sounds also quite easy -
> could you post a small example?
>
The big problem with pstricks is that it doesn't work with pdflatex.
Should work with xetex, though.
Liviu


> Thanks,
>
> Rainer
>
>
>
>
> On Tue, May 17, 2011 at 2:48 AM, Phil  wrote:
>>
>>
>>> I want to plot a square / circle over a graph (in pdf format) to
>>> highlight certain sections. I rmember that it is possible, but I do
>>
>> maybe there is an easier way... but what I usually do is use pstricks with
>> powerdot (I assume you can
>>
>> use the same technique with beamer) and then after I insert my graphic I add 
>> in
>> a \psgrid to
>>
>> find the coordinates and then I put in a \psframebox or \psellipse where I 
>> want
>> to highlight.
>>
>
>
>
> --
> NEW GERMAN FAX NUMBER!!!
>
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
> Biology, UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Natural Sciences Building
> Office Suite 2039
> Stellenbosch University
> Main Campus, Merriman Avenue
> Stellenbosch
> South Africa
>
> Cell:           +27 - (0)83 9479 042
> Fax:            +27 - (0)86 516 2782
> Fax:            +49 - (0)321 2125 2244
> email:          rai...@krugs.de
>
> Skype:          RMkrug
> Google:         r.m.k...@gmail.com
>



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


Re: Footnote location

2011-05-17 Thread Richard Heck
On 05/17/2011 06:16 AM, Tania wrote:
> Sandro Portmann  writes:
>
>> Goodmorning,
> actually i have the same problem regarding the footnote location
> i wrote a paragraph and then skiped to the next page without filling the 
> previous one. the footnote in the latter is right under the end of the 
> paragraph 
> meaning positioned in the middle of the page. how to keep it always at the 
> bottom thank you for the help
>
What document class is this? In any event, you can try:
\flushbottom
in your preamble.

Richard



to create a layout

2011-05-17 Thread Patrick Dupre

Hello,

I wished t create a layout from a cls file. Following the instructions,
I should find the class from which it is descendant but I cannot get it.
This is the begenning of the cls file:

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{tMPH2e}[2009/09/07 v3.6 Molecular Physics LaTeX2e document 
class]

\newif\if@restonecol
\@twosidetrue\@mparswitchtrue
\@twocolumnfalse
%%
\def\jobtag{Molecular Physics}
\newdimen\draftrule
\draftrule=0pt
\newif\ifdraft
\draftfalse
\newif\ifprinter
\newif\ifappendix\appendixfalse
%
\newdimen\trimrule
\trimrule=.1pt
%
\newdimen\draftrule
\draftrule=0pt
%
\DeclareOption{draft}{\setlength\overfullrule{5pt}\draftrule0.1pt\global\drafttr
\DeclareOption{printer}{\setlength\overfullrule{0pt}\trimrule0pt\global\printert


Some ideas ?

Thanks

--
---
==
 Patrick DUPRÉ  |   |
 Department of Chemistry|   |  Phone: (44)-(0)-1904-434384
 The University of York |   |  Fax:   (44)-(0)-1904-432516
 Heslington |   |
 York YO10 5DD  United Kingdom  |   |  email: patrick.du...@york.ac.uk
==

Re: to create a layout

2011-05-17 Thread Richard Heck
On 05/17/2011 09:36 AM, Patrick Dupre wrote:
> Hello,
>
> I wished t create a layout from a cls file. Following the instructions,
> I should find the class from which it is descendant but I cannot get it.
>
Some classes aren't "descended" in this way, and one has to try to
figure out which class they might otherwise be like. In this case, I'd
say "article", since the class does not give you chapters. (This is
slightly odd, because it does define a chapter counter and do various
things with it, but it never gets used, in fact.)

The biggest question, in a way, is: What sectioning commands does the
class define? If you search for \section, you will find them, all
grouped together.

Richard



find in math mode

2011-05-17 Thread Patrick Dupre

Hello,

Is there an option to make a find inside a math formula ?

Thank.

--
---
==
 Patrick DUPRÉ  |   |
 Department of Chemistry|   |  Phone: (44)-(0)-1904-434384
 The University of York |   |  Fax:   (44)-(0)-1904-432516
 Heslington |   |
 York YO10 5DD  United Kingdom  |   |  email: patrick.du...@york.ac.uk
==

Re: moderncv template error to compile

2011-05-17 Thread Uwe Stöhr

Am 17.05.2011 11:45, schrieb Manolo Martínez:


I'm using LyX 2.0.0. I have problems with the file Hélène sent and
similar ones, and I have been sidestepping them in the manner I describe
in my previous post.

In an earlier message --
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86608.html -- I
posted a MWE and the error log.


Can you please resend your LyX file. The one in the mailing list is empty.

regards Uwe


LyX cache

2011-05-17 Thread Påvel Nicklasson
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder I  
realised that my .lyx folder is very big. Most of the space is taken by  
the subfolder "cache" which is over 5GB big. It mostly contains images  
from my projects in .eps and .png formats. Is it safe to empty the cache  
subfolder? Is there a way to flush it from within LyX? Such a big cache  
building up can be an issue on small systems.


Best Regards
Påvel


Re: Lyx 2.0.0 OSX crashes

2011-05-17 Thread Stephan Witt
Am 17.05.2011 um 18:05 schrieb Murat Yildizoglu:

> I am lost on this. I have installed the last version of Lyx and it crashes 
> quite systematically. I have never seen this with Lyx. It is nearly unusable.
> I have also version 1.6 on my laptop but the preferences folders are of 
> course separated. I have downloaded and reinstalled Lyx (two hours ago), but 
> I continue to get the same problem. I can launch Lyx, but at one point it 
> crashes as soon as I click somewhere on the window. 
> 
> I have renamed the old Lyx2 config folder and started Lyx, but it has 
> immediately crashed (but It has created the new configuration folder in the 
> Library).
> I have also tried to launch Lyx from a terminal window. I have ended with a 
> "Segmentation fault"
> 
> I get the following crash report under OSX:

...

It looks like you're using divvy or SizeUp or a similar tool.
http://www.lyx.org/trac/ticket/7365

Please, can you stop it and try again?

Stephan

Re: Lyx 2.0.0 OSX crashes

2011-05-17 Thread Murat Yildizoglu
Thanks Stephan!
I have indeed totally forgotten this problem that we have discussed on the
users list.

Yes, I am using Divvy, but I am not trying to use it on the Lyx Window. Even
without this, can it crash Lyx?
The bug report does not show any potential solution. Am I stuck between
going back to 1.6 and dropping Divvy?


2011/5/17 Stephan Witt 

> Am 17.05.2011 um 18:05 schrieb Murat Yildizoglu:
>
> > I am lost on this. I have installed the last version of Lyx and it
> crashes quite systematically. I have never seen this with Lyx. It is nearly
> unusable.
> > I have also version 1.6 on my laptop but the preferences folders are of
> course separated. I have downloaded and reinstalled Lyx (two hours ago), but
> I continue to get the same problem. I can launch Lyx, but at one point it
> crashes as soon as I click somewhere on the window.
> >
> > I have renamed the old Lyx2 config folder and started Lyx, but it has
> immediately crashed (but It has created the new configuration folder in the
> Library).
> > I have also tried to launch Lyx from a terminal window. I have ended with
> a "Segmentation fault"
> >
> > I get the following crash report under OSX:
>
> ...
>
> It looks like you're using divvy or SizeUp or a similar tool.
> http://www.lyx.org/trac/ticket/7365
>
> Please, can you stop it and try again?
>
> Stephan




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http:/yildizoglu.co.cc
http://www.twitter.com/yildizoglu
__


  1   2   >