Re: Explanations with equations?

2007-06-04 Thread Jean Kaplan

To put text in equations, I use \mbox
Jean

Le 2 juin 07 à 17:15, Steve Litt a écrit :


Hi all,

I'd like to have an explanation to the left of each equation,  
something like

this:

2x +4 = 3x -14  Given
2x +4 - 4 = 3x - 14 -4   Subtract 4 from each side
2x = 3x - 18Simplify
2x - 3x = 3x - 18 - 3x Subtract 3x from each side
-1x = -18  Simplify
x = 18 Multiply both sides by -1

How do I do that?

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/




rc1 bug status?

2007-06-04 Thread Sven Schreiber
Hi,

I'm a bit confused now that rc1 is out. On bugzilla I find 14 critical
bugs with target 1.5.0 still open (see below for the copypaste result).
What then was the reason to have a RC and not another beta? I'm not
doubting that the current development version is great and has a lot of
nice new features, this is an honest question about the rule. Are these
remaining critical bugs simply too difficult to fix, or are they really
not that critical after all?

thanks,
Sven



ID   Sev Pri Plt Owner   State   Result 
 Summary
1395cri P2  Oth [EMAIL PROTECTED]   ASSILyX 
crashes when inserting a
self defined command in a ma...
1771cri P2  PC  [EMAIL PROTECTED]   NEW LyX 
crash on math-macro redefine
2199cri P2  PC  [EMAIL PROTECTED]   NEW Don't 
try to create a .tex file
from an included .lyx fil...
2446cri P2  PC  [EMAIL PROTECTED]   NEW lyx 
crashes/mutilates document
using math-delimiter ( ) i...
2691cri P2  HP  [EMAIL PROTECTED]   NEW 
Invoking Thesaurus crashes LyX
3249cri P2  PC  [EMAIL PROTECTED]   NEW Crash 
if doc is closed before
instant preview completes
3466cri P2  Oth [EMAIL PROTECTED]   REOPcrash 
when inserting
backslash to math macro
3561cri P2  Oth [EMAIL PROTECTED]   NEW crash 
when changing
document encoding
3661cri P2  PC  [EMAIL PROTECTED]   NEW 
Read-only eps causes Lyx to
crash on exit
3750cri P2  All [EMAIL PROTECTED]   NEW tex2lyx 
does not recognize
\caption anymore
3782cri P2  Oth [EMAIL PROTECTED]   NEW Crash 
with selection of
table cells
3785cri P2  All [EMAIL PROTECTED]   NEW LyX 
crashes with multiple views
3790cri P2  PC  [EMAIL PROTECTED]   NEW LyX 
crash when deleting
display equation not at the begin...
3793cri P2  PC  [EMAIL PROTECTED]   NEW 
Lyx-1.5.0rc1 seg fault when
clicking on toc from help
14 bugs found.


Re: rc1 bug status?

2007-06-04 Thread Jean-Marc Lasgouttes
 Sven == Sven Schreiber [EMAIL PROTECTED] writes:

Sven Hi, I'm a bit confused now that rc1 is out. On bugzilla I find
Sven 14 critical bugs with target 1.5.0 still open (see below for the
Sven copypaste result). What then was the reason to have a RC and
Sven not another beta? I'm not doubting that the current development
Sven version is great and has a lot of nice new features, this is an
Sven honest question about the rule. Are these remaining critical
Sven bugs simply too difficult to fix, or are they really not that
Sven critical after all?

Actually, if you remove the bugs that are marked fixedintrunk, only 10
remain. Of these, several already have known fixes, but some are a bit
harder.

JMarc


Re: rc1 bug status?

2007-06-04 Thread Sven Schreiber
Jean-Marc Lasgouttes schrieb:
 Sven == Sven Schreiber [EMAIL PROTECTED] writes:
 
 Sven Hi, I'm a bit confused now that rc1 is out. On bugzilla I find
 Sven 14 critical bugs with target 1.5.0 still open (see below for the
 Sven copypaste result). What then was the reason to have a RC and
 Sven not another beta? I'm not doubting that the current development
 Sven version is great and has a lot of nice new features, this is an
 Sven honest question about the rule. Are these remaining critical
 Sven bugs simply too difficult to fix, or are they really not that
 Sven critical after all?
 
 Actually, if you remove the bugs that are marked fixedintrunk, only 10
 remain. Of these, several already have known fixes, but some are a bit
 harder.
 

Thanks for the clarification! So if it's fixedintrunk, is it also fixed
in rc1? Or is that a case-by-case thing? Same for the other known fixes?

(Still trying to understand if the move from beta to rc is some defined
threshold or just a gradual improvement.)

-sven


1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread ubuntuuser
LyX 1.5.0rc1 crashes when I try to break part of the last line (sometimes even 
last 2 lines) of a paragraph into a new paragraph hitting Enter. This only 
happens if another paragraph is following.

Can anyone confirm? I built LyX on Ubuntu 7.04. I attached a file that makes 
reproduction easy.

phil


crashtest.lyx
Description: application/lyx


Re: rc1 bug status?

2007-06-04 Thread Jean-Marc Lasgouttes
 Sven == Sven Schreiber [EMAIL PROTECTED] writes:

Sven Thanks for the clarification! So if it's fixedintrunk, is it
Sven also fixed in rc1? Or is that a case-by-case thing? Same for the
Sven other known fixes?

fixedintrunk is for bugs that also exist in 1.4 but are not fixed
there. These bugs will be closed when 1.5.0 final is released.

JMarc


Re: Wiki v.s. web site (Was: how to use custom character styles)

2007-06-04 Thread christian . ridderstrom

On Sat, 2 Jun 2007, Steve Litt wrote:


On Saturday 02 June 2007 06:52, [EMAIL PROTECTED] wrote:

Or why does Google have Playground indexed if it is a practice 
sandbox?


Google has no reason to _not_ index pages in the wiki group Playground.

It might be possible to instruct google to ignore those pages, but I'm 
not sure that's desired.


I'd sure desire it. I'd feel free to write just about any silliness in a 
sandbox, knowing everyone knows it's a sandbox. But if it's indexed by 
search engines, others coming to it wouldn't necessarily know that, and 
might believe the silliness I happen to write in there.


Two simple solutions to this problem are as follows:

* Put a disclaimer at the top of the page, i.e. This page is a work in
  progress, or I'm just playing around here.

* Delete the page when you are done.
  To delete a page, edit the page and replace the content with just:

delete

  and then save the page.


As for drafts, there is the possibility of creating drafts of a wiki page 
directly at the page. Those might automatically be ignored by google.

It's something I'm going to check out during the summer.

Another option is a special keyword, which tells google to ignore the 
page. See

http://wiki.lyx.org/Site/ControllingWebRobots
for details.

If it's unclear, just ask. (I just wrote the page...)

/Christian


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Wiki v.s. web site (Was: how to use custom character styles)

2007-06-04 Thread christian . ridderstrom


p.s. Why doesn't the website have the LyX documentation? If it does, I 
overlooked it -- where is it linked from?


I don't understand the question... which website?


Official www.lyx.org.

The documentation I didn't see was:

doc/Customization.html
doc/DocStyle.html
doc/Extended.html
doc/FAQ.html
doc/Intro.html
doc/Reference.html
doc/TOC.html
doc/Tutorial.html
doc/UserGuide.html

(I didn't check again so maybe it is there.)


I don't think it's there. Also note that the documentation is not 
available in HTML, it's .lyx-files. Automatically converting HTML might be 
good, but LyX is AFAIK not good enough to do a reliable job of this.


Anyway, you can access the .lyx-files using the browser for the version 
control system. There is probably some wiki page that points to to it, but 
here's the link


http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/doc

Does this answer your question?

Or why does Google have Playground indexed if it is a practice 
sandbox?


Google has no reason to _not_ index pages in the wiki group Playground.

It might be possible to instruct google to ignore those pages, but I'm not
sure that's desired.


That is what I was thinking -- use robots.txt and metatags to stop 
indexing of a practice sandbox.


If you think most people want this behaviour, then feel free to follow the 
instructions here


http://wiki.lyx.org/Site/ControllingWebRobots

to make google ignore pages in Playground/ :-)

/C

PS. If you change this behaviour, please a note about it somewhere. 
Perhaps on Site.FAQ, by creating a new question/answer as to why Google 
isn't indexing pages in the group Playground/


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Index entries: Wiki

2007-06-04 Thread christian . ridderstrom

On Sun, 3 Jun 2007, Christian Liesen wrote:


I've updated the part on formatting index entries with LyX on the Wiki:
http://wiki.lyx.org/Tips/Indexing#toc2


Nice!  You seem to know your way around pmwiki markup unusually well!
I made some very minor twaking of the markup to show some alternative 
methods (nothing wrong with what you did, this is just to enocurage you 
further :-)


* No need for [=..=] around a word such as LyX these days

* Added '||border=0 cellspacing=5px' to get more space aroudn the
  table cells

* Used '\' as a continuation character of long lines

* '-' to create an indented paragraph

* '--' even more indented paragraph

* %preamble%...%% and %menu%...%% (although the menu style doesn't seem
  defined, strange)

* [EMAIL PROTECTED]@] to get monospace and the effect of [=...=]

Best regards
/Christian (R)

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Plug for TeX For the Impatient

2007-06-04 Thread William Adams

On Jun 2, 2007, at 4:58 PM, Alan G Isaac wrote:


And you can use
$$ f(x) = x^{2} $$
in LaTeX if you want,
even if
\[ f(x) = x^{2} \]
or
\begin{equation*}
f(x) = x^{2}
\end{equation*}
are more idiomatic.
(The last assumes the amsmath package is loaded.)


'cept that the $$...$$ is deprecated and will _not_ respect things  
like equation alignment.


\documentclass[fleqn]{article}
\usepackage{amsmath}
\begin{document}

This is a the LaTeX way:

\[a^2 + b^2 = c^2\]

Plain TeX form doesn't work:

$$a^2 + b^2 = c^2$$

\end{document}

While I too, really like _TeX for the Impatient_, it, like all Plain  
TeX references has to be looked at as documentation for the  
programmatic underpinnings of LaTeX and used in concert w/ an  
understanding of the LaTeX2e source so as to avoid strange  
interactions and difficulties.


William

--
William Adams
senior graphic designer
Fry Communications




Re: rc1 bug status?

2007-06-04 Thread Jürgen Spitzmüller
Sven Schreiber wrote:
 (Still trying to understand if the move from beta to rc is some defined
 threshold or just a gradual improvement.)

Note that it is _in general_ not recommended to use a non-stable version for 
serious production work (even though 1.5rc1 is probably in a much better 
shape than 1.4.0 was).

Jürgen


Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 LyX 1.5.0rc1 crashes when I try to break part of the last line (sometimes
 even last 2 lines) of a paragraph into a new paragraph hitting Enter. This
 only happens if another paragraph is following.

 Can anyone confirm?

Yes, This is probably bug 3790:
http://bugzilla.lyx.org/show_bug.cgi?id=3790

You'll find a patch there as well. Would be nice if you could try if that 
fixes it.

Jürgen


subfiles

2007-06-04 Thread Trevor Nicholls
I'm a little confused by how LyX understands subfiles.

Does it support the concept of a parent document which includes a number of
subdocuments?

 

* The documentation refers to a means of including external material,
although the available types of external material do not appear to include
other LyX files.

