Newbie windows install problem class scrbook is unknown

2007-01-17 Thread yanni papastavrou


Hi,


I just downloaded and installed lyx for windows:


ftp://ftp.lyx.org/pub/lyx/bin/1.4.3/lyx-143-5.exe


 


Prior to this, I had no earlier latex related software
installed. I selected all the default answers during the installation.  I 
installed on my windows XP latest and
greatest.


 


After the fresh installation, when I run Lyx, I selected
help-tutorial and was able to view the dvi for this without difficulty.


 


I then tried help-user’s guide and I get the error:


 


“Using the default document class, because the class scrbook
is unknown”


I then get a window full of multiple “Unknown layout” error
messages, each one referring to a particular layout.  The title of this window 
is “LyX: Parse errors”


And also, at the top of the User’s guide, there is a big
yellow message saying:


“To export this document as pdf, ps or dvi, the
LaTeX-package hyperref has to be installed. 
This package should be part of all popular LaTeX-distributions”


 


Any help would be greatly received.  I have tried many things so far, including
running: tools-reconfigure


 


But, I am confused as to why I am doing this, since during
the installation, I should surely have got all the correct dependencies that
are required? – Especially since I followed accepted all defaults…


 


Any help greatly received for a LyX newbie.  It looks like a great piece of 
kit. I am
just miffed that it won’t work “out of the box” when using default settings.  


TIA,


Yanni. 







___ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All 
New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html

LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread Santiago Romero


 Hi,

 I'm running LyX 1.4.3-2~edgy1 under kubuntu, and I have an strange
error that I don't remember to suffer in previous LyX versions (it's
been 1 year since last time I used LyX).

 I'm writing a document (book) and I need to include shell (bash)
source code embebed. I'm using the LyX-Code environment and pasting
the source code as lines.

 The problem is that I can't paste - characters. I mean, I paste
under LyX-Code the following source code:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec softlimit -m 300 \
(...)

 Then I select View - DVI and I get the following error in each
of the - (minus) signs of the above code:


Bad character code (-1)

QMAILDUID=`id~-u
 ~qmaild`
A character number must be between 0 and 255.
I changed this one to zero.


 (The same error for each of the - signs in my code).

 If I remember correctly, I've used - signs in my source code
into the Lyx-Code environment for years and I never got this
message ...

 Any idea of what I'm doing wrong? :?

 Thanks
--
Santiago Romero



Re: Newbie windows install problem class scrbook is unknown

2007-01-17 Thread Ingar Pareliussen
on. 17. januar 2007 02:16 skreiv yanni papastavrou:
 Hi,

 “Using the default document class, because the class scrbook
 is unknown”

Install the koma-script package. Your miktex installation should have a 
package handler, find this and search for koma and install it. After that 
reconfigure LyX and you should be set. 

 And also, at the top of the User’s guide, there is a big
 yellow message saying:

 “To export this document as pdf, ps or dvi, the
 LaTeX-package hyperref has to be installed.
 This package should be part of all popular LaTeX-distributions”

Just ignore this, miktex should have hyperref installled, if not LyX will give 
you a error-message that it does not find hyperref.

Ingar


Re: LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread Ingar Pareliussen
on. 17. januar 2007 12:47 skreiv Santiago Romero:
   Hi,
snip
   Then I select View - DVI and I get the following error in each
 of the - (minus) signs of the above code:

 
 Bad character code (-1)

 QMAILDUID=`id~-u
   ~qmaild`
 A character number must be between 0 and 255.
 I changed this one to zero.
 

   (The same error for each of the - signs in my code).

   If I remember correctly, I've used - signs in my source code
 into the Lyx-Code environment for years and I never got this
 message ...

   Any idea of what I'm doing wrong? :?

Well, I do not know why, but I think it might be a language issue. Try to set 
the LyX-Code as english. 

Ingar 


Re: Newbie windows install problem class scrbook is unknown

2007-01-17 Thread Andreas K .
yanni papastavrou [EMAIL PROTECTED] writes:

 “Using the default document class, because the class scrbook
 is unknown”


Hi, 

1. Open the MiKTeX Settings
2. Choose Package installation: Install missing packages on-the-fly: Yes
3. Then, reconfigure LyX

If this does not work, try 
1. Open MiKTeX  Settings
2. Choose Refresh FNDB
3. Then, reconfigure LyX

If this does not work, try 
1. Open MiKTeX  Update, and update MiKTeX
2. Open MiKTeX  Settings
2. Choose Refresh FNDB
3. Then, reconfigure LyX

Regards,
Andreas



Re: how to produce hatted (circumflex) symbols in Lyx?

2007-01-17 Thread Andreas K .
Srinivas Nedunuri [EMAIL PROTECTED] writes:

 
 ..besides typing in some ERT? 
 
 

Use: Insert  Math  Math panel  Symbols  Frame decorations

Regards,
Andreas





Re: Deriving a new LyX environment

2007-01-17 Thread Ingar Pareliussen
ty. 16. januar 2007 23:10 skreiv Steve Litt:
 On Tuesday 16 January 2007 16:41, Steve Litt wrote:
  On Friday 21 January 2005 13:52, Matej Cepl wrote:
   Steve Litt wrote:
snip
  What I want to know is this: where does \enddescription come from?

 I just realized neither \endolddescription nor \enddescription are used
 subsequently. What's the purpose of the line:

 \let\endolddescription=\enddescription

Hi Steve,

I am no LaTeX guru, but as I understand the two first lines:
\let\olddescription=\description
\let\endolddescription=\enddescription
are just there to rename the start and end names of the envirnoment so the old 
and unchanges envirnoment still can be used.  

from 
http://www.personal.ceu.hu/tex/defs.htm:
\newenvironment, \renewenvironment
 \newenvironment{nam}[args]{begdef}{enddef}
 \renewenvironment{nam}[args]{begdef}{enddef}

These commands define or redefine an environment. 

nam The name of the environment. For \newenvironment there must be no 
currently defined environment by that name, and the command \nam must be 
undefined.

args An integer from 1 to 9 denoting the number of arguments of the 
newly-defined environment. The default is no arguments. 

begdef The text substituted for every occurrence of \begin{name} or 
\begin{name}{arg1, arg2, }; a parameter of the form #n in cmd is replaced by 
the text of the nth argument when this substitution takes place. 

enddef The text substituted for every occurrence of \end{nam}. It may not 
contain any argument parameters. 

so (re)newenvionment constructs both \begin{environment} and \end{envirnoment} 
and both begin and end has to be renamed or be replaced be the renewcommand

I hope this help. And if I am mistaken I hope someone with a better grasp of 
LaTeX corrects me. :)

Ingar



Re: LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread Jean-Marc Lasgouttes
 Santiago == Santiago Romero [EMAIL PROTECTED] writes:

Santiago  The problem is that I can't paste - characters. I mean, I
Santiago paste under LyX-Code the following source code:

Santiago #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild`
Santiago exec softlimit -m 300 \ (...)

Santiago  Then I select View - DVI and I get the following error in
Santiago each of the - (minus) signs of the above code:

Santiago  Bad character code (-1)

Santiago QMAILDUID=`id~-u ~qmaild` A character number must be between
Santiago 0 and 255. I changed this one to zero. 

Santiago  (The same error for each of the - signs in my code).

Santiago  If I remember correctly, I've used - signs in my source
Santiago code into the Lyx-Code environment for years and I never
Santiago got this message ...

Santiago  Any idea of what I'm doing wrong? :?

What you are doing wrong is write in Spanish :)

The Spanish mode makes the ~ character active so that people can type
~n for ñ and stuff like that. This is unfortunately not compatible
with LyX-Code where hard spaces are output as ~.

Try to add \noshorthandsspanish in the preamble.

JMarc




Re: how to produce hatted (circumflex) symbols in Lyx?

2007-01-17 Thread Charles de Miramon
Andreas K. wrote:

 Srinivas Nedunuri [EMAIL PROTECTED] writes:
 
 
 ..besides typing in some ERT?
 
 

