Re: Breaking long URL?

2008-12-02 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
 How to break URL at non-letters without hyphen?

Insert-URL should just work.

Jürgen


Re: Breaking long URL?

2008-12-02 Thread Pierfranco Minsenti
Hi Peter,

I have put in the preamble \usepackage{breakurl}  and everything is fine. I
use a normal .bib file and I do not biblatex. In my last document I have a
long bibliography with a lot of refences to electronic documents and web
pages, then there is plenty of URL in there and breaking of URLs works fine.
Hope this can be helpful.
Pierfranco



2008/12/2 Peter Baumgartner [EMAIL PROTECTED]

 Hi,

 How to break URL at non-letters without hyphen? I've turned on HyperRef
 Support on and also checked the box break link over lines but still the
 URLs do not break.

 Breaking of URLs works for me in the bibliography with biblatex but not
 with
 the normal bibtex bibliography. And in both cases it does not work within
 normal paragraphs.

 I've tried breaklinks=true in the option line of the PDF feature dialog
 but without success.

 What's wrong? ( OSX 10.4.11, LyX 1.6.0., TeXLive 2008)

 Peter





Re: Macros and Parent/Child Documents in 1.6

2008-12-02 Thread Stefan Schimanski


Am 01.12.2008 um 18:59 schrieb James Sutherland:

I have a parent document where I have defined macros.  In the child  
document, I have used the macro.


The compiled output (either from the child, or the parent), is  
fine.  However, the LyX preview for the equations using macros is  
not correct.  The macros are not expanded when the preview is  
generated.


I thought that this was supported in LyX 1.6 (macros defined in  
parent, used in child).  Am I mistaken?


No, the preview does not support that (yet). I remember that I looked  
into this problem. At that time there was a technical reason that this  
very hard to implement, although I do not remember anymore why.


Stefan


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread [EMAIL PROTECTED]
Am Mon, 01 Dec 2008 20:30:27 -0500
schrieb rgheck [EMAIL PROTECTED]:

 [EMAIL PROTECTED] wrote:
  The problem is only happening for LyX 1.6.0. LyX 1.5.6 works as
  expected on the same system.
 

 So with 1.5.6 on the same system, everything is OK?
 
 rh

Yes - with 1.5.6 on the same system everything is very fast. 

Another item what I have just realized, when typing fast on in
maximized window:

* With 1.5.6 the CPU usage of the lyx process is around 10-12% and the
  CPU ussage of the X process is around 10-14%

* With 1.6.0 the CPU usage of the lyx process is around 1-2% and the
  CPU ussage of the X process is very fast going up to 100%


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread [EMAIL PROTECTED]
Am Tue, 02 Dec 2008 08:20:03 +0100
schrieb Abdelrazak Younes [EMAIL PROTECTED]:

 [EMAIL PROTECTED] wrote:
  Xubuntu 8.10 with xserver-common version: 2:1.5.2-2ubuntu3
  Usually, I use XFCE4 version: 4.4.2.1, I tried it now also with
  openbox after Richard Hecks's tip. It was a little bit faster
  though, but still not usable.
  
  Graphics card is coming with the mainboard 865G chipset (integrated
  graphic).
  
  The problem is only happening for LyX 1.6.0. LyX 1.5.6 works as
  expected on the same system.
  
  FYI, I filed a bug report: 
  http://bugzilla.lyx.org/show_bug.cgi?id=5582
  A similar faulty situation seems to occur at
  http://bugzilla.lyx.org/show_bug.cgi?id=5524
  
  Anything else to check? Thanks for helping me narrow down this
  problem.
 
 Which version of Qt? Are you using a precompiled package or did you 
 compile by yourself? Maybe the package was compiled with stdlib-debug?
 
 FWIW, I am also using LyX-1.6 under kunbuntu-8.10 self-compiled with 
 distrib Qt package version 4.4.3.
 
 Abdel.

Thanks for the comments.

I compiled it myself using libqt4-dev (Version: 4.4.3-0ubuntu1).

The commands I issued:

1. ./autogen.sh
2. ./configure
3. make
4. sudo make install

I am not sure if this stdlib-debug option is set automatically. 

Is there a method to check (I have already deleted the compilation
directory)?




Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?

2008-12-02 Thread Maarten Smoorenburg
Good email to the Copernicus people! But I have some news as well:

-  reinstalled all lyx stuff I ever had and put your layout and template in
the proper directories, before my first start up; your save .layout in
.template folder trick did not work :)
- Now I can create PDF from the template! So, my installation must have been
corrupted!

- But I was really bothered by the babel-thing. So I switched it off
(ToolsPreferencesLanguage Settings ; unmark babel), while making sure that
the default language English is used. Now I could add the a .bib file and
build my PDF's.

Now there's is one more thing: the journal editors want the authors to use
British English. This implies that you use the English(UK) babel package for
the spell check. So, stating this language as the default language and
switching off the babel package again causes the  infinite loop!

Conclusion: definitely 100% sure that the maintainers of the copernicus
package should make it compatible with the babel package!

Does this work for you as well? Regards,

Maarten


On Tue, Dec 2, 2008 at 12:37 AM, Uwe Stöhr [EMAIL PROTECTED] wrote:

 Maarten Smoorenburg schrieb:

  I am sorry, but I have done it as you described in the wiki. From MiKTeX
 the
 class is found and I can build my edited version of the template.tex file.
 All is put in the zip I attached. All citations are typesetted correctly!


 Because you don't use babel. The infinite loop is caused by a bug in
 copernicus regarding the babel package. babel is one of the very basic
 packages and every other package must be able to handle it. I'll inform the
 authors of copernicus.

  I see from the log file that the copernicus.cls is found in the directory
 you indicated in the wiki. So there's is something wrong with the
 reconfiguring of LyX, as copernicus is not mentioned in the config.lst
 file
 of my LyX installation.


 Then it seems that you have another copernicus.layout file on your
 computer. To test this out, copy my layout file to the same folder where you
 have stored my copernicus.lyx example file. Then reconfigure LyX again and
 try to process the copernicus.lyx.
 Now it must work as LyX then use the right layout file.

 regards Uwe



Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 Is there a method to check (I have already deleted the compilation
 directory)?

lyx --version gives some relevant informations.

Jürgen


Re: change the LoF and LoT appearance

2008-12-02 Thread Jürgen Spitzmüller
newnoise wrote:
 I'm answering myself if in Lyx is possible to modify the list of
 figures/table as follow. Normally you have

 List of Figures

 1 Something
 2 Something

 instead I would to have

 List of Figures

 Figure 1 Something
 Figure 2 Something

I'm asking myself why you did not read the answers to your post?
http://marc.info/?l=lyx-usersm=122362762428304w=2

Jürgen


Citing LyX

2008-12-02 Thread Ernesto Jardim

Hi,

I want to include a citation to LyX on a paper but I don't know what's 
the correct bibliographic reference for LyX. In R (r-project.org) one 
runs citation() and gets:


To cite R in publications use:

R Development Core Team (2008). R: A language and environment for
statistical computing. R Foundation for Statistical Computing,
Vienna, Austria. ISBN 3-900051-07-0, URL http://www.R-project.org.

A BibTeX entry for LaTeX users is

@Manual{,
title = {R: A Language and Environment for Statistical Computing},
author = {{R Development Core Team}},
organization = {R Foundation for Statistical Computing},
address = {Vienna, Austria},
year = {2008},
note = {{ISBN} 3-900051-07-0},
url = {http://www.R-project.org},
}

We have invested a lot of time and effort in creating R, please cite it
when using it for data analysis. See also ‘citation(pkgname)’ for
citing R packages.

Is there something similar for LyX ? I mean the reference ;-)

Best

EJ



Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Abdelrazak Younes

[EMAIL PROTECTED] wrote:

I compiled it myself using libqt4-dev (Version: 4.4.3-0ubuntu1).

The commands I issued:

1. ./autogen.sh
2. ./configure
3. make
4. sudo make install

I am not sure if this stdlib-debug option is set automatically. 
  
I guess this is 1.6.1svn you are using. In this case I think 
stdlib-debug is enabled by default. In order to compile in release mode 
try this instead:

./configure --enable-build-type=rel


Is there a method to check (I have already deleted the compilation
directory)?
  

Don't know, I guess this is said at the end of the configure step.

Abdel.



Re: LyX 1.6 crash

2008-12-02 Thread Jürgen Spitzmüller
asm23 wrote:
 HI, how do I enable the console output in lyx 1.6.
 I searched the mail achieve.
 Someone suggested that I should Add  -dbg 3 .
 But where do I add these statement?

 It seems that Lyx.bat is not a correct place to add...
 Thank you.

You should start LyX from a Terminal window (or however this is called on 
Windows).

Jürgen


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Olivier Ripoll

Jürgen Spitzmüller wrote:

Erez Yerushalmi wrote:

Happens when:
Many times when I write in math equations.
And also happened a few times when I shift the tool bars to different
positions.

Do others have this problem?


These are known bugs (reported at bugzilla), and we hope to sort them out for 
1.6.1.


Jürgen



Hi,

The most common crash on Windows (#5472: the crash when copy operation 
is followed by opening a MS Office program) does not result in any data 
loss (the emergency save does its job). So Erez's crash is not a 
duplicate of it as far as I can say.


Best regards,

Olivier



Re: LyX can’t find sprachwerker.bst

2008-12-02 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
[Problem: in order to add a new bib/bst file to the widgets in the bibtex 
dialog, one needs to click Rescan in the TeXInfo dialog]
 Konrad Hofbauer wrote:
   But we need to make this more obvious for sure.
 
  Maybe put it in the menus, next to Reconfigure?

 Or in the BibTeX dialog.

I did this now (in trunk), Please have a look, I'd like to backport this to 
branch as well.

Jürgen


Re: Macros and Parent/Child Documents in 1.6

2008-12-02 Thread James Sutherland


On Dec 2, 2008, at 5:49 AM, Stefan Schimanski wrote:



Am 01.12.2008 um 18:59 schrieb James Sutherland:

I have a parent document where I have defined macros.  In the child  
document, I have used the macro.


The compiled output (either from the child, or the parent), is  
fine.  However, the LyX preview for the equations using macros is  
not correct.  The macros are not expanded when the preview is  
generated.


I thought that this was supported in LyX 1.6 (macros defined in  
parent, used in child).  Am I mistaken?


No, the preview does not support that (yet). I remember that I  
looked into this problem. At that time there was a technical reason  
that this very hard to implement, although I do not remember anymore  
why.


Stefan


I tried the test cases on the wiki page (http://wiki.lyx.org/Devel/Macros#toc10 
) and these macros expand appropriately.  The only difference between  
the test case on the wiki page and the problem I am seeing is the use  
of parameters in the macros.  The test macros from the wiki page do  
not involve parameters while the ones I am using do involve parameters.


