Re: Problem with LyxLauncher

2009-06-10 Thread Ralf
Robert Betz robert.b...@... writes:
[snip]
 However, I seem to have one problem. If I open my files using the standard
double click technique the figures
 will not open. I get the error:
 
 Error converting to loadable format.

my situation is different, however, that error message looks familiar - I use
PNG format and the error message occurs when changing the figure in an external
editor while Lyx is still open.

It does not bother me so much, since the pdf-output works just fine. And when
re-opening Lyx the figures are there again. 

Cheers
-Ralf



Re: Installing Lyx 1.6.3 under Windows... A spell problem

2009-06-10 Thread Murat Yildizoglu
 Thank you Uwe for your help. In the mean time, Bob Betz has indicated me
that the standard server is working now and it does indeed and I have been
able complete the instalaltion today.
Thanks to both of you!

Thanks also to the developpers of course. I am very grateful to them for
taking on their time to give us such a beatiful and smart software. I mean
it!
And, last but not least, thanks to all members of the list. I do not always
reply (except if I have my to cents to try to help), but I learn a lot from
this list, and the level and the tone of the discussion are a real pleasure
(you probably perfectly understand me if you follow other software lists ;-)
 ).

Best regards,

Murat

2009/6/10 Uwe Stöhr uwesto...@web.de

 Murat Yildizoglu schrieb:

  So, I am a little bit lost at this stage.


 When you reinstall LyX using the alternative Windows installer. it should
 work, because this installer uses more mirror servers to assure that the
 Aspell dictionaries can be installed. I just tested that it works.

 regards Uwe




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

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

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-10 Thread Olivier Ripoll

Alex Fernandez wrote:

Hi Olivier,


[...]

I have a few unconverted stuff:
- \tan and \arctan
- \overrightarrow (quite useful for some things like gradient)
- \ldots (that the ellipsis, AKA the three dots ...)
- \max (and probably \min)


That was too easy! OK, I cheated and used a nice table with TeX and
Unicode equivalences:
  http://community.jedit.org/?q=node/view/1746
And another one with many commands. Only the \overrightarrow command
added difficulty, and is still not perfect; right now a double-length
arrow is used, so it may look bad if you put too much text under the
arrow.


And for a distant future version
- \gtrsim (and its friends, AMS math symbols).


A similar table with TeX and Unicode equivalences would make it rather
easier. It should be in text form (or HTML, or XML, but not PDF) for
useful manipulation.

googling

Of course, the unicode references are in pdf or do not contain the tex code:
   http://www.unicode.org/charts/symbols.html#PhoneticSymbols
   http://www.unicode.org/charts/charindex.html
and vice versa:
http://www.tex.ac.uk/tex-archive/info/symbols/comprehensive/symbols-a4.pdf

There is a limited table here:
http://www.johndcook.com/math_symbols.html
and one for greek symbols
   http://www.johndcook.com/greek_letters.html

For logic symbols, wikipedia as this with both tex/unicode
   http://en.wikipedia.org/wiki/Table_of_logic_symbols

A python script doing some conversions:
   http://iml.univ-mrs.fr/~beffara/soft/tex-utf8

Wait... Do you also hear the sound of coconuts! I think I've found the 
holy grail!

http://www.ams.org/STIX/bnb/stix-tbl.ascii-2005-09-24

Best regards,

Olivier.

PS: I still have to figure out why the cross references are half-broken 
(eqs and figs): the links work, but no numbers are visible (at the links 
position, the numbers at the targets are fine). An arrow is visible 
though, pointing either down or up (towards the target).




Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-10 Thread Olivier Ripoll

Olivier Ripoll wrote:

Wait... Do you also hear the sound of coconuts! I think I've found the 
holy grail!

http://www.ams.org/STIX/bnb/stix-tbl.ascii-2005-09-24


According to
   http://www.ams.org/STIX/

The following link is more up-to-date:
   http://www.ams.org/STIX/bnb/stix-tbl.ascii-2006-10-20
and you can find the layout description of that table at
   http://www.ams.org/STIX/bnb/stix-tbl.layout-2006-05-15
so you can extract only the needed stuff.

The page also links to the comprehensive latex symbol list. The text 
listing is:

http://mirror.switch.ch/ftp/mirror/tex/info/symbols/comprehensive/SYMLIST

Best regards,

Olivier



\enlargethispage{\baselineskip}

2009-06-10 Thread Ralf
Hi All,

how often do we need the \enlargethispage{\baselineskip} ?
Well, I use it quite a lot since I have a lot of large figures and sometimes I
just need an extra line to keep it all together.

Instead of typing the ERT each time, it would be fancy to have a button (and/or
shortcut) that includes it ... how do you folks think?

Cheers
-Ralf



Re: update issue from 1.6.2 to 1.6.3 using alternative update package

2009-06-10 Thread asm23

Uwe Stöhr wrote:

Asm_gmail schrieb:


I took hours to do the whole fresh installation steps,


Why that? It takes not longer than 5 minutes here. I haven't said that 
you should also uninstall MiKTeX. MiKTeX is the LaTeX distribution LyX 
used and can be left as is. So when you update LyX no LaTeX-packages 
will be installed as you already have them.


First, Thanks for your reply!

Oh, Sorry, I'm not referring to reinstall Miktex, I just mentioned the 
downloading and updating the package which Lyx needed will take one 
hours, if it connected to ftp://ftp.tu-chemnitz.de;. Therefor, I 
suggest the when configure stage started, at least you should let the 
user choose a nearer server, or let the server as it is. You known, I 
was in China mainland, connect to a server in German is really too slow.



2, default tex encoding.


This is not a bug, T1 is not wrong but the correct default setting. T1 
is the font encoding and has nothing to do with the font type T1!!!
To get correct font encodings for all languages, you have to leave T1, 
LyX takes care for the cases where this must be changed (for example T2 
is for Cyrillic).


regards Uwe



Yes, as we have discussed before, If I create an empty lyx file, and 
leave the preamble empty, the generated PDF sees really badly.


Also, I opened the Introduction to Lyx.lyx, by default, there are many 
statements in preamble part.


% DO NOT ALTER THIS PREAMBLE!!!
%
%This preamble is designed to ensure that the document prints
% out as advertised. If you mess with this preamble,
% parts of the document may not print out as expected.  If you
% have problems LaTeXing this file, please contact
% the documentation team
% email: lyx-d...@lists.lyx.org

\usepackage{ifpdf} % part of the hyperref bundle
\ifpdf % if pdflatex is used

 % set fonts for nicer pdf view
 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}

\fi % end if pdflatex is used

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

% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
  l\kern-.1667em\lower.25em\hbox{y}\kern-.125e...@}
  {LyX}}


Here are the test:

Step 1, These code will confirm that the generated PDF has font type 1 
embedded.


Step 2, But if I clear the preamble, then the PDF has many font type 3 
bitmap font embedded.


Note: All the PDFs I set the encoding T1 as tex encoding.

When I change the reference tex encoding to default, the the Step 2 
above will generate the same font type 1 PDF.


Can you give a explanation on that, seems the tex encoding can greatly 
affect the output PDF property.


Thanks very much!

regards
Asmwarrior







IEEEtrans.sty different outputs for LyX 1.5 and 1.6

2009-06-10 Thread Hauser Helmut

Hello,

My problem is that when I make a pdf using the IEEEtrans.sty  in LYX 1.5 and
a pdf of the same document (exporting it from 1.5 = plain LaTeX = 
import to 1.6)

in LyX (1.6.0 as well in 1.6.3) it has different margins and letter sizes.

I assumed that the style should define the margins, letter size etc. and 
not Lyx. I rechecked
and everything is on default in LyX for both documents (but adding 
\usepacke{subfigure}).

...and they use the same IEEEtrans.sty document.

Thanks for your help.

- helmut

PS: I had to do this complicated way (exporting it from 1.5 = plain 
LaTeX = import to 1.6) because
I used in the original document \subfigure[]{} in ERT and plain opening 
with 1.6 did not work for me.




--

Helmut Hauser
Institute for Theoretical Computer Sciences
Technische Universitaet Graz
Inffeldgasse 16b, I
A-8010 Graz, Austria
---
helmut.hau...@igi.tugraz.at
Tel: + 43 316 873-5821
Fax: + 43 316 873-5805
http://www.igi.TUGraz.at/helmut/





Re: Problem with LyxLauncher

2009-06-10 Thread Uwe Stöhr

Robert Betz schrieb:


Is there a fix?


The quickest fix might be to reinstall LyX 1.6.3 using the alternative LyX 
Windows installer.

regards Uwe


Re: update issue from 1.6.2 to 1.6.3 using alternative update package

2009-06-10 Thread Uwe Stöhr

asm23 schrieb:

