Re: how to install LyX in Linux?

2009-07-29 Thread icebna

What distribution you have ?

Miguel


Helge Hafting escribió:

m.kocin...@mini.pw.edu.pl wrote:

It was rather surprise for me that installing LyX in Linux seems to be
much more complecated than in Windows. In fact, I have no experience in
Linux...


If you _download_ LyX for linux from the lyx website, then you get
source code that you can compile. Doing that is complicated indeed,
and not recommended for a beginner.

There are _many_ different linux distributions. Making a lyx installer
for each is a lot of work, so it is not done by lyx developers.

Instead, linux distribution developers put lyx in their
distributions. So, the correct way to install lyx is
to use your linux distribution's way of installing software.

With debian, I use this command:
$ apt-get install lyx

That's all. I didn't even have to download anything. With this command,
debian will download and install lyx and all other software that
is needed to make lyx work.

If you have ubuntu, the command is similiar. Other linux distributions
are different, and you may have to download a package first. But you
download the lyx package from your linux distributor, not
from the lyx website.


Why there is hard to find install. exe file for LyX at lyx.org?
Is it true taht that words Major Linux distributions take care of LyX
binaries themselves and you will find LyX in their repositories. mean
when I buy a new notebok with Linux installed then there will also LyX
there?


If the notebook comes with a _major_ linux distribution installed,
then it may or may not have LyX already. Installing LyX using
the standard way of installing lyx on that linux distribution
should be easy enough though. If you need help, ask here or
in the linux distributors forum.

Note that some notebooks comes with not so major linux distributions,
which may not have lyx at all. In that case, consider switching to
a better distribution.

Helge Hafting






Setting paragraph style in document class

2009-07-29 Thread Luca Carlon
Hi! I'm writing a book with LyX using the document class book. I just would like
to change the style of the 'Example' paragraph type so that it appears italic.
Is this possible? I would like as well to reduce the font size of the text in
the caption of the images: is this possible too?
Thanks for any suggestion!



Re: Setting paragraph style in document class

2009-07-29 Thread Sam Liddicott
* Luca Carlon wrote, On 29/07/09 10:04:
 Hi! I'm writing a book with LyX using the document class book. I just would 
 like
 to change the style of the 'Example' paragraph type so that it appears italic.
 Is this possible? I would like as well to reduce the font size of the text in
 the caption of the images: is this possible too?
 Thanks for any suggestion!
 

Where did you get the 'Example' paragraph type from?
Book doesn't have this by default.

Sam


Re: Setting paragraph style in document class

2009-07-29 Thread Luca Carlon
Sam Liddicott s...@... writes:
 Where did you get the 'Example' paragraph type from?
 Book doesn't have this by default.
 
 Sam

Are you sure? I selected 'book' in document class in the document settings. I
selected then Example from the menu of LyX where the are also the types 'Part',
'Chapter', 'Section' etc... Maybe I was wrong and that is not the paragraph
type, sorry, I don't know how it's called. When I select 'Example' I get a new
paragraph with the text 'Example a.b'. I would like the text I write in that
paragraph to be italic. I see in most math and engineering books examples are
italic.
Thanks for your answer!



mathTeX to display math in html pages?

2009-07-29 Thread Rudi Gaelzer
Just out of curiosity...