Is this going to be fixed in 1.6.1?  This seems like an unfortunate  
limitation - previews not working for macros involving parameters...


James


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Jürgen Spitzmüller
Olivier Ripoll wrote:
 The most common crash on Windows (#5472: the crash when copy operation
 is followed by opening a MS Office program) does not result in any data
 loss (the emergency save does its job). So Erez's crash is not a
 duplicate of it as far as I can say.

No. But of this (toolbar shifting):
http://bugzilla.lyx.org/show_bug.cgi?id=5499

and maybe of this (editing math):
http://bugzilla.lyx.org/show_bug.cgi?id=5491

If someone on Windows is able to provide a proper backtrace for the former 
(crash after moving the toolbar), it'd be most helpful.

Jürgen


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Jean-Marc Lasgouttes
Abdelrazak Younes [EMAIL PROTECTED] writes:
 Which version of Qt? Are you using a precompiled package or did you
 compile by yourself? Maybe the package was compiled with stdlib-debug?

Note that all the load is in the X server. I would be surprised to see
that it is a consequence of using stdlib-debug.

Do the two versions use the same qt lib?

JMarc


Re: Breaking long URL?

2008-12-02 Thread Peter Baumgartner
 I have put in the preamble \usepackage{breakurl}  and everything is fine.
@Pierfranco: Thanks! - This works in both cases (bibtex and biblatex). Is
this a special package? How did you find this out?




Re: beaking long URLs

2008-12-02 Thread Jürgen Spitzmüller
Also sprach Peter Baumgartner:
 I know that just Insert-URL should work, but it didn't. Something wrong
 with the new version or my insallation?

In order to find out, we need a minimal example file that shows the 
misbehaviour for you. Both the LyX file and the LaTeX output.

(everything works as expected here).

Jürgen


Re: Lyx1.6 Document class: Unavailable

2008-12-02 Thread asm23

Bigler Stéphane wrote:

Dear all,
After installing mytek and lyx_1.6.0 on a windows XP, *all* the 
documents classes are unavailable.


I googled and none of the following helped me:

step_1) Make sure that the MiKTeX bin directory is on my system command 
path:

- yes it is, I can launch latex from anywhere through a console.

step_2) Check if for example the class report is available.
At a DOS prompt, run 'kpsewhich report.cls'

and kpsewhich returns:
C:\Program Files\MiKTeX 2.7\tex\latex\base\report.cls
- ok the class is available

Step_3) I checked in my home directory, which is:
C:\Documents and Settings\me\Application Data\lyx16\

 


and print an extract of the file “textclass.lst”:

 


# This file declares layouts and their associated definition files

# (include dir. relative to the place where this file is).

# It contains only default values, since chkconfig.ltx could not be run

# for some reason. Run ./configure.py if you need to update it after a

# configuration change.

aa aa article (AA) false

aapaper aa article (AA V4) false

aastex aastex article (AASTeX) false

agu-dtd AGU-article AGU article (SGML) false

agums aguplus article (AGU++ manuscript) false

amsart amsart article (AMS) false

amsbook amsbook book (AMS) false

apa apa article (APA) false

arab-article arabart article (Arabic) false

armenian-article article article (Armenian) false

article-beamer article article (beamer) false

article article article false

….

 


- all the classes are at “false”.
:cry:


Please, please

I am stuck and do not know what to do to get the classes available.
Thank you for helping.
Stephane

 


try to reinstall Lyx.
And which version did you installed? Standard installer or alternative 
installer?




Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-12-02 Thread asm23

Joost Verburg wrote:

Abdelrazak Younes wrote:
But when I install the Lyx (both the standard version or the 
alternative installer), the installer will *automatically* change 
this option to Yes. (it seems very strange)


I hope that the installer informs you before doing this change and 
that the old config is restored back.


The standard installer doesn't change this setting. MiKTeX's default is 
Ask me first and it provides an option to change this on the window 
that is displayed when the first package is installed.


Joost



Ok, I think the alternative installer changes this setting...



lyx doesn't create dvi

2008-12-02 Thread Ran Manor
Hi,
I just installed MikTex 2.7 and lyx 1.6 .
I started to write a new document, but when I do View - DVI , lyx doesn't
do anything.
Also, when I do File - Export - DVI , no dvi file appears.
what can I do?
is there any log file I can check for errors?
thanks.

- Ran


Re: Get the chapter/section/subsection numbering as frame-notes

2008-12-02 Thread Nikos Alexandris
On Thu, 2008-11-27 at 19:32 -0500, rgheck wrote:
 Nikos Alexandris wrote:
  On Thu, 2008-11-27 at 05:36 +0100, Nikos Alexandris wrote:

  Hi all!
 
  Is there any quick-hack to *move* chapter/section/subsection numbers off
  the main text-body, e.g. move it to the frame (well... left from the
  main text)?
 
  Something like...
 
  1  Title of Chapter 1
 
 This is chapter 1 - This is chapter 1 - This is chapter 1
 
  2  Title of Chapter 2
 
 This is chapter 2 - This is chapter 2 - This is chapter 2
 
  2.1This is Section 2.1
 
  2.2.1  This is SubSection 2.2.1
 
 
  Kind Regards, Nikos
  
 
  Sorry, there is an important detail I did not mention: I use the
  koma-book class.

 All of this is configurable via koma-specific commands. I don't use 
 those classes often, so I don't remember them. But it's all in the docs.
 
 rh

Hi!

Thanks for your reply. I did not try anything out yet. I'll post back
once I do so.

Regards, Nikos



Re: LyX 1.6 crash

2008-12-02 Thread asm23

Jürgen Spitzmüller wrote:

Max Bian wrote:

I am seeing lots of crashes with LyX 1.6 on Windows Vista. I think it
happens when it cannot delete the temp files during exit. This can
happen when I browse the files in the temp file directory or I do not
close Adobe PDF Reader.


This looks like a known problem. Could you post the console output?

Jürgen


HI, how do I enable the console output in lyx 1.6.
I searched the mail achieve.
Someone suggested that I should Add  -dbg 3 .
But where do I add these statement?

It seems that Lyx.bat is not a correct place to add...
Thank you.



Re: lyx doesn't create dvi

2008-12-02 Thread asm23

Ran Manor wrote:

Hi,
I just installed MikTex 2.7 and lyx 1.6 .
I started to write a new document, but when I do View - DVI , lyx doesn't
do anything.
Also, when I do File - Export - DVI , no dvi file appears.
what can I do?
is there any log file I can check for errors?
thanks.

- Ran


A DVI viewer is needed. and be associated with the DVI file type.



Re: Breaking long URL?

2008-12-02 Thread Pierfranco Minsenti
Hi Peter,

happy to have been of help. But sorry: I can't remember where I found the
breakurl package. I spent part of last summer learning the basics of LaTeX
and how to customize LyX texts so that they could suit my needs and really I
can't remember all the stuff I have checked when I encountered some problem
and found a solution. By the way, I think this is a common problem with
laTeX. There are so many packages and the environment grows in such an
anarchic way, a positive anarchic way which is the result of the cooperation
of several unconnected people, that it is difficult to know all what you
need and when you need it. That's why the email list is very very useful
because it saves you a lot of time.
Pierfranco


2008/12/2 Peter Baumgartner [EMAIL PROTECTED]

  I have put in the preamble \usepackage{breakurl}  and everything is fine.
 @Pierfranco: Thanks! - This works in both cases (bibtex and biblatex). Is
 this a special package? How did you find this out?





Re: Lyx1.6 Document class: Unavailable [RESOLVED]

2008-12-02 Thread Paul A. Rubin

Stéphane fixed this by reinstalling both LyX and MiKTeX.



Re: 1.6.0 on Os X 10.5.5 Woes

2008-12-02 Thread Bennett Helm
On Tue, Dec 2, 2008 at 2:51 AM, Abdelrazak Younes [EMAIL PROTECTED] wrote:
 Eberhard Lisse wrote:

 All in all it makes work at the practice so impossible that I have had to
 switch back to 1.5.7 for the time being, but I'll continue to play with
 1.6.0 at home.

 Hello Eberhard,

 There are a number of session management bugs in Mac, some of them will
 be fixed in 1.6.1. There is a work-around your problem though:

 In Preferences/LookFeel/User Interface:

 1) Click on 'Clear all Session...'
 2) Uncheck 'Allow saving/restoring...'
 3) optionally Uncheck 'Open documents in tabs

 Then copy the file /usr/share/lyx/ui/default.ui (or in
 /usr/local/share/) in your local directory '~/.lyx/ui/' and modify it
 following your taste.

On Mac, that would be LyX.app/Contents/Resources/ui/default, copied to
~/Library/Application Support/LyX-1.6/ui.

Bennett


Re: Citing LyX

2008-12-02 Thread Paul A. Rubin

Ernesto Jardim wrote:

Hi,

I want to include a citation to LyX on a paper but I don't know what's 
the correct bibliographic reference for LyX. In R (r-project.org) one 
runs citation() and gets:


To cite R in publications use:

R Development Core Team (2008). R: A language and environment for
statistical computing. R Foundation for Statistical Computing,
Vienna, Austria. ISBN 3-900051-07-0, URL http://www.R-project.org.

A BibTeX entry for LaTeX users is

@Manual{,
title = {R: A Language and Environment for Statistical Computing},
author = {{R Development Core Team}},
organization = {R Foundation for Statistical Computing},
address = {Vienna, Austria},
year = {2008},
note = {{ISBN} 3-900051-07-0},
url = {http://www.R-project.org},
}

We have invested a lot of time and effort in creating R, please cite it
when using it for data analysis. See also ‘citation(pkgname)’ for
citing R packages.

Is there something similar for LyX ? I mean the reference ;-)

Best

EJ




http://wiki.lyx.org/FAQ/CitingLyxWebSite

/Paul



Re: lyx doesn't create dvi

2008-12-02 Thread Paul A. Rubin

asm23 wrote:

Ran Manor wrote:

Hi,
I just installed MikTex 2.7 and lyx 1.6 .
I started to write a new document, but when I do View - DVI , lyx 
doesn't

do anything.
Also, when I do File - Export - DVI , no dvi file appears.
what can I do?
is there any log file I can check for errors?
thanks.

- Ran


A DVI viewer is needed. and be associated with the DVI file type.


MiKTeX has a DVI viewer (yap), and the LyX installer typically finds this.

A LaTeX error might explain this.  One thing to check is whether View - 
DVI changes the LyX status line (to, say, Waiting for LaTeX run 1). 
Another thing to check is whether View - DVI produces a LaTeX log 
(Document - LaTeX Log) and, if so, whether it contains any error messages.


