using rc1 (was: Re: Question wrt to key board use)

2007-06-15 Thread Sven Schreiber
Hellmut Weber schrieb:

> 
> BTW I'm using RC1 now for two weeks without problems ;-)
> 

I'm also using rc1 regularly now, but I repeatedly get bitten by known
(and fixed in trunk) crash bugs

http://bugzilla.lyx.org/show_bug.cgi?id=3790,
http://bugzilla.lyx.org/show_bug.cgi?id=3801,
http://bugzilla.lyx.org/show_bug.cgi?id=3809.

This is just to ensure that the enthusiasm of some people doesn't leave
the wrong impression for other users (or developers). For less
adventurous people rc1 is definitely too early to switch IMHO.

Otherwise 1.5 is great, as has been stated many times.

-sven


Re: Question wrt to key board use

2007-06-15 Thread Abdelrazak Younes

Hellmut Weber wrote:

Hi,
I'm beginning to use the new TOC with the outlining faetures more often. 
Absolutely great for me.


Questions:
1) Is there a key kombination to switch between the text pane and the 
TOC pane, if not how can I define one?


From TOC to text pane yes: just hit the Tab key. For the opposite, 
unfortunately not. Please put an enhencement request in bugzilla.



2) (evidently) Is it possible to activate the toc outlining 
functionality with key combinations?


Alt-d o



Practically all of the rest I do without using the mouse whcih gives me 
much more productivity when working with my documents.


I agree and I am open to suggestion as to how to make this panel 
keyboard friendlier.


Abdel.



Re: using rc1

2007-06-15 Thread Abdelrazak Younes

Sven Schreiber wrote:

Hellmut Weber schrieb:


BTW I'm using RC1 now for two weeks without problems ;-)



I'm also using rc1 regularly now, but I repeatedly get bitten by known
(and fixed in trunk) crash bugs

http://bugzilla.lyx.org/show_bug.cgi?id=3790,
http://bugzilla.lyx.org/show_bug.cgi?id=3801,
http://bugzilla.lyx.org/show_bug.cgi?id=3809.


I think these bugs will not show up in RC1 if you disable the "RTL 
support" option in the Preference->Language Settings->Language option. 
You might want to do that if you use RC1 for production. You could also 
compile from trunk or wait for RC2 due this week-end.


Abdel.



Re: moving to linux...part3: preferred bibtex editor

2007-06-15 Thread Ares

2007/6/14, Richard Heck <[EMAIL PROTECTED]>:

Ares wrote:
> Here I am back with a new, silly question: what is the most favourite
> bibtex editor under GNU/linux? I have been using JabRef under Windows,
> but I realised that it runs under the Java Runtime Environment, and I
> do not want to install new components if I do not really need them...
JabRef seems to be the most popular around here. It runs fine under
Linux, but you have to install Sun's JVM, as it won't work under Gnu's.
One reason to prefer JabRef is that the developer of BibLaTeX, soon to
be the new standard, is paying attention to JabRef. But there are a lot
of options, as always with Linux: pybliographer, kbibtex, etc.





Then I'll stick to JabRef for now...



thanks to all
--
Diego
http://www.ares001.altervista.org/


Re: using rc1

2007-06-15 Thread Sven Schreiber
Abdelrazak Younes schrieb:
> Sven Schreiber wrote:
>> Hellmut Weber schrieb:
>>
>>> BTW I'm using RC1 now for two weeks without problems ;-)
>>>
>>
>> I'm also using rc1 regularly now, but I repeatedly get bitten by known
>> (and fixed in trunk) crash bugs
>>
>> http://bugzilla.lyx.org/show_bug.cgi?id=3790,
>> http://bugzilla.lyx.org/show_bug.cgi?id=3801,
>> http://bugzilla.lyx.org/show_bug.cgi?id=3809.
> 
> I think these bugs will not show up in RC1 if you disable the "RTL
> support" option in the Preference->Language Settings->Language option.
> You might want to do that if you use RC1 for production. You could also
> compile from trunk or wait for RC2 due this week-end.
> 

Very interesting, thank you for the hint!