Alt-x will open the minicli

then in the minicil type accent-circumflex i Enter to get î (You cane xpand
commands in the minicli with tabulation)

Charles


-- 
http://www.kde-france.org



Wiki: Page with search results re-structured - better/worse?

2007-01-17 Thread christian . ridderstrom

I tried changing the order of things on the page that displays search
results. Please let me know if this is better or worse than before.
(I don't feel entirely happy with it myself, so ideas are welcome).

Best regards
/Christian

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

Re: LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread Santiago Romero



Santiago  Any idea of what I'm doing wrong? :?

What you are doing wrong is write in Spanish :)

The Spanish mode makes the ~ character active so that people can type
~n for ñ and stuff like that. This is unfortunately not compatible
with LyX-Code where hard spaces are output as ~.

Try to add \noshorthandsspanish in the preamble.


 You're right. If I change Document Language from Spanish to English,
then it works perfectly, although I read Chapter 1 instead of
Capitulo 1 in the resulting DVI file.

 I've tried to add \noshorthandsspanish in the Document Preamble
(Document - Configuration - LaTeX Preamble), and I get an error:

Undefined control sequence

 \noshorthandsspanish

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


 Any idea? :?

--
Santiago Romero



Re: LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread killermike

Santiago Romero wrote:


 Hi,

 I'm running LyX 1.4.3-2~edgy1 under kubuntu, and I have an strange
error that I don't remember to suffer in previous LyX versions (it's
been 1 year since last time I used LyX).


I have a completely UK setup of Kubuntu and I have similar problems. If
I cut and paste some text from a website (firefox), any '-' characters
are pasted as '?'.

--
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio





Re: LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread Jean-Marc Lasgouttes
 Santiago == Santiago Romero [EMAIL PROTECTED] writes:

Santiago  I've tried to add \noshorthandsspanish in the Document
Santiago Preamble (Document - Configuration - LaTeX Preamble), and
Santiago I get an error:

Santiago Undefined control sequence

Santiago  \noshorthandsspanish

Try to put it as ERT at the beginning of your document.

JMarc


Re: [announce] LyX150svn from 15-01-2007 for Windows

2007-01-17 Thread Olivier Ripoll

Uwe Stöhr wrote:

Hello LyXTesters,

I published a new version with LyX1.5.0svn from 15-01-2007:

http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=12024 


Hi,

Using WinXP SP2, English (United States) keyboard with United States 
International layout, I observe a strange behaviour with the accents (^ 
' `  and ~).

With this layout, here is the expected behaviour:
' followed by e will give  é
' followed by space will give '
' followed by ' will give ''
Same for `, ^, ~ and 

The first time I use the character ^ (for accentuated letters îêôû or in 
math mode for an exponent), it works. Subsequent uses of the ^ key does 
not work anymore. Like if the key was dead...


The first time I use the ' key (for example followed by a letter to 
produce accentuated letters éúóí or ç), it does not work and the 
un-accentuated letter is written. Subsequent uses of the accent do work 
fine though.


The first time I use the ` key followed by a letter (e.g. i), it 
produces ~i instead of ì. Subsequent uses work as expected.
Little subtlety: if I produce a tilde ~ before (like the ñ), the first ` 
will work  fine (the tilde is produced by SHIFT + ` on my keyboard).


Umlauts is the same as ' and `, however, since the  and ' (double and 
single quotes characters) are on the same key, the effect is similar as 
for ` and ~: If I try to use the ' first, them all subsequent uses of  
and ' will work, and if I start using  first, then all subsequent uses 
of ' and  will work fine.


I observed the same effect with the previous 1.5.0 svn version. I have 
no TeX installed, I just wanted to test the new LyX. No error messages 
appear in the console, even when I launch LyX from a console.


Another bug I noticed is a crash (SIGSEV):
1- start LyX, create a new file
2- ctrl+shift+m to enter a display formula
3- type a followed by ^ then 2 (without the quotes) to produce a 
power 2

it crashes

However, if step 3 is changed by typing space between ^ and 2, I 
have no crash.


The crash also happens if the formula is inline, and if I use the menu 
instead of ctrl+shift+m. Of if I use other letters x power of 3, etc.


I hope you can reproduce this,

Best regards,

Olivier.




plain note

2007-01-17 Thread Philipp Fleig

Hello everybody,

I am new to LyX and I want to write a simple note using Lyx. Just a  
few lines and some formulae, so no sections, dates, heading etc.

What document class should I use for this?
Thanks a lot.

Philipp 


LyXWinstaller Virus/trojan warning?

2007-01-17 Thread Dirk Schöttler

Hello,

I've installed LyX using the alternative LyXWinInstaller 2.9 (small).


http://wiki.lyx.org/Windows/LyXWinInstaller
http://developer.berlios.de/projects/lyxwininstall

During the installation of the Aspell component, my antivirus tool gave 
an alert:
The file InetLoad.dll would contain a trojan horse called 
TR/Dldr.Agent.bcw.
The path was under \Documents and Settings\Local Settings\Temp..., but 
was deleted after forbidding the execution.


Do you know if this is a false alarm?

Bye, thank you!

Dirk





Re: LyXWinstaller Virus/trojan warning?

2007-01-17 Thread Georg Baum
Am Mittwoch, 17. Januar 2007 21:19 schrieb Dirk Schöttler:

 Do you know if this is a false alarm?

Probably yes. If you search the list archive you can find some 
explanations. Could somebody put this on the wiki please?


Georg



Re: plain note

2007-01-17 Thread Les Denham
On Wednesday 17 January 2007 12:48, Philipp Fleig wrote:
 Hello everybody,

 I am new to LyX and I want to write a simple note using Lyx. Just a
 few lines and some formulae, so no sections, dates, heading etc.
 What document class should I use for this?
 Thanks a lot.

 Philipp

Phillipp,

I'd just use article.  I'd leave everything in Standard environment, and 
put the formulae in using the Insert math.

I might change the margins, but otherwise I'd just type the note and print it 
or export to PDF.

-- 
L. R. Denham

Gentoo Linux 2005.1 Kernel 2.6.10-gentoo-r6


Re: [announce] LyX150svn from 15-01-2007 for Windows

2007-01-17 Thread Uwe Stöhr

Olivier Ripoll schrieb:

Using WinXP SP2, English (United States) keyboard with United States 
International layout, I observe a strange behaviour with the accents (^ 
' `  and ~).

With this layout, here is the expected behaviour:
' followed by e will give  é
' followed by space will give '
' followed by ' will give ''


All these examples work here, the problem seems that you use the wrong character, use the  ´  and 
not the  '  key. I don't have an English keyboard, on my German the  ´  and  `  character are 
on the same keyboard button.


The first time I use the character ^ (for accentuated letters îêôû or in 
math mode for an exponent), it works. Subsequent uses of the ^ key does 
not work anymore. Like if the key was dead...


Here, pressing  ^  produces  ^^ , so it works for me.

The first time I use the ' key (for example followed by a letter to 
produce accentuated letters éúóí or ç), it does not work and the 
un-accentuated letter is written. Subsequent uses of the accent do work 
fine though.


See my first comment concerning the  ´ character.

The first time I use the ` key followed by a letter (e.g. i), it 
produces ~i instead of ì. Subsequent uses work as expected.
Little subtlety: if I produce a tilde ~ before (like the ñ), the first ` 
will work  fine (the tilde is produced by SHIFT + ` on my keyboard).


Please check your keyboard settings and better define your own keyboard layout using the the program 
keyboardlayoutcreator which is freely available here:


http://www.microsoft.com/globaldev/tools/msklc.mspx
(doesn't work on 64bit systems)

This program is easy to use and assures that the dead keys are set properly.

Besides this don't you have similar problem when you make the same tests in 
Windows' Notepad?

  Another bug I noticed is a crash (SIGSEV):

1- start LyX, create a new file
2- ctrl+shift+m to enter a display formula
3- type a followed by ^ then 2 (without the quotes) to produce a 
power 2

it crashes


Couldn't reproduce with latest SVN build. But anyway, when you found a bug 
please report it here:

bugzilla.lyx.org.
(please check that it isn't already reported)

regards Uwe


Re: plain note

2007-01-17 Thread Andreas K .
Philipp Fleig [EMAIL PROTECTED] writes:

 
 Hello everybody,
 
 I am new to LyX and I want to write a simple note using Lyx. Just a  
 few lines and some formulae, so no sections, dates, heading etc.
 What document class should I use for this?
 Thanks a lot.
 
 Philipp 
 
 

The article class.

Andreas





Re: plain note

2007-01-17 Thread Philipp Fleig

Hi,

this is actually what I am doing at the moment.
Thank you all for your help.

Philipp

Am 17.01.2007 um 22:10 schrieb Les Denham:


On Wednesday 17 January 2007 12:48, Philipp Fleig wrote:

Hello everybody,

I am new to LyX and I want to write a simple note using Lyx. Just a
few lines and some formulae, so no sections, dates, heading etc.
What document class should I use for this?
Thanks a lot.

Philipp


Phillipp,

I'd just use article.  I'd leave everything in Standard  
environment, and

put the formulae in using the Insert math.

I might change the margins, but otherwise I'd just type the note  
and print it

or export to PDF.

--
L. R. Denham

Gentoo Linux 2005.1 Kernel 2.6.10-gentoo-r6




Re: how to produce hatted (circumflex) symbols in Lyx?

2007-01-17 Thread Maria Gouskova

 Srinivas Nedunuri [EMAIL PROTECTED] writes:

 ..besides typing in some ERT?


You can enter circumflex accents in ASCII. In Mac OS X, switch your OS
keyboard to British (identical to American but allows one to use
keyboard shorcuts in LyX 1.4.3), and type â as option-i a. Or in
Windows:

http://home.earthlink.net/~awinkelried/keyboard_shortcuts.html

Or, hit Cmd+M (or Ctrl+M) twice and enter \^a. This is ERT but also
WYSIWYG and no packages need to be loaded.

mg


screen font zoom: math fonts problem

2007-01-17 Thread Alan Isaac
I see that others have had trouble getting their math fonts 
to zoom but I do not see a solution posted.

I just installed LyX on the Mac and except for this serious 
problem everything seems golden.  Is there a solution?

Thank you,
Alan Isaac






Re: Deriving a new LyX environment

2007-01-17 Thread Steve Litt
On Wednesday 17 January 2007 08:40, Ingar Pareliussen wrote:
 ty. 16. januar 2007 23:10 skreiv Steve Litt:
  On Tuesday 16 January 2007 16:41, Steve Litt wrote:
   On Friday 21 January 2005 13:52, Matej Cepl wrote:
Steve Litt wrote:

 snip

   What I want to know is this: where does \enddescription come from?
 
  I just realized neither \endolddescription nor \enddescription are used
  subsequently. What's the purpose of the line:
 
  \let\endolddescription=\enddescription

 Hi Steve,

 I am no LaTeX guru, but as I understand the two first lines:
 \let\olddescription=\description
 \let\endolddescription=\enddescription
 are just there to rename the start and end names of the envirnoment so the
 old and unchanges envirnoment still can be used.


You're absolutely right Ingar!

I did a huge amount of experimentation today and found out the real story. 
When you say \end{olddescription} in the ending part of the modified version 
of description, the \end{olddescription} constructs the macroname 
\endolddescription and runs whatever is stored in that macro. Without saving 
\enddescription to \endolddescription, the call to \end{description} will end 
any environments started in the beginning section of the modified copy of 
\description, but it will not perform any explicit writes declared in the 
original end section of \description.

I'll be covering this in a new LaTeX quickstart for LyX people.

Thanks,

SteveT

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



aspell

2007-01-17 Thread Wariner

Lyx is a great product and I have used it for years.

I recently reformatted my computer. When I reinstalled lyx (the online
installer and then later the full installer to try fix the problem), the
spellchecker didnt work, claiming it could not find the word list for
language en_US. I have installed the aspell dictionary and what claims to
be the wordlist. Nothing seems to work. Please help!


Re: aspell

2007-01-17 Thread Uwe Stöhr

Wariner schrieb:


I recently reformatted my computer. When I reinstalled lyx (the online
installer and then later the full installer to try fix the problem), the
spellchecker didnt work, claiming it could not find the word list for
language en_US. I have installed the aspell dictionary and what claims to
be the wordlist. Nothing seems to work. Please help!


You don't have to install a wordlist, this is created by Aspell. Unfortunately we had a bug in the 
latest release so that aspell didn't create the wordlist, you can either:


- replace the existing aspell.dll with the one that I'll attach to a private 
mail to you
or
- uninstall Aspell and all of its dictionaries and reinstall LyX using this 
installer:
  http://wiki.lyx.org/Windows/LyXWinInstaller
  that comes with the fixed aspell

Try out the first method and if it doesn't help, try out the second.

regards Uwe


Newbie windows install problem class scrbook is unknown

2007-01-17 Thread yanni papastavrou


Hi,


I just downloaded and installed lyx for windows:


ftp://ftp.lyx.org/pub/lyx/bin/1.4.3/lyx-143-5.exe


 


Prior to this, I had no earlier latex related software
installed. I selected all the default answers during the installation.  I 
installed on my windows XP latest and
greatest.


 


After the fresh installation, when I run Lyx, I selected
help-tutorial and was able to view the dvi for this without difficulty.


 


I then tried help-user’s guide and I get the error:


 


“Using the default document class, because the class scrbook
is unknown”


I then get a window full of multiple “Unknown layout” error
messages, each one referring to a particular layout.  The title of this window 
is “LyX: Parse errors”


And also, at the top of the User’s guide, there is a big
yellow message saying:


“To export this document as pdf, ps or dvi, the
LaTeX-package hyperref has to be installed. 
This package should be part of all popular LaTeX-distributions”


 


Any help would be greatly received.  I have tried many things so far, including
running: tools-reconfigure


 


But, I am confused as to why I am doing this, since during
the installation, I should surely have got all the correct dependencies that
are required? – Especially since I followed accepted all defaults…


 


Any help greatly received for a LyX newbie.  It looks like a great piece of 
kit. I am
just miffed that it won’t work “out of the box” when using default settings.  


TIA,


Yanni. 







___ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All 
New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html

LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread Santiago Romero


 Hi,

 I'm running LyX 1.4.3-2~edgy1 under kubuntu, and I have an strange
error that I don't remember to suffer in previous LyX versions (it's
been 1 year since last time I used LyX).

 I'm writing a document (book) and I need to include shell (bash)
source code embebed. I'm using the LyX-Code environment and pasting
the source code as lines.

 The problem is that I can't paste - characters. I mean, I paste
under LyX-Code the following source code:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec softlimit -m 300 \
(...)

 Then I select View - DVI and I get the following error in each
of the - (minus) signs of the above code:


Bad character code (-1)

QMAILDUID=`id~-u
 ~qmaild`
A character number must be between 0 and 255.
I changed this one to zero.


 (The same error for each of the - signs in my code).

 If I remember correctly, I've used - signs in my source code
into the Lyx-Code environment for years and I never got this
message ...

 Any idea of what I'm doing wrong? :?

 Thanks
--
Santiago Romero



Re: Newbie windows install problem class scrbook is unknown

2007-01-17 Thread Ingar Pareliussen
on. 17. januar 2007 02:16 skreiv yanni papastavrou:
 Hi,

 “Using the default document class, because the class scrbook
 is unknown”

Install the koma-script package. Your miktex installation should have a 
package handler, find this and search for koma and install it. After that 
reconfigure LyX and you should be set. 

 And also, at the top of the User’s guide, there is a big
 yellow message saying:

 “To export this document as pdf, ps or dvi, the
 LaTeX-package hyperref has to be installed.
 This package should be part of all popular LaTeX-distributions”

Just ignore this, miktex should have hyperref installled, if not LyX will give 
you a error-message that it does not find hyperref.

Ingar


Re: LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread Ingar Pareliussen
on. 17. januar 2007 12:47 skreiv Santiago Romero:
   Hi,
snip
   Then I select View - DVI and I get the following error in each
 of the - (minus) signs of the above code:

 
 Bad character code (-1)

 QMAILDUID=`id~-u
   ~qmaild`
 A character number must be between 0 and 255.
 I changed this one to zero.
 

   (The same error for each of the - signs in my code).

   If I remember correctly, I've used - signs in my source code
 into the Lyx-Code environment for years and I never got this
 message ...

   Any idea of what I'm doing wrong? :?

Well, I do not know why, but I think it might be a language issue. Try to set 
the LyX-Code as english. 

Ingar 


Re: Newbie windows install problem class scrbook is unknown

2007-01-17 Thread Andreas K .
yanni papastavrou [EMAIL PROTECTED] writes:

 “Using the default document class, because the class scrbook
 is unknown”


Hi, 

1. Open the MiKTeX Settings
2. Choose Package installation: Install missing packages on-the-fly: Yes
3. Then, reconfigure LyX

If this does not work, try 
1. Open MiKTeX  Settings
2. Choose Refresh FNDB
3. Then, reconfigure LyX

If this does not work, try 
1. Open MiKTeX  Update, and update MiKTeX
2. Open MiKTeX  Settings
2. Choose Refresh FNDB
3. Then, reconfigure LyX

Regards,
Andreas



Re: how to produce hatted (circumflex) symbols in Lyx?

2007-01-17 Thread Andreas K .
Srinivas Nedunuri [EMAIL PROTECTED] writes:

 
 ..besides typing in some ERT? 
 
 

Use: Insert  Math  Math panel  Symbols  Frame decorations

Regards,
Andreas





Re: Deriving a new LyX environment

2007-01-17 Thread Ingar Pareliussen
ty. 16. januar 2007 23:10 skreiv Steve Litt:
 On Tuesday 16 January 2007 16:41, Steve Litt wrote:
  On Friday 21 January 2005 13:52, Matej Cepl wrote:
   Steve Litt wrote:
snip
  What I want to know is this: where does \enddescription come from?

 I just realized neither \endolddescription nor \enddescription are used
 subsequently. What's the purpose of the line:

 \let\endolddescription=\enddescription

Hi Steve,

I am no LaTeX guru, but as I understand the two first lines:
\let\olddescription=\description
\let\endolddescription=\enddescription
are just there to rename the start and end names of the envirnoment so the old 
and unchanges envirnoment still can be used.  

from 
http://www.personal.ceu.hu/tex/defs.htm:
\newenvironment, \renewenvironment
 \newenvironment{nam}[args]{begdef}{enddef}
 \renewenvironment{nam}[args]{begdef}{enddef}

These commands define or redefine an environment. 

nam The name of the environment. For \newenvironment there must be no 
currently defined environment by that name, and the command \nam must be 
undefined.

args An integer from 1 to 9 denoting the number of arguments of the 
newly-defined environment. The default is no arguments. 

begdef The text substituted for every occurrence of \begin{name} or 
\begin{name}{arg1, arg2, }; a parameter of the form #n in cmd is replaced by 
the text of the nth argument when this substitution takes place. 

enddef The text substituted for every occurrence of \end{nam}. It may not 
contain any argument parameters. 

so (re)newenvionment constructs both \begin{environment} and \end{envirnoment} 
and both begin and end has to be renamed or be replaced be the renewcommand

I hope this help. And if I am mistaken I hope someone with a better grasp of 
LaTeX corrects me. :)