/Paul



Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread [EMAIL PROTECTED]
Am Tue, 02 Dec 2008 16:25:09 +0100
schrieb Jean-Marc Lasgouttes [EMAIL PROTECTED]:

 Abdelrazak Younes [EMAIL PROTECTED] writes:
  Which version of Qt? Are you using a precompiled package or did you
  compile by yourself? Maybe the package was compiled with
  stdlib-debug?
 
 Note that all the load is in the X server. I would be surprised to see
 that it is a consequence of using stdlib-debug.
 
 Do the two versions use the same qt lib?
 
 JMarc

Here is the information provided by lyx --version:

LyX 1.6.0 (Fri, Nov 7, 2008)
Built on Nov 26 2008, 15:24:24
Configuration
  Host type:i686-pc-linux-gnu
  Special build flags:   use-ispell
  C   Compiler: gcc 
  C   Compiler LyX flags:
  C   Compiler flags:-O2
  C++ Compiler: g++ (4.3.2)
  C++ Compiler LyX flags:
  C++ Compiler flags:-O2
  Linker flags: 
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.4.3
  Packaging:posix
  LyX binary dir:   /usr/local/bin
  LyX files dir:/usr/local/share/lyx


LyX 1.5.6 (Sun, Jul 27, 2008)
Built on Oct 25 2008, 18:33:20
Configuration
  Host type:i486-pc-linux-gnu
  Special build flags:  aiksaurus pch warnings  use-aspell
use-ispell C   Compiler: gcc 
  C   Compiler LyX flags:
  C   Compiler flags: -g -O2
  C++ Compiler: g++ (4.3.2)
  C++ Compiler LyX flags:
  C++ Compiler flags: -g -O2
  Linker flags: 
  Linker user flags:-Wl,-Bsymbolic-functions -Wl,-z,defs
-Wl,--as-needed Qt 4 Frontend:
  Qt 4 version: 4.4.3
  Packaging:posix
  LyX binary dir:   /usr/bin
  LyX files dir:/usr/share/lyx




Re: beaking long URLs

2008-12-02 Thread Peter Baumgartner

 Also sprach Peter Baumgartner:
 I know that just Insert-URL should work, but it didn't. Something wrong
 with the new version or my insallation?
 
 In order to find out, we need a minimal example file that shows the
 misbehaviour for you. Both the LyX file and the LaTeX output.
 
 (everything works as expected here).

Breaking URLs works with the preamble command: \usepackage{breakurl}
I think I know the reason:
The breakurl is an extension to hyperref package that allows line-breakable
\url-like links when compiling via latex + dvips + ps2pdf
.. if the dvips driver is being used, the original \url doesn't allow line
breaks in the middle of the created link: the link comes in one atomic
piece.  This package allows such line breaks in the generated links.

Note that this package is intended only for those using the dvips driver.
Users of the pdflatex driver already have this feature.
(Quote from the ReadMe File of breakurl)

But it is still strange for me, as I thought I'm using pdflatex. But frankly
I never understood the converter dialog quite well.









Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Olivier Ripoll

Jürgen Spitzmüller wrote:

Olivier Ripoll wrote:

The most common crash on Windows (#5472: the crash when copy operation
is followed by opening a MS Office program) does not result in any data
loss (the emergency save does its job). So Erez's crash is not a
duplicate of it as far as I can say.


No. But of this (toolbar shifting):
http://bugzilla.lyx.org/show_bug.cgi?id=5499

and maybe of this (editing math):
http://bugzilla.lyx.org/show_bug.cgi?id=5491

If someone on Windows is able to provide a proper backtrace for the former 
(crash after moving the toolbar), it'd be most helpful.


I've found that page explaining how to generate a backtrace on windows 
without compiler.

http://blog.thepimp.net/archives/how-to-generate-backtraces-on-windows-without-compiler.html
One needs to install the Microsoft debug diagnostic tool:
http://www.microsoft.com/downloads/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3displaylang=en

But as far as I understand it, you need a special version of the binary 
(with debugging symbols ?). I tried for bug 5472 but there was no info 
in the backtrace (symbols were not found IIRC the message).


So mere users like us would need a special binary to test that :-)

Best regards,

Olivier



Jürgen





Re: beaking long URLs

2008-12-02 Thread Nikos Alexandris
On Tue, 2008-12-02 at 17:38 +0100, Peter Baumgartner wrote:
  Also sprach Peter Baumgartner:
  I know that just Insert-URL should work, but it didn't. Something wrong
  with the new version or my insallation?
  
  In order to find out, we need a minimal example file that shows the
  misbehaviour for you. Both the LyX file and the LaTeX output.
  
  (everything works as expected here).
 
 Breaking URLs works with the preamble command: \usepackage{breakurl}
 I think I know the reason:
 The breakurl is an extension to hyperref package that allows line-breakable
 \url-like links when compiling via latex + dvips + ps2pdf
 .. if the dvips driver is being used, the original \url doesn't allow line
 breaks in the middle of the created link: the link comes in one atomic
 piece.  This package allows such line breaks in the generated links.
 
 Note that this package is intended only for those using the dvips driver.
 Users of the pdflatex driver already have this feature.
 (Quote from the ReadMe File of breakurl)
 
 But it is still strange for me, as I thought I'm using pdflatex. But frankly
 I never understood the converter dialog quite well.

I see (in a document of mine) that some URL's are broken (as they should
be since I checked the respective field under: Document Settings  PDF
Properties  Hypperlinks  *check* Break links over lines) and some are
not !?

Shouldn't this work without any entry in the preamble?

Regards, Nikos



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Vincent van Ravesteijn



So mere users like us would need a special binary to test that :-)

So, step out of the mere-usership, get VCExpress (free), get Subversion 
(free), get the LyX sources (free) and compile your own ;-).



Best regards,

Olivier


Vincent

P.S. I'm afraid bug 5472 is not suited for generating a backtrace, as 
the crash doesn't occur within LyX.. It does probably within qt or a 
windows library.


Re: Changing the color of notes in pdf output

2008-12-02 Thread Nikos Alexandris
On Fri, 2008-11-28 at 15:40 +0100, Matts Lindström wrote:
 Hello,
 
 Is it somehow possible to change the color of notes (Greyed out notes) in
 the pdf that lyx outputs? (I'm using LyX 1.6rc2 and texlive running on
 Ubuntu Linux)
 
 Regards,
 Matts Lindström

Hi!

Besides using:

\renewenvironment{lyxgreyedout}
 {\textcolor{blue}\bgroup}{\egroup}

as suggested by Ignacio G., I would like to use also:

\usepackage{color}
\definecolor{lightgray}{gray}{0.3}
\definecolor{lightblue}{blue}{0.7}