* The LyX editor allows me to insert a reference to another LyX file, but it
then includes all that file's content in the current document and saves it
as a single unified document.

* The mailing list archives refer to subfile support but the messages
relating to this are about four major revisions out of date and mention menu
commands that I don't recognize.

 

Can I use LyX to create a number of separate (sub-)documents and then also
maintain other LyX documents which combine new material with one or more of
these subdocuments, in such a way that the content needs only to be edited
once?

 

Cheers

Trevor

 



Re: subfiles

2007-06-04 Thread Jean-Marc Lasgouttes
 Trevor == Trevor Nicholls [EMAIL PROTECTED] writes:


Trevor * The documentation refers to a means of including external
Trevor material, although the available types of external material
Trevor do not appear to include other LyX files.

This one is to insert image-like objects.

Trevor Can I use LyX to create a number of separate (sub-)documents
Trevor and then also maintain other LyX documents which combine new
Trevor material with one or more of these subdocuments, in such a way
Trevor that the content needs only to be edited once?

Try InsertfileChild Document.

JMarc


RE: subfiles

2007-06-04 Thread Trevor Nicholls
Thank you - I missed that one

Cheers
T

-Original Message-
From: Jean-Marc Lasgouttes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 5 June 2007 12:03 a.m.
To: [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Subject: Re: subfiles

 Trevor == Trevor Nicholls [EMAIL PROTECTED] writes:


Trevor * The documentation refers to a means of including external
Trevor material, although the available types of external material
Trevor do not appear to include other LyX files.

This one is to insert image-like objects.

Trevor Can I use LyX to create a number of separate (sub-)documents
Trevor and then also maintain other LyX documents which combine new
Trevor material with one or more of these subdocuments, in such a way
Trevor that the content needs only to be edited once?

Try InsertfileChild Document.

JMarc



Re: RC1 -- more remarks 2

2007-06-04 Thread Helge Hafting

Hellmut Weber wrote:

Hi,
two effects of the representation of my document on the screen have 
been observed with the betas and unfortunately haven't gone by with RC1:


1) When I switch from Lyx (maximized) to some other application and 
then return, only the actual paragrph is shown, the rest of the 
Document is covered by grey.
As soon as I navigate now again in the document everything reappears. 
Not really important, only slightly annoying ;-)


2) When I reopen a document which contains already some text, quite 
often (but so far I don't see any systematic behaviour) the uppermost 
line(s) are hidden.

Is this an effect of the new session management?

When you reopen, the session management will put the cursor
wherever it was last time you closed the document. This could
be near the end, and therefore you don't see the top of the document.
I believe you can turn this off in the preferences if you don't like it.

Helge Hafting


Re: RC1 -- more remarks 2

2007-06-04 Thread Jean-Marc Lasgouttes
 Helge == Helge Hafting [EMAIL PROTECTED] writes:

 2) When I reopen a document which contains already some text, quite
 often (but so far I don't see any systematic behaviour) the
 uppermost line(s) are hidden. Is this an effect of the new session
 management?
Helge When you reopen, the session management will put the cursor
Helge wherever it was last time you closed the document. This could
Helge be near the end, and therefore you don't see the top of the
Helge document. I believe you can turn this off in the preferences if
Helge you don't like it.

It happens to me regularly that the first line (which contains the
cursor) is half hidden.

JMarc


Re: Index entries: Wiki

2007-06-04 Thread Christian Liesen

Looks better indeed :-), and I'll note the markup hints, many thanks!


[EMAIL PROTECTED] wrote:

On Sun, 3 Jun 2007, Christian Liesen wrote:


I've updated the part on formatting index entries with LyX on the Wiki:
http://wiki.lyx.org/Tips/Indexing#toc2


Nice!  You seem to know your way around pmwiki markup unusually well!
I made some very minor twaking of the markup to show some alternative 
methods (nothing wrong with what you did, this is just to enocurage 
you further :-)


* No need for [=..=] around a word such as LyX these days

* Added '||border=0 cellspacing=5px' to get more space aroudn the
  table cells

* Used '\' as a continuation character of long lines

* '-' to create an indented paragraph

* '--' even more indented paragraph

* %preamble%...%% and %menu%...%% (although the menu style doesn't seem
  defined, strange)

* [EMAIL PROTECTED]@] to get monospace and the effect of [=...=]

Best regards
/Christian (R)



--


Christian Liesen

Universität Zürich
Institut für Sonderpädagogik
Sonderforschungsbereich
Hirschengraben 48
8001 Zürich

University of Zurich
Institute for Special Education
Research Unit
Hirschengraben 48
CH-8001 Zurich

Tel +41 44 634 3130
Fax +41 44 634 4941
E-mail [EMAIL PROTECTED]




Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread ubuntuuser

 Original-Nachricht 
Datum: Mon, 4 Jun 2007 13:52:04 +0200
Von: [EMAIL PROTECTED]
An: lyx-users@lists.lyx.org
Betreff: Re: 1.5.0rc1 crash when breaking last line of paragraph

 [EMAIL PROTECTED] wrote:
  LyX 1.5.0rc1 crashes when I try to break part of the last line
 (sometimes
  even last 2 lines) of a paragraph into a new paragraph hitting Enter.
 This
  only happens if another paragraph is following.
 
  Can anyone confirm?
 
 Yes, This is probably bug 3790:
 http://bugzilla.lyx.org/show_bug.cgi?id=3790
 
 You'll find a patch there as well. Would be nice if you could try if that 
 fixes it.
 
 Jürgen


The patch did not help, unfortunately. Seems to be something with Paragraph.cpp 
rather than Text.cpp, but I am not a programmer. Forgot to include the console 
output, hopefully this helps. After the crash it says:

pos: 21 size: 20
Assertion triggered in const lyx::Font lyx::Paragraph::getFontSettings(const 
lyx::BufferParams, lyx::pos_type) const by failing check pos = size() in 
file Paragraph.cpp:1273

phil


Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 The patch did not help, unfortunately.

I see. Too bad. Could you open a new bug report, please?

Jürgen


Re: Explanations with equations?

2007-06-04 Thread Steve Litt
Thanks Jean,

If have a nice automated set of environments/charstyles to do this from within 
LyX, so that you simply type the equation and explanation with their proper 
environment or charstyle, I'd like to see them. Otherwise hopefully I can 
make my own (and show them to the list if/when they work).

Thanks

SteveT

On Monday 04 June 2007 04:47, Jean Kaplan wrote:
 To put text in equations, I use \mbox
 Jean

 Le 2 juin 07 à 17:15, Steve Litt a écrit :
  Hi all,
 
  I'd like to have an explanation to the left of each equation,
  something like
  this:
 
  2x +4 = 3x -14  Given
  2x +4 - 4 = 3x - 14 -4   Subtract 4 from each side
  2x = 3x - 18Simplify
  2x - 3x = 3x - 18 - 3x Subtract 3x from each side
  -1x = -18  Simplify
  x = 18 Multiply both sides by -1
 
  How do I do that?
 
  Thanks
 
  SteveT
 
  Steve Litt
  Author: Universal Troubleshooting Process books and courseware
  http://www.troubleshooters.com/


Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread Richard Heck

[EMAIL PROTECTED] wrote:

LyX 1.5.0rc1 crashes when I try to break part of the last line (sometimes even 
last 2 lines) of a paragraph into a new paragraph hitting Enter. This only 
happens if another paragraph is following.

Can anyone confirm? I built LyX on Ubuntu 7.04. I attached a file that makes 
reproduction easy.
  
I've applied the patch pending for 3790, and this does resolve the bug 
for me. (Also resolves 3801.)


Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Jean Kaplan
I found a solution to reduce (or increase) the size of math previews  
on the lyx screen (at least for mac os X 10.4.9, mac ppc):
Go to the menu item Preferences-Look and feel- screen fonts,  
decrease (or increase) the Screen DPI and save this changes the  
size of math previews without changing the size of the text. To see  
the result you have to quit lyx and start again, the button apply  
does not seem to work for this item.
A tip to get the math preview size adequate to the text : write a  
math formula including an \mbox{ some text }, then proceed by trial  
and error.


What I do not understand is why this math preview becomes too large  
when going from version 1.4.4 to 1.5.0 orc1

Jean


view latex in 1.5.0 orc1

2007-06-04 Thread Jean Kaplan
By changing the name of the .lyx directory  I got back all options of  
the view menu, except view latex. This seem to be replaced by  by  
view source, but this is not equivalent because the window where  
the source appears is not searchable and cannot be typeset. In  
version 1.4.4, it opened the tex source in my favorite tex editor (in  
my case TexShop), where I could search the file and try some  
solutions to my problems. Is there a way to do that in 1.5.0 orc1 for  
mac os X ? Of course, I can do that by hand, but I have first to find  
the temporary directory which 1) changes each time one reopens Lyx,  
2) is in the /tmp directory which is invisible unless you resort to a  
terminal.
Jean 


Re: view latex in 1.5.0 orc1

2007-06-04 Thread Bo Peng

On 6/4/07, Jean Kaplan [EMAIL PROTECTED] wrote:

By changing the name of the .lyx directory  I got back all options of
the view menu, except view latex. This seem to be replaced by  by
view source, but this is not equivalent because the window where
the source appears is not searchable and cannot be typeset. In
version 1.4.4, it opened the tex source in my favorite tex editor (in
my case TexShop), where I could search the file and try some
solutions to my problems. Is there a way to do that in 1.5.0 orc1 for
mac os X ? Of course, I can do that by hand, but I have first to find
the temporary directory which 1) changes each time one reopens Lyx,
2) is in the /tmp directory which is invisible unless you resort to a
terminal.


As far as I know, there is no standard 'view latex' in 1.4.4. You can
add this easily through the preference dialog though. (Check
.lyx/preference of your 1.4.4 for what you have done before.)

Cheers,
Bo


Re: view latex in 1.5.0 orc1

2007-06-04 Thread Bennett Helm


On Jun 4, 2007, at 12:14 PM, Bo Peng wrote:


On 6/4/07, Jean Kaplan [EMAIL PROTECTED] wrote:

By changing the name of the .lyx directory  I got back all options of
the view menu, except view latex. This seem to be replaced by  by
view source, but this is not equivalent because the window where
the source appears is not searchable and cannot be typeset. In
version 1.4.4, it opened the tex source in my favorite tex editor (in
my case TexShop), where I could search the file and try some
solutions to my problems. Is there a way to do that in 1.5.0 orc1 for
mac os X ? Of course, I can do that by hand, but I have first to find
the temporary directory which 1) changes each time one reopens Lyx,
2) is in the /tmp directory which is invisible unless you resort to a
terminal.


As far as I know, there is no standard 'view latex' in 1.4.4. You can
add this easily through the preference dialog though. (Check
.lyx/preference of your 1.4.4 for what you have done before.)

Cheers,
Bo


LyX  Preferences  Formats  LaTeX ...: make sure the Document  
format checkbox is checked and that some appropriate value is  
entered in the Viewer field (such as auto -- without the quotes).


Bennett


Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Bennett Helm

On Jun 4, 2007, at 11:49 AM, Jean Kaplan wrote:

I found a solution to reduce (or increase) the size of math  
previews on the lyx screen (at least for mac os X 10.4.9, mac ppc):
Go to the menu item Preferences-Look and feel- screen fonts,  
decrease (or increase) the Screen DPI and save this changes the  
size of math previews without changing the size of the text. To see  
the result you have to quit lyx and start again, the button apply  
does not seem to work for this item.