Oh, Sorry, I'm not referring to reinstall Miktex, I just mentioned the 
downloading and updating the package which Lyx needed will take one 
hours, if it connected to ftp://ftp.tu-chemnitz.de;. Therefor, I 
suggest the when configure stage started, at least you should let the 
user choose a nearer server, or let the server as it is. You known, I 
was in China mainland, connect to a server in German is really too slow.


But I have to choose one server as default. I've had a look what was the server with the longest 
server-up time and this was tu-chemnitz.de. Letting the users choosing the server during the 
installation is not possible because MiKTeX doesn't provide this feature. I also think that this is 
something for the expert.
Nevertheless, most of the needed time is not used to download the packages, but is consumed by 
MiKTeX to uncompress, extract, and finally recompress the files form the packages.


This is not a bug, T1 is not wrong but the correct default setting. T1 
is the font encoding and has nothing to do with the font type T1!!!
To get correct font encodings for all languages, you have to leave T1, 
LyX takes care for the cases where this must be changed (for example 
T2 is for Cyrillic).


Yes, as we have discussed before, If I create an empty lyx file, and 
leave the preamble empty, the generated PDF sees really badly.


Please believe me that T1 is the font _encoding_ and not the font _type_! If you don't trust me, 
please google around or have a look at a LaTeX book.


Also, I opened the Introduction to Lyx.lyx, by default, there are many 
statements in preamble part.


Step 1, These code will confirm that the generated PDF has font type 1 
embedded.


No, it only selects the font latin modern, but only when it is installed. Yes this is a Type1 
font, but as said this has nothing to do with the font encoding.


Step 2, But if I clear the preamble, then the PDF has many font type 3 
bitmap font embedded.


That means that you have latin modern installed, that was used due to the preamble and now the LaTeX 
default font computer modern is used - which is a bitmap font (Type 3).


When I change the reference tex encoding to default, the the Step 2 
above will generate the same font type 1 PDF.


Where do you set this? In the LyX preferences under Output - LaTeX - TeX 
encoding?

Can you give a explanation on that, seems the TeX encoding can greatly 
affect the output PDF property.


No I cannot, because this doesn't work here and it will only work with MiKTeX. But LyX has to assure 
that the font encoding is correct with all LaTeX distributions. (On Windows, you can also use the 
distribution TeXLive instead of MiKTeX.)


regards Uwe


Re: IEEEtrans.sty different outputs for LyX 1.5 and 1.6

2009-06-10 Thread Uwe Stöhr

Hauser Helmut schrieb:

My problem is that when I make a pdf using the IEEEtrans.sty  in LYX 1.5 
and a pdf of the same document (exporting it from 1.5 = plain LaTeX = 
import to 1.6) in LyX (1.6.0 as well in 1.6.3) it has different margins and letter sizes.


Can you please provide a small example LyX file to be able to reproduce the 
problem?

thanks and regards
Uwe


Re: \enlargethispage{\baselineskip}

2009-06-10 Thread Paul A. Rubin

Ralf wrote:


how often do we need the \enlargethispage{\baselineskip} ?
Well, I use it quite a lot since I have a lot of large figures and sometimes I
just need an extra line to keep it all together.

Instead of typing the ERT each time, it would be fancy to have a button (and/or
shortcut) that includes it ... how do you folks think?



I've never used it myself.   You could bind it to some shortcut easily 
enough.  Personally, I wouldn't be too excited about a permanent binding 
-- just more clutter in my case.


/Paul



Alternate installer not working

2009-06-10 Thread Phil

I tried to use the altinstaller to update my installation from 1.6.1 to 1.6.2.

When I click on it, it starts but then stops saying that I don't have 1.6.1 
installed, but I do have it installed.  I checked to make sure.   

Is there something I can check in the registry to look for a key or something? 

Thx.
Phil


  


Re: Problem with LyxLauncher

2009-06-10 Thread Joost Verburg

Robert Betz wrote:

However, I seem to have one problem. If I open my files using the standard 
double click technique the figures will not open. I get the error:
 
Error converting to loadable format.


I can't reproduce it. Did you change any path preferences? Could you 
post the contents of the PATH prefix box in Preferences  Paths?


Regards Joost



Re: Problem with LyxLauncher

2009-06-10 Thread Vincent van Ravesteijn

Joost Verburg schreef:

Robert Betz wrote:
However, I seem to have one problem. If I open my files using the 
standard double click technique the figures will not open. I get the 
error:
 
Error converting to loadable format.


I can't reproduce it. Did you change any path preferences? Could you 
post the contents of the PATH prefix box in Preferences  Paths?


Regards Joost


I can reproduce (also with 1.6.2).

When starting with LyXLauncher -dbg files, I get the attached log. And 
the images are not shown. When running lyx.exe from the command prompt, 
the output is the same up to /command and silent afterwards. Then the 
images are correctly shown on screen.


Vincent



D:\LyX\lyx-1.6.2\src\support\FileName.cpp(424): Temporary file in 
C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/CacheItem

D:\LyX\lyx-1.6.2\src\support\FileName.cpp(412): Temporary file 
`C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/CacheItem.gq6408' 
created.

D:\LyX\lyx-1.6.2\src\support\FileName.cpp(424): Temporary file in 
C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/gconvert0

D:\LyX\lyx-1.6.2\src\support\FileName.cpp(412): Temporary file 
`C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/gconvert0.Uh6408' 
created.

command

python -tt 
C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/lyxconvert0.py 
img_diss_b.eps ppm

Interpretted as:

python

-tt

C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/lyxconvert0.py

img_diss_b.eps

ppm

/command

gs: Interpreter revision (864) does not match gs_init.ps revision (863).

gs: Interpreter revision (864) does not match gs_init.ps revision (863).

convert: Postscript delegate failed 
`C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/gconvert0.Uh6408.eps': 
No such file or directory @ ps.c/ReadPSImage/742.

convert: missing an image filename 
`ppm:C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/CacheItem.gq6408.ppm'
 @ convert.c/ConvertImageCommand/2775.

C:/Program Files/LyX16/bin/../Resources/scripts/convertDefault.py ERROR

Execution of convert failed.

Re: \enlargethispage{\baselineskip}

2009-06-10 Thread Steve Litt
On Wednesday 10 June 2009 11:46:10 am Paul A. Rubin wrote:
 Ralf wrote:
  how often do we need the \enlargethispage{\baselineskip} ?
  Well, I use it quite a lot since I have a lot of large figures and
  sometimes I just need an extra line to keep it all together.
 
  Instead of typing the ERT each time, it would be fancy to have a button
  (and/or shortcut) that includes it ... how do you folks think?

 I've never used it myself.   You could bind it to some shortcut easily
 enough.  Personally, I wouldn't be too excited about a permanent binding
 -- just more clutter in my case.

 /Paul

Ralf,

I use \enlargethispage on my eBook book cover, but I really don't understand 
it. What you said about keeping something all together sounded interesting, 
because I know as figures start approaching 1/4 page in each length, ugly 
spacing issues happen. Could you please explain the details of 
\enlargethispage to all of us?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Alternate installer not working

2009-06-10 Thread Florian Rubach

Phil schrieb:

I tried to use the altinstaller to update my installation from 1.6.1 to 1.6.2.

When I click on it, it starts but then stops saying that I don't have 1.6.1 installed, but I do have it installed.  I checked to make sure.   

Is there something I can check in the registry to look for a key or something? 


Thx.
Phil
  
The altinstaller updater works only if your existing lyx has been 
installed with the altinstaller.

Can you confirm that?

Regards, Florian


Re: Numbering

2009-06-10 Thread Richard Heck

Wu Kai Chiu, ami wrote:

Hi all,

I am trying to use AMS Theorem (By Section) and its related modules,
I have a big problem in the display of the counter.

The theorems are numbered correctly,  say Chapter 1 Section 2 the 
first theorem is numbered  1.2.1

However, how can I set it to display  only  2.1 rather than 1.2.1?

Also, in using the modules numbered (By Chapter),  can I choose not to 
display the chapter number?


Yes. You can do this in various ways. One is to redefine the LabelString 
to display whatever you want. Another is to define a LabelString for the 
relevant counter itself. See the Customization manual for details.


Note that this will only change the LyX display, not the LaTeX output. 
If you want to change that, you need to redefine things like 
\thetheorem, or whatever the relevant counter is.


rh



Re: Alternate installer not working

2009-06-10 Thread Uwe Stöhr

Phil schrieb:


I tried to use the altinstaller to update my installation from 1.6.1 to 1.6.2.


The update installer can only update from subsequent versions. So to update from 1.6.1 to 1.6.2, you 
have to use the update installer for LyX 1.6.2. then in a second step you can use the update 
installer for LyX 1.6.3.


regards Uwe


Re: Problem with LyxLauncher