But it fails. I get for example LaTeX Error(s): Undefined color model
`blue'.

---

I have seen several color-related bugs/wishes[1] and I feel covered,
that is I am not going to file another ticket. I wish, as many others,
to have at some point an easy way to play around with custom colors (not
only the standard colors) for the text, for the notes, for the
links/urls, for footnotes, etc.

Kind regards, Nikos
---
[1] Bugzilla Bug(s) 3865, 3683, 3714, 5208, 



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Olivier Ripoll

Vincent van Ravesteijn wrote:



So mere users like us would need a special binary to test that :-)

So, step out of the mere-usership, get VCExpress (free), get Subversion 
(free), get the LyX sources (free) and compile your own ;-).


My personal computer @ home is linux-only. I have compiled LyX, Gimp and 
other important software (Wesnoth ;-) ) tens of times but:


1- I'm a windows user on my company's laptop, not _my_ laptop. I have to 
limit somehow what I install on it.


2- Compiling on Windows has the reputation to be way work pain than on 
Linux (./configure and make are so easy to use...)



Best regards,

Olivier


Vincent

P.S. I'm afraid bug 5472 is not suited for generating a backtrace, as 
the crash doesn't occur within LyX.. It does probably within qt or a 
windows library.


in QtCore4.dll, and here is the relevant part:

Thread 0 - System ID 2808
Entry point   lyx+354fa7
Create time   02.12.2008 18:52:34
Time spent in user mode   0 Days 0:0:0.609
Time spent in kernel mode   0 Days 0:0:0.593

Function Arg 1 Arg 2 Arg 3   Source
QtCore4!QFactoryLoader::keys+2d   

QTCORE4!QFACTORYLOADER::KEYS+2DWARNING - DebugDiag was not able to 
locate debug symbols for QtCore4.dll, so the information below may be 
incomplete.


In 
lyx__PID__3904__Date__12_02_2008__Time_06_54_02PM__821__Second_Chance_Exception_C005.dmp 
the assembly instruction at QtCore4!QFactoryLoader::keys+2d in 
C:\Documents and Settings\#\Local Settings\Application 
Data\LyX16\bin\QtCore4.dll has caused an access violation exception 
(0xC005) when trying to read from memory location 0x0004 on thread 0


Module Information
Image Name: C:\Documents and Settings\#\Local Settings\Application 
Data\LyX16\bin\QtCore4.dll   Symbol Type:  Export

Base address: 0x6700   Time Stamp:  Sun Sep 28 01:09:07 2008
Checksum: 0x001e814b   Comments:
COM DLL: False   Company Name:
ISAPIExtension: False   File Description:
ISAPIFilter: False   File Version:
Managed DLL: False   Internal Name:
VB DLL: False   Legal Copyright:
Loaded Image Name:  QtCore4.dll   Legal Trademarks:
Mapped Image Name: Original filename:
Module name:  QtCore4   Private Build:
Single Threaded:  False   Product Name:
Module Size:  1.89 MBytes   Product Version:
Symbol File Name:  QtCore4.dll   Special Build:  

Best regards,

Olivier



Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Joachim Kreimer-de Fries


Am 02.12.2008 um 14:45 schrieb Jürgen Spitzmüller:

lyx --version gives some relevant informations.


Sorry, - because it might be once important, not because of fast  
typing - ...slowly -

I only get the response:

localhost:/applications joachim$ lyx -version
-bash: lyx: command not found

Or are you speaking of another kind of console and which one?

Goutgaun! joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6
MacBook Pro OSX 10.4.11 Tiger






Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2008 at 04:25:09PM +0100, Jean-Marc Lasgouttes wrote:
 Abdelrazak Younes [EMAIL PROTECTED] writes:
  Which version of Qt? Are you using a precompiled package or did you
  compile by yourself? Maybe the package was compiled with stdlib-debug?
 
 Note that all the load is in the X server. I would be surprised to see
 that it is a consequence of using stdlib-debug.

Also, since the problem scales with the window size it sounds drawing
related...

Andre'


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2008 at 07:10:55PM +0100, Joachim Kreimer-de Fries wrote:

 Am 02.12.2008 um 14:45 schrieb Jürgen Spitzmüller:
 lyx --version gives some relevant informations.

 Sorry, - because it might be once important, not because of fast typing 
 - ...slowly -
 I only get the response:

 localhost:/applications joachim$ lyx -version
 -bash: lyx: command not found

 Or are you speaking of another kind of console and which one?

That's the correct console. Now you just need to find the LyX binary.

If you are already in the right directory, use ./lyx  to start it.

Andre'



some more environments

2008-12-02 Thread Niko Schwarz
Hello!
I'd like to define a few more math environments and I have no idea how. I
don't want too many. I use all kinds of extensions to AMS, and it has really
useful environments, but I want one more, and I want to be able to select it
in lyx.

Basically, it should be the same like the lemma environment. Only the name
should be different. I want a data reduction environment. How can I create
one?

cheers,

niko


more questions

2008-12-02 Thread Niko Schwarz
i also want to write some numbers in a typewriter font, because they all
have the same length. actually, what i have is input to a computational
problem and i'm still figuring how to typeset it all right.
I have an input pair (S,r). And i want to describe two strings s_1, s_2 \in
S:
s_1 = 1010110011
s_2 = 1011100010

how can i typeset this well?

niko


Re: displaying long division of polynomials in lyx

2008-12-02 Thread Jamesdaff

OK, I think I got it to work.  I did a bunch of things (mostly uninformed),
and some combination of them seems to have worked, but I'm guessing these
were the three key steps:
1. I installed the polynom package and put it in my LaTeX directory:
C:\Program Files\MiKTeX 2.7\tex\latex.  I probably could have put it
somewhere else in my path; I'm not sure.
2. In LyX, I did Tools -- Reconfigure
3. In my document, I did Document -- Settings -- LaTeX preamble, and added
the following, which I more or less copied from some LyX help files:
% 
% used to check for needed LaTeX packages
\usepackage{ifthen}

% check for package polynom
\newboolean{polynom}
\IfFileExists{polynom.sty}
 {\usepackage{polynom}
  \setboolean{polynom}{true}}
 {\setboolean{polynom}{false}}

Then, in my document, I can click Insert -- TeX Code (or Control-L, or
click on the TeX button), and enter the TeX code for polynomial division,
e.g. \polylongdiv{x^3-7x+6}{x-1}.  Then when I compile the document (e.g.
click the PDF button), the division is beautifully formatted.




Jamesdaff wrote:
 
 I'm writing an Algebra textbook and I need to show division of polynomials
 (both long division and synthetic division / Horner's method).  I am new
 to LyX, and have just kind of been stumbling my way through what I need to
 know to get by.  I see there is a cool package on CTAN (polynom) which
 would be cool to use, but I have absolutely no idea how I would use that
 in LyX.  Is it even possible?
 
 The description of the polynom package is here:
 
 http://sunsite.utk.edu/ftp/pub/software/CTAN/macros/latex/contrib/polynom/polynom.pdf
 http://sunsite.utk.edu/ftp/pub/software/CTAN/macros/latex/contrib/polynom/polynom.pdf
  
 
 Alternatively, if someone can suggest a simpler way to display long
 division of polynomials without installing something extra, that might
 work, too, but I kind of want to understand things well enough to know how
 to install this package, if that is possible.
 
 Help?
 
 Jeff
 

-- 
View this message in context: 
http://n2.nabble.com/displaying-long-division-of-polynomials-in-lyx-tp1579774p1605535.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: some more environments

2008-12-02 Thread rgheck

Niko Schwarz wrote:

Hello!
I'd like to define a few more math environments and I have no idea how. I
don't want too many. I use all kinds of extensions to AMS, and it has really
useful environments, but I want one more, and I want to be able to select it
in lyx.

Basically, it should be the same like the lemma environment. Only the name
should be different. I want a data reduction environment. How can I create
one?

  
Look at the file amsdefs.inc. There the main AMS layouts are all 
defined, and you ought to be able to copy one for lemma and make the 
relevant changes. If you know you are always going to want it, then you 
can copy amsdefs.inc to your local LyX directory (~/.lyx/layouts/, by 
default on Linux, something else elsewhere) and modify that file. If you 
only want it sometimes, then the best thing to do (in 1.6, only) is 
create a module for these extensions. Here, you could start with 
theorems-ams-extended.module, copy it to your local directory, rename 
it, erase what's there and then add your own stuff.


See Chapter 5 of the Customization manual for documentation of all this.

rh



Re: more questions

2008-12-02 Thread rgheck

Niko Schwarz wrote:

i also want to write some numbers in a typewriter font, because they all
have the same length. actually, what i have is input to a computational
problem and i'm still figuring how to typeset it all right.
I have an input pair (S,r). And i want to describe two strings s_1, s_2 \in
S:
s_1 = 1010110011
s_2 = 1011100010

how can i typeset this well?

  
If it's a displayed equation, use the align environment. If you want it 
inline, it's a little harder, but since the left-hand side is similar, I 
think you can just use gather. See the attached.


rh



ams.lyx
Description: application/lyx


Re: more questions

2008-12-02 Thread rgheck

Niko Schwarz wrote:

i also want to write some numbers in a typewriter font, because they all
have the same length. 

  
In many (most?) fonts, all numerals have the same width, so you don't 
have to use typewriter to do this.


rh



Re: displaying long division of polynomials in lyx

2008-12-02 Thread curtis osterhoudt
Very nice, Jeff. Thanks for this. New to me!

 /
Down with categorical imperative!
[EMAIL PROTECTED]
/





From: Jamesdaff [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Sent: Tuesday, December 2, 2008 12:32:08 PM
Subject: Re: displaying long division of polynomials in lyx


OK, I think I got it to work.  I did a bunch of things (mostly uninformed),
and some combination of them seems to have worked, but I'm guessing these
were the three key steps:
1. I installed the polynom package and put it in my LaTeX directory:
C:\Program Files\MiKTeX 2.7\tex\latex.  I probably could have put it
somewhere else in my path; I'm not sure.
2. In LyX, I did Tools -- Reconfigure
3. In my document, I did Document -- Settings -- LaTeX preamble, and added
the following, which I more or less copied from some LyX help files:
% 
% used to check for needed LaTeX packages
\usepackage{ifthen}

% check for package polynom
\newboolean{polynom}
\IfFileExists{polynom.sty}
{\usepackage{polynom}
  \setboolean{polynom}{true}}
{\setboolean{polynom}{false}}

Then, in my document, I can click Insert -- TeX Code (or Control-L, or
click on the TeX button), and enter the TeX code for polynomial division,
e.g. \polylongdiv{x^3-7x+6}{x-1}.  Then when I compile the document (e.g.
click the PDF button), the division is beautifully formatted.




Jamesdaff wrote:
 
 I'm writing an Algebra textbook and I need to show division of polynomials
 (both long division and synthetic division / Horner's method).  I am new
 to LyX, and have just kind of been stumbling my way through what I need to
 know to get by.  I see there is a cool package on CTAN (polynom) which
 would be cool to use, but I have absolutely no idea how I would use that
 in LyX.  Is it even possible?
 
 The description of the polynom package is here:
 
 http://sunsite.utk.edu/ftp/pub/software/CTAN/macros/latex/contrib/polynom/polynom.pdf
 http://sunsite.utk.edu/ftp/pub/software/CTAN/macros/latex/contrib/polynom/polynom.pdf
  
 
 Alternatively, if someone can suggest a simpler way to display long
 division of polynomials without installing something extra, that might
 work, too, but I kind of want to understand things well enough to know how
 to install this package, if that is possible.
 
 Help?
 
 Jeff
 

-- 
View this message in context: 
http://n2.nabble.com/displaying-long-division-of-polynomials-in-lyx-tp1579774p1605535.html
Sent from the LyX - Users mailing list archive at Nabble.com.


  

Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Joachim Kreimer-de Fries


Am 02.12.2008 um 19:36 schrieb Andre Poenitz:


That's the correct console. Now you just need to find the LyX binary.

If you are already in the right directory, use ./lyx  to start it.


Sorry, Andre and others who know it,

I tried out (with ... --version) all directories that in my opinien  
and searching could have that what you call the LyX binary, but  
always the same response:


-bash: ./lyx: No such file or directory
or:  lyx: No such file or directory

I even tried the same with Lyx ... and ./LyX ...

- with the same result.

Can you tell me where on your platform or normally the LyX binary  
resides? What's the exact file name of it (so that I can search for it)?


Goutgaun! joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6
MacBook Pro OSX 10.4.11 Tiger






footnote problem

2008-12-02 Thread Daniel Herzig
Hi,
I'm just finishing my thesis and have got some problems with a couple of 
footnotes. some of them are moved somewhat towards the middle and there is a 
pretty large paragraph above it.

actually i can't really trace the problem, i already tried a couple of 
templates (book, book-memoire, book-komascript)
it's happening, when directly citing quotations (but just sometimes).

I'd like to stay with the latter, because it fits my school's demands the 
best.

I'm using lyx 1.5.3 linux, having installed most of the texlive packages.

any help would be highly appreciated (it's just 3 footnotes or so, but anyway 
makes the layout somewhat crappy)!

daniel


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread [EMAIL PROTECTED]
Am Tue, 2 Dec 2008 23:08:00 +0100
schrieb Joachim Kreimer-de Fries [EMAIL PROTECTED]:

 
 Am 02.12.2008 um 19:36 schrieb Andre Poenitz:
 
  That's the correct console. Now you just need to find the LyX
  binary.
 
  If you are already in the right directory, use ./lyx  to start it.
 
 Sorry, Andre and others who know it,
 
 I tried out (with ... --version) all directories that in my opinien  
 and searching could have that what you call the LyX binary, but  
 always the same response:
 
 -bash: ./lyx: No such file or directory
 or:  lyx: No such file or directory
 
 I even tried the same with Lyx ... and ./LyX ...
 
 - with the same result.
 
 Can you tell me where on your platform or normally the LyX binary  
 resides? What's the exact file name of it (so that I can search for
 it)?
 
 Goutgaun! joachim
 --
 MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6
 MacBook Pro OSX 10.4.11 Tiger
 
 
 
 

Well, I am on Linux so I am not sure if Mac uses the same shell
commands:

The standard Ubuntu package is in /usr/bin/lyx - I compiled
mine to /usr/local/bin/lyx. In Linux you can check with the command
which lyx in a terminal window.


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Jens Noeckel



On Dec 2, 2008, at 2:28 PM, [EMAIL PROTECTED] wrote:


Am Tue, 2 Dec 2008 23:08:00 +0100
schrieb Joachim Kreimer-de Fries [EMAIL PROTECTED]:



Am 02.12.2008 um 19:36 schrieb Andre Poenitz:


That's the correct console. Now you just need to find the LyX
binary.

If you are already in the right directory, use ./lyx  to start it.


Sorry, Andre and others who know it,

I tried out (with ... --version) all directories that in my opinien
and searching could have that what you call the LyX binary, but
always the same response:

-bash: ./lyx: No such file or directory
or:  lyx: No such file or directory

I even tried the same with Lyx ... and ./LyX ...

- with the same result.

Can you tell me where on your platform or normally the LyX binary
resides? What's the exact file name of it (so that I can search for
it)?

Goutgaun! joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6
MacBook Pro OSX 10.4.11 Tiger






Well, I am on Linux so I am not sure if Mac uses the same shell
commands:

The standard Ubuntu package is in /usr/bin/lyx - I compiled
mine to /usr/local/bin/lyx. In Linux you can check with the command
which lyx in a terminal window.



On Mac OS X, you have to type the following in Terminal instead of  
lyx --version:


/Applications/LyX.app/Contents/MacOS/lyx --version

Jens



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Micha Feigin
On Tue, 02 Dec 2008 15:58:22 +0100
Olivier Ripoll [EMAIL PROTECTED] wrote:

 Jürgen Spitzmüller wrote:
  Erez Yerushalmi wrote:
  Happens when:
  Many times when I write in math equations.
  And also happened a few times when I shift the tool bars to different
  positions.
 
  Do others have this problem?
  
  These are known bugs (reported at bugzilla), and we hope to sort them out
  for 1.6.1.
  
  Jürgen
  
 
 Hi,
 
 The most common crash on Windows (#5472: the crash when copy operation 
 is followed by opening a MS Office program) does not result in any data 
 loss (the emergency save does its job). So Erez's crash is not a 
 duplicate of it as far as I can say.
 
 Best regards,
 
 Olivier
 

I see this a LOT when I press ctrl-z (undo), more then 50% of the time it
crashes. Didn't loose information due to it so far though.

This is under linux BTW (1.6.0 debian package, 64bit system)

The beta and rc versions were a lot more stable on this system


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Joachim Kreimer-de Fries

Am 02.12.2008 um 23:41 schrieb Jens Noeckel:
On Mac OS X, you have to type the following in Terminal instead of  
lyx --version:


/Applications/LyX.app/Contents/MacOS/lyx --version


Thanx, Jens,

that was it (see, if curious, output in Post Scriptum).

Thank you, [EMAIL PROTECTED], too. The which command seems to be  
understood by the Mac-OSX terminal as well, but searches only in  
certain directories, so it gave as response:


no lyx in /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/texbin

Sorry for breaking the thread with this excursion. Go ahead with  
Fast typing - LyX follows slowly only, but that is - for the moment  
- not a problem in my LyX.


Goutgaun! joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6
MacBook Pro OSX 10.4.11 Tiger


PS: Here the output Jens' adviced /Applications/LyX.app/Contents/ 
MacOS/lyx --version:


joachim$ /Applications/LyX.app/Contents/MacOS/lyx --version
LyX 1.6.0 (Fri, Nov 7, 2008)
Built on Nov  8 2008, 00:57:11
Configuration
  Host type:i686-apple-darwin8
  Special build flags:   use-ispell
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags:   -isysroot /Developer/SDKs/ 
MacOSX10.4u.sdk -arch i386  -Os

  C++ Compiler: g++ (4.0.1)
  C++ Compiler LyX flags:
  C++ Compiler flags:   -isysroot /Developer/SDKs/ 
MacOSX10.4u.sdk -arch i386  -Os

  Linker flags:
  Linker user flags:-isysroot /Developer/SDKs/ 
MacOSX10.4u.sdk -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -Wl,- 
dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/ 
Libraries/libGL.dylib:/Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -arch i386

  Qt 4 Frontend:
  Qt 4 version: 4.4.3
  Packaging:macosx
  LyX binary dir:   /Users/khofbaue/lyxdevel_16/ 
LyX-1.6.0.app/Contents/MacOS
  LyX files dir:/Users/khofbaue/lyxdevel_16/ 
LyX-1.6.0.app/Contents/Resources




Ð in math mode

2008-12-02 Thread James Sutherland
This is probably a very simple question: does anyone know how to get a  
Ð to show up in math mode?  I can copy and past it, but I don't know  
how to get it from a key stroke...  I saw some things on the web that  
suggested \DJ should produce this, but it doesn't seem to work...


Re: Ð in math mode

2008-12-02 Thread James Sutherland

On Dec 2, 2008, at 4:46 PM, James Sutherland wrote:

This is probably a very simple question: does anyone know how to get  
a Ð to show up in math mode?  I can copy and past it, but I don't  
know how to get it from a key stroke...  I saw some things on the  
web that suggested \DJ should produce this, but it doesn't seem to  
work...


Okay, a \DH or \DJ in an ERT does the job in text mode, but not in  
math mode.  In math mode I can use \textrm{\DH} - is this the best  
option???


Also, is there a way to get the  Ð directly in text mode without doing  
\DH in an ERT?

editing problems with 1.6 and mac 10.4 intel

2008-12-02 Thread Brian Kidd

hello,

i am a long-time LyX user and big fan of the software. i recently  
upgraded to 1.6 and noticed a few strange editing problems.  cmd- 
return does not break the paragraph (nothing happens and LyX displays  
unknown function in the lower left) and holding down shift to  
highlight characters or words does not work. in fact, if i have  
something highlighted, holding shift and moving the cursor to add or  
remove a character from the highlight causes the entire highlighted  
section to become unhighlighted. one other odd thing is i get a small  
 character on the right side of the cursor. this character appears  
when i'm moving the cursor with the right or left arrow keys or  
sometimes when i'm typing. it seems like a graphical glitch and is  
somewhat annoying. is this expected?


i'm running LyX on a mac 10.4 intel. previous versions of LyX worked  
great and didn't have these odd editing problems. the .bind document  
hasn't changed with the upgrade. are these issues expected there  
something else i can look at or is this a bug?


thanks,
-brian


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Tue, Dec 02, 2008 at 04:25:09PM +0100, Jean-Marc Lasgouttes wrote:
  

Abdelrazak Younes [EMAIL PROTECTED] writes:


Which version of Qt? Are you using a precompiled package or did you
compile by yourself? Maybe the package was compiled with stdlib-debug?
  

Note that all the load is in the X server. I would be surprised to see
that it is a consequence of using stdlib-debug.



Also, since the problem scales with the window size it sounds drawing
related...
  


Am I allowed to proceed by elimination? :-) just in case that's not 
obvious...


FWIW, I have a moderately powered laptop and when I type very fast in 
full screen mode on an external screen (1900x1200), there is a small 
latency. And the X server is taking 90% of the CPU while LyX is taking 
about 3%.  But then I am using the proprietary Nvidia driver so I am not 
too surprised. Things were not that complicated on Windows, oh my


Abdel.



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Abdelrazak Younes

Olivier Ripoll wrote:
1- I'm a windows user on my company's laptop, not _my_ laptop. I have to 
limit somehow what I install on it.


Would you believe that I am using Windows at home and Linux at work?
 :-)



2- Compiling on Windows has the reputation to be way work pain than on 
Linux (./configure and make are so easy to use...)


cmake, double-click lyx.sln, F7... not that complicated either, but much 
faster compilation ;-)


Abdel.



lyx wont covert my document to dvi

2008-12-02 Thread rmanor

Hi,

I'm a lyx newbie.
I started writing my document and I wanted to export it to dvi.
but when I hit the view dvi  , or export-dvi , nothing happens.
I can export it to a tex file and then with latex convert it to dvi.
also, if I open Lyx tutorial and hit view dvi , everything works fine.
does it mean there is something wrong with my document?

thanks for the help.


-- 
View this message in context: 
http://n2.nabble.com/lyx-wont-covert-my-document-to-dvi-tp1607900p1607900.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Breaking long URL?

2008-12-02 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
 How to break URL at non-letters without hyphen?

Insert-URL should just work.

Jürgen


Re: Breaking long URL?

2008-12-02 Thread Pierfranco Minsenti
Hi Peter,

I have put in the preamble \usepackage{breakurl}  and everything is fine. I
use a normal .bib file and I do not biblatex. In my last document I have a
long bibliography with a lot of refences to electronic documents and web
pages, then there is plenty of URL in there and breaking of URLs works fine.
Hope this can be helpful.
Pierfranco



2008/12/2 Peter Baumgartner [EMAIL PROTECTED]

 Hi,

 How to break URL at non-letters without hyphen? I've turned on HyperRef
 Support on and also checked the box break link over lines but still the
 URLs do not break.

 Breaking of URLs works for me in the bibliography with biblatex but not
 with
 the normal bibtex bibliography. And in both cases it does not work within
 normal paragraphs.

 I've tried breaklinks=true in the option line of the PDF feature dialog
 but without success.

 What's wrong? ( OSX 10.4.11, LyX 1.6.0., TeXLive 2008)

 Peter





Re: Macros and Parent/Child Documents in 1.6

2008-12-02 Thread Stefan Schimanski


Am 01.12.2008 um 18:59 schrieb James Sutherland:

I have a parent document where I have defined macros.  In the child  
document, I have used the macro.


The compiled output (either from the child, or the parent), is  
fine.  However, the LyX preview for the equations using macros is  
not correct.  The macros are not expanded when the preview is  
generated.


I thought that this was supported in LyX 1.6 (macros defined in  
parent, used in child).  Am I mistaken?


No, the preview does not support that (yet). I remember that I looked  
into this problem. At that time there was a technical reason that this  
very hard to implement, although I do not remember anymore why.


Stefan


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread [EMAIL PROTECTED]
Am Mon, 01 Dec 2008 20:30:27 -0500
schrieb rgheck [EMAIL PROTECTED]:

 [EMAIL PROTECTED] wrote:
  The problem is only happening for LyX 1.6.0. LyX 1.5.6 works as
  expected on the same system.
 

 So with 1.5.6 on the same system, everything is OK?
 
 rh

Yes - with 1.5.6 on the same system everything is very fast. 

Another item what I have just realized, when typing fast on in
maximized window:

* With 1.5.6 the CPU usage of the lyx process is around 10-12% and the
  CPU ussage of the X process is around 10-14%

* With 1.6.0 the CPU usage of the lyx process is around 1-2% and the
  CPU ussage of the X process is very fast going up to 100%


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread [EMAIL PROTECTED]
Am Tue, 02 Dec 2008 08:20:03 +0100
schrieb Abdelrazak Younes [EMAIL PROTECTED]:

 [EMAIL PROTECTED] wrote:
  Xubuntu 8.10 with xserver-common version: 2:1.5.2-2ubuntu3
  Usually, I use XFCE4 version: 4.4.2.1, I tried it now also with
  openbox after Richard Hecks's tip. It was a little bit faster
  though, but still not usable.
  
  Graphics card is coming with the mainboard 865G chipset (integrated
  graphic).
  
  The problem is only happening for LyX 1.6.0. LyX 1.5.6 works as
  expected on the same system.
  
  FYI, I filed a bug report: 
  http://bugzilla.lyx.org/show_bug.cgi?id=5582
  A similar faulty situation seems to occur at
  http://bugzilla.lyx.org/show_bug.cgi?id=5524
  
  Anything else to check? Thanks for helping me narrow down this
  problem.
 
 Which version of Qt? Are you using a precompiled package or did you 
 compile by yourself? Maybe the package was compiled with stdlib-debug?
 
 FWIW, I am also using LyX-1.6 under kunbuntu-8.10 self-compiled with 
 distrib Qt package version 4.4.3.
 
 Abdel.

Thanks for the comments.

I compiled it myself using libqt4-dev (Version: 4.4.3-0ubuntu1).

The commands I issued:

1. ./autogen.sh
2. ./configure
3. make
4. sudo make install

I am not sure if this stdlib-debug option is set automatically. 

Is there a method to check (I have already deleted the compilation
directory)?




Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?

2008-12-02 Thread Maarten Smoorenburg
Good email to the Copernicus people! But I have some news as well:

-  reinstalled all lyx stuff I ever had and put your layout and template in
the proper directories, before my first start up; your save .layout in
.template folder trick did not work :)
- Now I can create PDF from the template! So, my installation must have been
corrupted!

- But I was really bothered by the babel-thing. So I switched it off
(ToolsPreferencesLanguage Settings ; unmark babel), while making sure that
the default language English is used. Now I could add the a .bib file and
build my PDF's.

Now there's is one more thing: the journal editors want the authors to use
British English. This implies that you use the English(UK) babel package for
the spell check. So, stating this language as the default language and
switching off the babel package again causes the  infinite loop!

Conclusion: definitely 100% sure that the maintainers of the copernicus
package should make it compatible with the babel package!

Does this work for you as well? Regards,

Maarten


On Tue, Dec 2, 2008 at 12:37 AM, Uwe Stöhr [EMAIL PROTECTED] wrote:

 Maarten Smoorenburg schrieb:

  I am sorry, but I have done it as you described in the wiki. From MiKTeX
 the
 class is found and I can build my edited version of the template.tex file.
 All is put in the zip I attached. All citations are typesetted correctly!


 Because you don't use babel. The infinite loop is caused by a bug in
 copernicus regarding the babel package. babel is one of the very basic
 packages and every other package must be able to handle it. I'll inform the
 authors of copernicus.

  I see from the log file that the copernicus.cls is found in the directory
 you indicated in the wiki. So there's is something wrong with the
 reconfiguring of LyX, as copernicus is not mentioned in the config.lst
 file
 of my LyX installation.


 Then it seems that you have another copernicus.layout file on your
 computer. To test this out, copy my layout file to the same folder where you
 have stored my copernicus.lyx example file. Then reconfigure LyX again and
 try to process the copernicus.lyx.
 Now it must work as LyX then use the right layout file.

 regards Uwe



Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 Is there a method to check (I have already deleted the compilation
 directory)?

lyx --version gives some relevant informations.

Jürgen


Re: change the LoF and LoT appearance

2008-12-02 Thread Jürgen Spitzmüller
newnoise wrote:
 I'm answering myself if in Lyx is possible to modify the list of
 figures/table as follow. Normally you have

 List of Figures

 1 Something
 2 Something

 instead I would to have

 List of Figures

 Figure 1 Something
 Figure 2 Something

I'm asking myself why you did not read the answers to your post?
http://marc.info/?l=lyx-usersm=122362762428304w=2

Jürgen


Citing LyX

2008-12-02 Thread Ernesto Jardim

Hi,

I want to include a citation to LyX on a paper but I don't know what's 
the correct bibliographic reference for LyX. In R (r-project.org) one 
runs citation() and gets:


To cite R in publications use:

R Development Core Team (2008). R: A language and environment for
statistical computing. R Foundation for Statistical Computing,
Vienna, Austria. ISBN 3-900051-07-0, URL http://www.R-project.org.

A BibTeX entry for LaTeX users is

@Manual{,
title = {R: A Language and Environment for Statistical Computing},
author = {{R Development Core Team}},
organization = {R Foundation for Statistical Computing},
address = {Vienna, Austria},
year = {2008},
note = {{ISBN} 3-900051-07-0},
url = {http://www.R-project.org},
}

We have invested a lot of time and effort in creating R, please cite it
when using it for data analysis. See also ‘citation(pkgname)’ for
citing R packages.

Is there something similar for LyX ? I mean the reference ;-)

Best

EJ



Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Abdelrazak Younes

[EMAIL PROTECTED] wrote:

I compiled it myself using libqt4-dev (Version: 4.4.3-0ubuntu1).

The commands I issued:

1. ./autogen.sh
2. ./configure
3. make
4. sudo make install

I am not sure if this stdlib-debug option is set automatically. 
  
I guess this is 1.6.1svn you are using. In this case I think 
stdlib-debug is enabled by default. In order to compile in release mode 
try this instead:

./configure --enable-build-type=rel


Is there a method to check (I have already deleted the compilation
directory)?
  

Don't know, I guess this is said at the end of the configure step.

Abdel.



Re: LyX 1.6 crash

2008-12-02 Thread Jürgen Spitzmüller
asm23 wrote:
 HI, how do I enable the console output in lyx 1.6.
 I searched the mail achieve.
 Someone suggested that I should Add  -dbg 3 .
 But where do I add these statement?

 It seems that Lyx.bat is not a correct place to add...
 Thank you.

You should start LyX from a Terminal window (or however this is called on 
Windows).

Jürgen


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Olivier Ripoll

Jürgen Spitzmüller wrote:

Erez Yerushalmi wrote:

Happens when:
Many times when I write in math equations.
And also happened a few times when I shift the tool bars to different
positions.

Do others have this problem?


These are known bugs (reported at bugzilla), and we hope to sort them out for 
1.6.1.


Jürgen



Hi,

The most common crash on Windows (#5472: the crash when copy operation 
is followed by opening a MS Office program) does not result in any data 
loss (the emergency save does its job). So Erez's crash is not a 
duplicate of it as far as I can say.


Best regards,

Olivier



Re: LyX can’t find sprachwerker.bst

2008-12-02 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
[Problem: in order to add a new bib/bst file to the widgets in the bibtex 
dialog, one needs to click Rescan in the TeXInfo dialog]
 Konrad Hofbauer wrote:
   But we need to make this more obvious for sure.
 
  Maybe put it in the menus, next to Reconfigure?

 Or in the BibTeX dialog.

I did this now (in trunk), Please have a look, I'd like to backport this to 
branch as well.

Jürgen


Re: Macros and Parent/Child Documents in 1.6

2008-12-02 Thread James Sutherland


On Dec 2, 2008, at 5:49 AM, Stefan Schimanski wrote:



Am 01.12.2008 um 18:59 schrieb James Sutherland:

I have a parent document where I have defined macros.  In the child  
document, I have used the macro.


The compiled output (either from the child, or the parent), is  
fine.  However, the LyX preview for the equations using macros is  
not correct.  The macros are not expanded when the preview is  
generated.


I thought that this was supported in LyX 1.6 (macros defined in  
parent, used in child).  Am I mistaken?


No, the preview does not support that (yet). I remember that I  
looked into this problem. At that time there was a technical reason  
that this very hard to implement, although I do not remember anymore  
why.


Stefan


I tried the test cases on the wiki page (http://wiki.lyx.org/Devel/Macros#toc10 
) and these macros expand appropriately.  The only difference between  
the test case on the wiki page and the problem I am seeing is the use  
of parameters in the macros.  The test macros from the wiki page do  
not involve parameters while the ones I am using do involve parameters.


Is this going to be fixed in 1.6.1?  This seems like an unfortunate  
limitation - previews not working for macros involving parameters...


James


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Jürgen Spitzmüller
Olivier Ripoll wrote:
 The most common crash on Windows (#5472: the crash when copy operation
 is followed by opening a MS Office program) does not result in any data
 loss (the emergency save does its job). So Erez's crash is not a
 duplicate of it as far as I can say.

No. But of this (toolbar shifting):
http://bugzilla.lyx.org/show_bug.cgi?id=5499

and maybe of this (editing math):
http://bugzilla.lyx.org/show_bug.cgi?id=5491

If someone on Windows is able to provide a proper backtrace for the former 
(crash after moving the toolbar), it'd be most helpful.

Jürgen


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Jean-Marc Lasgouttes
Abdelrazak Younes [EMAIL PROTECTED] writes:
 Which version of Qt? Are you using a precompiled package or did you
 compile by yourself? Maybe the package was compiled with stdlib-debug?

Note that all the load is in the X server. I would be surprised to see
that it is a consequence of using stdlib-debug.

Do the two versions use the same qt lib?

JMarc


Re: Breaking long URL?

2008-12-02 Thread Peter Baumgartner
 I have put in the preamble \usepackage{breakurl}  and everything is fine.
@Pierfranco: Thanks! - This works in both cases (bibtex and biblatex). Is
this a special package? How did you find this out?




Re: beaking long URLs

2008-12-02 Thread Jürgen Spitzmüller
Also sprach Peter Baumgartner:
 I know that just Insert-URL should work, but it didn't. Something wrong
 with the new version or my insallation?

In order to find out, we need a minimal example file that shows the 
misbehaviour for you. Both the LyX file and the LaTeX output.

(everything works as expected here).

Jürgen


Re: Lyx1.6 Document class: Unavailable

2008-12-02 Thread asm23

Bigler Stéphane wrote:

Dear all,
After installing mytek and lyx_1.6.0 on a windows XP, *all* the 
documents classes are unavailable.


I googled and none of the following helped me:

step_1) Make sure that the MiKTeX bin directory is on my system command 
path:

- yes it is, I can launch latex from anywhere through a console.

step_2) Check if for example the class report is available.
At a DOS prompt, run 'kpsewhich report.cls'

and kpsewhich returns:
C:\Program Files\MiKTeX 2.7\tex\latex\base\report.cls
- ok the class is available

Step_3) I checked in my home directory, which is:
C:\Documents and Settings\me\Application Data\lyx16\

 


and print an extract of the file “textclass.lst”:

 


# This file declares layouts and their associated definition files

# (include dir. relative to the place where this file is).

# It contains only default values, since chkconfig.ltx could not be run

# for some reason. Run ./configure.py if you need to update it after a

# configuration change.

aa aa article (AA) false

aapaper aa article (AA V4) false

aastex aastex article (AASTeX) false

agu-dtd AGU-article AGU article (SGML) false

agums aguplus article (AGU++ manuscript) false

amsart amsart article (AMS) false

amsbook amsbook book (AMS) false

apa apa article (APA) false

arab-article arabart article (Arabic) false

armenian-article article article (Armenian) false

article-beamer article article (beamer) false

article article article false

….

 


- all the classes are at “false”.
:cry:


Please, please

I am stuck and do not know what to do to get the classes available.
Thank you for helping.
Stephane

 


try to reinstall Lyx.
And which version did you installed? Standard installer or alternative 
installer?




Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-12-02 Thread asm23

Joost Verburg wrote:

Abdelrazak Younes wrote:
But when I install the Lyx (both the standard version or the 
alternative installer), the installer will *automatically* change 
this option to Yes. (it seems very strange)


I hope that the installer informs you before doing this change and 
that the old config is restored back.


The standard installer doesn't change this setting. MiKTeX's default is 
Ask me first and it provides an option to change this on the window 
that is displayed when the first package is installed.


Joost



Ok, I think the alternative installer changes this setting...



lyx doesn't create dvi

2008-12-02 Thread Ran Manor
Hi,
I just installed MikTex 2.7 and lyx 1.6 .
I started to write a new document, but when I do View - DVI , lyx doesn't
do anything.
Also, when I do File - Export - DVI , no dvi file appears.
what can I do?
is there any log file I can check for errors?
thanks.

- Ran


Re: Get the chapter/section/subsection numbering as frame-notes

2008-12-02 Thread Nikos Alexandris
On Thu, 2008-11-27 at 19:32 -0500, rgheck wrote:
 Nikos Alexandris wrote:
  On Thu, 2008-11-27 at 05:36 +0100, Nikos Alexandris wrote:

  Hi all!
 
  Is there any quick-hack to *move* chapter/section/subsection numbers off
  the main text-body, e.g. move it to the frame (well... left from the
  main text)?
 
  Something like...
 
  1  Title of Chapter 1
 
 This is chapter 1 - This is chapter 1 - This is chapter 1
 
  2  Title of Chapter 2
 
 This is chapter 2 - This is chapter 2 - This is chapter 2
 
  2.1This is Section 2.1
 
  2.2.1  This is SubSection 2.2.1
 
 
  Kind Regards, Nikos
  
 
  Sorry, there is an important detail I did not mention: I use the
  koma-book class.

 All of this is configurable via koma-specific commands. I don't use 
 those classes often, so I don't remember them. But it's all in the docs.
 
 rh

Hi!

Thanks for your reply. I did not try anything out yet. I'll post back
once I do so.

Regards, Nikos



Re: LyX 1.6 crash

2008-12-02 Thread asm23

Jürgen Spitzmüller wrote:

Max Bian wrote:

I am seeing lots of crashes with LyX 1.6 on Windows Vista. I think it
happens when it cannot delete the temp files during exit. This can
happen when I browse the files in the temp file directory or I do not
close Adobe PDF Reader.


This looks like a known problem. Could you post the console output?

Jürgen


HI, how do I enable the console output in lyx 1.6.
I searched the mail achieve.
Someone suggested that I should Add  -dbg 3 .
But where do I add these statement?

It seems that Lyx.bat is not a correct place to add...
Thank you.



Re: lyx doesn't create dvi

2008-12-02 Thread asm23

Ran Manor wrote:

Hi,
I just installed MikTex 2.7 and lyx 1.6 .
I started to write a new document, but when I do View - DVI , lyx doesn't
do anything.
Also, when I do File - Export - DVI , no dvi file appears.
what can I do?
is there any log file I can check for errors?
thanks.

- Ran


A DVI viewer is needed. and be associated with the DVI file type.



Re: Breaking long URL?

2008-12-02 Thread Pierfranco Minsenti
Hi Peter,

happy to have been of help. But sorry: I can't remember where I found the
breakurl package. I spent part of last summer learning the basics of LaTeX
and how to customize LyX texts so that they could suit my needs and really I
can't remember all the stuff I have checked when I encountered some problem
and found a solution. By the way, I think this is a common problem with
laTeX. There are so many packages and the environment grows in such an
anarchic way, a positive anarchic way which is the result of the cooperation
of several unconnected people, that it is difficult to know all what you
need and when you need it. That's why the email list is very very useful
because it saves you a lot of time.
Pierfranco


2008/12/2 Peter Baumgartner [EMAIL PROTECTED]

  I have put in the preamble \usepackage{breakurl}  and everything is fine.
 @Pierfranco: Thanks! - This works in both cases (bibtex and biblatex). Is
 this a special package? How did you find this out?





Re: Lyx1.6 Document class: Unavailable [RESOLVED]

2008-12-02 Thread Paul A. Rubin

Stéphane fixed this by reinstalling both LyX and MiKTeX.



Re: 1.6.0 on Os X 10.5.5 Woes

2008-12-02 Thread Bennett Helm
On Tue, Dec 2, 2008 at 2:51 AM, Abdelrazak Younes [EMAIL PROTECTED] wrote:
 Eberhard Lisse wrote:

 All in all it makes work at the practice so impossible that I have had to
 switch back to 1.5.7 for the time being, but I'll continue to play with
 1.6.0 at home.

 Hello Eberhard,

 There are a number of session management bugs in Mac, some of them will
 be fixed in 1.6.1. There is a work-around your problem though:

 In Preferences/LookFeel/User Interface:

 1) Click on 'Clear all Session...'
 2) Uncheck 'Allow saving/restoring...'
 3) optionally Uncheck 'Open documents in tabs

 Then copy the file /usr/share/lyx/ui/default.ui (or in
 /usr/local/share/) in your local directory '~/.lyx/ui/' and modify it
 following your taste.

On Mac, that would be LyX.app/Contents/Resources/ui/default, copied to
~/Library/Application Support/LyX-1.6/ui.

Bennett


Re: Citing LyX

2008-12-02 Thread Paul A. Rubin

Ernesto Jardim wrote:

Hi,

I want to include a citation to LyX on a paper but I don't know what's 
the correct bibliographic reference for LyX. In R (r-project.org) one 
runs citation() and gets:


To cite R in publications use:

R Development Core Team (2008). R: A language and environment for
statistical computing. R Foundation for Statistical Computing,
Vienna, Austria. ISBN 3-900051-07-0, URL http://www.R-project.org.

A BibTeX entry for LaTeX users is

@Manual{,
title = {R: A Language and Environment for Statistical Computing},
author = {{R Development Core Team}},
organization = {R Foundation for Statistical Computing},
address = {Vienna, Austria},
year = {2008},
note = {{ISBN} 3-900051-07-0},
url = {http://www.R-project.org},
}

We have invested a lot of time and effort in creating R, please cite it
when using it for data analysis. See also ‘citation(pkgname)’ for
citing R packages.

Is there something similar for LyX ? I mean the reference ;-)

Best

EJ




http://wiki.lyx.org/FAQ/CitingLyxWebSite

/Paul



Re: lyx doesn't create dvi

2008-12-02 Thread Paul A. Rubin

asm23 wrote:

Ran Manor wrote:

Hi,
I just installed MikTex 2.7 and lyx 1.6 .
I started to write a new document, but when I do View - DVI , lyx 
doesn't

do anything.
Also, when I do File - Export - DVI , no dvi file appears.
what can I do?
is there any log file I can check for errors?
thanks.

- Ran


A DVI viewer is needed. and be associated with the DVI file type.


MiKTeX has a DVI viewer (yap), and the LyX installer typically finds this.

A LaTeX error might explain this.  One thing to check is whether View - 
DVI changes the LyX status line (to, say, Waiting for LaTeX run 1). 
Another thing to check is whether View - DVI produces a LaTeX log 
(Document - LaTeX Log) and, if so, whether it contains any error messages.


/Paul



Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread [EMAIL PROTECTED]
Am Tue, 02 Dec 2008 16:25:09 +0100
schrieb Jean-Marc Lasgouttes [EMAIL PROTECTED]:

 Abdelrazak Younes [EMAIL PROTECTED] writes:
  Which version of Qt? Are you using a precompiled package or did you
  compile by yourself? Maybe the package was compiled with
  stdlib-debug?
 
 Note that all the load is in the X server. I would be surprised to see
 that it is a consequence of using stdlib-debug.
 
 Do the two versions use the same qt lib?
 
 JMarc

Here is the information provided by lyx --version:

LyX 1.6.0 (Fri, Nov 7, 2008)
Built on Nov 26 2008, 15:24:24
Configuration
  Host type:i686-pc-linux-gnu
  Special build flags:   use-ispell
  C   Compiler: gcc 
  C   Compiler LyX flags:
  C   Compiler flags:-O2
  C++ Compiler: g++ (4.3.2)
  C++ Compiler LyX flags:
  C++ Compiler flags:-O2
  Linker flags: 
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.4.3
  Packaging:posix
  LyX binary dir:   /usr/local/bin
  LyX files dir:/usr/local/share/lyx


LyX 1.5.6 (Sun, Jul 27, 2008)
Built on Oct 25 2008, 18:33:20
Configuration
  Host type:i486-pc-linux-gnu
  Special build flags:  aiksaurus pch warnings  use-aspell
use-ispell C   Compiler: gcc 
  C   Compiler LyX flags:
  C   Compiler flags: -g -O2
  C++ Compiler: g++ (4.3.2)
  C++ Compiler LyX flags:
  C++ Compiler flags: -g -O2
  Linker flags: 
  Linker user flags:-Wl,-Bsymbolic-functions -Wl,-z,defs
-Wl,--as-needed Qt 4 Frontend:
  Qt 4 version: 4.4.3
  Packaging:posix
  LyX binary dir:   /usr/bin
  LyX files dir:/usr/share/lyx




Re: beaking long URLs

2008-12-02 Thread Peter Baumgartner

 Also sprach Peter Baumgartner:
 I know that just Insert-URL should work, but it didn't. Something wrong
 with the new version or my insallation?
 
 In order to find out, we need a minimal example file that shows the
 misbehaviour for you. Both the LyX file and the LaTeX output.
 
 (everything works as expected here).

Breaking URLs works with the preamble command: \usepackage{breakurl}
I think I know the reason:
The breakurl is an extension to hyperref package that allows line-breakable
\url-like links when compiling via latex + dvips + ps2pdf
.. if the dvips driver is being used, the original \url doesn't allow line
breaks in the middle of the created link: the link comes in one atomic
piece.  This package allows such line breaks in the generated links.

Note that this package is intended only for those using the dvips driver.
Users of the pdflatex driver already have this feature.
(Quote from the ReadMe File of breakurl)

But it is still strange for me, as I thought I'm using pdflatex. But frankly
I never understood the converter dialog quite well.









Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Olivier Ripoll

Jürgen Spitzmüller wrote:

Olivier Ripoll wrote:

The most common crash on Windows (#5472: the crash when copy operation
is followed by opening a MS Office program) does not result in any data
loss (the emergency save does its job). So Erez's crash is not a
duplicate of it as far as I can say.


No. But of this (toolbar shifting):
http://bugzilla.lyx.org/show_bug.cgi?id=5499

and maybe of this (editing math):
http://bugzilla.lyx.org/show_bug.cgi?id=5491

If someone on Windows is able to provide a proper backtrace for the former 
(crash after moving the toolbar), it'd be most helpful.


I've found that page explaining how to generate a backtrace on windows 
without compiler.

http://blog.thepimp.net/archives/how-to-generate-backtraces-on-windows-without-compiler.html
One needs to install the Microsoft debug diagnostic tool:
http://www.microsoft.com/downloads/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3displaylang=en

But as far as I understand it, you need a special version of the binary 
(with debugging symbols ?). I tried for bug 5472 but there was no info 
in the backtrace (symbols were not found IIRC the message).


So mere users like us would need a special binary to test that :-)

Best regards,

Olivier



Jürgen





Re: beaking long URLs

2008-12-02 Thread Nikos Alexandris
On Tue, 2008-12-02 at 17:38 +0100, Peter Baumgartner wrote:
  Also sprach Peter Baumgartner:
  I know that just Insert-URL should work, but it didn't. Something wrong
  with the new version or my insallation?
  
  In order to find out, we need a minimal example file that shows the
  misbehaviour for you. Both the LyX file and the LaTeX output.
  
  (everything works as expected here).
 
 Breaking URLs works with the preamble command: \usepackage{breakurl}
 I think I know the reason:
 The breakurl is an extension to hyperref package that allows line-breakable
 \url-like links when compiling via latex + dvips + ps2pdf
 .. if the dvips driver is being used, the original \url doesn't allow line
 breaks in the middle of the created link: the link comes in one atomic
 piece.  This package allows such line breaks in the generated links.
 
 Note that this package is intended only for those using the dvips driver.
 Users of the pdflatex driver already have this feature.
 (Quote from the ReadMe File of breakurl)
 
 But it is still strange for me, as I thought I'm using pdflatex. But frankly
 I never understood the converter dialog quite well.

I see (in a document of mine) that some URL's are broken (as they should
be since I checked the respective field under: Document Settings  PDF
Properties  Hypperlinks  *check* Break links over lines) and some are
not !?

Shouldn't this work without any entry in the preamble?

Regards, Nikos



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Vincent van Ravesteijn



So mere users like us would need a special binary to test that :-)

So, step out of the mere-usership, get VCExpress (free), get Subversion 
(free), get the LyX sources (free) and compile your own ;-).



Best regards,

Olivier


Vincent

P.S. I'm afraid bug 5472 is not suited for generating a backtrace, as 
the crash doesn't occur within LyX.. It does probably within qt or a 
windows library.


Re: Changing the color of notes in pdf output

2008-12-02 Thread Nikos Alexandris
On Fri, 2008-11-28 at 15:40 +0100, Matts Lindström wrote:
 Hello,
 
 Is it somehow possible to change the color of notes (Greyed out notes) in
 the pdf that lyx outputs? (I'm using LyX 1.6rc2 and texlive running on
 Ubuntu Linux)
 
 Regards,
 Matts Lindström

Hi!

Besides using:

\renewenvironment{lyxgreyedout}
 {\textcolor{blue}\bgroup}{\egroup}

as suggested by Ignacio G., I would like to use also:

\usepackage{color}
\definecolor{lightgray}{gray}{0.3}
\definecolor{lightblue}{blue}{0.7}


But it fails. I get for example LaTeX Error(s): Undefined color model
`blue'.