Good catch! Actually, you don't need to restart LyX, just reload the  
document.


A tip to get the math preview size adequate to the text : write a  
math formula including an \mbox{ some text }, then proceed by trial  
and error.


What I do not understand is why this math preview becomes too large  
when going from version 1.4.4 to 1.5.0 orc1


Me neither.

I've added your comments to the bug report:

http://bugzilla.lyx.org/show_bug.cgi?id=3784

Bennett


Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Jean-Marc Lasgouttes
 Bennett == Bennett Helm [EMAIL PROTECTED] writes:

Bennett On Jun 4, 2007, at 11:49 AM, Jean Kaplan wrote:
 I found a solution to reduce (or increase) the size of math
 previews on the lyx screen (at least for mac os X 10.4.9, mac ppc):
 Go to the menu item Preferences-Look and feel- screen fonts,
 decrease (or increase) the Screen DPI and save this changes the
 size of math previews without changing the size of the text. To see
 the result you have to quit lyx and start again, the button apply
 does not seem to work for this item.

Bennett Good catch! Actually, you don't need to restart LyX, just
Bennett reload the document.

Could you try to see what is the dpi setting detected by 1.4 and 1.5? 

JMarc


Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Bennett Helm

On Jun 4, 2007, at 12:31 PM, Jean-Marc Lasgouttes wrote:


Bennett == Bennett Helm [EMAIL PROTECTED] writes:


Bennett On Jun 4, 2007, at 11:49 AM, Jean Kaplan wrote:

I found a solution to reduce (or increase) the size of math
previews on the lyx screen (at least for mac os X 10.4.9, mac ppc):
Go to the menu item Preferences-Look and feel- screen fonts,
decrease (or increase) the Screen DPI and save this changes the
size of math previews without changing the size of the text. To see
the result you have to quit lyx and start again, the button apply
does not seem to work for this item.


Bennett Good catch! Actually, you don't need to restart LyX, just
Bennett reload the document.

Could you try to see what is the dpi setting detected by 1.4 and 1.5?


With nothing set in the preferences files, 1.4 gives Screen DPI as  
80, 1.5 as 98.


Bennett


Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Jean Kaplan
When I open a file in 1.4 the dpi setting is 80, which is exactly  
what I set up by trial and error in 1.5. I think that the initial  
setting in 1.5 was 150.
However I do not know, but you should know, wether changing the dpi  
setting in 1.5 changes it in in 1.4. On mac osx , the preferences   
for 1.4 and 1.5 are in two different directories, so changing the dpi  
setting in 1.5 should not affect the dpi settings in 1.4.  correct?

Jean
Le 4 juin 07 à 18:31, Jean-Marc Lasgouttes a écrit :


Bennett == Bennett Helm [EMAIL PROTECTED] writes:


Bennett On Jun 4, 2007, at 11:49 AM, Jean Kaplan wrote:

I found a solution to reduce (or increase) the size of math
previews on the lyx screen (at least for mac os X 10.4.9, mac ppc):
Go to the menu item Preferences-Look and feel- screen fonts,
decrease (or increase) the Screen DPI and save this changes the
size of math previews without changing the size of the text. To see
the result you have to quit lyx and start again, the button apply
does not seem to work for this item.


Bennett Good catch! Actually, you don't need to restart LyX, just
Bennett reload the document.

Could you try to see what is the dpi setting detected by 1.4 and 1.5?

JMarc




[announce] LyXWinInstaller for LyX 1.5rc1-31-05-2007

2007-06-04 Thread Uwe Stöhr

Hello LyXers,

I uploaded an installer for LyX 1.5rc1:
http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=12890

Changelog to last development snapshot:

Version LyX 1.5rc1-31-05-2007
- LyX 1.5rc1 from 31-05-2007
  - support for Farsi
  - new Korean and Japanese translation of LyX's menus

Installer changes:
- updated to MiKTeX 2.6 (version 2704)
- new Windows Vista-compatible launcher for LyX
- fixed layout file for the LaTeX-package powerdot
- support for SVG-images: when Inkscape is installed, it will be
  used as SVG to PDF converter (to get real vector graphics in the
  PDF-output)
- support to set Hebrew, Japanese, and Korean as LyX's menu language
- added missing zlib1.dll (caused tex2lyx problems)

Thanks to Pavel Sanda:
- new Czech translation of the installer

-

The Update installer version allows you to update your existing LyX 
installation to the latest
version. To use this installer you must have my last development snaphot LyX 
1.5beta3-18-05-2007
installed.

(More infos about the installer can be found here:
http://wiki.lyx.org/Windows/LyXWinInstaller )

--- disclaimer ---
The LyX 1.5 test builds are for interested LyXers to test out the new features.
If you find bugs, please have a look at
http://bugzilla.lyx.org
and report them there if they aren't already reported.

Note! The first release candidate of LyX 1.5 is still not ready to be used for 
production!

happy testing and best regards
Uwe



Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Richard Heck

Jean Kaplan wrote:
When I open a file in 1.4 the dpi setting is 80, which is exactly what 
I set up by trial and error in 1.5. I think that the initial setting 
in 1.5 was 150.
However I do not know, but you should know, wether changing the dpi 
setting in 1.5 changes it in in 1.4. On mac osx , the preferences  for 
1.4 and 1.5 are in two different directories, so changing the dpi 
setting in 1.5 should not affect the dpi settings in 1.4.  correct?

Correct.

Jean
Le 4 juin 07 à 18:31, Jean-Marc Lasgouttes a écrit :


Bennett == Bennett Helm [EMAIL PROTECTED] writes:


Bennett On Jun 4, 2007, at 11:49 AM, Jean Kaplan wrote:

I found a solution to reduce (or increase) the size of math
previews on the lyx screen (at least for mac os X 10.4.9, mac ppc):
Go to the menu item Preferences-Look and feel- screen fonts,
decrease (or increase) the Screen DPI and save this changes the
size of math previews without changing the size of the text. To see
the result you have to quit lyx and start again, the button apply
does not seem to work for this item.


Bennett Good catch! Actually, you don't need to restart LyX, just
Bennett reload the document.

Could you try to see what is the dpi setting detected by 1.4 and 1.5?

JMarc





--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: view latex in 1.5.0 orc1

2007-06-04 Thread Jean Kaplan
Great, it works, thank you. I do not remember making this change in  
1.4, but this was long ago and I probably forgot about it

Jean
Le 4 juin 07 à 18:18, Bennett Helm a écrit :



On Jun 4, 2007, at 12:14 PM, Bo Peng wrote:


On 6/4/07, Jean Kaplan [EMAIL PROTECTED] wrote:
By changing the name of the .lyx directory  I got back all  
options of
the view menu, except view latex. This seem to be replaced  
by  by

view source, but this is not equivalent because the window where
the source appears is not searchable and cannot be typeset. In
version 1.4.4, it opened the tex source in my favorite tex editor  
(in

my case TexShop), where I could search the file and try some
solutions to my problems. Is there a way to do that in 1.5.0 orc1  
for
mac os X ? Of course, I can do that by hand, but I have first to  
find

the temporary directory which 1) changes each time one reopens Lyx,
2) is in the /tmp directory which is invisible unless you resort  
to a

terminal.


As far as I know, there is no standard 'view latex' in 1.4.4. You can
add this easily through the preference dialog though. (Check
.lyx/preference of your 1.4.4 for what you have done before.)

Cheers,
Bo


LyX  Preferences  Formats  LaTeX ...: make sure the Document  
format checkbox is checked and that some appropriate value is  
entered in the Viewer field (such as auto -- without the quotes).


Bennett




1.5.0rc1 Mac PPC G3 typing lag

2007-06-04 Thread Johannes Knaus

Hello,

I'm just testing the 1.5.0rc1 binary on my PPC G3 (iBook 700Mhz,  
384MB RAM, 10.4.9). It is significantly slower than all 1.5betas  
released earlier.
When I'm typing some characters there is always a lag of some seconds  
before it appears on the screen.

This makes Lyx definetly unusable for me.
Ok, my Mac is certainly not one of the newest ;-) but now even Word  
(which I really don't want to use) runs faster.

Is there a fix?

Greets,
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)





Upgrade problems

2007-06-04 Thread gary
Hi,

I recently upgraded to the windows version 1.4.4.
In the new version all the old document class are not supported for some reason.
Classes like article,book,letter just don't appear in the drop down list of the
document class dialog. How can I fix this?

thanks,

Gary



Re: Physical units

2007-06-04 Thread Tim Michelsen

Could this be adapted in the documentation, please?


We aren't responsible for documentation of external packages.

I know that very well.
I took my example from p. 95, section: 6.6.5.2.
http://wiki.lyx.org/uploads/LyX/Manuals/1.4.2/UserGuide.pdf


The protected space: It is used to tell LYX (and LATEX) not to break the 
line at that

point. This may be necessary to avoid unlucky linebreaks, like in:
A good documentation should weight no more than 1
kg.
Obviously, it would be a good thing to put a protected space between “1” 
and “kg”.
A protected space is set with Insert . Special Formatting . Protected 
Space or with C-Space.


Maybe there issue disussed in this thread here could be added there?

Regards,
Tim



pdflatex postscript handling

2007-06-04 Thread LB

Hello

I had a problem using hyperref.  When I included this package, long section 
names and long captions were no longer wrapping around in TOC and LOF and 
ran of the page. Also pdflatex would not work for me.


With Uwe suggestion, I upgraded to MiKTeX 2.6 all of these problems got 
resolved, but a new appeared.


When pdflatex converts *.eps files to pdf I get errors that these figures 
can't be converted and are not shown in the final pdf.  When  .ps files get 
converted, their boundingboxes are ignored so figures are not displayed 
properly.


Any suggestions?
I'm using Lyx1.4.4 on WinXP

Thank you
Leo 





Re:1.5.0rc1 Mac PPC G3 typing lag

2007-06-04 Thread Anders Ekberg

Johannes Knaus
Mon, 04 Jun 2007 10:18:33 -0700

Hello,

I'm just testing the 1.5.0rc1 binary on my PPC G3 (iBook 700Mhz,  
384MB RAM, 10.4.9). It is significantly slower than all 1.5betas  
released earlier. When I'm typing some characters there is always a  
lag of some seconds before it appears on the screen.