2009-06-10 Thread Joost Verburg

Vincent van Ravesteijn wrote:
When starting with LyXLauncher -dbg files, I get the attached log. And 
the images are not shown. When running lyx.exe from the command prompt, 
the output is the same up to /command and silent afterwards. Then the 
images are correctly shown on screen.


Thanks. It looks like there's a bug in the Windows installers of 
Ghostscript 8.63/8.64. I copied the new files for the installer from the 
Ghostcript directory, but apparently some of them are missing there.


I'll get the files from the Ghostscript source code instead and will 
update the installers.


Joost



doubts about BibTex

2009-06-10 Thread Adrian Diaz
Friends

I have a  problem that i can not understand. I have made my bibliographie
with
BibTex. The problem is that the reference do not appear when i want to view
my thesis
in pdf format, also do not appear  the bibliographie list at the end of my
thesis. On the other hand,
on the lyx editor i can watch the reference without any problem.

Colud you givme some adivices.

Greetings Adrián


Re: doubts about BibTex

2009-06-10 Thread Uwe Stöhr

Adrian Diaz schrieb:


I have a  problem that i can not understand. I have made my bibliographie
with
BibTex. The problem is that the reference do not appear when i want to view
my thesis
in pdf format, also do not appear  the bibliographie list at the end of my
thesis.


I guess you only forgot to use a BibTeX style file in the dialog where the BibTeX database is 
loaded. When you provide a small LyX example file I can have a look.


regards Uwe


Re: \enlargethispage{\baselineskip}

2009-06-10 Thread Ralf
Steve Litt sl...@... writes:
[snip]
 I use \enlargethispage on my eBook book cover, but I really don't understand 
 it. What you said about keeping something all together sounded interesting, 
 because I know as figures start approaching 1/4 page in each length, ugly 
 spacing issues happen. Could you please explain the details of 
 \enlargethispage to all of us?

well, I am far from being a pro, but \enlargethispage simply does that: enlarge
the current page - from a latex documentation:

\enlargethispage{size}:
Enlarge the \textheight for the current page by the specified amount; e.g.
\enlargethispage{\baselineskip} will allow one additional line

\enlargethispage*{size}:
The starred form tries to squeeze the material together on the page as much as
possible. This is normally used together with an explicit \pagebreak

if you have a lot of large figures in a chapter (which i do) it can be difficult
to have them in the place where you would like them and also have a good looking
text - enlargethispage gives you an additional amount of freedom in that case,
so that the paragraph does not continue on the next page with only a few words 


Cheers
-Ralf 




LyX crashes in Ubuntu 9.04

2009-06-10 Thread Michael Gasperl
Hi! I have the following Problem:
LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
This only happens if showing graphics is enabled. How can I solve this
problem?
Thank you very much!


Re: LyX crashes in Ubuntu 9.04

2009-06-10 Thread John McCabe-Dansted
2009/6/11 Michael Gasperl mich...@gasperl.at

 Hi! I have the following Problem:
 LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
 This only happens if showing graphics is enabled. How can I solve this
 problem?
 Thank you very much!


I cannot reproduce the problem.

1) Are you using 32bit or 64bit Ubuntu?
2) Can you send a document that reproduces the problem?

It would also help if you could run LyX in a debugger.

Either install a later version of LyX from source (this may fix the problem
anyway) or install the Ubuntu ddebs. Compiling sounds tricky, but the
following commands should suffice in a terminal

sudo aptitude build-dep lyx
cd
wget -c ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.3.tar.bz2
tar -jxf lyx-1.6.3.tar.bz2
cd lyx-1.6.3
./configure  make
gdb src/lyx
run

Cause LyX to crash, and then type

bt

To get the backtrace, and then cut-and-paste it here.

Feel free to discuss any problems here, or directly to me.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Re: LyX crashes in Ubuntu 9.04

2009-06-10 Thread Thomas Løcke
On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperlmich...@gasperl.at wrote:
 Hi! I have the following Problem:
 LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
 This only happens if showing graphics is enabled. How can I solve this
 problem?
 Thank you very much!

This also happpened to me, on Slackware 12.1,

I fixed it by updating my QT4 library from version 4.4.3 to version
4.5.1, and then recompile LyX against that.

I've no idea why this helped, but at least LyX doesn't crash anymore.

It can't hurt trying,

:o)
/Thomas


Re: LyX crashes in Ubuntu 9.04

2009-06-10 Thread John McCabe-Dansted
2009/6/11 Thomas Løcke thomas.granv...@gmail.com

 On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperlmich...@gasperl.at
 wrote:
  Hi! I have the following Problem:
  LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
  This only happens if showing graphics is enabled. How can I solve this
  problem?
  Thank you very much!

 This also happpened to me, on Slackware 12.1,

 I fixed it by updating my QT4 library from version 4.4.3 to version
 4.5.1, and then recompile LyX against that.


  Heh, I upgraded my QT to QT4.5.1. Maybe thats  why I cannot reproduce.

  I upgraded this way. (NOTE: this is not supported. If  you use this, be
careful, and make backups)

  first I did

sudo aptitude update
sudo aptitude upgrade

  to make sure I was up-to-date

  Then I added

deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe

  to /etc/apt/sources.list (you may want to replace the http:// bit with
your local mirror)

  added the following to /etc/apt/preferences

Package: *
Pin: release a=jaunty
in-Priority: 700

Package: *
Pin: release a=karmic
Pin-Priority: 600

Package: libqt4*
Pin: release a=karmic
Pin-Priority: 800

Package: qt4*
Pin: release a=karmic
Pin-Priority: 800

  then I did

sudo aptitude update
sudo aptitude upgrade

   IMPORTANT: make sure there are no packages without qt4 in
   their name being upgraded. Otherwise you could hose your system.

   Then I removed the

deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe

   Line from /etc/apt/sources.list

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Re: Problem with LyxLauncher

2009-06-10 Thread Ralf
Robert Betz robert.b...@... writes:
[snip]
 However, I seem to have one problem. If I open my files using the standard
double click technique the figures
 will not open. I get the error:
 
 Error converting to loadable format.

my situation is different, however, that error message looks familiar - I use
PNG format and the error message occurs when changing the figure in an external
editor while Lyx is still open.

It does not bother me so much, since the pdf-output works just fine. And when
re-opening Lyx the figures are there again. 

Cheers
-Ralf



Re: Installing Lyx 1.6.3 under Windows... A spell problem

2009-06-10 Thread Murat Yildizoglu
 Thank you Uwe for your help. In the mean time, Bob Betz has indicated me
that the standard server is working now and it does indeed and I have been
able complete the instalaltion today.
Thanks to both of you!

Thanks also to the developpers of course. I am very grateful to them for
taking on their time to give us such a beatiful and smart software. I mean
it!
And, last but not least, thanks to all members of the list. I do not always
reply (except if I have my to cents to try to help), but I learn a lot from
this list, and the level and the tone of the discussion are a real pleasure
(you probably perfectly understand me if you follow other software lists ;-)
 ).

Best regards,

Murat

2009/6/10 Uwe Stöhr uwesto...@web.de

 Murat Yildizoglu schrieb:

  So, I am a little bit lost at this stage.


 When you reinstall LyX using the alternative Windows installer. it should
 work, because this installer uses more mirror servers to assure that the
 Aspell dictionaries can be installed. I just tested that it works.

 regards Uwe




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

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

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-10 Thread Olivier Ripoll

Alex Fernandez wrote:

Hi Olivier,


[...]

I have a few unconverted stuff:
- \tan and \arctan
- \overrightarrow (quite useful for some things like gradient)
- \ldots (that the ellipsis, AKA the three dots ...)
- \max (and probably \min)


That was too easy! OK, I cheated and used a nice table with TeX and
Unicode equivalences:
  http://community.jedit.org/?q=node/view/1746
And another one with many commands. Only the \overrightarrow command
added difficulty, and is still not perfect; right now a double-length
arrow is used, so it may look bad if you put too much text under the
arrow.


And for a distant future version
- \gtrsim (and its friends, AMS math symbols).


A similar table with TeX and Unicode equivalences would make it rather
easier. It should be in text form (or HTML, or XML, but not PDF) for
useful manipulation.

googling

Of course, the unicode references are in pdf or do not contain the tex code:
   http://www.unicode.org/charts/symbols.html#PhoneticSymbols
   http://www.unicode.org/charts/charindex.html
and vice versa:
http://www.tex.ac.uk/tex-archive/info/symbols/comprehensive/symbols-a4.pdf

There is a limited table here:
http://www.johndcook.com/math_symbols.html
and one for greek symbols
   http://www.johndcook.com/greek_letters.html

For logic symbols, wikipedia as this with both tex/unicode
   http://en.wikipedia.org/wiki/Table_of_logic_symbols