---

I have seen several color-related bugs/wishes[1] and I feel covered,
that is I am not going to file another ticket. I wish, as many others,
to have at some point an easy way to play around with custom colors (not
only the standard colors) for the text, for the notes, for the
links/urls, for footnotes, etc.

Kind regards, Nikos
---
[1] Bugzilla Bug(s) 3865, 3683, 3714, 5208, 



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Olivier Ripoll

Vincent van Ravesteijn wrote:



So mere users like us would need a special binary to test that :-)

So, step out of the mere-usership, get VCExpress (free), get Subversion 
(free), get the LyX sources (free) and compile your own ;-).


My personal computer @ home is linux-only. I have compiled LyX, Gimp and 
other important software (Wesnoth ;-) ) tens of times but:


1- I'm a windows user on my company's laptop, not _my_ laptop. I have to 
limit somehow what I install on it.


2- Compiling on Windows has the reputation to be way work pain than on 
Linux (./configure and make are so easy to use...)



Best regards,

Olivier


Vincent

P.S. I'm afraid bug 5472 is not suited for generating a backtrace, as 
the crash doesn't occur within LyX.. It does probably within qt or a 
windows library.


in QtCore4.dll, and here is the relevant part:

Thread 0 - System ID 2808
Entry point   lyx+354fa7
Create time   02.12.2008 18:52:34
Time spent in user mode   0 Days 0:0:0.609
Time spent in kernel mode   0 Days 0:0:0.593