This makes Lyx definetly unusable for me.
Ok, my Mac is certainly not one of the newest ;-) but now even Word  
(which I really don't want to use) runs faster.

Is there a fix?

Greets,
Johannes


Johannes,

You seem to have quite little RAM. It *could* be that a non-universal  
version would work better for you (I really don't know what the  
overhead is for running an universal application, does someone else  
know?). Do you have the possibility to compile a PPC-version. If not,  
please let me know and I'll upload a binary and send you the link  
(limited band-width at the moment, so probably not until Thursday).


/Anders


Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread ubuntuuser

 Original-Nachricht 
Datum: Mon, 04 Jun 2007 10:39:03 -0400
Von: Richard Heck [EMAIL PROTECTED]
An: [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org, Stefan Schimanski [EMAIL PROTECTED]
Betreff: Re: 1.5.0rc1 crash when breaking last line of paragraph

 [EMAIL PROTECTED] wrote:
  LyX 1.5.0rc1 crashes when I try to break part of the last line
 (sometimes even last 2 lines) of a paragraph into a new paragraph hitting 
 Enter.
 This only happens if another paragraph is following.
 
  Can anyone confirm? I built LyX on Ubuntu 7.04. I attached a file that
 makes reproduction easy.

 I've applied the patch pending for 3790, and this does resolve the bug 
 for me. (Also resolves 3801.)
 
 Richard

Sorry, there were two patches available and I applied the one on Text.cpp which 
did not help. Now I found the one on Bidi.cpp that solves the Problem. Could 
have be a bit clearer in bugzilla. I will attach link to the patch to my 
bugreport, too. 

Thanks very much, that was the basis for further testing of 1.5.0 for me.

phil


Re: Upgrade problems

2007-06-04 Thread Richard Heck

gary wrote:

Hi,

I recently upgraded to the windows version 1.4.4.
In the new version all the old document class are not supported for some reason.
Classes like article,book,letter just don't appear in the drop down list of the
document class dialog. How can I fix this?
  
I don't use Windows so can't give you the details, but I think this is a 
well-known problem. Try searching the list archives. Maybe upgrade 
class would do it. There's an error message people usually see, too. 
Try running LyX from a command box.


Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Linus on GIT and SCM

2007-06-04 Thread Dov Feldstern

http://developers.slashdot.org/article.pl?sid=07/06/03/004214



Re: Linus on GIT and SCM

2007-06-04 Thread Dov Feldstern

Dov Feldstern wrote:

http://developers.slashdot.org/article.pl?sid=07/06/03/004214




Sorry about this --- sent to the wrong address. ;)
Some of you may still find it interesting, though --- it sounds like he 
trashes SVN...






Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Jean-Marc Lasgouttes
 Bennett == Bennett Helm [EMAIL PROTECTED] writes:

  Could you try to see what is the dpi setting detected by 1.4 and
 1.5?

Bennett With nothing set in the preferences files, 1.4 gives Screen
Bennett DPI as 80, 1.5 as 98.

And which answer is the right one?

JMarc



Re: Upgrade problems

2007-06-04 Thread Paul A. Rubin

gary wrote:

Hi,

I recently upgraded to the windows version 1.4.4.
In the new version all the old document class are not supported for some reason.
Classes like article,book,letter just don't appear in the drop down list of the
document class dialog. How can I fix this?



Sounds as though the configuration script burped -- although usually, 
when it does, LyX can't even start.  Since this is an upgrade, I assume 
you have MikTeX (or some other distro) installed and functioning.  In 
LyX, check Tools - Preferences... - Paths - Path prefix to make sure 
that the MikTeX (or whatever) bin directory is on the path prefix.  If 
not, add it and save, then restart LyX, run Tools - Reconfigure, and 
restart LyX again.


Assuming that LyX can find your LaTeX distro, try the following:

1.  From the Assume Nothing Department:  Take a look at path to 
LyX\Resources\layouts and make sure that you have article.layout, 
book.layout etc.  They install with LyX, but maybe that was the burp. 
Assuming you have them ...


2.  Open a DOS shell and cd to the parent of your LyX home directory 
(the place where LyX will store your personal settings).  Usually, your 
home is C:\Documents and Settings\your id\Application Data\LyX1.4.x, 
so you want to be in C:\...\Application Data.  If you are networked 
and your home is on a remote server, or it's on a drive other than C, go 
there instead.


3.  From that shell, run 'path to LyX\python\python.exe path to 
LyX\Resources\configure.py'.  Output will scroll by; look for the lines 
where LyX is looking for latex.exe, then the various documents, and 
verify that it says yes for them.  If error messages appear, post them here.


/Paul




Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Bennett Helm

On Jun 4, 2007, at 5:09 PM, Jean-Marc Lasgouttes wrote:


Bennett == Bennett Helm [EMAIL PROTECTED] writes:



 Could you try to see what is the dpi setting detected by 1.4 and
1.5?


Bennett With nothing set in the preferences files, 1.4 gives Screen
Bennett DPI as 80, 1.5 as 98.

And which answer is the right one?


The one 1.4 gives -- for both me and Jean.

Bennett


Re: Upgrade problems

2007-06-04 Thread gary
Paul A. Rubin [EMAIL PROTECTED] writes:

 Sounds as though the configuration script burped -- although usually, 
 when it does, LyX can't even start.  Since this is an upgrade, I assume 
 you have MikTeX (or some other distro) installed and functioning.  In 
 LyX, check Tools - Preferences... - Paths - Path prefix to make sure 
 that the MikTeX (or whatever) bin directory is on the path prefix.  If 
 not, add it and save, then restart LyX, run Tools - Reconfigure, and 
 restart LyX again.
 
 Assuming that LyX can find your LaTeX distro, try the following:
 
 1.  From the Assume Nothing Department:  Take a look at path to 
 LyX\Resources\layouts and make sure that you have article.layout, 
 book.layout etc.  They install with LyX, but maybe that was the burp. 
 Assuming you have them ...
 
 2.  Open a DOS shell and cd to the parent of your LyX home directory 
 (the place where LyX will store your personal settings).  Usually, your 
 home is C:\Documents and Settings\your id\Application Data\LyX1.4.x, 
 so you want to be in C:\...\Application Data.  If you are networked 
 and your home is on a remote server, or it's on a drive other than C, go 
 there instead.
 
 3.  From that shell, run 'path to LyX\python\python.exe path to 
 LyX\Resources\configure.py'.  Output will scroll by; look for the lines 
 where LyX is looking for latex.exe, then the various documents, and 
 verify that it says yes for them.  If error messages appear, post them here.
 
 /Paul
 
 

Hi, thanks for the help.

The MikiTex path looks Ok and and the article.layout file is in the resources
directory. I've also ran python like you told me. It did find latex.exe but the
missing document classes were not even  listed. These are the only document
calsses that were output:

+checking for document class IEEEtran [IEEEtran]... yes
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... yes
+checking for document class aa [aa]... no
+checking for docbook  class agu-dtd...  no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... yes
+checking for document class arab-article [arabart]...

these are the ones that also apear in the documents-settings menu, but where
are the rest?
Maybe I should have uninstalled the old version of lyx first and then installed
the new one, Although I'm glad I didn't otherwise I couldn't be working at all
right now.

Gary




Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Enrico Forestieri
Jean Kaplan writes:

 I found a solution to reduce (or increase) the size of math previews  
 on the lyx screen (at least for mac os X 10.4.9, mac ppc):
 Go to the menu item Preferences-Look and feel- screen fonts,  
 decrease (or increase) the Screen DPI and save this changes the  
 size of math previews without changing the size of the text. To see  
 the result you have to quit lyx and start again, the button apply  
 does not seem to work for this item.
 A tip to get the math preview size adequate to the text : write a  
 math formula including an \mbox{ some text }, then proceed by trial  
 and error.

I don't know whether fiddling with Screen DPI is the right thing to do.
You can control the size of math previews by adding the following line:

\preview_scale_factor 0.9

to either the user preferences or the global lyxrc.dist file. There is
no gui for this, so you have to add that line by using a text editor.
Change the 0.9 value (which is the default) to whatever fits you.

-- 
Enrico



Re: Upgrade problems

2007-06-04 Thread Uwe Stöhr

gary schrieb:


These are the only document calsses that were output:

+checking for document class IEEEtran [IEEEtran]... yes
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... yes
+checking for document class aa [aa]... no
+checking for docbook  class agu-dtd...  no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... yes
+checking for document class arab-article [arabart]...

these are the ones that also apear in the documents-settings menu, but where
are the rest?


MiKTeX tries at this point to download the missing document class arab-article from the Internet. 
There was a bug in some older MiKTeX-versions where the configuration was stopped when there was no 
open Internet connection.


So I recommend to update MiKTeX first, using its Update Wizard program which is available in 
Windows Start menu under MiKTeX (open Internet connection is required). Then reconfigure LyX also 
with open Internet connection.


When this doesn't help, reinstall LyX using this installer:

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

regards
Uwe


Re: Upgrade problems

2007-06-04 Thread gary
Uwe Stöhr [EMAIL PROTECTED] writes:


 So I recommend to update MiKTeX first, using its Update Wizard program which
is available in 
 Windows Start menu under MiKTeX (open Internet connection is required). Then
reconfigure LyX also 

Yep, that did the trick. Thank you!

Gary






Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Bennett Helm

On Jun 4, 2007, at 7:07 PM, Enrico Forestieri wrote:


Jean Kaplan writes:


I found a solution to reduce (or increase) the size of math previews
on the lyx screen (at least for mac os X 10.4.9, mac ppc):
Go to the menu item Preferences-Look and feel- screen fonts,
decrease (or increase) the Screen DPI and save this changes the
size of math previews without changing the size of the text. To see
the result you have to quit lyx and start again, the button apply
does not seem to work for this item.
A tip to get the math preview size adequate to the text : write a
math formula including an \mbox{ some text }, then proceed by trial
and error.


I don't know whether fiddling with Screen DPI is the right thing  
to do.
You can control the size of math previews by adding the following  
line:


\preview_scale_factor 0.9

to either the user preferences or the global lyxrc.dist file. There is
no gui for this, so you have to add that line by using a text editor.
Change the 0.9 value (which is the default) to whatever fits you.


To me it looks like \preview_scale_factor 0.65 is about right  
(leaving the screen dpi unmodified). Is the solution, then, to patch  
lyxrc.dist on Mac? Is this the value I should use?


Bennett


Re: Explanations with equations?

2007-06-04 Thread Steve Litt
On Monday 04 June 2007 04:47, you wrote:
 To put text in equations, I use \mbox
 Jean

Thanks Jean,

I tested that and it works, but stuff doesn't line up the way I'd like. What 
I'd really like is an \eqnarray* with 4 columns instead of 3, so I could do 
something like this:

\begin{eqnarray*}
 2x+y=z\qquad\qquad \mbox{this is the explanation}\\
 31x+64y=71z\qquad\qquad \mbox{another explanation}\\
\end{eqnarray*}


That would work perfectly, but I get this error if I put in three  symbols on 
a line:

! LaTeX Error: Too many columns in eqnarray environment.

If I remove the  before the equal sign, it compiles, with the equal signs 
under each other, and the explanations all lined up perfectly, but the right 
sides of the equations don't line up, but instead are centered under each 
other, which looks confusing to the reader.

I could do it with a separate minipage for all the explations, but that would 
require huge amounts of ERT, I would think. It would completely separate the 
explanations from the equations they explain. Doing it that way would be very 
hard in LyX, be unreadable or confusing in LyX, and probably require lots of 
ERT.

So if anyone knows how to get a four column \eqnarray*, please let me know.

SteveT

SteveT



 Le 2 juin 07 à 17:15, Steve Litt a écrit :
  Hi all,
 
  I'd like to have an explanation to the left of each equation,
  something like
  this:
 
  2x +4 = 3x -14  Given
  2x +4 - 4 = 3x - 14 -4   Subtract 4 from each side
  2x = 3x - 18Simplify
  2x - 3x = 3x - 18 - 3x Subtract 3x from each side
  -1x = -18  Simplify
  x = 18 Multiply both sides by -1
 
  How do I do that?
 
  Thanks
 
  SteveT
 
  Steve Litt
  Author: Universal Troubleshooting Process books and courseware
  http://www.troubleshooters.com/


Re: Explanations with equations?

2007-06-04 Thread Steve Litt
On Monday 04 June 2007 21:48, Steve Litt wrote:
 On Monday 04 June 2007 04:47, you wrote:
  To put text in equations, I use \mbox
  Jean



 Thanks Jean,

 I tested that and it works, but stuff doesn't line up the way I'd like.
 What I'd really like is an \eqnarray* with 4 columns instead of 3, so I
 could do something like this:

 \begin{eqnarray*}
  2x+y=z\qquad\qquad \mbox{this is the explanation}\\
  31x+64y=71z\qquad\qquad \mbox{another explanation}\\
 \end{eqnarray*}


 That would work perfectly, but I get this error if I put in three  symbols
 on a line:

 ! LaTeX Error: Too many columns in eqnarray environment.

 If I remove the  before the equal sign, it compiles, with the equal signs
 under each other, and the explanations all lined up perfectly, but the
 right sides of the equations don't line up, but instead are centered under
 each other, which looks confusing to the reader.

 I could do it with a separate minipage for all the explations, but that
 would require huge amounts of ERT, I would think. It would completely
 separate the explanations from the equations they explain. Doing it that
 way would be very hard in LyX, be unreadable or confusing in LyX, and
 probably require lots of ERT.

 So if anyone knows how to get a four column \eqnarray*, please let me know.

 SteveT

 SteveT

Hi Jean,

\mbox didn't work at all for me, but your \mbox idea inspired me to find 
something that while not pretty, is at least not confusing. It's \makebox. 
The following aligns left, equal and right, and approximately (though not 
exactly) right aligns the explanations:

\begin{eqnarray*}
 2x+y=z\qquad\qquad \makebox[2in][r]{this is the explanation}\\
 31x+64y=71z\qquad\qquad \makebox[2in][r]{another explanation and yet }\\
 3x+y=z\qquad\qquad \makebox[2in][r]{explanation}\\
 x=z\qquad\qquad \makebox[2in][r]{exp}\\
\end{eqnarray*}

The following approximately centers the explanations, with the 
explanation column well to the right of the equations:

\begin{eqnarray*}
 2x+y=z\qquad\qquad \makebox[2in][c]{this is the explanation}\\
 31x+64y=71z\qquad\qquad \makebox[2in][c]{another explanation and yet }\\
 3x+y=z\qquad\qquad \makebox[2in][c]{explanation}\\
 x=z\qquad\qquad \makebox[2in][c]{exp}\\
\end{eqnarray*}

Either of the preceding is doable with a character style for the explanation, 
which points to a command that puts in \qquad\qquad\makebox[2in][c]{#1}, as 
suggested by Richard Heck.

This isn't ideal, but I know I can do it, and if worst comes to worst it's 
good enough.

Thanks Jean, Richard and everyone!!!

SteveT


How to modify amsbook document class?

2007-06-04 Thread Steve Litt
Hi all,

I created a test document. If I set its document class as amsbook (book 
(AMS)), I get environments like theorem, fact and the like. Then I set its 
document class to algone, where algone is a derivative of amsbook, and I 
don't get those environments.

Here is algone.layout:
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[amsbook]{algone}

Input stdclass.inc



What's wrong? Do I need more Input files, and if so, what are they?

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Enrico Forestieri
On Mon, Jun 04, 2007 at 09:41:19PM -0400, Bennett Helm wrote:

 On Jun 4, 2007, at 7:07 PM, Enrico Forestieri wrote:
 
  Jean Kaplan writes:
 
  I found a solution to reduce (or increase) the size of math previews
  on the lyx screen (at least for mac os X 10.4.9, mac ppc):
  Go to the menu item Preferences-Look and feel- screen fonts,
  decrease (or increase) the Screen DPI and save this changes the
  size of math previews without changing the size of the text. To see
  the result you have to quit lyx and start again, the button apply
  does not seem to work for this item.
  A tip to get the math preview size adequate to the text : write a
  math formula including an \mbox{ some text }, then proceed by trial
  and error.
 
  I don't know whether fiddling with Screen DPI is the right thing  
  to do.
  You can control the size of math previews by adding the following  
  line:
 
  \preview_scale_factor 0.9
 
  to either the user preferences or the global lyxrc.dist file. There is
  no gui for this, so you have to add that line by using a text editor.
  Change the 0.9 value (which is the default) to whatever fits you.
 
 To me it looks like \preview_scale_factor 0.65 is about right  
 (leaving the screen dpi unmodified). Is the solution, then, to patch  
 lyxrc.dist on Mac? Is this the value I should use?

What I was trying to say is that I don't know whether changing
Screen DPI simply changes the math preview size and has no other
side effect, whereas \preview_scale_factor for sure works like that.

The right fix would be to know why the screen DPI is changed with
respect to 1.4. However, if you know what is the correct value for
screen DPI, then you could force the right appearance by using the
following lines in lyxrc.dist (replacing the numbers as appropriate):

\screen_dpi 90
\screen_zoom 150
\preview_scale_factor 0.9

In this way you can control both text and math preview sizes.

-- 
Enrico


Re: Explanations with equations?

2007-06-04 Thread Jean Kaplan

To put text in equations, I use \mbox
Jean

Le 2 juin 07 à 17:15, Steve Litt a écrit :


Hi all,

I'd like to have an explanation to the left of each equation,  
something like

this:

2x +4 = 3x -14  Given
2x +4 - 4 = 3x - 14 -4   Subtract 4 from each side
2x = 3x - 18Simplify
2x - 3x = 3x - 18 - 3x Subtract 3x from each side
-1x = -18  Simplify
x = 18 Multiply both sides by -1

How do I do that?

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/




rc1 bug status?

2007-06-04 Thread Sven Schreiber
Hi,

I'm a bit confused now that rc1 is out. On bugzilla I find 14 critical
bugs with target 1.5.0 still open (see below for the copypaste result).
What then was the reason to have a RC and not another beta? I'm not
doubting that the current development version is great and has a lot of
nice new features, this is an honest question about the rule. Are these
remaining critical bugs simply too difficult to fix, or are they really
not that critical after all?

thanks,
Sven



ID   Sev Pri Plt Owner   State   Result 
 Summary
1395cri P2  Oth [EMAIL PROTECTED]   ASSILyX 
crashes when inserting a
self defined command in a ma...
1771cri P2  PC  [EMAIL PROTECTED]   NEW LyX 
crash on math-macro redefine
2199cri P2  PC  [EMAIL PROTECTED]   NEW Don't 
try to create a .tex file
from an included .lyx fil...
2446cri P2  PC  [EMAIL PROTECTED]   NEW lyx 
crashes/mutilates document
using math-delimiter ( ) i...
2691cri P2  HP  [EMAIL PROTECTED]   NEW 
Invoking Thesaurus crashes LyX
3249cri P2  PC  [EMAIL PROTECTED]   NEW Crash 
if doc is closed before
instant preview completes
3466cri P2  Oth [EMAIL PROTECTED]   REOPcrash 
when inserting
backslash to math macro
3561cri P2  Oth [EMAIL PROTECTED]   NEW crash 
when changing
document encoding
3661cri P2  PC  [EMAIL PROTECTED]   NEW 
Read-only eps causes Lyx to
crash on exit
3750cri P2  All [EMAIL PROTECTED]   NEW tex2lyx 
does not recognize
\caption anymore
3782cri P2  Oth [EMAIL PROTECTED]   NEW Crash 
with selection of
table cells
3785cri P2  All [EMAIL PROTECTED]   NEW LyX 
crashes with multiple views
3790cri P2  PC  [EMAIL PROTECTED]   NEW LyX 
crash when deleting
display equation not at the begin...
3793cri P2  PC  [EMAIL PROTECTED]   NEW 
Lyx-1.5.0rc1 seg fault when
clicking on toc from help
14 bugs found.


Re: rc1 bug status?

2007-06-04 Thread Jean-Marc Lasgouttes
 Sven == Sven Schreiber [EMAIL PROTECTED] writes:

Sven Hi, I'm a bit confused now that rc1 is out. On bugzilla I find
Sven 14 critical bugs with target 1.5.0 still open (see below for the
Sven copypaste result). What then was the reason to have a RC and
Sven not another beta? I'm not doubting that the current development
Sven version is great and has a lot of nice new features, this is an
Sven honest question about the rule. Are these remaining critical
Sven bugs simply too difficult to fix, or are they really not that
Sven critical after all?

Actually, if you remove the bugs that are marked fixedintrunk, only 10
remain. Of these, several already have known fixes, but some are a bit
harder.

JMarc


Re: rc1 bug status?

2007-06-04 Thread Sven Schreiber
Jean-Marc Lasgouttes schrieb:
 Sven == Sven Schreiber [EMAIL PROTECTED] writes:
 
 Sven Hi, I'm a bit confused now that rc1 is out. On bugzilla I find
 Sven 14 critical bugs with target 1.5.0 still open (see below for the
 Sven copypaste result). What then was the reason to have a RC and
 Sven not another beta? I'm not doubting that the current development
 Sven version is great and has a lot of nice new features, this is an
 Sven honest question about the rule. Are these remaining critical
 Sven bugs simply too difficult to fix, or are they really not that
 Sven critical after all?
 
 Actually, if you remove the bugs that are marked fixedintrunk, only 10
 remain. Of these, several already have known fixes, but some are a bit
 harder.
 

Thanks for the clarification! So if it's fixedintrunk, is it also fixed
in rc1? Or is that a case-by-case thing? Same for the other known fixes?

(Still trying to understand if the move from beta to rc is some defined
threshold or just a gradual improvement.)

-sven


1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread ubuntuuser
LyX 1.5.0rc1 crashes when I try to break part of the last line (sometimes even 
last 2 lines) of a paragraph into a new paragraph hitting Enter. This only 
happens if another paragraph is following.

Can anyone confirm? I built LyX on Ubuntu 7.04. I attached a file that makes 
reproduction easy.

phil


crashtest.lyx
Description: application/lyx


Re: rc1 bug status?

2007-06-04 Thread Jean-Marc Lasgouttes
 Sven == Sven Schreiber [EMAIL PROTECTED] writes:

Sven Thanks for the clarification! So if it's fixedintrunk, is it
Sven also fixed in rc1? Or is that a case-by-case thing? Same for the
Sven other known fixes?

fixedintrunk is for bugs that also exist in 1.4 but are not fixed
there. These bugs will be closed when 1.5.0 final is released.

JMarc


Re: Wiki v.s. web site (Was: how to use custom character styles)

2007-06-04 Thread christian . ridderstrom

On Sat, 2 Jun 2007, Steve Litt wrote:


On Saturday 02 June 2007 06:52, [EMAIL PROTECTED] wrote:

Or why does Google have Playground indexed if it is a practice 
sandbox?


Google has no reason to _not_ index pages in the wiki group Playground.

It might be possible to instruct google to ignore those pages, but I'm 
not sure that's desired.


I'd sure desire it. I'd feel free to write just about any silliness in a 
sandbox, knowing everyone knows it's a sandbox. But if it's indexed by 
search engines, others coming to it wouldn't necessarily know that, and 
might believe the silliness I happen to write in there.


Two simple solutions to this problem are as follows:

* Put a disclaimer at the top of the page, i.e. This page is a work in
  progress, or I'm just playing around here.

* Delete the page when you are done.
  To delete a page, edit the page and replace the content with just:

delete

  and then save the page.


As for drafts, there is the possibility of creating drafts of a wiki page 
directly at the page. Those might automatically be ignored by google.

It's something I'm going to check out during the summer.

Another option is a special keyword, which tells google to ignore the 
page. See

http://wiki.lyx.org/Site/ControllingWebRobots
for details.

If it's unclear, just ask. (I just wrote the page...)

/Christian


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Wiki v.s. web site (Was: how to use custom character styles)

2007-06-04 Thread christian . ridderstrom


p.s. Why doesn't the website have the LyX documentation? If it does, I 
overlooked it -- where is it linked from?


I don't understand the question... which website?


Official www.lyx.org.

The documentation I didn't see was:

doc/Customization.html
doc/DocStyle.html
doc/Extended.html
doc/FAQ.html
doc/Intro.html
doc/Reference.html
doc/TOC.html
doc/Tutorial.html
doc/UserGuide.html

(I didn't check again so maybe it is there.)


I don't think it's there. Also note that the documentation is not 
available in HTML, it's .lyx-files. Automatically converting HTML might be 
good, but LyX is AFAIK not good enough to do a reliable job of this.


Anyway, you can access the .lyx-files using the browser for the version 
control system. There is probably some wiki page that points to to it, but 
here's the link


http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/doc

Does this answer your question?

Or why does Google have Playground indexed if it is a practice 
sandbox?


Google has no reason to _not_ index pages in the wiki group Playground.

It might be possible to instruct google to ignore those pages, but I'm not
sure that's desired.


That is what I was thinking -- use robots.txt and metatags to stop 
indexing of a practice sandbox.


If you think most people want this behaviour, then feel free to follow the 
instructions here


http://wiki.lyx.org/Site/ControllingWebRobots

to make google ignore pages in Playground/ :-)

/C

PS. If you change this behaviour, please a note about it somewhere. 
Perhaps on Site.FAQ, by creating a new question/answer as to why Google 
isn't indexing pages in the group Playground/


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Index entries: Wiki

2007-06-04 Thread christian . ridderstrom

On Sun, 3 Jun 2007, Christian Liesen wrote:


I've updated the part on formatting index entries with LyX on the Wiki:
http://wiki.lyx.org/Tips/Indexing#toc2


Nice!  You seem to know your way around pmwiki markup unusually well!
I made some very minor twaking of the markup to show some alternative 
methods (nothing wrong with what you did, this is just to enocurage you 
further :-)


* No need for [=..=] around a word such as LyX these days

* Added '||border=0 cellspacing=5px' to get more space aroudn the
  table cells

* Used '\' as a continuation character of long lines

* '-' to create an indented paragraph

* '--' even more indented paragraph

* %preamble%...%% and %menu%...%% (although the menu style doesn't seem
  defined, strange)

* [EMAIL PROTECTED]@] to get monospace and the effect of [=...=]

Best regards
/Christian (R)

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Plug for TeX For the Impatient

2007-06-04 Thread William Adams

On Jun 2, 2007, at 4:58 PM, Alan G Isaac wrote:


And you can use
$$ f(x) = x^{2} $$
in LaTeX if you want,
even if
\[ f(x) = x^{2} \]
or
\begin{equation*}
f(x) = x^{2}
\end{equation*}
are more idiomatic.
(The last assumes the amsmath package is loaded.)


'cept that the $$...$$ is deprecated and will _not_ respect things  
like equation alignment.


\documentclass[fleqn]{article}
\usepackage{amsmath}
\begin{document}

This is a the LaTeX way:

\[a^2 + b^2 = c^2\]

Plain TeX form doesn't work:

$$a^2 + b^2 = c^2$$

\end{document}

While I too, really like _TeX for the Impatient_, it, like all Plain  
TeX references has to be looked at as documentation for the  
programmatic underpinnings of LaTeX and used in concert w/ an  
understanding of the LaTeX2e source so as to avoid strange  
interactions and difficulties.


William

--
William Adams
senior graphic designer
Fry Communications




Re: rc1 bug status?

2007-06-04 Thread Jürgen Spitzmüller
Sven Schreiber wrote:
 (Still trying to understand if the move from beta to rc is some defined
 threshold or just a gradual improvement.)

Note that it is _in general_ not recommended to use a non-stable version for 
serious production work (even though 1.5rc1 is probably in a much better 
shape than 1.4.0 was).

Jürgen


Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 LyX 1.5.0rc1 crashes when I try to break part of the last line (sometimes
 even last 2 lines) of a paragraph into a new paragraph hitting Enter. This
 only happens if another paragraph is following.

 Can anyone confirm?

Yes, This is probably bug 3790:
http://bugzilla.lyx.org/show_bug.cgi?id=3790

You'll find a patch there as well. Would be nice if you could try if that 
fixes it.

Jürgen


subfiles

2007-06-04 Thread Trevor Nicholls
I'm a little confused by how LyX understands subfiles.

Does it support the concept of a parent document which includes a number of
subdocuments?

 

* The documentation refers to a means of including external material,
although the available types of external material do not appear to include
other LyX files.

* The LyX editor allows me to insert a reference to another LyX file, but it
then includes all that file's content in the current document and saves it
as a single unified document.

* The mailing list archives refer to subfile support but the messages
relating to this are about four major revisions out of date and mention menu
commands that I don't recognize.

 

Can I use LyX to create a number of separate (sub-)documents and then also
maintain other LyX documents which combine new material with one or more of
these subdocuments, in such a way that the content needs only to be edited
once?

 

Cheers

Trevor

 



Re: subfiles

2007-06-04 Thread Jean-Marc Lasgouttes
 Trevor == Trevor Nicholls [EMAIL PROTECTED] writes:


Trevor * The documentation refers to a means of including external
Trevor material, although the available types of external material
Trevor do not appear to include other LyX files.

This one is to insert image-like objects.

Trevor Can I use LyX to create a number of separate (sub-)documents
Trevor and then also maintain other LyX documents which combine new
Trevor material with one or more of these subdocuments, in such a way
Trevor that the content needs only to be edited once?

Try InsertfileChild Document.

JMarc


RE: subfiles

2007-06-04 Thread Trevor Nicholls
Thank you - I missed that one

Cheers
T

-Original Message-
From: Jean-Marc Lasgouttes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 5 June 2007 12:03 a.m.
To: [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Subject: Re: subfiles

 Trevor == Trevor Nicholls [EMAIL PROTECTED] writes:


Trevor * The documentation refers to a means of including external
Trevor material, although the available types of external material
Trevor do not appear to include other LyX files.

This one is to insert image-like objects.

Trevor Can I use LyX to create a number of separate (sub-)documents
Trevor and then also maintain other LyX documents which combine new
Trevor material with one or more of these subdocuments, in such a way
Trevor that the content needs only to be edited once?

Try InsertfileChild Document.

JMarc



Re: RC1 -- more remarks 2

2007-06-04 Thread Helge Hafting

Hellmut Weber wrote:

Hi,
two effects of the representation of my document on the screen have 
been observed with the betas and unfortunately haven't gone by with RC1:


1) When I switch from Lyx (maximized) to some other application and 
then return, only the actual paragrph is shown, the rest of the 
Document is covered by grey.
As soon as I navigate now again in the document everything reappears. 
Not really important, only slightly annoying ;-)