I don't mean to be disrespectful for RTL language users, but maybe
disabling that option by default would be safer? (Assuming that the
majority of lyx users don't use RTL.)

thanks,
sven


Re: How to build LyX on Windows

2007-06-15 Thread Georg Brandl

Georg Brandl schrieb:


The version number is a bit older while the manifest in LyX's SVN is
version="8.0.50727.762"
So when you are using an older DLL version than this, it will fail. Ideally the 
version of the DLLs
and the one in the manifest should be identic. I can do this for SVN, but 
before I want to know if
it works when you install LyX using LyXWinInstaller and replace then

1. the lyx.exe with the version you have compiled. Does this work?
2. if 1. fails, replace the msv**80.dll in LyX's bin older with the ones 
delivered in your MSVC
installation. Please report me the results of this test.


OK, I'll do further investigation and report.


This is what I did to make it finally work (you were fully correct that what I
did before was crap):

* It seems that the SVN and 1.4.4-5 versions already use the same version of the
  libraries, so that is no the problem.

* Then I looked at resources, and the lyxc.exe included in the 1.4.4-5 installer
  has an embedded manifest that references the Microsoft.VC80.CRT (?) assembly.
  My built version doesn't.

* So I created a lyxc.exe.manifest identical to the 1.4.4-5's embedded manifest.

* This resulted in a slightly different, but just as opaque error message
  (there is an error in the application configuration).

* Finally, I installed the Microsoft VC++ 2005 SP1 redistributable package
  from download.microsoft.com - and it worked now.

Georg


--
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



Re: using rc1

2007-06-15 Thread Dov Feldstern

Sven Schreiber wrote:


Abdelrazak Younes schrieb:

I think these bugs will not show up in RC1 if you disable the "RTL
support" option in the Preference->Language Settings->Language option.



Very interesting, thank you for the hint!

I don't mean to be disrespectful for RTL language users, but maybe
disabling that option by default would be safer? (Assuming that the
majority of lyx users don't use RTL.)

thanks,
sven



:) . Actually, we are now experimenting with going in the other 
direction --- i.e., enabling this option by default --- and we may in 
the future get rid of the option entirely (i.e., have it always on). So 
it would be better if (as soon as you're using a version in which the 
above bugs are fixed) you would switch the RTL option back on, and then 
let us know if you see anything bad resulting from this: more bugs, 
slowness (which is solved by turning RTL off), etc. If we see that it 
really affects non-RTL users adversely, then we will go back to having 
it off by default. But if it doesn't hurt, we'd rather have it on.


Dov



Re: Problem with PDF output with different pdf reader.

2007-06-15 Thread Helge Hafting

Jeremy C. Reed wrote:

On Thu, 14 Jun 2007, William Adams wrote:

  

Most pdf viewers will maintain a file lock which will prevent the file from
being over-written.



What ones?

I'd guess most LyX users do like I do and create new PDFs continually 
while their PDF viewer is still open.


Some PDF viewers have behaviour to reload updated PDFs automatically 
(which is just the opposite of forcing a file lock).


My experience is with evince, xpdf, epdfview, gv, ggv, gpdf, and others 
and I don't recall this locking issue.


Also how is the file lock done? File locking makes a lot of assumptions 
and often doesn't work on some systems for some file systems. A reliable 
way of doing file locking is to create a lock file (a separate dummy 
file); if that is the case, what is it called?
  

I think they were talking about windows.  Windows has
a system call API for locking files like this, without creating
any special lockfile.

People making pdf viewers for windows sometimes uses this
API - for some strange unknown reason. Looks like a bug,
except that they can't possibly have done that by accident . . .
Attempting to google for this topic mostly turns up about PDFs that are 
protected so others can't view without authenticating.


But now I read that Adobe reader locks files. (I don't use Adobe.) So I 
guess the solution is not to use Adobe :)
  

Yes, good idea.  Adobe don't lock files on linux - because
linux don't have an API for this kind of lock.  There are other
reasons for staying away from acrobat though.

Helge Hafting


Re: problems with aspell

2007-06-15 Thread Filippo Ottone

no error message appear, simply not work!!!
bye
Filippo
- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "Filippo Ottone" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, June 14, 2007 11:56 PM
Subject: Re: problems with aspell



Filippo Ottone schrieb:


All dictionary seem not working on my lyx setup.
I have installed lyxwininstall 1.5, the setup download english and 
italian dictionary but they don't work in lyx and no error message 
appers.

what's wrong?


You have installed LyX 1.5rc1 from here, right?:
http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=12904

What is the error message you get when you create an English document and 
start then the spellchecker?


regards Uwe






Re: moving to linux... part 2 - tetex package installation

2007-06-15 Thread José Matos
On Wednesday 13 June 2007 10:10:36 Helge Hafting wrote:
> Most other distributions use the rpm packaging system.
> It is a long time since I used those - one usually had to
> download lots of rpm files and then give a command to install
> them all. The main difference from the "apt" command above was
> that you had to gather the files yourself, and then install all in
> one go. rpm would then tell you if anything else was missing,
> then you download that and try again until you have all you need.
> I have heard that the rpm-based systems also have automatic
> downloading these days, simplifying this process.

  Time passes so this information is outdated. :-)

  Most rpm distributions have a system that takes care of dependencies 