Function Arg 1 Arg 2 Arg 3   Source
QtCore4!QFactoryLoader::keys+2d   

QTCORE4!QFACTORYLOADER::KEYS+2DWARNING - DebugDiag was not able to 
locate debug symbols for QtCore4.dll, so the information below may be 
incomplete.


In 
lyx__PID__3904__Date__12_02_2008__Time_06_54_02PM__821__Second_Chance_Exception_C005.dmp 
the assembly instruction at QtCore4!QFactoryLoader::keys+2d in 
C:\Documents and Settings\#\Local Settings\Application 
Data\LyX16\bin\QtCore4.dll has caused an access violation exception 
(0xC005) when trying to read from memory location 0x0004 on thread 0


Module Information
Image Name: C:\Documents and Settings\#\Local Settings\Application 
Data\LyX16\bin\QtCore4.dll   Symbol Type:  Export

Base address: 0x6700   Time Stamp:  Sun Sep 28 01:09:07 2008
Checksum: 0x001e814b   Comments:
COM DLL: False   Company Name:
ISAPIExtension: False   File Description:
ISAPIFilter: False   File Version:
Managed DLL: False   Internal Name:
VB DLL: False   Legal Copyright:
Loaded Image Name:  QtCore4.dll   Legal Trademarks:
Mapped Image Name: Original filename:
Module name:  QtCore4   Private Build:
Single Threaded:  False   Product Name:
Module Size:  1.89 MBytes   Product Version:
Symbol File Name:  QtCore4.dll   Special Build:  