Does anyone know if the current html converter that LyX uses (htlatex) makes 
use 
or the developers plan to use the new mathTeX system 
(http://www.forkosh.com/mimetex.html)
that embeds LaTeX math in html pages?

The output seems more beautiful and useful than the present method of handling 
equations, converting them to png files... (at least this is what htlatex does 
for me...)

Thank you.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Drag and Drop

2009-07-29 Thread Johannes Knaus

Hello,

Maybe a stupid question:
But I realized that I can select/mark a sentence with the mouse, but I  
cannot drag this selected sentence around in Lyx, e.g. placing it in  
the paragraph above. Everytime I try this the sentence is deselected.
As I don't remember well: Is this behaviour expected in Lyx or is it a  
bug? Do I have to press another button to drag and drop?


OS: Mac OSX 10.5 (Intel)
Lyx: 1.6.3

Thanks for your help.

Johannes
--

Sometimes I lie awake at night, and ask, Where have I gone wrong?
Then a voice says to me, This is going to take more than one  
night. (Charlie Brown)





RE: Drag and Drop

2009-07-29 Thread Vincent van Ravesteijn - TNW
Hello,

Maybe a stupid question:
But I realized that I can select/mark a sentence
with the mouse, but I cannot drag this selected
sentence around in Lyx, e.g. placing it in the
paragraph above. Everytime I try this the sentence
is deselected.

As I don't remember well: Is this behaviour expected
in Lyx or is it a bug?

Let's call it a missing feature.

Personally, I'd prefer to cutpaste anyway.

Vincent


Re: Setting paragraph style in document class

2009-07-29 Thread Richard Heck

On 07/29/2009 06:53 AM, Luca Carlon wrote:

Sam Liddicotts...@...  writes:
   

Where did you get the 'Example' paragraph type from?
Book doesn't have this by default.

Sam
 


Are you sure? I selected 'book' in document class in the document settings. I
selected then Example from the menu of LyX where the are also the types 'Part',
'Chapter', 'Section' etc... Maybe I was wrong and that is not the paragraph
type, sorry, I don't know how it's called. When I select 'Example' I get a new
paragraph with the text 'Example a.b'. I would like the text I write in that
paragraph to be italic. I see in most math and engineering books examples are
italic.

   
You are using one of the theorem modules, or perhaps you are using the 
AMS book class. Anyway, yes, you can change it, but changing it will 
mean doing some LaTeX. I don't myself know off-hand how to do this, but 
if you look at the theorems-ams.inc file, you can see how the Example 
environment is defined. You will need to redefine the part marked 
Preamble to declare a different theorem style. Probably the easiest 
thing to do is to copy this file to your local user directory 
(.lyx/layouts on Linux---usually) and then make the changes there. 
Something like this:

Preamble
\theoremstyle{plain}
\newtheorem{example}[thm]{Example}
EndPreamble
may do.

rh



Re: mathTeX to display math in html pages?

2009-07-29 Thread Richard Heck

On 07/29/2009 07:19 AM, Rudi Gaelzer wrote:

Just out of curiosity...

Does anyone know if the current html converter that LyX uses (htlatex) makes use
or the developers plan to use the new mathTeX system
(http://www.forkosh.com/mimetex.html)
that embeds LaTeX math in html pages?

The output seems more beautiful and useful than the present method of handling
equations, converting them to png files... (at least this is what htlatex does
for me...)

   
I am currently working on implementing native HTML output for the next 
version of LyX (1.7, we now think). In the short term, we will probably 
do pngs, too.


The problem with mathtex, from my point of view, is that it is 
insufficiently general. In order to use mathtex, it has to be installed 
on the server. And in many ways, it isn't much better as a solution, 
since all mathtex does is make little images out of latex that is 
embedded in the src attribute of the image tag.


Richard



Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Niko Schwarz
Hi,

Where do I put modules again so they won't be overwritten each time I
update lyx?

Cheers,

Niko


Re: Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Ignacio García
Niko Schwarz wrote Wed, 29 Jul 2009

 Where do I put modules again so they won't be overwritten each time I
update lyx?

In your lyx personal folder. directory layouts
E.g., in linux it's
~/.lyx/layouts
or if compiling --with-version-suffix
~/.lyx-1.6.3/layouts
or so, depending on your lyx version

Regards
Ignacio


Re: Drag and Drop

2009-07-29 Thread Johannes Knaus

Let's call it a missing feature.

Personally, I'd prefer to cutpaste anyway.

Vincent



So, would this be a good idea to propose this for future Lyx versions?
I'm not a programmer, so I really can't even guess how much work this  
would mean.
IMHO this would be really a nice feature. I'm quite used to it; in  
nearly all Applications I regularly use (even in the Editor I use for  
basic python scripts) I can do this internal drag and drop.


How do others think about this?



Re: Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Jürgen Spitzmüller
Ignacio García wrote:
  Where do I put modules again so they won't be overwritten each time I

 update lyx?

 In your lyx personal folder. directory layouts
 E.g., in linux it's
 ~/.lyx/layouts
 or if compiling --with-version-suffix
 ~/.lyx-1.6.3/layouts
 or so, depending on your lyx version

FYI, Help  About LyX tells you, where the personal folder (User Directory) 
is on your box. You might need to create the layouts directory if it's not yet 
there.

Jürgen


Re: Drag and Drop

2009-07-29 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 So, would this be a good idea to propose this for future Lyx versions?

There's already a feature request for this:
http://www.lyx.org/trac/ticket/5643

Jürgen


Re: Re: Drag and Drop

2009-07-29 Thread Ignacio García
Johannes Knaus wrote Wed, 29 Jul 2009

 But I realized that I can select/mark a sentence
 with the mouse, but I cannot drag this selected
 sentence around in Lyx, e.g. placing it in the
 paragraph above. Everytime I try this the sentence
 is deselected.

 So, would this be a good idea to propose this for future Lyx versions?

 How do others think about this?

I think it's already a wanted feature.
Do you know the FeaturePoll wiki page?
Have a look at this  page if you want
http://wiki.lyx.org/LyX/FeaturePoll
(7.4, 7.5)

In this page you can _Vote for the feature YOU would like to see included!_

Ignacio


Re: Re: Drag and Drop

2009-07-29 Thread Rich Shepard

On Wed, 29 Jul 2009, Ignacio Garc?a wrote:


But I realized that I can select/mark a sentence with the mouse, but I
cannot drag this selected sentence around in Lyx, e.g. placing it in the
paragraph above. Everytime I try this the sentence is deselected.



So, would this be a good idea to propose this for future Lyx versions?



How do others think about this?



I think it's already a wanted feature. Do you know the FeaturePoll wiki
page? Have a look at this page if you want
http://wiki.lyx.org/LyX/FeaturePoll (7.4, 7.5)



In this page you can _Vote for the feature YOU would like to see included!_


  I don't see where I can add my name to not include this feature. Using the
keyboard to cut/copy and paste works well and is common in the UNIX
environment. Developers have more important issues for their attention.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Paul A. Rubin

Niko Schwarz wrote:

Hi,

Where do I put modules again so they won't be overwritten each time I
update lyx?

Cheers,

Niko



~/.lyx/layouts (I think) on *nix; C:\Documents and 
Settings\you\Application Data\lyx16\layouts on Windows (both assume 
normal default location for your personal home directory) (and the 
latter may not be correct if you're stuck with Vista).


/Paul



Re: mathTeX to display math in html pages?

2009-07-29 Thread Murray Eisenberg
I thought that if one has the appropriate fonts installed on the client, 
then a page rendered by the server with mathtex will display in the 
client browser using those fonts -- and NOT by creating images.


Richard Heck wrote:

On 07/29/2009 07:19 AM, Rudi Gaelzer wrote:

Just out of curiosity...

Does anyone know if the current html converter that LyX uses (htlatex) 
makes use

or the developers plan to use the new mathTeX system
(http://www.forkosh.com/mimetex.html)
that embeds LaTeX math in html pages?

The output seems more beautiful and useful than the present method of 
handling
equations, converting them to png files... (at least this is what 
htlatex does

for me...)

   
I am currently working on implementing native HTML output for the next 
version of LyX (1.7, we now think). In the short term, we will probably 
do pngs, too.


The problem with mathtex, from my point of view, is that it is 
insufficiently general. In order to use mathtex, it has to be installed 
on the server. And in many ways, it isn't much better as a solution, 
since all mathtex does is make little images out of latex that is 
embedded in the src attribute of the image tag.


Richard



--
Murray Eisenberg mur...@math.umass.edu
Mathematics  Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


Re: problem with bibliography

2009-07-29 Thread Beny Spira
Thanks to all that replied

It turned out the problem was in some references that contained URL with
special characteres. I deleted the URLs and the problem vanished.
Cheers,
Beny

On 07/28/2009 03:42 PM, Beny Spira wrote:

 Hi

 I was using package abnt and got the following error:

 *TeX capacity exceeded, sorry [parameter stack size=6000].
 *

 *
 *

 * \begin{thebibliography}{19}*

 * *

 *If you really absolutely need more capacity,*

 *you can ask a wizard to enlarge me.*



 I read elsewhere that this kind of error is sometimes due to an open
 parenthesis in the preamble. However, my preamble is very short and could
 not find any problem there.

 When bibliography is removed the output is just fine.

 Any suggestion of what might be wrong?



 Probably an error in the BibTeX file?

 rh




Re: LyX and LaTeX?????, LyX y LaTeX?????

2009-07-29 Thread Mauricio Fabian Duque Daza
My problem is that the file does not load completely
Thank you

On 28/07/2009, Siegfried Meunier-Guttin-Cluzel meun...@coria.fr wrote:

 Have you tried File - Import- LaTeX (plain) or something like that (my
 LyX is in french !).

 Siegfried.



Re: how to install LyX in Linux?

2009-07-29 Thread icebna

What distribution you have ?

Miguel


Helge Hafting escribió:

m.kocin...@mini.pw.edu.pl wrote:

It was rather surprise for me that installing LyX in Linux seems to be
much more complecated than in Windows. In fact, I have no experience in
Linux...


If you _download_ LyX for linux from the lyx website, then you get
source code that you can compile. Doing that is complicated indeed,
and not recommended for a beginner.

There are _many_ different linux distributions. Making a lyx installer
for each is a lot of work, so it is not done by lyx developers.

Instead, linux distribution developers put lyx in their
distributions. So, the correct way to install lyx is
to use your linux distribution's way of installing software.

With debian, I use this command:
$ apt-get install lyx

That's all. I didn't even have to download anything. With this command,
debian will download and install lyx and all other software that
is needed to make lyx work.

If you have ubuntu, the command is similiar. Other linux distributions
are different, and you may have to download a package first. But you
download the lyx package from your linux distributor, not
from the lyx website.


Why there is hard to find install. exe file for LyX at lyx.org?
Is it true taht that words Major Linux distributions take care of LyX
binaries themselves and you will find LyX in their repositories. mean
when I buy a new notebok with Linux installed then there will also LyX
there?


If the notebook comes with a _major_ linux distribution installed,
then it may or may not have LyX already. Installing LyX using
the standard way of installing lyx on that linux distribution
should be easy enough though. If you need help, ask here or
in the linux distributors forum.

Note that some notebooks comes with not so major linux distributions,
which may not have lyx at all. In that case, consider switching to
a better distribution.

Helge Hafting






Setting paragraph style in document class

2009-07-29 Thread Luca Carlon
Hi! I'm writing a book with LyX using the document class book. I just would like
to change the style of the 'Example' paragraph type so that it appears italic.
Is this possible? I would like as well to reduce the font size of the text in
the caption of the images: is this possible too?
Thanks for any suggestion!



Re: Setting paragraph style in document class

2009-07-29 Thread Sam Liddicott
* Luca Carlon wrote, On 29/07/09 10:04:
 Hi! I'm writing a book with LyX using the document class book. I just would 
 like
 to change the style of the 'Example' paragraph type so that it appears italic.
 Is this possible? I would like as well to reduce the font size of the text in
 the caption of the images: is this possible too?
 Thanks for any suggestion!
 

Where did you get the 'Example' paragraph type from?
Book doesn't have this by default.

Sam


Re: Setting paragraph style in document class

2009-07-29 Thread Luca Carlon
Sam Liddicott s...@... writes:
 Where did you get the 'Example' paragraph type from?
 Book doesn't have this by default.
 
 Sam

Are you sure? I selected 'book' in document class in the document settings. I
selected then Example from the menu of LyX where the are also the types 'Part',
'Chapter', 'Section' etc... Maybe I was wrong and that is not the paragraph
type, sorry, I don't know how it's called. When I select 'Example' I get a new
paragraph with the text 'Example a.b'. I would like the text I write in that
paragraph to be italic. I see in most math and engineering books examples are
italic.
Thanks for your answer!



mathTeX to display math in html pages?

2009-07-29 Thread Rudi Gaelzer
Just out of curiosity...

Does anyone know if the current html converter that LyX uses (htlatex) makes 
use 
or the developers plan to use the new mathTeX system 
(http://www.forkosh.com/mimetex.html)
that embeds LaTeX math in html pages?

The output seems more beautiful and useful than the present method of handling 
equations, converting them to png files... (at least this is what htlatex does 
for me...)

Thank you.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Drag and Drop

2009-07-29 Thread Johannes Knaus

Hello,

Maybe a stupid question:
But I realized that I can select/mark a sentence with the mouse, but I  
cannot drag this selected sentence around in Lyx, e.g. placing it in  
the paragraph above. Everytime I try this the sentence is deselected.
As I don't remember well: Is this behaviour expected in Lyx or is it a  
bug? Do I have to press another button to drag and drop?


OS: Mac OSX 10.5 (Intel)
Lyx: 1.6.3

Thanks for your help.

Johannes
--

Sometimes I lie awake at night, and ask, Where have I gone wrong?
Then a voice says to me, This is going to take more than one  
night. (Charlie Brown)





RE: Drag and Drop

2009-07-29 Thread Vincent van Ravesteijn - TNW
Hello,

Maybe a stupid question:
But I realized that I can select/mark a sentence
with the mouse, but I cannot drag this selected
sentence around in Lyx, e.g. placing it in the
paragraph above. Everytime I try this the sentence
is deselected.

As I don't remember well: Is this behaviour expected
in Lyx or is it a bug?

Let's call it a missing feature.

Personally, I'd prefer to cutpaste anyway.

Vincent


Re: Setting paragraph style in document class

2009-07-29 Thread Richard Heck

On 07/29/2009 06:53 AM, Luca Carlon wrote:

Sam Liddicotts...@...  writes:
   

Where did you get the 'Example' paragraph type from?
Book doesn't have this by default.

Sam
 


Are you sure? I selected 'book' in document class in the document settings. I
selected then Example from the menu of LyX where the are also the types 'Part',
'Chapter', 'Section' etc... Maybe I was wrong and that is not the paragraph
type, sorry, I don't know how it's called. When I select 'Example' I get a new
paragraph with the text 'Example a.b'. I would like the text I write in that
paragraph to be italic. I see in most math and engineering books examples are
italic.

   
You are using one of the theorem modules, or perhaps you are using the 
AMS book class. Anyway, yes, you can change it, but changing it will 
mean doing some LaTeX. I don't myself know off-hand how to do this, but 
if you look at the theorems-ams.inc file, you can see how the Example 
environment is defined. You will need to redefine the part marked 
Preamble to declare a different theorem style. Probably the easiest 
thing to do is to copy this file to your local user directory 
(.lyx/layouts on Linux---usually) and then make the changes there. 
Something like this:

Preamble
\theoremstyle{plain}
\newtheorem{example}[thm]{Example}
EndPreamble
may do.

rh



Re: mathTeX to display math in html pages?

2009-07-29 Thread Richard Heck

On 07/29/2009 07:19 AM, Rudi Gaelzer wrote:

Just out of curiosity...

Does anyone know if the current html converter that LyX uses (htlatex) makes use
or the developers plan to use the new mathTeX system
(http://www.forkosh.com/mimetex.html)
that embeds LaTeX math in html pages?

The output seems more beautiful and useful than the present method of handling
equations, converting them to png files... (at least this is what htlatex does
for me...)

   
I am currently working on implementing native HTML output for the next 
version of LyX (1.7, we now think). In the short term, we will probably 
do pngs, too.


The problem with mathtex, from my point of view, is that it is 
insufficiently general. In order to use mathtex, it has to be installed 
on the server. And in many ways, it isn't much better as a solution, 
since all mathtex does is make little images out of latex that is 
embedded in the src attribute of the image tag.


Richard



Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Niko Schwarz
Hi,

Where do I put modules again so they won't be overwritten each time I
update lyx?

Cheers,

Niko


Re: Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Ignacio García
Niko Schwarz wrote Wed, 29 Jul 2009

 Where do I put modules again so they won't be overwritten each time I
update lyx?

In your lyx personal folder. directory layouts
E.g., in linux it's
~/.lyx/layouts
or if compiling --with-version-suffix
~/.lyx-1.6.3/layouts
or so, depending on your lyx version

Regards
Ignacio


Re: Drag and Drop

2009-07-29 Thread Johannes Knaus

Let's call it a missing feature.

Personally, I'd prefer to cutpaste anyway.

Vincent



So, would this be a good idea to propose this for future Lyx versions?
I'm not a programmer, so I really can't even guess how much work this  
would mean.
IMHO this would be really a nice feature. I'm quite used to it; in  
nearly all Applications I regularly use (even in the Editor I use for  
basic python scripts) I can do this internal drag and drop.


How do others think about this?



Re: Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Jürgen Spitzmüller
Ignacio García wrote:
  Where do I put modules again so they won't be overwritten each time I

 update lyx?

 In your lyx personal folder. directory layouts
 E.g., in linux it's
 ~/.lyx/layouts
 or if compiling --with-version-suffix
 ~/.lyx-1.6.3/layouts
 or so, depending on your lyx version

FYI, Help  About LyX tells you, where the personal folder (User Directory) 
is on your box. You might need to create the layouts directory if it's not yet 
there.

Jürgen


Re: Drag and Drop

2009-07-29 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 So, would this be a good idea to propose this for future Lyx versions?

There's already a feature request for this:
http://www.lyx.org/trac/ticket/5643

Jürgen


Re: Re: Drag and Drop

2009-07-29 Thread Ignacio García
Johannes Knaus wrote Wed, 29 Jul 2009

 But I realized that I can select/mark a sentence
 with the mouse, but I cannot drag this selected
 sentence around in Lyx, e.g. placing it in the
 paragraph above. Everytime I try this the sentence
 is deselected.

 So, would this be a good idea to propose this for future Lyx versions?

 How do others think about this?

I think it's already a wanted feature.
Do you know the FeaturePoll wiki page?
Have a look at this  page if you want
http://wiki.lyx.org/LyX/FeaturePoll
(7.4, 7.5)

In this page you can _Vote for the feature YOU would like to see included!_

Ignacio


Re: Re: Drag and Drop

2009-07-29 Thread Rich Shepard

On Wed, 29 Jul 2009, Ignacio Garc?a wrote:


But I realized that I can select/mark a sentence with the mouse, but I
cannot drag this selected sentence around in Lyx, e.g. placing it in the
paragraph above. Everytime I try this the sentence is deselected.



So, would this be a good idea to propose this for future Lyx versions?



How do others think about this?



I think it's already a wanted feature. Do you know the FeaturePoll wiki
page? Have a look at this page if you want
http://wiki.lyx.org/LyX/FeaturePoll (7.4, 7.5)



In this page you can _Vote for the feature YOU would like to see included!_


  I don't see where I can add my name to not include this feature. Using the
keyboard to cut/copy and paste works well and is common in the UNIX
environment. Developers have more important issues for their attention.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Paul A. Rubin

Niko Schwarz wrote:

Hi,

Where do I put modules again so they won't be overwritten each time I
update lyx?

Cheers,

Niko



~/.lyx/layouts (I think) on *nix; C:\Documents and 
Settings\you\Application Data\lyx16\layouts on Windows (both assume 
normal default location for your personal home directory) (and the 
latter may not be correct if you're stuck with Vista).


/Paul



Re: mathTeX to display math in html pages?

2009-07-29 Thread Murray Eisenberg
I thought that if one has the appropriate fonts installed on the client, 
then a page rendered by the server with mathtex will display in the 
client browser using those fonts -- and NOT by creating images.


Richard Heck wrote:

On 07/29/2009 07:19 AM, Rudi Gaelzer wrote:

Just out of curiosity...

Does anyone know if the current html converter that LyX uses (htlatex) 
makes use

or the developers plan to use the new mathTeX system
(http://www.forkosh.com/mimetex.html)
that embeds LaTeX math in html pages?

The output seems more beautiful and useful than the present method of 
handling
equations, converting them to png files... (at least this is what 
htlatex does

for me...)

   
I am currently working on implementing native HTML output for the next 
version of LyX (1.7, we now think). In the short term, we will probably 
do pngs, too.


The problem with mathtex, from my point of view, is that it is 
insufficiently general. In order to use mathtex, it has to be installed 
on the server. And in many ways, it isn't much better as a solution, 
since all mathtex does is make little images out of latex that is 
embedded in the src attribute of the image tag.


Richard



--
Murray Eisenberg mur...@math.umass.edu
Mathematics  Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


Re: problem with bibliography

2009-07-29 Thread Beny Spira
Thanks to all that replied

It turned out the problem was in some references that contained URL with
special characteres. I deleted the URLs and the problem vanished.
Cheers,
Beny

On 07/28/2009 03:42 PM, Beny Spira wrote:

 Hi

 I was using package abnt and got the following error:

 *TeX capacity exceeded, sorry [parameter stack size=6000].
 *

 *
 *

 * \begin{thebibliography}{19}*

 * *

 *If you really absolutely need more capacity,*

 *you can ask a wizard to enlarge me.*



 I read elsewhere that this kind of error is sometimes due to an open
 parenthesis in the preamble. However, my preamble is very short and could
 not find any problem there.

 When bibliography is removed the output is just fine.

 Any suggestion of what might be wrong?



 Probably an error in the BibTeX file?

 rh




Re: LyX and LaTeX?????, LyX y LaTeX?????

2009-07-29 Thread Mauricio Fabian Duque Daza
My problem is that the file does not load completely
Thank you

On 28/07/2009, Siegfried Meunier-Guttin-Cluzel meun...@coria.fr wrote:

 Have you tried File - Import- LaTeX (plain) or something like that (my
 LyX is in french !).

 Siegfried.



Re: how to install LyX in Linux?

2009-07-29 Thread icebna

What distribution you have ?

Miguel


Helge Hafting escribió:

m.kocin...@mini.pw.edu.pl wrote:

It was rather surprise for me that installing LyX in Linux seems to be
much more complecated than in Windows. In fact, I have no experience in
Linux...


If you _download_ LyX for linux from the lyx website, then you get
source code that you can compile. Doing that is complicated indeed,
and not recommended for a beginner.

There are _many_ different linux distributions. Making a lyx installer
for each is a lot of work, so it is not done by lyx developers.

Instead, linux distribution developers put lyx in their
distributions. So, the correct way to install lyx is
to use your linux distribution's way of installing software.

With debian, I use this command:
$ apt-get install lyx

That's all. I didn't even have to download anything. With this command,
debian will download and install lyx and all other software that
is needed to make lyx work.

If you have ubuntu, the command is similiar. Other linux distributions
are different, and you may have to download a package first. But you
download the lyx package from your linux distributor, not
from the lyx website.


Why there is hard to find "install. exe" file for LyX at lyx.org?
Is it true taht that words "Major Linux distributions take care of LyX
binaries themselves and you will find LyX in their repositories." mean
when I buy a new notebok with Linux installed then there will also LyX
there?


If the notebook comes with a _major_ linux distribution installed,
then it may or may not have LyX already. Installing LyX using
the standard way of installing lyx on that linux distribution
should be easy enough though. If you need help, ask here or
in the linux distributors forum.

Note that some notebooks comes with not so "major" linux distributions,
which may not have lyx at all. In that case, consider switching to
a better distribution.

Helge Hafting






Setting paragraph style in document class

2009-07-29 Thread Luca Carlon
Hi! I'm writing a book with LyX using the document class book. I just would like
to change the style of the 'Example' paragraph type so that it appears italic.
Is this possible? I would like as well to reduce the font size of the text in
the caption of the images: is this possible too?
Thanks for any suggestion!



Re: Setting paragraph style in document class

2009-07-29 Thread Sam Liddicott
* Luca Carlon wrote, On 29/07/09 10:04:
> Hi! I'm writing a book with LyX using the document class book. I just would 
> like
> to change the style of the 'Example' paragraph type so that it appears italic.
> Is this possible? I would like as well to reduce the font size of the text in
> the caption of the images: is this possible too?
> Thanks for any suggestion!
> 

Where did you get the 'Example' paragraph type from?
Book doesn't have this by default.

Sam


Re: Setting paragraph style in document class

2009-07-29 Thread Luca Carlon
Sam Liddicott  writes:
> Where did you get the 'Example' paragraph type from?
> Book doesn't have this by default.
> 
> Sam

Are you sure? I selected 'book' in document class in the document settings. I
selected then Example from the menu of LyX where the are also the types 'Part',
'Chapter', 'Section' etc... Maybe I was wrong and that is not the paragraph
type, sorry, I don't know how it's called. When I select 'Example' I get a new
paragraph with the text 'Example a.b'. I would like the text I write in that
paragraph to be italic. I see in most math and engineering books examples are
italic.
Thanks for your answer!



mathTeX to display math in html pages?

2009-07-29 Thread Rudi Gaelzer
Just out of curiosity...

Does anyone know if the current html converter that LyX uses (htlatex) makes 
use 
or the developers plan to use the new mathTeX system 
(http://www.forkosh.com/mimetex.html)
that embeds LaTeX math in html pages?

The output seems more beautiful and useful than the present method of handling 
equations, converting them to png files... (at least this is what htlatex does 
for me...)

Thank you.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Drag and Drop

2009-07-29 Thread Johannes Knaus

Hello,

Maybe a stupid question:
But I realized that I can select/mark a sentence with the mouse, but I  
cannot drag this selected sentence around in Lyx, e.g. placing it in  
the paragraph above. Everytime I try this the sentence is deselected.
As I don't remember well: Is this behaviour expected in Lyx or is it a  
bug? Do I have to press another button to drag and drop?


OS: Mac OSX 10.5 (Intel)
Lyx: 1.6.3

Thanks for your help.

Johannes
--

Sometimes I lie awake at night, and ask, "Where have I gone wrong?"
Then a voice says to me, "This is going to take more than one  
night." (Charlie Brown)





RE: Drag and Drop

2009-07-29 Thread Vincent van Ravesteijn - TNW
>Hello,
>
>Maybe a stupid question:
>But I realized that I can select/mark a sentence
>with the mouse, but I cannot drag this selected
>sentence around in Lyx, e.g. placing it in the
>paragraph above. Everytime I try this the sentence
>is deselected.
>
>As I don't remember well: Is this behaviour expected
>in Lyx or is it a bug?

Let's call it a missing feature.

Personally, I'd prefer to cut anyway.

Vincent


Re: Setting paragraph style in document class

2009-07-29 Thread Richard Heck

On 07/29/2009 06:53 AM, Luca Carlon wrote:

Sam Liddicott  writes:
   

Where did you get the 'Example' paragraph type from?
Book doesn't have this by default.

Sam
 


Are you sure? I selected 'book' in document class in the document settings. I
selected then Example from the menu of LyX where the are also the types 'Part',
'Chapter', 'Section' etc... Maybe I was wrong and that is not the paragraph
type, sorry, I don't know how it's called. When I select 'Example' I get a new
paragraph with the text 'Example a.b'. I would like the text I write in that
paragraph to be italic. I see in most math and engineering books examples are
italic.

   
You are using one of the theorem modules, or perhaps you are using the 
AMS book class. Anyway, yes, you can change it, but changing it will 
mean doing some LaTeX. I don't myself know off-hand how to do this, but 
if you look at the theorems-ams.inc file, you can see how the Example 
environment is defined. You will need to redefine the part marked 
"Preamble" to declare a different theorem style. Probably the easiest 
thing to do is to copy this file to your local user directory 
(.lyx/layouts on Linux---usually) and then make the changes there. 
Something like this:

Preamble
\theoremstyle{plain}
\newtheorem{example}[thm]{Example}
EndPreamble
may do.

rh



Re: mathTeX to display math in html pages?

2009-07-29 Thread Richard Heck

On 07/29/2009 07:19 AM, Rudi Gaelzer wrote:

Just out of curiosity...

Does anyone know if the current html converter that LyX uses (htlatex) makes use
or the developers plan to use the new mathTeX system
(http://www.forkosh.com/mimetex.html)
that embeds LaTeX math in html pages?

The output seems more beautiful and useful than the present method of handling
equations, converting them to png files... (at least this is what htlatex does
for me...)

   
I am currently working on implementing native HTML output for the next 
version of LyX (1.7, we now think). In the short term, we will probably 
do pngs, too.


The problem with mathtex, from my point of view, is that it is 
insufficiently general. In order to use mathtex, it has to be installed 
on the server. And in many ways, it isn't much better as a solution, 
since all mathtex does is make little images out of latex that is 
embedded in the src attribute of the image tag.


Richard



Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Niko Schwarz
Hi,

Where do I put modules again so they won't be overwritten each time I
update lyx?

Cheers,

Niko


Re: Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Ignacio García
Niko Schwarz wrote Wed, 29 Jul 2009

> Where do I put modules again so they won't be overwritten each time I
update lyx?

In your lyx personal folder. directory layouts
E.g., in linux it's
~/.lyx/layouts
or if compiling --with-version-suffix
~/.lyx-1.6.3/layouts
or so, depending on your lyx version

Regards
Ignacio


Re: Drag and Drop

2009-07-29 Thread Johannes Knaus

Let's call it a missing feature.

Personally, I'd prefer to cut anyway.

Vincent



So, would this be a good idea to propose this for future Lyx versions?
I'm not a programmer, so I really can't even guess how much work this  
would mean.
IMHO this would be really a nice feature. I'm quite used to it; in  
nearly all Applications I regularly use (even in the Editor I use for  
basic python scripts) I can do this internal drag and drop.


How do others think about this?



Re: Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Jürgen Spitzmüller
Ignacio García wrote:
> > Where do I put modules again so they won't be overwritten each time I
>
> update lyx?
>
> In your lyx personal folder. directory layouts
> E.g., in linux it's
> ~/.lyx/layouts
> or if compiling --with-version-suffix
> ~/.lyx-1.6.3/layouts
> or so, depending on your lyx version

FYI, Help > About LyX tells you, where the personal folder ("User Directory") 
is on your box. You might need to create the layouts directory if it's not yet 
there.

Jürgen


Re: Drag and Drop

2009-07-29 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
> So, would this be a good idea to propose this for future Lyx versions?

There's already a feature request for this:
http://www.lyx.org/trac/ticket/5643

Jürgen


Re: Re: Drag and Drop

2009-07-29 Thread Ignacio García
Johannes Knaus wrote Wed, 29 Jul 2009

>>> But I realized that I can select/mark a sentence
>>> with the mouse, but I cannot drag this selected
>>> sentence around in Lyx, e.g. placing it in the
>>> paragraph above. Everytime I try this the sentence
>>> is deselected.

> So, would this be a good idea to propose this for future Lyx versions?

> How do others think about this?

I think it's already a wanted feature.
Do you know the FeaturePoll wiki page?
Have a look at this  page if you want
http://wiki.lyx.org/LyX/FeaturePoll
(7.4, 7.5)

In this page you can _Vote for the feature YOU would like to see included!_

Ignacio


Re: Re: Drag and Drop

2009-07-29 Thread Rich Shepard

On Wed, 29 Jul 2009, Ignacio Garc?a wrote:


But I realized that I can select/mark a sentence with the mouse, but I
cannot drag this selected sentence around in Lyx, e.g. placing it in the
paragraph above. Everytime I try this the sentence is deselected.



So, would this be a good idea to propose this for future Lyx versions?



How do others think about this?



I think it's already a wanted feature. Do you know the FeaturePoll wiki
page? Have a look at this page if you want
http://wiki.lyx.org/LyX/FeaturePoll (7.4, 7.5)



In this page you can _Vote for the feature YOU would like to see included!_


  I don't see where I can add my name to not include this feature. Using the
keyboard to cut/copy and paste works well and is common in the UNIX
environment. Developers have more important issues for their attention.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Paul A. Rubin

Niko Schwarz wrote:

Hi,

Where do I put modules again so they won't be overwritten each time I
update lyx?

Cheers,

Niko



~/.lyx/layouts (I think) on *nix; C:\Documents and 
Settings\\Application Data\lyx16\layouts on Windows (both assume 
normal default location for your personal home directory) (and the 
latter may not be correct if you're stuck with Vista).


/Paul



Re: mathTeX to display math in html pages?

2009-07-29 Thread Murray Eisenberg
I thought that if one has the appropriate fonts installed on the client, 
then a page rendered by the server with mathtex will display in the 
client browser using those fonts -- and NOT by creating images.


Richard Heck wrote:

On 07/29/2009 07:19 AM, Rudi Gaelzer wrote:

Just out of curiosity...

Does anyone know if the current html converter that LyX uses (htlatex) 
makes use

or the developers plan to use the new mathTeX system
(http://www.forkosh.com/mimetex.html)
that embeds LaTeX math in html pages?

The output seems more beautiful and useful than the present method of 
handling
equations, converting them to png files... (at least this is what 
htlatex does

for me...)

   
I am currently working on implementing native HTML output for the next 
version of LyX (1.7, we now think). In the short term, we will probably 
do pngs, too.


The problem with mathtex, from my point of view, is that it is 
insufficiently general. In order to use mathtex, it has to be installed 
on the server. And in many ways, it isn't much better as a solution, 
since all mathtex does is make little images out of latex that is 
embedded in the src attribute of the image tag.


Richard



--
Murray Eisenberg mur...@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


Re: problem with bibliography

2009-07-29 Thread Beny Spira
Thanks to all that replied

It turned out the problem was in some references that contained URL with
special characteres. I deleted the URLs and the problem vanished.
Cheers,
Beny

On 07/28/2009 03:42 PM, Beny Spira wrote:
>
>> Hi
>>
>> I was using package abnt and got the following error:
>>
>> *TeX capacity exceeded, sorry [parameter stack size=6000].
>> *
>>
>> *
>> *
>>
>> * \begin{thebibliography}{19}*
>>
>> * *
>>
>> *If you really absolutely need more capacity,*
>>
>> *you can ask a wizard to enlarge me.*
>>
>>
>>
>> I read elsewhere that this kind of error is sometimes due to an open
>> parenthesis in the preamble. However, my preamble is very short and could
>> not find any problem there.
>>
>> When bibliography is removed the output is just fine.
>>
>> Any suggestion of what might be wrong?
>>
>>
>>
> Probably an error in the BibTeX file?
>
> rh
>
>


Re: LyX and LaTeX?????, LyX y LaTeX?????

2009-07-29 Thread Mauricio Fabian Duque Daza
My problem is that the file does not load completely
Thank you

On 28/07/2009, Siegfried Meunier-Guttin-Cluzel  wrote:
>
> Have you tried File -> Import-> LaTeX (plain) or something like that (my
> LyX is in french !).
>
> Siegfried.
>