A python script doing some conversions:
   http://iml.univ-mrs.fr/~beffara/soft/tex-utf8

Wait... Do you also hear the sound of coconuts! I think I've found the 
holy grail!

http://www.ams.org/STIX/bnb/stix-tbl.ascii-2005-09-24

Best regards,

Olivier.

PS: I still have to figure out why the cross references are half-broken 
(eqs and figs): the links work, but no numbers are visible (at the links 
position, the numbers at the targets are fine). An arrow is visible 
though, pointing either down or up (towards the target).




Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-10 Thread Olivier Ripoll

Olivier Ripoll wrote:

Wait... Do you also hear the sound of coconuts! I think I've found the 
holy grail!

http://www.ams.org/STIX/bnb/stix-tbl.ascii-2005-09-24


According to
   http://www.ams.org/STIX/

The following link is more up-to-date:
   http://www.ams.org/STIX/bnb/stix-tbl.ascii-2006-10-20
and you can find the layout description of that table at
   http://www.ams.org/STIX/bnb/stix-tbl.layout-2006-05-15
so you can extract only the needed stuff.

The page also links to the comprehensive latex symbol list. The text 
listing is:

http://mirror.switch.ch/ftp/mirror/tex/info/symbols/comprehensive/SYMLIST

Best regards,

Olivier



\enlargethispage{\baselineskip}

2009-06-10 Thread Ralf
Hi All,

how often do we need the \enlargethispage{\baselineskip} ?
Well, I use it quite a lot since I have a lot of large figures and sometimes I
just need an extra line to keep it all together.

Instead of typing the ERT each time, it would be fancy to have a button (and/or
shortcut) that includes it ... how do you folks think?

Cheers
-Ralf



Re: update issue from 1.6.2 to 1.6.3 using alternative update package

2009-06-10 Thread asm23

Uwe Stöhr wrote:

Asm_gmail schrieb:


I took hours to do the whole fresh installation steps,


Why that? It takes not longer than 5 minutes here. I haven't said that 
you should also uninstall MiKTeX. MiKTeX is the LaTeX distribution LyX 
used and can be left as is. So when you update LyX no LaTeX-packages 
will be installed as you already have them.


First, Thanks for your reply!

Oh, Sorry, I'm not referring to reinstall Miktex, I just mentioned the 
downloading and updating the package which Lyx needed will take one 
hours, if it connected to ftp://ftp.tu-chemnitz.de;. Therefor, I 
suggest the when configure stage started, at least you should let the 
user choose a nearer server, or let the server as it is. You known, I 
was in China mainland, connect to a server in German is really too slow.



2, default tex encoding.


This is not a bug, T1 is not wrong but the correct default setting. T1 
is the font encoding and has nothing to do with the font type T1!!!
To get correct font encodings for all languages, you have to leave T1, 
LyX takes care for the cases where this must be changed (for example T2 
is for Cyrillic).


regards Uwe



Yes, as we have discussed before, If I create an empty lyx file, and 
leave the preamble empty, the generated PDF sees really badly.


Also, I opened the Introduction to Lyx.lyx, by default, there are many 
statements in preamble part.


% DO NOT ALTER THIS PREAMBLE!!!
%
%This preamble is designed to ensure that the document prints
% out as advertised. If you mess with this preamble,
% parts of the document may not print out as expected.  If you
% have problems LaTeXing this file, please contact
% the documentation team
% email: lyx-d...@lists.lyx.org

\usepackage{ifpdf} % part of the hyperref bundle
\ifpdf % if pdflatex is used

 % set fonts for nicer pdf view
 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}

\fi % end if pdflatex is used

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

% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
  l\kern-.1667em\lower.25em\hbox{y}\kern-.125e...@}
  {LyX}}


Here are the test:

Step 1, These code will confirm that the generated PDF has font type 1 
embedded.


Step 2, But if I clear the preamble, then the PDF has many font type 3 
bitmap font embedded.


Note: All the PDFs I set the encoding T1 as tex encoding.

When I change the reference tex encoding to default, the the Step 2 
above will generate the same font type 1 PDF.


Can you give a explanation on that, seems the tex encoding can greatly 
affect the output PDF property.


Thanks very much!

regards
Asmwarrior







IEEEtrans.sty different outputs for LyX 1.5 and 1.6

2009-06-10 Thread Hauser Helmut

Hello,

My problem is that when I make a pdf using the IEEEtrans.sty  in LYX 1.5 and
a pdf of the same document (exporting it from 1.5 = plain LaTeX = 
import to 1.6)

in LyX (1.6.0 as well in 1.6.3) it has different margins and letter sizes.

I assumed that the style should define the margins, letter size etc. and 
not Lyx. I rechecked
and everything is on default in LyX for both documents (but adding 
\usepacke{subfigure}).

...and they use the same IEEEtrans.sty document.

Thanks for your help.

- helmut

PS: I had to do this complicated way (exporting it from 1.5 = plain 
LaTeX = import to 1.6) because
I used in the original document \subfigure[]{} in ERT and plain opening 
with 1.6 did not work for me.




--

Helmut Hauser
Institute for Theoretical Computer Sciences
Technische Universitaet Graz
Inffeldgasse 16b, I
A-8010 Graz, Austria
---
helmut.hau...@igi.tugraz.at
Tel: + 43 316 873-5821
Fax: + 43 316 873-5805
http://www.igi.TUGraz.at/helmut/





Re: Problem with LyxLauncher

2009-06-10 Thread Uwe Stöhr

Robert Betz schrieb:


Is there a fix?


The quickest fix might be to reinstall LyX 1.6.3 using the alternative LyX 
Windows installer.

regards Uwe


Re: update issue from 1.6.2 to 1.6.3 using alternative update package

2009-06-10 Thread Uwe Stöhr

asm23 schrieb:

Oh, Sorry, I'm not referring to reinstall Miktex, I just mentioned the 
downloading and updating the package which Lyx needed will take one 
hours, if it connected to ftp://ftp.tu-chemnitz.de;. Therefor, I 
suggest the when configure stage started, at least you should let the 
user choose a nearer server, or let the server as it is. You known, I 
was in China mainland, connect to a server in German is really too slow.


But I have to choose one server as default. I've had a look what was the server with the longest 
server-up time and this was tu-chemnitz.de. Letting the users choosing the server during the 
installation is not possible because MiKTeX doesn't provide this feature. I also think that this is 
something for the expert.
Nevertheless, most of the needed time is not used to download the packages, but is consumed by 
MiKTeX to uncompress, extract, and finally recompress the files form the packages.


This is not a bug, T1 is not wrong but the correct default setting. T1 
is the font encoding and has nothing to do with the font type T1!!!
To get correct font encodings for all languages, you have to leave T1, 
LyX takes care for the cases where this must be changed (for example 
T2 is for Cyrillic).


Yes, as we have discussed before, If I create an empty lyx file, and 
leave the preamble empty, the generated PDF sees really badly.


Please believe me that T1 is the font _encoding_ and not the font _type_! If you don't trust me, 
please google around or have a look at a LaTeX book.


Also, I opened the Introduction to Lyx.lyx, by default, there are many 
statements in preamble part.


Step 1, These code will confirm that the generated PDF has font type 1 
embedded.


No, it only selects the font latin modern, but only when it is installed. Yes this is a Type1 
font, but as said this has nothing to do with the font encoding.


Step 2, But if I clear the preamble, then the PDF has many font type 3 
bitmap font embedded.


That means that you have latin modern installed, that was used due to the preamble and now the LaTeX 
default font computer modern is used - which is a bitmap font (Type 3).


When I change the reference tex encoding to default, the the Step 2 
above will generate the same font type 1 PDF.


Where do you set this? In the LyX preferences under Output - LaTeX - TeX 
encoding?

Can you give a explanation on that, seems the TeX encoding can greatly 
affect the output PDF property.


No I cannot, because this doesn't work here and it will only work with MiKTeX. But LyX has to assure 
that the font encoding is correct with all LaTeX distributions. (On Windows, you can also use the 
distribution TeXLive instead of MiKTeX.)


regards Uwe


Re: IEEEtrans.sty different outputs for LyX 1.5 and 1.6

2009-06-10 Thread Uwe Stöhr

Hauser Helmut schrieb:

My problem is that when I make a pdf using the IEEEtrans.sty  in LYX 1.5 
and a pdf of the same document (exporting it from 1.5 = plain LaTeX = 
import to 1.6) in LyX (1.6.0 as well in 1.6.3) it has different margins and letter sizes.


Can you please provide a small example LyX file to be able to reproduce the 
problem?

thanks and regards
Uwe


Re: \enlargethispage{\baselineskip}

2009-06-10 Thread Paul A. Rubin

Ralf wrote:


how often do we need the \enlargethispage{\baselineskip} ?
Well, I use it quite a lot since I have a lot of large figures and sometimes I
just need an extra line to keep it all together.

Instead of typing the ERT each time, it would be fancy to have a button (and/or
shortcut) that includes it ... how do you folks think?



I've never used it myself.   You could bind it to some shortcut easily 
enough.  Personally, I wouldn't be too excited about a permanent binding 
-- just more clutter in my case.


/Paul



Alternate installer not working

2009-06-10 Thread Phil

I tried to use the altinstaller to update my installation from 1.6.1 to 1.6.2.

When I click on it, it starts but then stops saying that I don't have 1.6.1 
installed, but I do have it installed.  I checked to make sure.   

Is there something I can check in the registry to look for a key or something? 

Thx.
Phil


  


Re: Problem with LyxLauncher

2009-06-10 Thread Joost Verburg

Robert Betz wrote:

However, I seem to have one problem. If I open my files using the standard 
double click technique the figures will not open. I get the error:
 
Error converting to loadable format.


I can't reproduce it. Did you change any path preferences? Could you 
post the contents of the PATH prefix box in Preferences  Paths?


Regards Joost



Re: Problem with LyxLauncher

2009-06-10 Thread Vincent van Ravesteijn

Joost Verburg schreef:

Robert Betz wrote:
However, I seem to have one problem. If I open my files using the 
standard double click technique the figures will not open. I get the 
error:
 
Error converting to loadable format.


I can't reproduce it. Did you change any path preferences? Could you 
post the contents of the PATH prefix box in Preferences  Paths?


Regards Joost


I can reproduce (also with 1.6.2).

When starting with LyXLauncher -dbg files, I get the attached log. And 
the images are not shown. When running lyx.exe from the command prompt, 
the output is the same up to /command and silent afterwards. Then the 
images are correctly shown on screen.


Vincent



D:\LyX\lyx-1.6.2\src\support\FileName.cpp(424): Temporary file in 
C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/CacheItem

D:\LyX\lyx-1.6.2\src\support\FileName.cpp(412): Temporary file 
`C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/CacheItem.gq6408' 
created.

D:\LyX\lyx-1.6.2\src\support\FileName.cpp(424): Temporary file in 
C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/gconvert0

D:\LyX\lyx-1.6.2\src\support\FileName.cpp(412): Temporary file 
`C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/gconvert0.Uh6408' 
created.

command

python -tt 
C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/lyxconvert0.py 
img_diss_b.eps ppm

Interpretted as:

python

-tt

C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/lyxconvert0.py

img_diss_b.eps

ppm

/command

gs: Interpreter revision (864) does not match gs_init.ps revision (863).

gs: Interpreter revision (864) does not match gs_init.ps revision (863).

convert: Postscript delegate failed 
`C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/gconvert0.Uh6408.eps': 
No such file or directory @ ps.c/ReadPSImage/742.

convert: missing an image filename 
`ppm:C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/CacheItem.gq6408.ppm'
 @ convert.c/ConvertImageCommand/2775.

C:/Program Files/LyX16/bin/../Resources/scripts/convertDefault.py ERROR

Execution of convert failed.

Re: \enlargethispage{\baselineskip}

2009-06-10 Thread Steve Litt
On Wednesday 10 June 2009 11:46:10 am Paul A. Rubin wrote:
 Ralf wrote:
  how often do we need the \enlargethispage{\baselineskip} ?
  Well, I use it quite a lot since I have a lot of large figures and
  sometimes I just need an extra line to keep it all together.
 
  Instead of typing the ERT each time, it would be fancy to have a button
  (and/or shortcut) that includes it ... how do you folks think?

 I've never used it myself.   You could bind it to some shortcut easily
 enough.  Personally, I wouldn't be too excited about a permanent binding
 -- just more clutter in my case.

 /Paul

Ralf,

I use \enlargethispage on my eBook book cover, but I really don't understand 
it. What you said about keeping something all together sounded interesting, 
because I know as figures start approaching 1/4 page in each length, ugly 
spacing issues happen. Could you please explain the details of 
\enlargethispage to all of us?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Alternate installer not working

2009-06-10 Thread Florian Rubach

Phil schrieb:

I tried to use the altinstaller to update my installation from 1.6.1 to 1.6.2.

When I click on it, it starts but then stops saying that I don't have 1.6.1 installed, but I do have it installed.  I checked to make sure.   

Is there something I can check in the registry to look for a key or something? 


Thx.
Phil
  
The altinstaller updater works only if your existing lyx has been 
installed with the altinstaller.

Can you confirm that?

Regards, Florian


Re: Numbering

2009-06-10 Thread Richard Heck

Wu Kai Chiu, ami wrote:

Hi all,

I am trying to use AMS Theorem (By Section) and its related modules,
I have a big problem in the display of the counter.

The theorems are numbered correctly,  say Chapter 1 Section 2 the 
first theorem is numbered  1.2.1

However, how can I set it to display  only  2.1 rather than 1.2.1?

Also, in using the modules numbered (By Chapter),  can I choose not to 
display the chapter number?


Yes. You can do this in various ways. One is to redefine the LabelString 
to display whatever you want. Another is to define a LabelString for the 
relevant counter itself. See the Customization manual for details.


Note that this will only change the LyX display, not the LaTeX output. 
If you want to change that, you need to redefine things like 
\thetheorem, or whatever the relevant counter is.


rh



Re: Alternate installer not working

2009-06-10 Thread Uwe Stöhr

Phil schrieb:


I tried to use the altinstaller to update my installation from 1.6.1 to 1.6.2.


The update installer can only update from subsequent versions. So to update from 1.6.1 to 1.6.2, you 
have to use the update installer for LyX 1.6.2. then in a second step you can use the update 
installer for LyX 1.6.3.


regards Uwe


Re: Problem with LyxLauncher

2009-06-10 Thread Joost Verburg

Vincent van Ravesteijn wrote:
When starting with LyXLauncher -dbg files, I get the attached log. And 
the images are not shown. When running lyx.exe from the command prompt, 
the output is the same up to /command and silent afterwards. Then the 
images are correctly shown on screen.


Thanks. It looks like there's a bug in the Windows installers of 
Ghostscript 8.63/8.64. I copied the new files for the installer from the 
Ghostcript directory, but apparently some of them are missing there.


I'll get the files from the Ghostscript source code instead and will 
update the installers.


Joost



doubts about BibTex

2009-06-10 Thread Adrian Diaz
Friends

I have a  problem that i can not understand. I have made my bibliographie
with
BibTex. The problem is that the reference do not appear when i want to view
my thesis
in pdf format, also do not appear  the bibliographie list at the end of my
thesis. On the other hand,
on the lyx editor i can watch the reference without any problem.

Colud you givme some adivices.

Greetings Adrián


Re: doubts about BibTex

2009-06-10 Thread Uwe Stöhr

Adrian Diaz schrieb:


I have a  problem that i can not understand. I have made my bibliographie
with
BibTex. The problem is that the reference do not appear when i want to view
my thesis
in pdf format, also do not appear  the bibliographie list at the end of my
thesis.


I guess you only forgot to use a BibTeX style file in the dialog where the BibTeX database is 
loaded. When you provide a small LyX example file I can have a look.


regards Uwe


Re: \enlargethispage{\baselineskip}

2009-06-10 Thread Ralf
Steve Litt sl...@... writes:
[snip]
 I use \enlargethispage on my eBook book cover, but I really don't understand 
 it. What you said about keeping something all together sounded interesting, 
 because I know as figures start approaching 1/4 page in each length, ugly 
 spacing issues happen. Could you please explain the details of 
 \enlargethispage to all of us?

well, I am far from being a pro, but \enlargethispage simply does that: enlarge
the current page - from a latex documentation:

\enlargethispage{size}:
Enlarge the \textheight for the current page by the specified amount; e.g.
\enlargethispage{\baselineskip} will allow one additional line

\enlargethispage*{size}:
The starred form tries to squeeze the material together on the page as much as
possible. This is normally used together with an explicit \pagebreak

if you have a lot of large figures in a chapter (which i do) it can be difficult
to have them in the place where you would like them and also have a good looking
text - enlargethispage gives you an additional amount of freedom in that case,
so that the paragraph does not continue on the next page with only a few words 


Cheers
-Ralf 




LyX crashes in Ubuntu 9.04

2009-06-10 Thread Michael Gasperl
Hi! I have the following Problem:
LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
This only happens if showing graphics is enabled. How can I solve this
problem?
Thank you very much!


Re: LyX crashes in Ubuntu 9.04

2009-06-10 Thread John McCabe-Dansted
2009/6/11 Michael Gasperl mich...@gasperl.at

 Hi! I have the following Problem:
 LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
 This only happens if showing graphics is enabled. How can I solve this
 problem?
 Thank you very much!