automatically. I know at least 3 systems but I know that there are more: 
apt-get (for rpm), yum and smart(rpm).

> Helge Hafting

-- 
José Abílio


Re: Problem with PDF output with different pdf reader.

2007-06-15 Thread Christian Liesen



There are other
reasons for staying away from acrobat though.
Really? What reasons? Just asking because I've been using Acrobat's Pro 
versions for some time now without problems.




Re: Problem with PDF output with different pdf reader.

2007-06-15 Thread Helge Hafting

Christian Liesen wrote:



There are other
reasons for staying away from acrobat though.
Really? What reasons? Just asking because I've been using Acrobat's 
Pro versions for some time now without problems.


Acrobat certainly isn't useless, but have some problems:

* On linux, support only for i386. This means it is hard to install
  on common 64-bit setups, and unuseable on other less
  common processors otherwise supported by linux. Open
  source pdf viewers are generally available for all processors.

* It makes a mess of bitmap fonts, to the point where people are
  advised against using bitmap fonts in PDF's, because the
  acrobat reader is so common.  Of course vector fonts are
  better anyway. xpdf doesn't have this problem.

* Acrobat is not good at reloading a changed pdf. On windows,
  this technique for fast work is blocked by acrobat locking the file.
  Linux don't support such locks but that don't help - acrobat
  instead crashes if the file is changed under it. Other viewers
  either reloads the changed file automatically, or at least
  offers a reload hotkey/button. The workaround seems to be
  closing acrobat and restart it every time.

Acrobat may work well for you - but I wouldn't recommend it
to a new user.

Helge Hafting


Re: Problem with PDF output with different pdf reader.

2007-06-15 Thread Les Denham
On Friday 15 June 2007 08:36, Helge Hafting wrote:
> Acrobat certainly isn't useless, but have some problems:

Precisely why I use Acrobat Reader: I don't want to create a PDF which does 
not work properly with the reader most people use.  I performed the necessary 
convolutions to get it to work on my x86_64 Linux machine, and when using it 
to view Lyx output I just close it each time.

-- 
Les

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


Math book tips?

2007-06-15 Thread Steve Litt
Hi all,

I'm writing an introductory algebra book, meant to teach without a teacher, 
meant to be easy to learn for kids 12-16. It's been my impression that 
traditional textbooks try to make the material seem complex so as to require 
a teacher, so that the school will order it (what school would order 
something that would put them out of business).

So in a way, my book is diametrically opposed to math textbooks, yet I also 
want to benefit from literally generations of math teaching and writing, 
which is why I use the AMS Book document class.

I know a lot of you have written math books, so please, please, give me all 
the tips you can on writing a math book. I can't guarantee I'll do everything 
suggested, but I sure would like to be aware of the possibilities.

One of the first things I've wondered about is book structure. Traditional 
math textbooks seem to break down to chapters, and within each chapter are 
several lessons, each with its own questions, exercises and the like. In my 
book I'm considering having each lesson be its own chapter, in an effort to 
make short, simple units. I'm trying very hard to have the book come in under 
200 pages, maybe even under 100 pages. If the book goes long, I might make it 
into 2 books if I can find a way to divide the material. I figure with, let's 
say, a 120 page book, if I had 20 chapters each 6 pages long, that wouldn't 
be excessive, and it would give the learner a clear indication of how he/she 
is doing.

Once again, I'm looking for any tips on writing a math book -- any tips at 
all. If you've written a math book and have a cool way of doing stuff, please 
do tell. If you've read math books and have a pet peeve, please tell me that 
too. I'm hoping to start the actual authoring in about a week, and would like 
to have the book's riffs defined by that time.

Thanks

SteveT

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


Re: Problem with PDF output with different pdf reader.

2007-06-15 Thread Richard Heck

Les Denham wrote:

On Friday 15 June 2007 08:36, Helge Hafting wrote:
  

Acrobat certainly isn't useless, but have some problems:

Precisely why I use Acrobat Reader: I don't want to create a PDF which does 
not work properly with the reader most people use.  I performed the necessary 
convolutions to get it to work on my x86_64 Linux machine, and when using it 
to view Lyx output I just close it each time.
  
That's very annoying, though, and wastes time. The better policy, it 
seems to me, is to use Acrobat only at the very last stage, when you 
need to make sure the document will work with it.


rh


--
==
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[2]: moving to linux...part3: preferred bibtex editor