Ingar



Re: LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread Jean-Marc Lasgouttes
 Santiago == Santiago Romero [EMAIL PROTECTED] writes:

Santiago  The problem is that I can't paste - characters. I mean, I
Santiago paste under LyX-Code the following source code:

Santiago #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild`
Santiago exec softlimit -m 300 \ (...)

Santiago  Then I select View - DVI and I get the following error in
Santiago each of the - (minus) signs of the above code:

Santiago  Bad character code (-1)

Santiago QMAILDUID=`id~-u ~qmaild` A character number must be between
Santiago 0 and 255. I changed this one to zero. 

Santiago  (The same error for each of the - signs in my code).

Santiago  If I remember correctly, I've used - signs in my source
Santiago code into the Lyx-Code environment for years and I never
Santiago got this message ...

Santiago  Any idea of what I'm doing wrong? :?

What you are doing wrong is write in Spanish :)

The Spanish mode makes the ~ character active so that people can type
~n for ñ and stuff like that. This is unfortunately not compatible
with LyX-Code where hard spaces are output as ~.

Try to add \noshorthandsspanish in the preamble.

JMarc




Re: how to produce hatted (circumflex) symbols in Lyx?

2007-01-17 Thread Charles de Miramon
Andreas K. wrote:

 Srinivas Nedunuri [EMAIL PROTECTED] writes:
 
 
 ..besides typing in some ERT?
 
 

Alt-x will open the minicli

then in the minicil type accent-circumflex i Enter to get î (You cane xpand
commands in the minicli with tabulation)

Charles


-- 
http://www.kde-france.org



Wiki: Page with search results re-structured - better/worse?

2007-01-17 Thread christian . ridderstrom

I tried changing the order of things on the page that displays search
results. Please let me know if this is better or worse than before.
(I don't feel entirely happy with it myself, so ideas are welcome).

Best regards
/Christian

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

Re: LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread Santiago Romero



Santiago  Any idea of what I'm doing wrong? :?

What you are doing wrong is write in Spanish :)

The Spanish mode makes the ~ character active so that people can type
~n for ñ and stuff like that. This is unfortunately not compatible
with LyX-Code where hard spaces are output as ~.

Try to add \noshorthandsspanish in the preamble.


 You're right. If I change Document Language from Spanish to English,
then it works perfectly, although I read Chapter 1 instead of
Capitulo 1 in the resulting DVI file.

 I've tried to add \noshorthandsspanish in the Document Preamble
(Document - Configuration - LaTeX Preamble), and I get an error:

Undefined control sequence

 \noshorthandsspanish

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


 Any idea? :?

--
Santiago Romero



Re: LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread killermike

Santiago Romero wrote:


 Hi,

 I'm running LyX 1.4.3-2~edgy1 under kubuntu, and I have an strange
error that I don't remember to suffer in previous LyX versions (it's
been 1 year since last time I used LyX).


I have a completely UK setup of Kubuntu and I have similar problems. If
I cut and paste some text from a website (firefox), any '-' characters
are pasted as '?'.

--
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio





Re: LyX-Code env, bash source code, and Bad character code (-1)

2007-01-17 Thread Jean-Marc Lasgouttes
 Santiago == Santiago Romero [EMAIL PROTECTED] writes:

Santiago  I've tried to add \noshorthandsspanish in the Document
Santiago Preamble (Document - Configuration - LaTeX Preamble), and
Santiago I get an error:

Santiago Undefined control sequence

Santiago  \noshorthandsspanish

Try to put it as ERT at the beginning of your document.

JMarc


Re: [announce] LyX150svn from 15-01-2007 for Windows

2007-01-17 Thread Olivier Ripoll

Uwe Stöhr wrote:

Hello LyXTesters,

I published a new version with LyX1.5.0svn from 15-01-2007:

http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=12024 


Hi,

Using WinXP SP2, English (United States) keyboard with United States 
International layout, I observe a strange behaviour with the accents (^ 
' `  and ~).

With this layout, here is the expected behaviour:
' followed by e will give  é
' followed by space will give '
' followed by ' will give ''
Same for `, ^, ~ and 

The first time I use the character ^ (for accentuated letters îêôû or in 
math mode for an exponent), it works. Subsequent uses of the ^ key does 
not work anymore. Like if the key was dead...


The first time I use the ' key (for example followed by a letter to 
produce accentuated letters éúóí or ç), it does not work and the 
un-accentuated letter is written. Subsequent uses of the accent do work 
fine though.


The first time I use the ` key followed by a letter (e.g. i), it 
produces ~i instead of ì. Subsequent uses work as expected.
Little subtlety: if I produce a tilde ~ before (like the ñ), the first ` 
will work  fine (the tilde is produced by SHIFT + ` on my keyboard).