Best regards,

Olivier



Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Joachim Kreimer-de Fries


Am 02.12.2008 um 14:45 schrieb Jürgen Spitzmüller:

lyx --version gives some relevant informations.


Sorry, - because it might be once important, not because of fast  
typing - ...slowly -

I only get the response:

localhost:/applications joachim$ lyx -version
-bash: lyx: command not found

Or are you speaking of another kind of console and which one?

Goutgaun! joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6
MacBook Pro OSX 10.4.11 Tiger






Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2008 at 04:25:09PM +0100, Jean-Marc Lasgouttes wrote:
 Abdelrazak Younes [EMAIL PROTECTED] writes:
  Which version of Qt? Are you using a precompiled package or did you
  compile by yourself? Maybe the package was compiled with stdlib-debug?
 
 Note that all the load is in the X server. I would be surprised to see
 that it is a consequence of using stdlib-debug.

Also, since the problem scales with the window size it sounds drawing
related...

Andre'


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2008 at 07:10:55PM +0100, Joachim Kreimer-de Fries wrote:

 Am 02.12.2008 um 14:45 schrieb Jürgen Spitzmüller:
 lyx --version gives some relevant informations.

 Sorry, - because it might be once important, not because of fast typing 
 - ...slowly -
 I only get the response:

 localhost:/applications joachim$ lyx -version
 -bash: lyx: command not found

 Or are you speaking of another kind of console and which one?