2) When I reopen a document which contains already some text, quite 
often (but so far I don't see any systematic behaviour) the uppermost 
line(s) are hidden.

Is this an effect of the new session management?

When you reopen, the session management will put the cursor
wherever it was last time you closed the document. This could
be near the end, and therefore you don't see the top of the document.
I believe you can turn this off in the preferences if you don't like it.

Helge Hafting


Re: RC1 -- more remarks 2

2007-06-04 Thread Jean-Marc Lasgouttes
 Helge == Helge Hafting [EMAIL PROTECTED] writes:

 2) When I reopen a document which contains already some text, quite
 often (but so far I don't see any systematic behaviour) the
 uppermost line(s) are hidden. Is this an effect of the new session
 management?
Helge When you reopen, the session management will put the cursor
Helge wherever it was last time you closed the document. This could
Helge be near the end, and therefore you don't see the top of the
Helge document. I believe you can turn this off in the preferences if
Helge you don't like it.

It happens to me regularly that the first line (which contains the
cursor) is half hidden.

JMarc


Re: Index entries: Wiki

2007-06-04 Thread Christian Liesen

Looks better indeed :-), and I'll note the markup hints, many thanks!


[EMAIL PROTECTED] wrote:

On Sun, 3 Jun 2007, Christian Liesen wrote:


I've updated the part on formatting index entries with LyX on the Wiki:
http://wiki.lyx.org/Tips/Indexing#toc2


Nice!  You seem to know your way around pmwiki markup unusually well!
I made some very minor twaking of the markup to show some alternative 
methods (nothing wrong with what you did, this is just to enocurage 
you further :-)


* No need for [=..=] around a word such as LyX these days

* Added '||border=0 cellspacing=5px' to get more space aroudn the
  table cells

* Used '\' as a continuation character of long lines

* '-' to create an indented paragraph

* '--' even more indented paragraph

* %preamble%...%% and %menu%...%% (although the menu style doesn't seem
  defined, strange)

* [EMAIL PROTECTED]@] to get monospace and the effect of [=...=]

Best regards
/Christian (R)



--


Christian Liesen

Universität Zürich
Institut für Sonderpädagogik
Sonderforschungsbereich
Hirschengraben 48
8001 Zürich

University of Zurich
Institute for Special Education
Research Unit
Hirschengraben 48
CH-8001 Zurich

Tel +41 44 634 3130
Fax +41 44 634 4941
E-mail [EMAIL PROTECTED]




Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread ubuntuuser

 Original-Nachricht 
Datum: Mon, 4 Jun 2007 13:52:04 +0200
Von: [EMAIL PROTECTED]
An: lyx-users@lists.lyx.org
Betreff: Re: 1.5.0rc1 crash when breaking last line of paragraph

 [EMAIL PROTECTED] wrote:
  LyX 1.5.0rc1 crashes when I try to break part of the last line
 (sometimes
  even last 2 lines) of a paragraph into a new paragraph hitting Enter.
 This
  only happens if another paragraph is following.
 
  Can anyone confirm?
 
 Yes, This is probably bug 3790:
 http://bugzilla.lyx.org/show_bug.cgi?id=3790
 
 You'll find a patch there as well. Would be nice if you could try if that 
 fixes it.
 
 Jürgen


The patch did not help, unfortunately. Seems to be something with Paragraph.cpp 
rather than Text.cpp, but I am not a programmer. Forgot to include the console 
output, hopefully this helps. After the crash it says:

pos: 21 size: 20
Assertion triggered in const lyx::Font lyx::Paragraph::getFontSettings(const 
lyx::BufferParams, lyx::pos_type) const by failing check pos = size() in 
file Paragraph.cpp:1273

phil


Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 The patch did not help, unfortunately.

I see. Too bad. Could you open a new bug report, please?

Jürgen


Re: Explanations with equations?

2007-06-04 Thread Steve Litt
Thanks Jean,

If have a nice automated set of environments/charstyles to do this from within 
LyX, so that you simply type the equation and explanation with their proper 
environment or charstyle, I'd like to see them. Otherwise hopefully I can 
make my own (and show them to the list if/when they work).

Thanks

SteveT