Umlauts is the same as ' and `, however, since the  and ' (double and 
single quotes characters) are on the same key, the effect is similar as 
for ` and ~: If I try to use the ' first, them all subsequent uses of  
and ' will work, and if I start using  first, then all subsequent uses 
of ' and  will work fine.


I observed the same effect with the previous 1.5.0 svn version. I have 
no TeX installed, I just wanted to test the new LyX. No error messages 
appear in the console, even when I launch LyX from a console.


Another bug I noticed is a crash (SIGSEV):
1- start LyX, create a new file
2- ctrl+shift+m to enter a display formula
3- type a followed by ^ then 2 (without the quotes) to produce a 
power 2

it crashes

However, if step 3 is changed by typing space between ^ and 2, I 
have no crash.


The crash also happens if the formula is inline, and if I use the menu 
instead of ctrl+shift+m. Of if I use other letters x power of 3, etc.


I hope you can reproduce this,

Best regards,

Olivier.




plain note

2007-01-17 Thread Philipp Fleig

Hello everybody,

I am new to LyX and I want to write a simple note using Lyx. Just a  
few lines and some formulae, so no sections, dates, heading etc.

What document class should I use for this?
Thanks a lot.

Philipp 


LyXWinstaller Virus/trojan warning?

2007-01-17 Thread Dirk Schöttler

Hello,

I've installed LyX using the alternative LyXWinInstaller 2.9 (small).


http://wiki.lyx.org/Windows/LyXWinInstaller
http://developer.berlios.de/projects/lyxwininstall

During the installation of the Aspell component, my antivirus tool gave 
an alert:
The file InetLoad.dll would contain a trojan horse called 
TR/Dldr.Agent.bcw.
The path was under \Documents and Settings\Local Settings\Temp..., but 
was deleted after forbidding the execution.


Do you know if this is a false alarm?

Bye, thank you!

Dirk





Re: LyXWinstaller Virus/trojan warning?

2007-01-17 Thread Georg Baum
Am Mittwoch, 17. Januar 2007 21:19 schrieb Dirk Schöttler:

 Do you know if this is a false alarm?

Probably yes. If you search the list archive you can find some 
explanations. Could somebody put this on the wiki please?


Georg



Re: plain note

2007-01-17 Thread Les Denham
On Wednesday 17 January 2007 12:48, Philipp Fleig wrote:
 Hello everybody,

 I am new to LyX and I want to write a simple note using Lyx. Just a
 few lines and some formulae, so no sections, dates, heading etc.
 What document class should I use for this?
 Thanks a lot.

 Philipp

Phillipp,

I'd just use article.  I'd leave everything in Standard environment, and 
put the formulae in using the Insert math.

I might change the margins, but otherwise I'd just type the note and print it 
or export to PDF.

-- 
L. R. Denham

Gentoo Linux 2005.1 Kernel 2.6.10-gentoo-r6


Re: [announce] LyX150svn from 15-01-2007 for Windows

2007-01-17 Thread Uwe Stöhr

Olivier Ripoll schrieb:

Using WinXP SP2, English (United States) keyboard with United States 
International layout, I observe a strange behaviour with the accents (^ 
' `  and ~).

With this layout, here is the expected behaviour:
' followed by e will give  é
' followed by space will give '
' followed by ' will give ''


All these examples work here, the problem seems that you use the wrong character, use the  ´  and 
not the  '  key. I don't have an English keyboard, on my German the  ´  and  `  character are 
on the same keyboard button.


The first time I use the character ^ (for accentuated letters îêôû or in 
math mode for an exponent), it works. Subsequent uses of the ^ key does 
not work anymore. Like if the key was dead...


Here, pressing  ^  produces  ^^ , so it works for me.

The first time I use the ' key (for example followed by a letter to 
produce accentuated letters éúóí or ç), it does not work and the 
un-accentuated letter is written. Subsequent uses of the accent do work 
fine though.


See my first comment concerning the  ´ character.

The first time I use the ` key followed by a letter (e.g. i), it 
produces ~i instead of ì. Subsequent uses work as expected.
Little subtlety: if I produce a tilde ~ before (like the ñ), the first ` 
will work  fine (the tilde is produced by SHIFT + ` on my keyboard).


Please check your keyboard settings and better define your own keyboard layout using the the program 
keyboardlayoutcreator which is freely available here:


http://www.microsoft.com/globaldev/tools/msklc.mspx
(doesn't work on 64bit systems)

This program is easy to use and assures that the dead keys are set properly.

Besides this don't you have similar problem when you make the same tests in 
Windows' Notepad?

  Another bug I noticed is a crash (SIGSEV):

1- start LyX, create a new file
2- ctrl+shift+m to enter a display formula
3- type a followed by ^ then 2 (without the quotes) to produce a 
power 2

it crashes


Couldn't reproduce with latest SVN build. But anyway, when you found a bug 
please report it here:

bugzilla.lyx.org.
(please check that it isn't already reported)

regards Uwe


Re: plain note

2007-01-17 Thread Andreas K .
Philipp Fleig [EMAIL PROTECTED] writes:

 
 Hello everybody,
 
 I am new to LyX and I want to write a simple note using Lyx. Just a  
 few lines and some formulae, so no sections, dates, heading etc.
 What document class should I use for this?
 Thanks a lot.
 
 Philipp 
 
 

The article class.

Andreas





Re: plain note

2007-01-17 Thread Philipp Fleig

Hi,

this is actually what I am doing at the moment.
Thank you all for your help.

Philipp

Am 17.01.2007 um 22:10 schrieb Les Denham:


On Wednesday 17 January 2007 12:48, Philipp Fleig wrote:

Hello everybody,

I am new to LyX and I want to write a simple note using Lyx. Just a
few lines and some formulae, so no sections, dates, heading etc.
What document class should I use for this?
Thanks a lot.

Philipp


Phillipp,

I'd just use article.  I'd leave everything in Standard  
environment, and

put the formulae in using the Insert math.

I might change the margins, but otherwise I'd just type the note  
and print it

or export to PDF.

--
L. R. Denham

Gentoo Linux 2005.1 Kernel 2.6.10-gentoo-r6




Re: how to produce hatted (circumflex) symbols in Lyx?

2007-01-17 Thread Maria Gouskova

 Srinivas Nedunuri [EMAIL PROTECTED] writes:

 ..besides typing in some ERT?


You can enter circumflex accents in ASCII. In Mac OS X, switch your OS
keyboard to British (identical to American but allows one to use
keyboard shorcuts in LyX 1.4.3), and type â as option-i a. Or in
Windows:

http://home.earthlink.net/~awinkelried/keyboard_shortcuts.html

Or, hit Cmd+M (or Ctrl+M) twice and enter \^a. This is ERT but also
WYSIWYG and no packages need to be loaded.

mg


screen font zoom: math fonts problem

2007-01-17 Thread Alan Isaac
I see that others have had trouble getting their math fonts 
to zoom but I do not see a solution posted.

I just installed LyX on the Mac and except for this serious 
problem everything seems golden.  Is there a solution?

Thank you,
Alan Isaac






Re: Deriving a new LyX environment

2007-01-17 Thread Steve Litt
On Wednesday 17 January 2007 08:40, Ingar Pareliussen wrote:
 ty. 16. januar 2007 23:10 skreiv Steve Litt:
  On Tuesday 16 January 2007 16:41, Steve Litt wrote:
   On Friday 21 January 2005 13:52, Matej Cepl wrote:
Steve Litt wrote:

 snip

   What I want to know is this: where does \enddescription come from?
 
  I just realized neither \endolddescription nor \enddescription are used
  subsequently. What's the purpose of the line:
 
  \let\endolddescription=\enddescription

 Hi Steve,

 I am no LaTeX guru, but as I understand the two first lines:
 \let\olddescription=\description
 \let\endolddescription=\enddescription
 are just there to rename the start and end names of the envirnoment so the
 old and unchanges envirnoment still can be used.


You're absolutely right Ingar!

I did a huge amount of experimentation today and found out the real story. 
When you say \end{olddescription} in the ending part of the modified version 
of description, the \end{olddescription} constructs the macroname 
\endolddescription and runs whatever is stored in that macro. Without saving 
\enddescription to \endolddescription, the call to \end{description} will end 
any environments started in the beginning section of the modified copy of 
\description, but it will not perform any explicit writes declared in the 
original end section of \description.

I'll be covering this in a new LaTeX quickstart for LyX people.

Thanks,

SteveT

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



aspell

2007-01-17 Thread Wariner

Lyx is a great product and I have used it for years.

I recently reformatted my computer. When I reinstalled lyx (the online
installer and then later the full installer to try fix the problem), the
spellchecker didnt work, claiming it could not find the word list for
language en_US. I have installed the aspell dictionary and what claims to
be the wordlist. Nothing seems to work. Please help!


Re: aspell

2007-01-17 Thread Uwe Stöhr

Wariner schrieb:


I recently reformatted my computer. When I reinstalled lyx (the online
installer and then later the full installer to try fix the problem), the
spellchecker didnt work, claiming it could not find the word list for
language en_US. I have installed the aspell dictionary and what claims to
be the wordlist. Nothing seems to work. Please help!


You don't have to install a wordlist, this is created by Aspell. Unfortunately we had a bug in the 
latest release so that aspell didn't create the wordlist, you can either:


- replace the existing aspell.dll with the one that I'll attach to a private 
mail to you
or
- uninstall Aspell and all of its dictionaries and reinstall LyX using this 
installer:
  http://wiki.lyx.org/Windows/LyXWinInstaller
  that comes with the fixed aspell

Try out the first method and if it doesn't help, try out the second.

regards Uwe


Newbie windows install problem "class scrbook is unknown"

2007-01-17 Thread yanni papastavrou


Hi,


I just downloaded and installed lyx for windows:


ftp://ftp.lyx.org/pub/lyx/bin/1.4.3/lyx-143-5.exe


 


Prior to this, I had no earlier latex related software
installed. I selected all the default answers during the installation.  I 
installed on my windows XP latest and
greatest.


 


After the fresh installation, when I run Lyx, I selected
help->tutorial and was able to view the dvi for this without difficulty.


 


I then tried help->user’s guide and I get the error:


 


“Using the default document class, because the class scrbook
is unknown”


I then get a window full of multiple “Unknown layout” error
messages, each one referring to a particular layout.  The title of this window 
is “LyX: Parse errors”


And also, at the top of the User’s guide, there is a big
yellow message saying:


“To export this document as pdf, ps or dvi, the
LaTeX-package hyperref has to be installed. 
This package should be part of all popular LaTeX-distributions”


 


Any help would be greatly received.  I have tried many things so far, including
running: tools->reconfigure


 


But, I am confused as to why I am doing this, since during
the installation, I should surely have got all the correct dependencies that
are required? – Especially since I followed accepted all defaults…


 


Any help greatly received for a LyX newbie.  It looks like a great piece of 
kit. I am
just miffed that it won’t work “out of the box” when using default settings.  


TIA,


Yanni. 







___ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All 
New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html

LyX-Code env, bash source code, and "Bad character code (-1)"

2007-01-17 Thread Santiago Romero


 Hi,

 I'm running LyX 1.4.3-2~edgy1 under kubuntu, and I have an strange
error that I don't remember to suffer in previous LyX versions (it's
been 1 year since last time I used LyX).

 I'm writing a document (book) and I need to include shell (bash)
source code embebed. I'm using the LyX-Code environment and pasting
the source code as lines.

 The problem is that I can't paste "-" characters. I mean, I paste
under LyX-Code the following source code:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec softlimit -m 300 \
(...)

 Then I select View -> DVI and I get the following error in each
of the - (minus) signs of the above code:

"
Bad character code (-1)

QMAILDUID=`id~-u
 ~qmaild`
A character number must be between 0 and 255.
I changed this one to zero.
"

 (The same error for each of the "-" signs in my code).

 If I remember correctly, I've used "-" signs in my source code
into the "Lyx-Code" environment for years and I never got this
message ...

 Any idea of what I'm doing wrong? :?

 Thanks
--
Santiago Romero



Re: Newbie windows install problem "class scrbook is unknown"

2007-01-17 Thread Ingar Pareliussen
on. 17. januar 2007 02:16 skreiv yanni papastavrou:
> Hi,

> “Using the default document class, because the class scrbook
> is unknown”

Install the koma-script package. Your miktex installation should have a 
package handler, find this and search for koma and install it. After that 
reconfigure LyX and you should be set. 

> And also, at the top of the User’s guide, there is a big
> yellow message saying:
>
> “To export this document as pdf, ps or dvi, the
> LaTeX-package hyperref has to be installed.
> This package should be part of all popular LaTeX-distributions”

Just ignore this, miktex should have hyperref installled, if not LyX will give 
you a error-message that it does not find hyperref.

Ingar


Re: LyX-Code env, bash source code, and "Bad character code (-1)"

2007-01-17 Thread Ingar Pareliussen
on. 17. januar 2007 12:47 skreiv Santiago Romero:
>   Hi,

>   Then I select View -> DVI and I get the following error in each
> of the - (minus) signs of the above code:
>
> "
> Bad character code (-1)
>
> QMAILDUID=`id~-u
>   ~qmaild`
> A character number must be between 0 and 255.
> I changed this one to zero.
> "
>
>   (The same error for each of the "-" signs in my code).
>
>   If I remember correctly, I've used "-" signs in my source code
> into the "Lyx-Code" environment for years and I never got this
> message ...
>
>   Any idea of what I'm doing wrong? :?

Well, I do not know why, but I think it might be a language issue. Try to set 
the LyX-Code as english. 

Ingar 


Re: Newbie windows install problem "class scrbook is unknown"

2007-01-17 Thread Andreas K .
yanni papastavrou <[EMAIL PROTECTED]> writes:

> “Using the default document class, because the class scrbook
> is unknown”


Hi, 

1. Open the MiKTeX Settings
2. Choose Package installation: Install missing packages on-the-fly: Yes
3. Then, reconfigure LyX

If this does not work, try 
1. Open MiKTeX > Settings
2. Choose Refresh FNDB
3. Then, reconfigure LyX

If this does not work, try 
1. Open MiKTeX > Update, and update MiKTeX
2. Open MiKTeX > Settings
2. Choose Refresh FNDB
3. Then, reconfigure LyX

Regards,
Andreas



Re: how to produce hatted (circumflex) symbols in Lyx?

2007-01-17 Thread Andreas K .
Srinivas Nedunuri <[EMAIL PROTECTED]> writes:

> 
> ..besides typing in some ERT? 
> 
> 

Use: Insert > Math > Math panel > Symbols > Frame decorations

Regards,
Andreas





Re: Deriving a new LyX environment

2007-01-17 Thread Ingar Pareliussen
ty. 16. januar 2007 23:10 skreiv Steve Litt:
> On Tuesday 16 January 2007 16:41, Steve Litt wrote:
> > On Friday 21 January 2005 13:52, Matej Cepl wrote:
> > > Steve Litt wrote:

> > What I want to know is this: where does \enddescription come from?
>
> I just realized neither \endolddescription nor \enddescription are used
> subsequently. What's the purpose of the line:
>
> \let\endolddescription=\enddescription

Hi Steve,

I am no LaTeX guru, but as I understand the two first lines:
\let\olddescription=\description
\let\endolddescription=\enddescription
are just there to rename the start and end names of the envirnoment so the old 
and unchanges envirnoment still can be used.  

from 
http://www.personal.ceu.hu/tex/defs.htm:
>\newenvironment, \renewenvironment
> \newenvironment{nam}[args]{begdef}{enddef}
> \renewenvironment{nam}[args]{begdef}{enddef}
>
>These commands define or redefine an environment. 
>
>nam The name of the environment. For \newenvironment there must be no 
>currently defined environment by that name, and the command \nam must be 
>undefined.
>
>args An integer from 1 to 9 denoting the number of arguments of the 
>newly-defined environment. The default is no arguments. 
>
>begdef The text substituted for every occurrence of \begin{name} or 
>\begin{name}{arg1, arg2, }; a parameter of the form #n in cmd is replaced by 
>the text of the nth argument when this substitution takes place. 
>
>enddef The text substituted for every occurrence of \end{nam}. It may not 
>contain any argument parameters. 

so (re)newenvionment constructs both \begin{environment} and \end{envirnoment} 
and both begin and end has to be renamed or be replaced be the renewcommand

I hope this help. And if I am mistaken I hope someone with a better grasp of 
LaTeX corrects me. :)

Ingar



Re: LyX-Code env, bash source code, and "Bad character code (-1)"

2007-01-17 Thread Jean-Marc Lasgouttes
> "Santiago" == Santiago Romero <[EMAIL PROTECTED]> writes:

Santiago>  The problem is that I can't paste "-" characters. I mean, I
Santiago> paste under LyX-Code the following source code:

Santiago> #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild`
Santiago> exec softlimit -m 300 \ (...)

Santiago>  Then I select View -> DVI and I get the following error in
Santiago> each of the - (minus) signs of the above code:

Santiago> " Bad character code (-1)

Santiago> QMAILDUID=`id~-u ~qmaild` A character number must be between
Santiago> 0 and 255. I changed this one to zero. "

Santiago>  (The same error for each of the "-" signs in my code).

Santiago>  If I remember correctly, I've used "-" signs in my source
Santiago> code into the "Lyx-Code" environment for years and I never
Santiago> got this message ...

Santiago>  Any idea of what I'm doing wrong? :?

What you are doing wrong is write in Spanish :)

The Spanish mode makes the ~ character active so that people can type
~n for ñ and stuff like that. This is unfortunately not compatible
with LyX-Code where hard spaces are output as ~.

Try to add \noshorthandsspanish in the preamble.

JMarc




Re: how to produce hatted (circumflex) symbols in Lyx?

2007-01-17 Thread Charles de Miramon
Andreas K. wrote:

> Srinivas Nedunuri <[EMAIL PROTECTED]> writes:
> 
>> 
>> ..besides typing in some ERT?
>> 
>> 

Alt-x will open the minicli

then in the minicil type accent-circumflex i Enter to get î (You cane xpand
commands in the minicli with tabulation)

Charles


-- 
http://www.kde-france.org



Wiki: Page with search results re-structured - better/worse?

2007-01-17 Thread christian . ridderstrom

I tried changing the order of things on the page that displays search
results. Please let me know if this is better or worse than before.
(I don't feel entirely happy with it myself, so ideas are welcome).

Best regards
/Christian

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

Re: LyX-Code env, bash source code, and "Bad character code (-1)"

2007-01-17 Thread Santiago Romero



Santiago>  Any idea of what I'm doing wrong? :?

What you are doing wrong is write in Spanish :)

The Spanish mode makes the ~ character active so that people can type
~n for ñ and stuff like that. This is unfortunately not compatible
with LyX-Code where hard spaces are output as ~.

Try to add \noshorthandsspanish in the preamble.


 You're right. If I change Document Language from Spanish to English,
then it works perfectly, although I read "Chapter 1" instead of
"Capitulo 1" in the resulting DVI file.

 I've tried to add \noshorthandsspanish in the Document Preamble
(Document -> Configuration -> LaTeX Preamble), and I get an error:

"Undefined control sequence

 \noshorthandsspanish

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
"

 Any idea? :?

--
Santiago Romero



Re: LyX-Code env, bash source code, and "Bad character code (-1)"

2007-01-17 Thread killermike

Santiago Romero wrote:


 Hi,

 I'm running LyX 1.4.3-2~edgy1 under kubuntu, and I have an strange
error that I don't remember to suffer in previous LyX versions (it's
been 1 year since last time I used LyX).


I have a completely UK setup of Kubuntu and I have similar problems. If
I cut and paste some text from a website (firefox), any '-' characters
are pasted as '?'.

--
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio





Re: LyX-Code env, bash source code, and "Bad character code (-1)"

2007-01-17 Thread Jean-Marc Lasgouttes
> "Santiago" == Santiago Romero <[EMAIL PROTECTED]> writes:

Santiago>  I've tried to add \noshorthandsspanish in the Document
Santiago> Preamble (Document -> Configuration -> LaTeX Preamble), and
Santiago> I get an error:

Santiago> "Undefined control sequence

Santiago>  \noshorthandsspanish

Try to put it as ERT at the beginning of your document.

JMarc


Re: [announce] LyX150svn from 15-01-2007 for Windows

2007-01-17 Thread Olivier Ripoll

Uwe Stöhr wrote:

Hello LyXTesters,

I published a new version with LyX1.5.0svn from 15-01-2007:

http://developer.berlios.de/project/showfiles.php?group_id=5117_id=12024 


Hi,

Using WinXP SP2, "English (United States)" keyboard with "United States 
International" layout, I observe a strange behaviour with the accents (^ 
' ` " and ~).

With this layout, here is the expected behaviour:
"'" followed by "e" will give  é
"'" followed by space will give '
"'" followed by "'" will give ''
Same for `, ^, ~ and "

The first time I use the character ^ (for accentuated letters îêôû or in 
math mode for an exponent), it works. Subsequent uses of the ^ key does 
not work anymore. Like if the key was dead...


The first time I use the ' key (for example followed by a letter to 
produce accentuated letters éúóí or ç), it does not work and the 
un-accentuated letter is written. Subsequent uses of the accent do work 
fine though.


The first time I use the ` key followed by a letter (e.g. "i"), it 
produces "~i" instead of "ì". Subsequent uses work as expected.
Little subtlety: if I produce a tilde ~ before (like the ñ), the first ` 
will work  fine (the tilde is produced by SHIFT + ` on my keyboard).


Umlauts is the same as ' and `, however, since the " and ' (double and 
single quotes characters) are on the same key, the effect is similar as 
for ` and ~: If I try to use the ' first, them all subsequent uses of " 
and ' will work, and if I start using " first, then all subsequent uses 
of ' and " will work fine.


I observed the same effect with the previous 1.5.0 svn version. I have 
no TeX installed, I just wanted to test the new LyX. No error messages 
appear in the console, even when I launch LyX from a console.


Another bug I noticed is a crash (SIGSEV):
1- start LyX, create a new file
2- "ctrl+shift+m" to enter a display formula
3- type "a" followed by "^" then "2" (without the quotes) to produce a 
power 2

it crashes

However, if step 3 is changed by typing space between "^" and "2", I 
have no crash.


The crash also happens if the formula is inline, and if I use the menu 
instead of ctrl+shift+m. Of if I use other letters "x power of 3", etc.


I hope you can reproduce this,

Best regards,

Olivier.




plain note

2007-01-17 Thread Philipp Fleig

Hello everybody,

I am new to LyX and I want to write a simple "note" using Lyx. Just a  
few lines and some formulae, so no sections, dates, heading etc.

What document class should I use for this?
Thanks a lot.

Philipp 


LyXWinstaller Virus/trojan warning?

2007-01-17 Thread Dirk Schöttler

Hello,

I've installed LyX using the "alternative" LyXWinInstaller 2.9 (small).


http://wiki.lyx.org/Windows/LyXWinInstaller
http://developer.berlios.de/projects/lyxwininstall

During the installation of the Aspell component, my antivirus tool gave 
an alert:
The file "InetLoad.dll" would contain a trojan horse called 
"TR/Dldr.Agent.bcw".
The path was under \Documents and Settings\Local Settings\Temp..., but 
was deleted after forbidding the execution.


Do you know if this is a false alarm?

Bye, thank you!

Dirk





Re: LyXWinstaller Virus/trojan warning?

2007-01-17 Thread Georg Baum
Am Mittwoch, 17. Januar 2007 21:19 schrieb Dirk Schöttler:

> Do you know if this is a false alarm?

Probably yes. If you search the list archive you can find some 
explanations. Could somebody put this on the wiki please?


Georg



Re: plain note

2007-01-17 Thread Les Denham
On Wednesday 17 January 2007 12:48, Philipp Fleig wrote:
> Hello everybody,
>
> I am new to LyX and I want to write a simple "note" using Lyx. Just a
> few lines and some formulae, so no sections, dates, heading etc.
> What document class should I use for this?
> Thanks a lot.
>
> Philipp

Phillipp,

I'd just use "article".  I'd leave everything in "Standard" environment, and 
put the formulae in using the "Insert math".

I might change the margins, but otherwise I'd just type the note and print it 
or export to PDF.

-- 
L. R. Denham

Gentoo Linux 2005.1 Kernel 2.6.10-gentoo-r6


Re: [announce] LyX150svn from 15-01-2007 for Windows

2007-01-17 Thread Uwe Stöhr

Olivier Ripoll schrieb:

Using WinXP SP2, "English (United States)" keyboard with "United States 
International" layout, I observe a strange behaviour with the accents (^ 
' ` " and ~).

With this layout, here is the expected behaviour:
"'" followed by "e" will give  é
"'" followed by space will give '
"'" followed by "'" will give ''


All these examples work here, the problem seems that you use the wrong character, use the " ´ " and 
not the " ' " key. I don't have an English keyboard, on my German the " ´ " and " ` " character are 
on the same keyboard button.


The first time I use the character ^ (for accentuated letters îêôû or in 
math mode for an exponent), it works. Subsequent uses of the ^ key does 
not work anymore. Like if the key was dead...


Here, pressing " ^ " produces " ^^ ", so it works for me.

The first time I use the ' key (for example followed by a letter to 
produce accentuated letters éúóí or ç), it does not work and the 
un-accentuated letter is written. Subsequent uses of the accent do work 
fine though.


See my first comment concerning the " ´" character.

The first time I use the ` key followed by a letter (e.g. "i"), it 
produces "~i" instead of "ì". Subsequent uses work as expected.
Little subtlety: if I produce a tilde ~ before (like the ñ), the first ` 
will work  fine (the tilde is produced by SHIFT + ` on my keyboard).


Please check your keyboard settings and better define your own keyboard layout using the the program 
"keyboardlayoutcreator" which is freely available here:


http://www.microsoft.com/globaldev/tools/msklc.mspx
(doesn't work on 64bit systems)

This program is easy to use and assures that the dead keys are set properly.

Besides this don't you have similar problem when you make the same tests in 
Windows' Notepad?

 > Another bug I noticed is a crash (SIGSEV):

1- start LyX, create a new file
2- "ctrl+shift+m" to enter a display formula
3- type "a" followed by "^" then "2" (without the quotes) to produce a 
power 2

it crashes


Couldn't reproduce with latest SVN build. But anyway, when you found a bug 
please report it here:

bugzilla.lyx.org.
(please check that it isn't already reported)

regards Uwe


Re: plain note

2007-01-17 Thread Andreas K .
Philipp Fleig <[EMAIL PROTECTED]> writes:

> 
> Hello everybody,
> 
> I am new to LyX and I want to write a simple "note" using Lyx. Just a  
> few lines and some formulae, so no sections, dates, heading etc.
> What document class should I use for this?
> Thanks a lot.
> 
> Philipp 
> 
> 

The article class.

Andreas





Re: plain note

2007-01-17 Thread Philipp Fleig

Hi,

this is actually what I am doing at the moment.
Thank you all for your help.

Philipp

Am 17.01.2007 um 22:10 schrieb Les Denham:


On Wednesday 17 January 2007 12:48, Philipp Fleig wrote:

Hello everybody,

I am new to LyX and I want to write a simple "note" using Lyx. Just a
few lines and some formulae, so no sections, dates, heading etc.
What document class should I use for this?
Thanks a lot.

Philipp


Phillipp,

I'd just use "article".  I'd leave everything in "Standard"  
environment, and

put the formulae in using the "Insert math".

I might change the margins, but otherwise I'd just type the note  
and print it

or export to PDF.

--
L. R. Denham

Gentoo Linux 2005.1 Kernel 2.6.10-gentoo-r6




Re: how to produce hatted (circumflex) symbols in Lyx?

2007-01-17 Thread Maria Gouskova

> Srinivas Nedunuri <[EMAIL PROTECTED]> writes:
>
>> ..besides typing in some ERT?


You can enter circumflex accents in ASCII. In Mac OS X, switch your OS
keyboard to "British" (identical to American but allows one to use
keyboard shorcuts in LyX 1.4.3), and type â as "option-i a." Or in
Windows:

http://home.earthlink.net/~awinkelried/keyboard_shortcuts.html

Or, hit Cmd+M (or Ctrl+M) twice and enter \^a. This is ERT but also
WYSIWYG and no packages need to be loaded.

mg


screen font zoom: math fonts problem

2007-01-17 Thread Alan Isaac
I see that others have had trouble getting their math fonts 
to zoom but I do not see a solution posted.

I just installed LyX on the Mac and except for this serious 
problem everything seems golden.  Is there a solution?

Thank you,
Alan Isaac






Re: Deriving a new LyX environment

2007-01-17 Thread Steve Litt
On Wednesday 17 January 2007 08:40, Ingar Pareliussen wrote:
> ty. 16. januar 2007 23:10 skreiv Steve Litt:
> > On Tuesday 16 January 2007 16:41, Steve Litt wrote:
> > > On Friday 21 January 2005 13:52, Matej Cepl wrote:
> > > > Steve Litt wrote:
>
> 
>
> > > What I want to know is this: where does \enddescription come from?
> >
> > I just realized neither \endolddescription nor \enddescription are used
> > subsequently. What's the purpose of the line:
> >
> > \let\endolddescription=\enddescription
>
> Hi Steve,
>
> I am no LaTeX guru, but as I understand the two first lines:
> \let\olddescription=\description
> \let\endolddescription=\enddescription
> are just there to rename the start and end names of the envirnoment so the
> old and unchanges envirnoment still can be used.


You're absolutely right Ingar!

I did a huge amount of experimentation today and found out the real story. 
When you say \end{olddescription} in the ending part of the modified version 
of description, the \end{olddescription} constructs the macroname 
\endolddescription and runs whatever is stored in that macro. Without saving 
\enddescription to \endolddescription, the call to \end{description} will end 
any environments started in the beginning section of the modified copy of 
\description, but it will not perform any explicit writes declared in the 
original end section of \description.

I'll be covering this in a new LaTeX quickstart for LyX people.

Thanks,

SteveT

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



aspell

2007-01-17 Thread Wariner

Lyx is a great product and I have used it for years.

I recently reformatted my computer. When I reinstalled lyx (the online
installer and then later the full installer to try fix the problem), the
spellchecker didnt work, claiming it could not find the word list for
language "en_US". I have installed the aspell dictionary and what claims to
be the wordlist. Nothing seems to work. Please help!


Re: aspell

2007-01-17 Thread Uwe Stöhr

Wariner schrieb:


I recently reformatted my computer. When I reinstalled lyx (the online
installer and then later the full installer to try fix the problem), the
spellchecker didnt work, claiming it could not find the word list for
language "en_US". I have installed the aspell dictionary and what claims to
be the wordlist. Nothing seems to work. Please help!


You don't have to install a wordlist, this is created by Aspell. Unfortunately we had a bug in the 
latest release so that aspell didn't create the wordlist, you can either:


- replace the existing aspell.dll with the one that I'll attach to a private 
mail to you
or
- uninstall Aspell and all of its dictionaries and reinstall LyX using this 
installer:
  http://wiki.lyx.org/Windows/LyXWinInstaller
  that comes with the fixed aspell

Try out the first method and if it doesn't help, try out the second.

regards Uwe