That's the correct console. Now you just need to find the LyX binary.

If you are already in the right directory, use ./lyx  to start it.

Andre'



some more environments

2008-12-02 Thread Niko Schwarz
Hello!
I'd like to define a few more math environments and I have no idea how. I
don't want too many. I use all kinds of extensions to AMS, and it has really
useful environments, but I want one more, and I want to be able to select it
in lyx.

Basically, it should be the same like the lemma environment. Only the name
should be different. I want a data reduction environment. How can I create
one?

cheers,

niko


more questions

2008-12-02 Thread Niko Schwarz
i also want to write some numbers in a typewriter font, because they all
have the same length. actually, what i have is input to a computational
problem and i'm still figuring how to typeset it all right.
I have an input pair (S,r). And i want to describe two strings s_1, s_2 \in
S:
s_1 = 1010110011
s_2 = 1011100010

how can i typeset this well?

niko


Re: displaying long division of polynomials in lyx

2008-12-02 Thread Jamesdaff

OK, I think I got it to work.  I did a bunch of things (mostly uninformed),
and some combination of them seems to have worked, but I'm guessing these
were the three key steps:
1. I installed the polynom package and put it in my LaTeX directory:
C:\Program Files\MiKTeX 2.7\tex\latex.  I probably could have put it
somewhere else in my path; I'm not sure.
2. In LyX, I did Tools -- Reconfigure
3. In my document, I did Document -- Settings -- LaTeX preamble, and added
the following, which I more or less copied from some LyX help files:
% 
% used to check for needed LaTeX packages
\usepackage{ifthen}

% check for package polynom
\newboolean{polynom}
\IfFileExists{polynom.sty}
 {\usepackage{polynom}
  \setboolean{polynom}{true}}
 {\setboolean{polynom}{false}}

Then, in my document, I can click Insert -- TeX Code (or Control-L, or
click on the TeX button), and enter the TeX code for polynomial division,
e.g. \polylongdiv{x^3-7x+6}{x-1}.  Then when I compile the document (e.g.
click the PDF button), the division is beautifully formatted.




Jamesdaff wrote:
 
 I'm writing an Algebra textbook and I need to show division of polynomials
 (both long division and synthetic division / Horner's method).  I am new
 to LyX, and have just kind of been stumbling my way through what I need to
 know to get by.  I see there is a cool package on CTAN (polynom) which
 would be cool to use, but I have absolutely no idea how I would use that
 in LyX.  Is it even possible?
 
 The description of the polynom package is here:
 
 http://sunsite.utk.edu/ftp/pub/software/CTAN/macros/latex/contrib/polynom/polynom.pdf
 http://sunsite.utk.edu/ftp/pub/software/CTAN/macros/latex/contrib/polynom/polynom.pdf
  
 
 Alternatively, if someone can suggest a simpler way to display long
 division of polynomials without installing something extra, that might
 work, too, but I kind of want to understand things well enough to know how
 to install this package, if that is possible.
 
 Help?
 
 Jeff
 

-- 
View this message in context: 
http://n2.nabble.com/displaying-long-division-of-polynomials-in-lyx-tp1579774p1605535.html
Sent from the LyX - Users mailing list archive at Nabble.com.



  1   2   >