On Monday 04 June 2007 04:47, Jean Kaplan wrote:
 To put text in equations, I use \mbox
 Jean

 Le 2 juin 07 à 17:15, Steve Litt a écrit :
  Hi all,
 
  I'd like to have an explanation to the left of each equation,
  something like
  this:
 
  2x +4 = 3x -14  Given
  2x +4 - 4 = 3x - 14 -4   Subtract 4 from each side
  2x = 3x - 18Simplify
  2x - 3x = 3x - 18 - 3x Subtract 3x from each side
  -1x = -18  Simplify
  x = 18 Multiply both sides by -1
 
  How do I do that?
 
  Thanks
 
  SteveT
 
  Steve Litt
  Author: Universal Troubleshooting Process books and courseware
  http://www.troubleshooters.com/


Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread Richard Heck

[EMAIL PROTECTED] wrote:

LyX 1.5.0rc1 crashes when I try to break part of the last line (sometimes even 
last 2 lines) of a paragraph into a new paragraph hitting Enter. This only 
happens if another paragraph is following.

Can anyone confirm? I built LyX on Ubuntu 7.04. I attached a file that makes 
reproduction easy.
  
I've applied the patch pending for 3790, and this does resolve the bug 
for me. (Also resolves 3801.)


Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Jean Kaplan
I found a solution to reduce (or increase) the size of math previews  
on the lyx screen (at least for mac os X 10.4.9, mac ppc):
Go to the menu item Preferences-Look and feel- screen fonts,  
decrease (or increase) the Screen DPI and save this changes the  
size of math previews without changing the size of the text. To see  
the result you have to quit lyx and start again, the button apply  
does not seem to work for this item.
A tip to get the math preview size adequate to the text : write a  
math formula including an \mbox{ some text }, then proceed by trial  
and error.


What I do not understand is why this math preview becomes too large  
when going from version 1.4.4 to 1.5.0 orc1

Jean


view latex in 1.5.0 orc1

2007-06-04 Thread Jean Kaplan
By changing the name of the .lyx directory  I got back all options of  
the view menu, except view latex. This seem to be replaced by  by  
view source, but this is not equivalent because the window where  
the source appears is not searchable and cannot be typeset. In  
version 1.4.4, it opened the tex source in my favorite tex editor (in  
my case TexShop), where I could search the file and try some  
solutions to my problems. Is there a way to do that in 1.5.0 orc1 for  
mac os X ? Of course, I can do that by hand, but I have first to find  
the temporary directory which 1) changes each time one reopens Lyx,  
2) is in the /tmp directory which is invisible unless you resort to a  
terminal.
Jean 


Re: view latex in 1.5.0 orc1

2007-06-04 Thread Bo Peng

On 6/4/07, Jean Kaplan [EMAIL PROTECTED] wrote:

By changing the name of the .lyx directory  I got back all options of
the view menu, except view latex. This seem to be replaced by  by
view source, but this is not equivalent because the window where
the source appears is not searchable and cannot be typeset. In
version 1.4.4, it opened the tex source in my favorite tex editor (in
my case TexShop), where I could search the file and try some
solutions to my problems. Is there a way to do that in 1.5.0 orc1 for
mac os X ? Of course, I can do that by hand, but I have first to find
the temporary directory which 1) changes each time one reopens Lyx,
2) is in the /tmp directory which is invisible unless you resort to a
terminal.


As far as I know, there is no standard 'view latex' in 1.4.4. You can
add this easily through the preference dialog though. (Check
.lyx/preference of your 1.4.4 for what you have done before.)

Cheers,
Bo


Re: view latex in 1.5.0 orc1

2007-06-04 Thread Bennett Helm


On Jun 4, 2007, at 12:14 PM, Bo Peng wrote:


On 6/4/07, Jean Kaplan [EMAIL PROTECTED] wrote:

By changing the name of the .lyx directory  I got back all options of
the view menu, except view latex. This seem to be replaced by  by
view source, but this is not equivalent because the window where
the source appears is not searchable and cannot be typeset. In
version 1.4.4, it opened the tex source in my favorite tex editor (in
my case TexShop), where I could search the file and try some
solutions to my problems. Is there a way to do that in 1.5.0 orc1 for
mac os X ? Of course, I can do that by hand, but I have first to find
the temporary directory which 1) changes each time one reopens Lyx,
2) is in the /tmp directory which is invisible unless you resort to a
terminal.


As far as I know, there is no standard 'view latex' in 1.4.4. You can
add this easily through the preference dialog though. (Check
.lyx/preference of your 1.4.4 for what you have done before.)

Cheers,
Bo


LyX  Preferences  Formats  LaTeX ...: make sure the Document  
format checkbox is checked and that some appropriate value is  
entered in the Viewer field (such as auto -- without the quotes).


Bennett


Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Bennett Helm

On Jun 4, 2007, at 11:49 AM, Jean Kaplan wrote:

I found a solution to reduce (or increase) the size of math  
previews on the lyx screen (at least for mac os X 10.4.9, mac ppc):
Go to the menu item Preferences-Look and feel- screen fonts,  
decrease (or increase) the Screen DPI and save this changes the  
size of math previews without changing the size of the text. To see  
the result you have to quit lyx and start again, the button apply  
does not seem to work for this item.


Good catch! Actually, you don't need to restart LyX, just reload the  
document.


A tip to get the math preview size adequate to the text : write a  
math formula including an \mbox{ some text }, then proceed by trial  
and error.


What I do not understand is why this math preview becomes too large  
when going from version 1.4.4 to 1.5.0 orc1


Me neither.

I've added your comments to the bug report:

http://bugzilla.lyx.org/show_bug.cgi?id=3784

Bennett


Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Jean-Marc Lasgouttes
 Bennett == Bennett Helm [EMAIL PROTECTED] writes:

Bennett On Jun 4, 2007, at 11:49 AM, Jean Kaplan wrote:
 I found a solution to reduce (or increase) the size of math
 previews on the lyx screen (at least for mac os X 10.4.9, mac ppc):
 Go to the menu item Preferences-Look and feel- screen fonts,
 decrease (or increase) the Screen DPI and save this changes the
 size of math previews without changing the size of the text. To see
 the result you have to quit lyx and start again, the button apply
 does not seem to work for this item.

Bennett Good catch! Actually, you don't need to restart LyX, just
Bennett reload the document.

Could you try to see what is the dpi setting detected by 1.4 and 1.5? 

JMarc


Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Bennett Helm

On Jun 4, 2007, at 12:31 PM, Jean-Marc Lasgouttes wrote:


Bennett == Bennett Helm [EMAIL PROTECTED] writes:


Bennett On Jun 4, 2007, at 11:49 AM, Jean Kaplan wrote:

I found a solution to reduce (or increase) the size of math
previews on the lyx screen (at least for mac os X 10.4.9, mac ppc):
Go to the menu item Preferences-Look and feel- screen fonts,
decrease (or increase) the Screen DPI and save this changes the
size of math previews without changing the size of the text. To see
the result you have to quit lyx and start again, the button apply
does not seem to work for this item.


Bennett Good catch! Actually, you don't need to restart LyX, just
Bennett reload the document.

Could you try to see what is the dpi setting detected by 1.4 and 1.5?


With nothing set in the preferences files, 1.4 gives Screen DPI as  
80, 1.5 as 98.


Bennett


Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Jean Kaplan
When I open a file in 1.4 the dpi setting is 80, which is exactly  
what I set up by trial and error in 1.5. I think that the initial  
setting in 1.5 was 150.
However I do not know, but you should know, wether changing the dpi  
setting in 1.5 changes it in in 1.4. On mac osx , the preferences   
for 1.4 and 1.5 are in two different directories, so changing the dpi  
setting in 1.5 should not affect the dpi settings in 1.4.  correct?

Jean
Le 4 juin 07 à 18:31, Jean-Marc Lasgouttes a écrit :


Bennett == Bennett Helm [EMAIL PROTECTED] writes:


Bennett On Jun 4, 2007, at 11:49 AM, Jean Kaplan wrote:

I found a solution to reduce (or increase) the size of math
previews on the lyx screen (at least for mac os X 10.4.9, mac ppc):
Go to the menu item Preferences-Look and feel- screen fonts,
decrease (or increase) the Screen DPI and save this changes the
size of math previews without changing the size of the text. To see
the result you have to quit lyx and start again, the button apply
does not seem to work for this item.


Bennett Good catch! Actually, you don't need to restart LyX, just
Bennett reload the document.

Could you try to see what is the dpi setting detected by 1.4 and 1.5?

JMarc




[announce] LyXWinInstaller for LyX 1.5rc1-31-05-2007

2007-06-04 Thread Uwe Stöhr

Hello LyXers,

I uploaded an installer for LyX 1.5rc1:
http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=12890

Changelog to last development snapshot:

Version LyX 1.5rc1-31-05-2007
- LyX 1.5rc1 from 31-05-2007
  - support for Farsi
  - new Korean and Japanese translation of LyX's menus

Installer changes:
- updated to MiKTeX 2.6 (version 2704)
- new Windows Vista-compatible launcher for LyX
- fixed layout file for the LaTeX-package powerdot
- support for SVG-images: when Inkscape is installed, it will be
  used as SVG to PDF converter (to get real vector graphics in the
  PDF-output)
- support to set Hebrew, Japanese, and Korean as LyX's menu language
- added missing zlib1.dll (caused tex2lyx problems)

Thanks to Pavel Sanda:
- new Czech translation of the installer

-

The Update installer version allows you to update your existing LyX 
installation to the latest
version. To use this installer you must have my last development snaphot LyX 
1.5beta3-18-05-2007
installed.

(More infos about the installer can be found here:
http://wiki.lyx.org/Windows/LyXWinInstaller )

--- disclaimer ---
The LyX 1.5 test builds are for interested LyXers to test out the new features.
If you find bugs, please have a look at
http://bugzilla.lyx.org
and report them there if they aren't already reported.

Note! The first release candidate of LyX 1.5 is still not ready to be used for 
production!

happy testing and best regards
Uwe



Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Richard Heck

Jean Kaplan wrote:
When I open a file in 1.4 the dpi setting is 80, which is exactly what 
I set up by trial and error in 1.5. I think that the initial setting 
in 1.5 was 150.
However I do not know, but you should know, wether changing the dpi 
setting in 1.5 changes it in in 1.4. On mac osx , the preferences  for 
1.4 and 1.5 are in two different directories, so changing the dpi 
setting in 1.5 should not affect the dpi settings in 1.4.  correct?

Correct.

Jean
Le 4 juin 07 à 18:31, Jean-Marc Lasgouttes a écrit :


Bennett == Bennett Helm [EMAIL PROTECTED] writes:


Bennett On Jun 4, 2007, at 11:49 AM, Jean Kaplan wrote:

I found a solution to reduce (or increase) the size of math
previews on the lyx screen (at least for mac os X 10.4.9, mac ppc):
Go to the menu item Preferences-Look and feel- screen fonts,
decrease (or increase) the Screen DPI and save this changes the
size of math previews without changing the size of the text. To see
the result you have to quit lyx and start again, the button apply
does not seem to work for this item.


Bennett Good catch! Actually, you don't need to restart LyX, just
Bennett reload the document.

Could you try to see what is the dpi setting detected by 1.4 and 1.5?

JMarc





--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: view latex in 1.5.0 orc1

2007-06-04 Thread Jean Kaplan
Great, it works, thank you. I do not remember making this change in  
1.4, but this was long ago and I probably forgot about it

Jean
Le 4 juin 07 à 18:18, Bennett Helm a écrit :



On Jun 4, 2007, at 12:14 PM, Bo Peng wrote:


On 6/4/07, Jean Kaplan [EMAIL PROTECTED] wrote:
By changing the name of the .lyx directory  I got back all  
options of
the view menu, except view latex. This seem to be replaced  
by  by

view source, but this is not equivalent because the window where
the source appears is not searchable and cannot be typeset. In
version 1.4.4, it opened the tex source in my favorite tex editor  
(in

my case TexShop), where I could search the file and try some
solutions to my problems. Is there a way to do that in 1.5.0 orc1  
for
mac os X ? Of course, I can do that by hand, but I have first to  
find

the temporary directory which 1) changes each time one reopens Lyx,
2) is in the /tmp directory which is invisible unless you resort  
to a