2007-06-15 Thread Alan G Isaac
On Thu, 14 Jun 2007, Richard Heck apparently wrote: 
> BibLaTeX, soon to be the new standard 

Can you provide the background for this claim?
(I am not challenging it.)

Thank you,
Alan Isaac






Re: moving to linux...part3: preferred bibtex editor

2007-06-15 Thread Richard Heck

Alan G Isaac wrote:
On Thu, 14 Jun 2007, Richard Heck apparently wrote: 
  
BibLaTeX, soon to be the new standard 


Can you provide the background for this claim?
  
It's based upon my sense of the enthusiasm that BibLaTeX has generated 
on comp.text.tex. There really are a lot of problems with BibTeX, as 
useful as it can surely be. One problem is that defining custom formats 
is a nightmare for most people, because the language in which bst files 
are written is very difficult. I learned it and can use it, but it's not 
for the sane, and there's no way for ordinary users to achieve the 
levels of customization they want. Second, the machinery for defining 
citation formats and the like is even worse. There is absolutely no way 
for an ordinary users to define a new citation format. Certainly natbib 
and jurabib offer a lot of options, but the latter is extremely complex, 
and even then it's not always possible to get what you want.


The great promise of BibLaTeX is that it will solve these problems.

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



Re: problems with aspell

2007-06-15 Thread Uwe Stöhr

Filippo Ottone schrieb:


no error message appear, simply not work!!!


Hmm, then I could not help you other than to recommend to reinstall LyX again. Uninstall LyX and 
also Aspell before reinstalling. Uninstall also the aspell dictionaries, assure that you have also 
no rests of perhaps previously installed Aspell versions. After you have uninstalled the stuff, 
check furthermore the geistry that there are no Aspell related settings.


I hope this then works.

regards Uwe


Re: Figure Latex error

2007-06-15 Thread M . Lingenfelder

Thanks a lot guys, all my problems are solved now ;)



Re: Help to make the given table in Lyx

2007-06-15 Thread Paul A. Rubin

Hi,

Did you get this resolved?  Your posting came through with no formatting 
to speak of, which may be why nobody has responded (at least to the list).


/Paul


Tariq Abdullah wrote:

Hi,


I want to make a table like this in Lyx, by using Lyx table option.

Can anybody help me how to do this?






  

  
  Java

based Development
 
  


  
  Platform
 
  
  
  Text

1
 
  


  
  Text 2
 
  
  
  Text3
 
  
  
  Text

4
 
  


  
  Text 5
 
  
  
  Text 6
 
  
  
  Text 7
 
  
  
  Text 8
 
  
  
  Text 9
 
  
  
  Text 0
 
  


  
  Row1
 
  
  

 
  
  

 
  
  

 
  
  

 
  
  

 
  
  

 
  


  
  Row2
 
  
  

 
  
  

 
  
  

 
  
  

 
  
  

 
  
  

 
  

  






Regards,

Tariq Abdullah







  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 








LyX errors when View->Postscript

2007-06-15 Thread Steve Litt
But it works just fine when I:

lyx --export mybook.lyx
latex mybook.tex
dvips -o mybook.ps mybook.tex

I've had this problem in several of my books, and just used a script to 
compile them, but now I want to solve the problem so that I can 
View->Postscript.

It seems to have nothing to do with my document class -- it happens in AMS 
book, book and my modified AMS book. It sometimes doesn't happen if I run 
LyX "a certain way", but of course as of now I don't know exactly what that 
way is.

Can someone help me decipher the following error message issued by 
View->Postscript:


ERROR: /syntaxerrorESP Ghostscript 815.03: Unrecoverable error, exit code 1
 in -file-
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   
2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   
false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   
3   %oparray_pop   1   
3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   
--nostringval--   
2   %stopped_push
Dictionary stack:
   --dict:1121/1686(ro)(G)--   --dict:0/20(G)--   --dict:102/200(L)--
Current allocation mode is local
Current file position is 1


Re: LyX errors when View->Postscript

2007-06-15 Thread Steve Litt
Hi all,

Turns out the symptom happened when I ran LyX from the background instead of 
from a terminal. I do that in my UMENU menu system. I took out the background 
attribute to cure the View->Postscript problem, but now my UMENU terminal 
hangs around until the LyX session is closed.

I'd still like to understand how to interpret the error message.

Thanks

SteveT