I cannot reproduce the problem.

1) Are you using 32bit or 64bit Ubuntu?
2) Can you send a document that reproduces the problem?

It would also help if you could run LyX in a debugger.

Either install a later version of LyX from source (this may fix the problem
anyway) or install the Ubuntu ddebs. Compiling sounds tricky, but the
following commands should suffice in a terminal

sudo aptitude build-dep lyx
cd
wget -c ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.3.tar.bz2
tar -jxf lyx-1.6.3.tar.bz2
cd lyx-1.6.3
./configure  make
gdb src/lyx
run

Cause LyX to crash, and then type

bt

To get the backtrace, and then cut-and-paste it here.

Feel free to discuss any problems here, or directly to me.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Re: LyX crashes in Ubuntu 9.04

2009-06-10 Thread Thomas Løcke
On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperlmich...@gasperl.at wrote:
 Hi! I have the following Problem:
 LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
 This only happens if showing graphics is enabled. How can I solve this
 problem?
 Thank you very much!

This also happpened to me, on Slackware 12.1,

I fixed it by updating my QT4 library from version 4.4.3 to version
4.5.1, and then recompile LyX against that.

I've no idea why this helped, but at least LyX doesn't crash anymore.

It can't hurt trying,

:o)
/Thomas


Re: LyX crashes in Ubuntu 9.04

2009-06-10 Thread John McCabe-Dansted
2009/6/11 Thomas Løcke thomas.granv...@gmail.com

 On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperlmich...@gasperl.at
 wrote:
  Hi! I have the following Problem:
  LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
  This only happens if showing graphics is enabled. How can I solve this
  problem?
  Thank you very much!

 This also happpened to me, on Slackware 12.1,

 I fixed it by updating my QT4 library from version 4.4.3 to version
 4.5.1, and then recompile LyX against that.


  Heh, I upgraded my QT to QT4.5.1. Maybe thats  why I cannot reproduce.

  I upgraded this way. (NOTE: this is not supported. If  you use this, be
careful, and make backups)

  first I did

sudo aptitude update
sudo aptitude upgrade

  to make sure I was up-to-date

  Then I added

deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe

  to /etc/apt/sources.list (you may want to replace the http:// bit with
your local mirror)

  added the following to /etc/apt/preferences

Package: *
Pin: release a=jaunty
in-Priority: 700

Package: *
Pin: release a=karmic
Pin-Priority: 600

Package: libqt4*
Pin: release a=karmic
Pin-Priority: 800

Package: qt4*
Pin: release a=karmic
Pin-Priority: 800

  then I did

sudo aptitude update
sudo aptitude upgrade

   IMPORTANT: make sure there are no packages without qt4 in
   their name being upgraded. Otherwise you could hose your system.

   Then I removed the

deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe

   Line from /etc/apt/sources.list

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Re: Problem with LyxLauncher

2009-06-10 Thread Ralf
Robert Betz  writes:
[snip]
> However, I seem to have one problem. If I open my files using the standard
double click technique the figures
> will not open. I get the error:
> 
> Error converting to loadable format.

my situation is different, however, that error message looks familiar - I use
PNG format and the error message occurs when changing the figure in an external
editor while Lyx is still open.

It does not bother me so much, since the pdf-output works just fine. And when
re-opening Lyx the figures are there again. 

Cheers
-Ralf



Re: Installing Lyx 1.6.3 under Windows... A spell problem

2009-06-10 Thread Murat Yildizoglu
 Thank you Uwe for your help. In the mean time, Bob Betz has indicated me
that the standard server is working now and it does indeed and I have been
able complete the instalaltion today.
Thanks to both of you!

Thanks also to the developpers of course. I am very grateful to them for
taking on their time to give us such a beatiful and smart software. I mean
it!
And, last but not least, thanks to all members of the list. I do not always
reply (except if I have my to cents to try to help), but I learn a lot from
this list, and the level and the tone of the discussion are a real pleasure
(you probably perfectly understand me if you follow other software lists ;-)
 ).

Best regards,

Murat

2009/6/10 Uwe Stöhr 

> Murat Yildizoglu schrieb:
>
>  So, I am a little bit lost at this stage.
>>
>
> When you reinstall LyX using the alternative Windows installer. it should
> work, because this installer uses more mirror servers to assure that the
> Aspell dictionaries can be installed. I just tested that it works.
>
> regards Uwe
>



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

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

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-10 Thread Olivier Ripoll

Alex Fernandez wrote:

Hi Olivier,


[...]

I have a few unconverted stuff:
- \tan and \arctan
- \overrightarrow (quite useful for some things like gradient)
- \ldots (that the ellipsis, AKA the three dots ...)
- \max (and probably \min)


That was too easy! OK, I cheated and used a nice table with TeX and
Unicode equivalences:
  http://community.jedit.org/?q=node/view/1746
And another one with many commands. Only the \overrightarrow command
added difficulty, and is still not perfect; right now a double-length
arrow is used, so it may look bad if you put too much text under the
arrow.


And for a distant future version
- \gtrsim (and its friends, AMS math symbols).


A similar table with TeX and Unicode equivalences would make it rather
easier. It should be in text form (or HTML, or XML, but not PDF) for
useful manipulation.

googling

Of course, the unicode references are in pdf or do not contain the tex code:
   http://www.unicode.org/charts/symbols.html#PhoneticSymbols
   http://www.unicode.org/charts/charindex.html
and vice versa:
http://www.tex.ac.uk/tex-archive/info/symbols/comprehensive/symbols-a4.pdf

There is a limited table here:
http://www.johndcook.com/math_symbols.html
and one for greek symbols
   http://www.johndcook.com/greek_letters.html

For logic symbols, wikipedia as this with both tex/unicode
   http://en.wikipedia.org/wiki/Table_of_logic_symbols

A python script doing some conversions:
   http://iml.univ-mrs.fr/~beffara/soft/tex-utf8

Wait... Do you also hear the sound of coconuts! I think I've found the 
holy grail!

http://www.ams.org/STIX/bnb/stix-tbl.ascii-2005-09-24

Best regards,

Olivier.

PS: I still have to figure out why the cross references are half-broken 
(eqs and figs): the links work, but no numbers are visible (at the links 
position, the numbers at the targets are fine). An arrow is visible 
though, pointing either down or up (towards the target).




Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-10 Thread Olivier Ripoll

Olivier Ripoll wrote:

Wait... Do you also hear the sound of coconuts! I think I've found the 
holy grail!

http://www.ams.org/STIX/bnb/stix-tbl.ascii-2005-09-24


According to
   http://www.ams.org/STIX/

The following link is more up-to-date:
   http://www.ams.org/STIX/bnb/stix-tbl.ascii-2006-10-20
and you can find the layout description of that table at
   http://www.ams.org/STIX/bnb/stix-tbl.layout-2006-05-15
so you can extract only the needed stuff.

The page also links to the comprehensive latex symbol list. The text 
listing is:

http://mirror.switch.ch/ftp/mirror/tex/info/symbols/comprehensive/SYMLIST

Best regards,

Olivier



\enlargethispage{\baselineskip}

2009-06-10 Thread Ralf
Hi All,

how often do we need the \enlargethispage{\baselineskip} ?
Well, I use it quite a lot since I have a lot of large figures and sometimes I
just need an extra line to keep it all together.

Instead of typing the ERT each time, it would be fancy to have a button (and/or
shortcut) that includes it ... how do you folks think?

Cheers
-Ralf



Re: update issue from 1.6.2 to 1.6.3 using alternative update package

2009-06-10 Thread asm23

Uwe Stöhr wrote:

Asm_gmail schrieb:


I took hours to do the whole fresh installation steps,


Why that? It takes not longer than 5 minutes here. I haven't said that 
you should also uninstall MiKTeX. MiKTeX is the LaTeX distribution LyX 
used and can be left as is. So when you update LyX no LaTeX-packages 
will be installed as you already have them.


First, Thanks for your reply!

Oh, Sorry, I'm not referring to reinstall Miktex, I just mentioned the 
downloading and updating the package which Lyx needed will take one 
hours, if it connected to "ftp://ftp.tu-chemnitz.de;. Therefor, I 
suggest the when configure stage started, at least you should let the 
user choose a nearer server, or let the server as it is. You known, I 
was in China mainland, connect to a server in German is really too slow.



2, default tex encoding.


This is not a bug, T1 is not wrong but the correct default setting. T1 
is the font encoding and has nothing to do with the font type T1!!!
To get correct font encodings for all languages, you have to leave T1, 
LyX takes care for the cases where this must be changed (for example T2 
is for Cyrillic).


regards Uwe



Yes, as we have discussed before, If I create an empty lyx file, and 
leave the preamble empty, the generated PDF sees really badly.