terminal.


As far as I know, there is no standard 'view latex' in 1.4.4. You can
add this easily through the preference dialog though. (Check
.lyx/preference of your 1.4.4 for what you have done before.)

Cheers,
Bo


LyX  Preferences  Formats  LaTeX ...: make sure the Document  
format checkbox is checked and that some appropriate value is  
entered in the Viewer field (such as auto -- without the quotes).


Bennett




1.5.0rc1 Mac PPC G3 typing lag

2007-06-04 Thread Johannes Knaus

Hello,

I'm just testing the 1.5.0rc1 binary on my PPC G3 (iBook 700Mhz,  
384MB RAM, 10.4.9). It is significantly slower than all 1.5betas  
released earlier.
When I'm typing some characters there is always a lag of some seconds  
before it appears on the screen.

This makes Lyx definetly unusable for me.
Ok, my Mac is certainly not one of the newest ;-) but now even Word  
(which I really don't want to use) runs faster.

Is there a fix?

Greets,
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)





Upgrade problems

2007-06-04 Thread gary
Hi,

I recently upgraded to the windows version 1.4.4.
In the new version all the old document class are not supported for some reason.
Classes like article,book,letter just don't appear in the drop down list of the
document class dialog. How can I fix this?

thanks,

Gary



Re: Physical units

2007-06-04 Thread Tim Michelsen

Could this be adapted in the documentation, please?


We aren't responsible for documentation of external packages.

I know that very well.
I took my example from p. 95, section: 6.6.5.2.
http://wiki.lyx.org/uploads/LyX/Manuals/1.4.2/UserGuide.pdf


The protected space: It is used to tell LYX (and LATEX) not to break the 
line at that

point. This may be necessary to avoid unlucky linebreaks, like in:
A good documentation should weight no more than 1
kg.
Obviously, it would be a good thing to put a protected space between “1” 
and “kg”.
A protected space is set with Insert . Special Formatting . Protected 
Space or with C-Space.


Maybe there issue disussed in this thread here could be added there?

Regards,
Tim



pdflatex postscript handling

2007-06-04 Thread LB

Hello

I had a problem using hyperref.  When I included this package, long section 
names and long captions were no longer wrapping around in TOC and LOF and 
ran of the page. Also pdflatex would not work for me.


With Uwe suggestion, I upgraded to MiKTeX 2.6 all of these problems got 
resolved, but a new appeared.


When pdflatex converts *.eps files to pdf I get errors that these figures 
can't be converted and are not shown in the final pdf.  When  .ps files get 
converted, their boundingboxes are ignored so figures are not displayed 
properly.


Any suggestions?
I'm using Lyx1.4.4 on WinXP

Thank you
Leo 





Re:1.5.0rc1 Mac PPC G3 typing lag

2007-06-04 Thread Anders Ekberg

Johannes Knaus
Mon, 04 Jun 2007 10:18:33 -0700

Hello,

I'm just testing the 1.5.0rc1 binary on my PPC G3 (iBook 700Mhz,  
384MB RAM, 10.4.9). It is significantly slower than all 1.5betas  
released earlier. When I'm typing some characters there is always a  
lag of some seconds before it appears on the screen.

This makes Lyx definetly unusable for me.
Ok, my Mac is certainly not one of the newest ;-) but now even Word  
(which I really don't want to use) runs faster.

Is there a fix?

Greets,
Johannes


Johannes,

You seem to have quite little RAM. It *could* be that a non-universal  
version would work better for you (I really don't know what the  
overhead is for running an universal application, does someone else  
know?). Do you have the possibility to compile a PPC-version. If not,  
please let me know and I'll upload a binary and send you the link  
(limited band-width at the moment, so probably not until Thursday).


/Anders


Re: 1.5.0rc1 crash when breaking last line of paragraph

2007-06-04 Thread ubuntuuser

 Original-Nachricht 
Datum: Mon, 04 Jun 2007 10:39:03 -0400
Von: Richard Heck [EMAIL PROTECTED]
An: [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org, Stefan Schimanski [EMAIL PROTECTED]
Betreff: Re: 1.5.0rc1 crash when breaking last line of paragraph

 [EMAIL PROTECTED] wrote:
  LyX 1.5.0rc1 crashes when I try to break part of the last line
 (sometimes even last 2 lines) of a paragraph into a new paragraph hitting 
 Enter.
 This only happens if another paragraph is following.
 
  Can anyone confirm? I built LyX on Ubuntu 7.04. I attached a file that
 makes reproduction easy.

 I've applied the patch pending for 3790, and this does resolve the bug 
 for me. (Also resolves 3801.)
 
 Richard

Sorry, there were two patches available and I applied the one on Text.cpp which 
did not help. Now I found the one on Bidi.cpp that solves the Problem. Could 
have be a bit clearer in bugzilla. I will attach link to the patch to my 
bugreport, too. 

Thanks very much, that was the basis for further testing of 1.5.0 for me.

phil


Re: Upgrade problems

2007-06-04 Thread Richard Heck

gary wrote:

Hi,

I recently upgraded to the windows version 1.4.4.
In the new version all the old document class are not supported for some reason.
Classes like article,book,letter just don't appear in the drop down list of the
document class dialog. How can I fix this?
  
I don't use Windows so can't give you the details, but I think this is a 
well-known problem. Try searching the list archives. Maybe upgrade 
class would do it. There's an error message people usually see, too. 
Try running LyX from a command box.


Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Linus on GIT and SCM

2007-06-04 Thread Dov Feldstern

http://developers.slashdot.org/article.pl?sid=07/06/03/004214



Re: Linus on GIT and SCM

2007-06-04 Thread Dov Feldstern

Dov Feldstern wrote:

http://developers.slashdot.org/article.pl?sid=07/06/03/004214




Sorry about this --- sent to the wrong address. ;)
Some of you may still find it interesting, though --- it sounds like he 
trashes SVN...






Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Jean-Marc Lasgouttes
 Bennett == Bennett Helm [EMAIL PROTECTED] writes:

  Could you try to see what is the dpi setting detected by 1.4 and
 1.5?

Bennett With nothing set in the preferences files, 1.4 gives Screen
Bennett DPI as 80, 1.5 as 98.

And which answer is the right one?

JMarc



Re: Upgrade problems

2007-06-04 Thread Paul A. Rubin

gary wrote:

Hi,

I recently upgraded to the windows version 1.4.4.
In the new version all the old document class are not supported for some reason.
Classes like article,book,letter just don't appear in the drop down list of the
document class dialog. How can I fix this?



Sounds as though the configuration script burped -- although usually, 
when it does, LyX can't even start.  Since this is an upgrade, I assume 
you have MikTeX (or some other distro) installed and functioning.  In 
LyX, check Tools - Preferences... - Paths - Path prefix to make sure 
that the MikTeX (or whatever) bin directory is on the path prefix.  If 
not, add it and save, then restart LyX, run Tools - Reconfigure, and 
restart LyX again.


Assuming that LyX can find your LaTeX distro, try the following:

1.  From the Assume Nothing Department:  Take a look at path to 
LyX\Resources\layouts and make sure that you have article.layout, 
book.layout etc.  They install with LyX, but maybe that was the burp. 
Assuming you have them ...


2.  Open a DOS shell and cd to the parent of your LyX home directory 
(the place where LyX will store your personal settings).  Usually, your 
home is C:\Documents and Settings\your id\Application Data\LyX1.4.x, 
so you want to be in C:\...\Application Data.  If you are networked 
and your home is on a remote server, or it's on a drive other than C, go 
there instead.


3.  From that shell, run 'path to LyX\python\python.exe path to 
LyX\Resources\configure.py'.  Output will scroll by; look for the lines 
where LyX is looking for latex.exe, then the various documents, and 
verify that it says yes for them.  If error messages appear, post them here.


/Paul




Re: Too big math preview in 1.5.0 orc1, solution

2007-06-04 Thread Bennett Helm

On Jun 4, 2007, at 5:09 PM, Jean-Marc Lasgouttes wrote:


Bennett == Bennett Helm [EMAIL PROTECTED] writes:



 Could you try to see what is the dpi setting detected by 1.4 and
1.5?


Bennett With nothing set in the preferences files, 1.4 gives Screen
Bennett DPI as 80, 1.5 as 98.

And which answer is the right one?


The one 1.4 gives -- for both me and Jean.

Bennett


Re: Upgrade problems

2007-06-04 Thread gary
Paul A. Rubin [EMAIL PROTECTED] writes:

 Sounds as though the configuration script burped -- although usually, 
 when it does, LyX can't even start.  Since this is an upgrade, I assume 
 you have MikTeX (or some other distro) installed and functioning.  In 
 LyX, check Tools - Preferences... - Paths - Path prefix to make sure 
 that the MikTeX (or whatever) bin directory is on the path prefix.  If 
 not, add it and save, then restart LyX, run Tools - Reconfigure, and 
 restart LyX again.
 
 Assuming that LyX can find your LaTeX distro, try the following:
 
 1.  From the Assume Nothing Department:  Take a look at path to 
 LyX\Resources\layouts and make sure that you have article.layout, 
 book.layout etc.  They install with LyX, but maybe that was the burp. 
 Assuming you have them ...
 
 2.  Open a DOS shell and cd to the parent of your LyX home directory 
 (the place where LyX will store your personal settings).  Usually, your 
 home is C:\Documents and Settings\your id\Application Data\LyX1.4.x, 
 so you want to be in C:\...\Application Data.  If you are networked 
 and your home is on a remote server, or it's on a drive other than C, go 
 there instead.
 
 3.  From that shell, run 'path to LyX\python\python.exe path to 
 LyX\Resources\configure.py'.  Output will scroll by; look for the lines 
 where LyX is looking for latex.exe, then the various documents, and 
 verify that it says yes for them.  If error messages appear, post them here.
 
 /Paul
 
 

Hi, thanks for the help.

The MikiTex path looks Ok and and the article.layout file is in the resources
directory. I've also ran python like you told me. It did find latex.exe but the
missing document classes were not even  listed. These are the only document
calsses that were output:

+checking for document class IEEEtran [IEEEtran]... yes
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... yes
+checking for document class aa [aa]... no
+checking for docbook  class agu-dtd...  no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... yes
+checking for document class arab-article [arabart]...

these are the ones that also apear in the documents-settings menu, but where
are the rest?
Maybe I should have uninstalled the old version of lyx first and then installed
the new one, Although I'm glad I didn't otherwise I couldn't be working at all
right now.

Gary




  1   2   >