On Friday 15 June 2007 17:49, Steve Litt wrote:
> But it works just fine when I:
>
> lyx --export mybook.lyx
> latex mybook.tex
> dvips -o mybook.ps mybook.tex
>
> I've had this problem in several of my books, and just used a script to
> compile them, but now I want to solve the problem so that I can
> View->Postscript.
>
> It seems to have nothing to do with my document class -- it happens in AMS
> book, book and my modified AMS book. It sometimes doesn't happen if I run
> LyX "a certain way", but of course as of now I don't know exactly what that
> way is.
>
> Can someone help me decipher the following error message issued by
> View->Postscript:
>
>
> ERROR: /syntaxerrorESP Ghostscript 815.03: Unrecoverable error, exit code 1
>  in -file-
> Operand stack:
>
> Execution stack:
>%interp_exit   .runexec2   --nostringval--   --nostringval--  
> --nostringval-- 2   %stopped_push   --nostringval--   --nostringval--  
> --nostringval-- false   1   %stopped_push   1   3   %oparray_pop   1   3  
> %oparray_pop   1 3   %oparray_pop   1
> 3   %oparray_pop   .runexec2   --nostringval--   --nostringval--  
> --nostringval-- 2   %stopped_push
> Dictionary stack:
>--dict:1121/1686(ro)(G)--   --dict:0/20(G)--   --dict:102/200(L)--
> Current allocation mode is local
> Current file position is 1


Re: Math book tips?

2007-06-15 Thread John O'Gorman
On Fri, 2007-06-15 at 11:11 -0400, Steve Litt wrote:
> Hi all,
> 
> I'm writing an introductory algebra book, meant to teach without a teacher, 
> meant to be easy to learn for kids 12-16. It's been my impression that 
> traditional textbooks try to make the material seem complex so as to require 
> a teacher, so that the school will order it (what school would order 
> something that would put them out of business).

First let me commend your aspirations! 

I was a very good mathematics pupil at school, then later was a teacher
at secondary school level for 19 years. My main subjects were Latin and
French, but as I had qualifications in maths at University level, I was
dragooned into teaching maths as well to pupils up to the age of 17
years.

I found maths very easy to teach (compared with Latin and French) and I
was successful as a maths teacher. But in all that time, whether as a
pupil, a student, or a teacher I NEVER once found a maths text book
which I understood. I would read the book in vain, then a few words and
an example from the teacher, and comprehension was instant.

So my comments are: 
1. Your book will have to be different from any I have read.
2. The teaching style which works for me is:
 a. Some background on why this topic is good, fun, interesting, a
challenge, or possibly even useful. The book Mathematics for the
Millions is good at this (you know: Egyptians needing to mark off their
fields after the Nile floods has erased their boundary markers etc.)
 b. A worked example. (In the classroom, they copy this down.)
 c. Some explanation of how or why the example worked. (This seems back
to front to most people, giving the example then the explanation. But it
always worked for me.) Keep it short and punchy.
 d. Similar problems for them to do, progressively getting more
difficult. My training college days taught me that 6 drills of anything
was enough to consolidate learning, any more produced boredom.
 e. Some sort of quick quiz which allows you or them to gauge whether
the concepts have been picked up.

3. On reflection, most maths books are impenetrable because they go from
the general to the particular. My belief is that paedagogically the
reverse works better: Use a concrete example as an introduction to an
abstract concept.

Incidentally I share your enthusiasm for LyX. I regard it as the best
piece of software ever written (along with the Unix kernel, C language,
Korn shell, and Prolog).

regards
John O'Gorman
> 
> So in a way, my book is diametrically opposed to math textbooks, yet I also 
> want to benefit from literally generations of math teaching and writing, 
> which is why I use the AMS Book document class.




Re: moving to linux...part3: preferred bibtex editor: Zotero

2007-06-15 Thread hzluo

Is there maybe someone here in lyx community
who has the knowledge and is interested to
make that work (and probably many scientists happy)?


If it can put a format like \cite{...} to clipboard,
I have a patch to make lyx paste such kind of strings
as a citation. It's not identical as the push, but I
prefers this way more.

If you need I can give you my patch. But you have to
patch the source code and compile your own version.
You can also find the patch at lyx-devel list.

Hangzai


Re: Math book tips?

2007-06-15 Thread Gunnar Lindholm
> 1. Your book will have to be different from any I have read.
Correct, otherwise there is no point in writing the book.

> 3. On reflection, most maths books are impenetrable because they go from
> the general to the particular. My belief is that paedagogically the
> reverse works better: Use a concrete example as an introduction to an
> abstract concept.
Very good suggestion.

Let me add
4. Answer the question "why". "Why should I care what 2x+3x is?" 
5. Make it stick together. Many books seem to not be concerned with that and 
chapter N+1 is very little connected to chapter N. This is most likeley for 
books that covers many topics, but I think this point is important.