Also, I opened the "Introduction to Lyx.lyx", by default, there are many 
statements in preamble part.


% DO NOT ALTER THIS PREAMBLE!!!
%
%This preamble is designed to ensure that the document prints
% out as advertised. If you mess with this preamble,
% parts of the document may not print out as expected.  If you
% have problems LaTeXing this file, please contact
% the documentation team
% email: lyx-d...@lists.lyx.org

\usepackage{ifpdf} % part of the hyperref bundle
\ifpdf % if pdflatex is used

 % set fonts for nicer pdf view
 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}

\fi % end if pdflatex is used

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

% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
  l\kern-.1667em\lower.25em\hbox{y}\kern-.125e...@}
  {LyX}}


Here are the test:

Step 1, These code will confirm that the generated PDF has "font type 1" 
embedded.


Step 2, But if I clear the preamble, then the PDF has many "font type 3" 
bitmap font embedded.


Note: All the PDFs I set the encoding T1 as tex encoding.

When I change the reference tex encoding to "default", the the Step 2 
above will generate the same "font type 1" PDF.


Can you give a explanation on that, seems the tex encoding can greatly 
affect the output PDF property.


Thanks very much!

regards
Asmwarrior







IEEEtrans.sty different outputs for LyX 1.5 and 1.6

2009-06-10 Thread Hauser Helmut

Hello,

My problem is that when I make a pdf using the IEEEtrans.sty  in LYX 1.5 and
a pdf of the "same" document (exporting it from 1.5 => plain LaTeX => 
import to 1.6)

in LyX (1.6.0 as well in 1.6.3) it has different margins and letter sizes.

I assumed that the style should define the margins, letter size etc. and 
not Lyx. I rechecked
and everything is on default in LyX for both documents (but adding 
\usepacke{subfigure}).

...and they use the same IEEEtrans.sty document.

Thanks for your help.

- helmut

PS: I had to do this complicated way (exporting it from 1.5 => plain 
LaTeX => import to 1.6) because
I used in the original document \subfigure[]{} in ERT and plain opening 
with 1.6 did not work for me.




--

Helmut Hauser
Institute for Theoretical Computer Sciences
Technische Universitaet Graz
Inffeldgasse 16b, I
A-8010 Graz, Austria
---
helmut.hau...@igi.tugraz.at
Tel: + 43 316 873-5821
Fax: + 43 316 873-5805
http://www.igi.TUGraz.at/helmut/





Re: Problem with LyxLauncher

2009-06-10 Thread Uwe Stöhr

Robert Betz schrieb:


Is there a fix?


The quickest fix might be to reinstall LyX 1.6.3 using the alternative LyX 
Windows installer.

regards Uwe


Re: update issue from 1.6.2 to 1.6.3 using alternative update package

2009-06-10 Thread Uwe Stöhr

asm23 schrieb:

Oh, Sorry, I'm not referring to reinstall Miktex, I just mentioned the 
downloading and updating the package which Lyx needed will take one 
hours, if it connected to "ftp://ftp.tu-chemnitz.de;. Therefor, I 
suggest the when configure stage started, at least you should let the 
user choose a nearer server, or let the server as it is. You known, I 
was in China mainland, connect to a server in German is really too slow.


But I have to choose one server as default. I've had a look what was the server with the longest 
server-up time and this was tu-chemnitz.de. Letting the users choosing the server during the 
installation is not possible because MiKTeX doesn't provide this feature. I also think that this is 
something for the expert.
Nevertheless, most of the needed time is not used to download the packages, but is consumed by 
MiKTeX to uncompress, extract, and finally recompress the files form the packages.


This is not a bug, T1 is not wrong but the correct default setting. T1 
is the font encoding and has nothing to do with the font type T1!!!
To get correct font encodings for all languages, you have to leave T1, 
LyX takes care for the cases where this must be changed (for example 
T2 is for Cyrillic).


Yes, as we have discussed before, If I create an empty lyx file, and 
leave the preamble empty, the generated PDF sees really badly.


Please believe me that T1 is the font _encoding_ and not the font _type_! If you don't trust me, 
please google around or have a look at a LaTeX book.


Also, I opened the "Introduction to Lyx.lyx", by default, there are many 
statements in preamble part.


Step 1, These code will confirm that the generated PDF has "font type 1" 
embedded.


No, it only selects the font "latin modern", but only when it is installed. Yes this is a Type1 
font, but as said this has nothing to do with the font encoding.


Step 2, But if I clear the preamble, then the PDF has many "font type 3" 
bitmap font embedded.


That means that you have latin modern installed, that was used due to the preamble and now the LaTeX 
default font "computer modern" is used - which is a bitmap font (Type 3).


When I change the reference tex encoding to "default", the the Step 2 
above will generate the same "font type 1" PDF.


Where do you set this? In the LyX preferences under Output -> LaTeX -> TeX 
encoding?

Can you give a explanation on that, seems the TeX encoding can greatly 
affect the output PDF property.


No I cannot, because this doesn't work here and it will only work with MiKTeX. But LyX has to assure 
that the font encoding is correct with all LaTeX distributions. (On Windows, you can also use the 
distribution TeXLive instead of MiKTeX.)


regards Uwe


Re: IEEEtrans.sty different outputs for LyX 1.5 and 1.6

2009-06-10 Thread Uwe Stöhr

Hauser Helmut schrieb:

My problem is that when I make a pdf using the IEEEtrans.sty  in LYX 1.5 
and a pdf of the "same" document (exporting it from 1.5 => plain LaTeX => 
import to 1.6) in LyX (1.6.0 as well in 1.6.3) it has different margins and letter sizes.


Can you please provide a small example LyX file to be able to reproduce the 
problem?

thanks and regards
Uwe


Re: \enlargethispage{\baselineskip}

2009-06-10 Thread Paul A. Rubin

Ralf wrote:


how often do we need the \enlargethispage{\baselineskip} ?
Well, I use it quite a lot since I have a lot of large figures and sometimes I
just need an extra line to keep it all together.

Instead of typing the ERT each time, it would be fancy to have a button (and/or
shortcut) that includes it ... how do you folks think?



I've never used it myself.   You could bind it to some shortcut easily 
enough.  Personally, I wouldn't be too excited about a permanent binding 
-- just more clutter in my case.


/Paul



Alternate installer not working

2009-06-10 Thread Phil

I tried to use the altinstaller to update my installation from 1.6.1 to 1.6.2.

When I click on it, it starts but then stops saying that I don't have 1.6.1 
installed, but I do have it installed.  I checked to make sure.   

Is there something I can check in the registry to look for a key or something? 

Thx.
Phil


  


Re: Problem with LyxLauncher

2009-06-10 Thread Joost Verburg

Robert Betz wrote:

However, I seem to have one problem. If I open my files using the standard 
double click technique the figures will not open. I get the error:
 
Error converting to loadable format.


I can't reproduce it. Did you change any path preferences? Could you 
post the contents of the "PATH prefix" box in Preferences > Paths?


Regards Joost



Re: Problem with LyxLauncher

2009-06-10 Thread Vincent van Ravesteijn

Joost Verburg schreef:

Robert Betz wrote:
However, I seem to have one problem. If I open my files using the 
standard double click technique the figures will not open. I get the 
error:
 
Error converting to loadable format.


I can't reproduce it. Did you change any path preferences? Could you 
post the contents of the "PATH prefix" box in Preferences > Paths?


Regards Joost


I can reproduce (also with 1.6.2).

When starting with "LyXLauncher -dbg files", I get the attached log. And 
the images are not shown. When running lyx.exe from the command prompt, 
the output is the same up to  and silent afterwards. Then the 
images are correctly shown on screen.


Vincent



D:\LyX\lyx-1.6.2\src\support\FileName.cpp(424): Temporary file in 
C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/CacheItem

D:\LyX\lyx-1.6.2\src\support\FileName.cpp(412): Temporary file 
`C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/CacheItem.gq6408' 
created.

D:\LyX\lyx-1.6.2\src\support\FileName.cpp(424): Temporary file in 
C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/gconvert0

D:\LyX\lyx-1.6.2\src\support\FileName.cpp(412): Temporary file 
`C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/gconvert0.Uh6408' 
created.



python -tt 
"C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/lyxconvert0.py" 
"img_diss_b.eps" "ppm"

Interpretted as:

python

-tt

"C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/lyxconvert0.py"

"img_diss_b.eps"

"ppm"



gs: Interpreter revision (864) does not match gs_init.ps revision (863).

gs: Interpreter revision (864) does not match gs_init.ps revision (863).

convert: Postscript delegate failed 
`C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/gconvert0.Uh6408.eps': 
No such file or directory @ ps.c/ReadPSImage/742.

convert: missing an image filename 
`ppm:C:/Users/Vincent/AppData/Local/Temp/lyx_tmpdir.Hp6408/CacheItem.gq6408.ppm'
 @ convert.c/ConvertImageCommand/2775.

C:/Program Files/LyX16/bin/../Resources/scripts/convertDefault.py ERROR

Execution of "convert" failed.

Re: \enlargethispage{\baselineskip}

2009-06-10 Thread Steve Litt
On Wednesday 10 June 2009 11:46:10 am Paul A. Rubin wrote:
> Ralf wrote:
> > how often do we need the \enlargethispage{\baselineskip} ?
> > Well, I use it quite a lot since I have a lot of large figures and
> > sometimes I just need an extra line to keep it all together.
> >
> > Instead of typing the ERT each time, it would be fancy to have a button
> > (and/or shortcut) that includes it ... how do you folks think?
>
> I've never used it myself.   You could bind it to some shortcut easily
> enough.  Personally, I wouldn't be too excited about a permanent binding
> -- just more clutter in my case.
>
> /Paul

Ralf,

I use \enlargethispage on my eBook book cover, but I really don't understand 
it. What you said about keeping something all together sounded interesting, 
because I know as figures start approaching 1/4 page in each length, ugly 
spacing issues happen. Could you please explain the details of 
\enlargethispage to all of us?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Alternate installer not working

2009-06-10 Thread Florian Rubach

Phil schrieb:

I tried to use the altinstaller to update my installation from 1.6.1 to 1.6.2.

When I click on it, it starts but then stops saying that I don't have 1.6.1 installed, but I do have it installed.  I checked to make sure.   

Is there something I can check in the registry to look for a key or something? 


Thx.
Phil
  
The altinstaller updater works only if your existing lyx has been 
installed with the altinstaller.

Can you confirm that?

Regards, Florian


Re: Numbering

2009-06-10 Thread Richard Heck

Wu Kai Chiu, ami wrote:

Hi all,

I am trying to use AMS Theorem (By Section) and its related modules,
I have a big problem in the display of the counter.

The theorems are numbered correctly,  say Chapter 1 Section 2 the 
first theorem is numbered  1.2.1

However, how can I set it to display  only  2.1 rather than 1.2.1?

Also, in using the modules numbered (By Chapter),  can I choose not to 
display the chapter number?


Yes. You can do this in various ways. One is to redefine the LabelString 
to display whatever you want. Another is to define a LabelString for the 
relevant counter itself. See the Customization manual for details.


Note that this will only change the LyX display, not the LaTeX output. 
If you want to change that, you need to redefine things like 
\thetheorem, or whatever the relevant counter is.


rh



Re: Alternate installer not working

2009-06-10 Thread Uwe Stöhr

Phil schrieb:


I tried to use the altinstaller to update my installation from 1.6.1 to 1.6.2.


The update installer can only update from subsequent versions. So to update from 1.6.1 to 1.6.2, you 
have to use the update installer for LyX 1.6.2. then in a second step you can use the update 
installer for LyX 1.6.3.


regards Uwe


Re: Problem with LyxLauncher

2009-06-10 Thread Joost Verburg

Vincent van Ravesteijn wrote:
When starting with "LyXLauncher -dbg files", I get the attached log. And 
the images are not shown. When running lyx.exe from the command prompt, 
the output is the same up to  and silent afterwards. Then the 
images are correctly shown on screen.


Thanks. It looks like there's a bug in the Windows installers of 
Ghostscript 8.63/8.64. I copied the new files for the installer from the 
Ghostcript directory, but apparently some of them are missing there.


I'll get the files from the Ghostscript source code instead and will 
update the installers.


Joost



doubts about BibTex

2009-06-10 Thread Adrian Diaz
Friends

I have a  problem that i can not understand. I have made my bibliographie
with
BibTex. The problem is that the reference do not appear when i want to view
my thesis
in pdf format, also do not appear  the bibliographie list at the end of my
thesis. On the other hand,
on the lyx editor i can watch the reference without any problem.

Colud you givme some adivices.

Greetings Adrián


Re: doubts about BibTex

2009-06-10 Thread Uwe Stöhr

Adrian Diaz schrieb:


I have a  problem that i can not understand. I have made my bibliographie
with
BibTex. The problem is that the reference do not appear when i want to view
my thesis
in pdf format, also do not appear  the bibliographie list at the end of my
thesis.


I guess you only forgot to use a BibTeX style file in the dialog where the BibTeX database is 
loaded. When you provide a small LyX example file I can have a look.


regards Uwe


Re: \enlargethispage{\baselineskip}

2009-06-10 Thread Ralf
Steve Litt  writes:
[snip]
> I use \enlargethispage on my eBook book cover, but I really don't understand 
> it. What you said about keeping something all together sounded interesting, 
> because I know as figures start approaching 1/4 page in each length, ugly 
> spacing issues happen. Could you please explain the details of 
> \enlargethispage to all of us?

well, I am far from being a pro, but \enlargethispage simply does that: enlarge
the current page - from a latex documentation:

\enlargethispage{size}:
"Enlarge the \textheight for the current page by the specified amount; e.g.
\enlargethispage{\baselineskip} will allow one additional line"

\enlargethispage*{size}:
"The starred form tries to squeeze the material together on the page as much as
possible. This is normally used together with an explicit \pagebreak"

if you have a lot of large figures in a chapter (which i do) it can be difficult
to have them in the place where you would like them and also have a good looking
text - enlargethispage gives you an additional amount of freedom in that case,
so that the paragraph does not continue on the next page with only a few words 


Cheers
-Ralf 




LyX crashes in Ubuntu 9.04

2009-06-10 Thread Michael Gasperl
Hi! I have the following Problem:
LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
This only happens if showing graphics is enabled. How can I solve this
problem?
Thank you very much!


Re: LyX crashes in Ubuntu 9.04

2009-06-10 Thread John McCabe-Dansted
2009/6/11 Michael Gasperl 

> Hi! I have the following Problem:
> LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
> This only happens if showing graphics is enabled. How can I solve this
> problem?
> Thank you very much!


I cannot reproduce the problem.

1) Are you using 32bit or 64bit Ubuntu?
2) Can you send a document that reproduces the problem?

It would also help if you could run LyX in a debugger.

Either install a later version of LyX from source (this may fix the problem
anyway) or install the Ubuntu ddebs. Compiling sounds tricky, but the
following commands should suffice in a terminal

sudo aptitude build-dep lyx
cd
wget -c ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.3.tar.bz2
tar -jxf lyx-1.6.3.tar.bz2
cd lyx-1.6.3
./configure && make
gdb src/lyx
run

Cause LyX to crash, and then type

bt

To get the backtrace, and then cut-and-paste it here.

Feel free to discuss any problems here, or directly to me.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Re: LyX crashes in Ubuntu 9.04

2009-06-10 Thread Thomas Løcke
On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperl wrote:
> Hi! I have the following Problem:
> LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
> This only happens if showing graphics is enabled. How can I solve this
> problem?
> Thank you very much!

This also happpened to me, on Slackware 12.1,

I fixed it by updating my QT4 library from version 4.4.3 to version
4.5.1, and then recompile LyX against that.

I've no idea why this helped, but at least LyX doesn't crash anymore.

It can't hurt trying,

:o)
/Thomas


Re: LyX crashes in Ubuntu 9.04

2009-06-10 Thread John McCabe-Dansted
2009/6/11 Thomas Løcke 

> On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperl
> wrote:
> > Hi! I have the following Problem:
> > LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
> > This only happens if showing graphics is enabled. How can I solve this
> > problem?
> > Thank you very much!
>
> This also happpened to me, on Slackware 12.1,
>
> I fixed it by updating my QT4 library from version 4.4.3 to version
> 4.5.1, and then recompile LyX against that.


  Heh, I upgraded my QT to QT4.5.1. Maybe thats  why I cannot reproduce.

  I upgraded this way. (NOTE: this is not supported. If  you use this, be
careful, and make backups)

  first I did

sudo aptitude update
sudo aptitude upgrade

  to make sure I was up-to-date

  Then I added

deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe

  to /etc/apt/sources.list (you may want to replace the http:// bit with
your local mirror)

  added the following to /etc/apt/preferences

Package: *
Pin: release a=jaunty
in-Priority: 700

Package: *
Pin: release a=karmic
Pin-Priority: 600

Package: libqt4*
Pin: release a=karmic
Pin-Priority: 800

Package: qt4*
Pin: release a=karmic
Pin-Priority: 800

  then I did

sudo aptitude update
sudo aptitude upgrade

   IMPORTANT: make sure there are no packages without qt4 in
   their name being upgraded. Otherwise you could hose your system.

   Then I removed the

deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe

   Line from /etc/apt/sources.list

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia