Re: Using LaTeX math macros

2011-04-21 Thread Guenter Milde
On 2011-04-20, Julien Rioux wrote:
 On 20/04/2011 3:39 PM, Mathieu Dubois wrote:
 Hello,

 I'm a new LyX user but I'm a bit experienced with LaTeX.

 I have developed my own set of LaTeX math macros (mainly to have simple
 and coherent notations). It's not a package but just a tex file that I
 \input in my documents.

 I have \input'ed my tex file in the preamble but I cannot use commands
 with several arguments because LyX interprets the curly braces.

 How can I use my macros?

 The best way is probably to define them as LyX macros but I have no idea
 of how to do that.

 Thanks in advance,
 Mathieu


 The quick and dirty way to get in latex {arg} in math is to type \{ arg
 (i.e., backslash, curly brace, space, a, r, g)

I.e. in LyX's math editor,
type { to get \{ 
and \{ to get {

 For ease of use in the long term you could define all such macros by 
 Insert  Math  Macro. Create one such file math-macros.lyx and \input 
 it once in your master document. (while defining macros in LyX, type \#1 
 to get the latex #1)

You can also try to re-lyx your math macro TeX file (FileImportLaTeX).
If this fails, you can paste the macro definitions into a LyX buffer
as text, select and convert to math (Ctrl-m).

Günter



Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-21 Thread Guenter Milde
On 2011-04-20, Liviu Andronic wrote:
 On Wed, Apr 20, 2011 at 4:44 PM, Julien Rioux  Unless you bother to
 watch the video you won't get it.
 (jump to 13:30 for the pronunciation)

Or read the transkript at http://www.tug.org/TUGboat/tb31-2/tb98knut.pdf:

  How does one properly pronounce this name? Listen carefully: “ˇı-t´ex”
  [“ ˇ ee-t´ecks”]. In the first place, you’ll notice that it should be
  said musically, with tones as in Mandarin. (The first vowel is spoken
  with a dipping tone, “ˇı”, where the pitch falls and then rises. The
  second vowel has a strictly rising tone, “´e”, almost as if you’re 
  asking a question.) In the second place, you’ll notice that I’ve also
  rung a bell when saying the name. The bell is also part of the logo.

 OK, I got to the part:
 Every-
 thing in the new system is menu-driven, somewhat
 in the style of “Microsoft Word” but considerably
 enhanced:

 So I guess we'll have to wait for pigs to fly before we port LyX to iTeX.

Isn't LyX already an iTeX¹ prototype?

* menu-driven

* Of course the character set for my new system
  is Unicode, so that there is 100% support for all of
  the languages and metalanguages of the world. 

* Automatic spelling and grammar correction are built in
  for each language,

* Different languages can freely be intermixed at will, always with
  appropriate ligatures, kerning, and hyphenation.

* arbitrary symbolic calculations, with polynomials and power series and
  matrices and partial differential equation solvers and convex
  optimization,

* the production of hyperdocuments and web pages

Still lacking are the innovative pricing strategies.


Günter

  
¹ [A bell rings at this point.]  



Re: Lyx 2 binary installer

2011-04-21 Thread Pavel Sanda
ehud.kap...@gmail.com wrote:
 Where is the Lyx 2 binary installer (for Windows)?

it should be available on ftp later today. pavel


super-/subscript Lyx-function name for bindfile

2011-04-21 Thread Sean Wendt
Hi,

I am doing some linguistic annotation [subpredicate/subliteral]
for which I use subscript quite often outside of math environments,
thus would like to map the commands that insert \textsubscript and
\textsuperscript to a shortcut, but haven't been able to find out the
name of the lyx-function for writing the bindfile.
I also would like to avoid the workaround macro C-M _ \text  as there
is \textsubscript .

I'm sure it should be in the LyxFunction list for Lyx2.0, but it's not
in the wiki. What is the name of the function and where can I look it
up?

Regards,
Sean


Spellcheck

2011-04-21 Thread Helena Sandström
Hello,

My name is Helena and I have just started using Lyx. When I install it the 
spell check dictionary for swedish and english is missing. How can I get around 
that problem?

Thank you


Helena


Please consider the environment before printing this e-mail.

The contents of this e-mail message (including any attachments) are 
confidential to and are intended to be conveyed for the use of the recipient to 
whom it is addressed only. If you receive this transmission in error, please 
notify the sender of this immediately and delete the message from your system. 
Any distribution, reproduction or use of this message by someone other than 
recipient is not authorized and may be unlawful.


Re: Master document

2011-04-21 Thread Mathieu Dubois

On 04/20/2011 11:25 PM, Julien Rioux wrote:

On 20/04/2011 4:00 PM, Mathieu Dubois wrote:

Hello (again),

I have another question.

I'm writing my PhD thesis (how many messages started like this one on
this list?). Of course I have planned to split the document into a
master document and child documents. I have set the master document
field of each child document.

However each chapter is rather long so I wanted to split chapters into
several files (one for each section). I have several questions.

First I have then to use input instead of include, right?

Second, what is the master document of the section file? Is it the main
document or the chapter one? Would it be better include every section
into the main document?

Third, I have configured my main document for using hyperef and saved as
default. But then when compiling the document LyX complains about option
clashes in hyperef. Do I have to use hyperef only for the master?

Thanks in advance,
Mathieu




Hello,

1) \include starts the content on a new page, \input does not.

OK. So I can \include the chapter and \input the section.

2) I would try to set the master of section.lyx to chapter.lyx, I think.
That's what I did. The only problem I that I cannot compile the section 
alone (I have to compile the chapter). Not a big deal.

3) Not all options are inherited between master and childs, you mostly
have to repeat the settings in both to avoid any problems. (you can do
it once for one of the child, then copy paste the heading of the .lyx
files in an standard text editor to save time.

Thanks for the trick.

Thanks,
Mathieu



Re: Master document

2011-04-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 21/04/11 15:28, Mathieu Dubois wrote:
 On 04/20/2011 11:25 PM, Julien Rioux wrote:
 On 20/04/2011 4:00 PM, Mathieu Dubois wrote:
 Hello (again),

 I have another question.

 I'm writing my PhD thesis (how many messages started like this one on
 this list?). Of course I have planned to split the document into a
 master document and child documents. I have set the master document
 field of each child document.

 However each chapter is rather long so I wanted to split chapters into
 several files (one for each section). I have several questions.

 First I have then to use input instead of include, right?

 Second, what is the master document of the section file? Is it the main
 document or the chapter one? Would it be better include every section
 into the main document?

 Third, I have configured my main document for using hyperef and saved as
 default. But then when compiling the document LyX complains about option
 clashes in hyperef. Do I have to use hyperef only for the master?

 Thanks in advance,
 Mathieu


 Hello,
 1) \include starts the content on a new page, \input does not.
 OK. So I can \include the chapter and \input the section.
 2) I would try to set the master of section.lyx to chapter.lyx, I think.
 That's what I did. The only problem I that I cannot compile the section
 alone (I have to compile the chapter). Not a big deal.
 3) Not all options are inherited between master and childs, you mostly
 have to repeat the settings in both to avoid any problems. (you can do
 it once for one of the child, then copy paste the heading of the .lyx
 files in an standard text editor to save time.
 Thanks for the trick.

Just something more: I used for the preamble in LyX a separate file
(preamble.tex) and included it in the preamble field of my documents
(child and master) as

\include{preamble.tex}

So I had to change the preamble only once, and it was always in all
documents. If you put \hyperref and the config for hyperref in this
document and disable the hyperref use in the LyX document options, yo
should have solved your problems as well.

Cheers,

Rainer
 
 Thanks,
 Mathieu
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2wMv4ACgkQoYgNqgF2egpKBQCdHnY4xkqCydQRkgUpFdLhl824
2n0An2Qe+fExael7xNqHxefVsm0JVG3u
=aVhC
-END PGP SIGNATURE-


Re: Layout: OptionalArgs

2011-04-21 Thread Richard Heck

On 04/20/2011 12:19 PM, Jürgen Spitzmüller wrote:

2011/4/20 Diego Queiroz:

Oh. You're right. Thanks.
Anyway, I just noted that one can override this setting copying and pasting
the Opt field as many times he/she wish.
Isn't this a problem?

Yes, the UI is far from ideal. I think we should make optional (and
required) arguments part of the paragraph dialog (as we have already
with the longest label input field, which is also an optional
argument of the lists). We would lose the ability to format the
content and embed insets this way, though (at least as long as we do
not have a work area widget, as in the advances search dialog).

I've done a little work on this and hope to complete it early in the 2.1 
cycle. Conceptually, it doesn't seem that hard, and I would supposed a 
work area widget could be used. But that would be a bit harder.


Richard



RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread Pavel Sanda
Pavel Sanda wrote:
 ehud.kap...@gmail.com wrote:
  Where is the Lyx 2 binary installer (for Windows)?
 
 it should be available on ftp later today. pavel

its there. p


Re: Index generation failure - bug? -SOLVED

2011-04-21 Thread Anthony Campbell
On 20 Apr 2011, Anthony Campbell wrote:
 I found that Lyx was not generating the index with at least two files I
 tried it on.
 
 After a lot of experimentation I managed to get an index using a
 semi-manual method:
 
 1. Export the file as latex (luatex and possibly other formats work).
 2. Run latex on myfile.tex (did it twice)
 3. Run makeindex on myfile.idx.
 4, Run latex again on myfile.tex
 
 
 After doing all this, LyX does show the index when I view the file. Is
 this a bug I should report or am I doing something wrong? I tried
 setting DocumentSettingsIndexes to different processors (makeindex,
 xindy, and texindy) but no joy.
 
 It looks as if LyX doesn't automatically generate myfile.idx on my
 setup; I have to do it manually.
 
 Anthony
 

OK, I got it working in the end by setting DocumentSettingsIndexes to
makeindex. I had thought that didn't do anything but then I found I
needed to save, quit and reload LyX to make it operative.

The background to this is that there is currently a bug in clisp for
Debian which prevents xindy from working; LyX was trying to use xindy as
the default so nothing was happening.

Anthony


-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread Jim Oldfield




 From: Pavel Sanda sa...@lyx.org
 
 Pavel Sanda wrote:
  ehud.kap...@gmail.com wrote:
Where is the Lyx 2 binary installer (for Windows)?
  
  it  should be available on ftp later today. pavel
 
 its there. p
 

Thanks!  

One (open) question: why is it so big? RC2 was 20ish MB, and this one is 70ish 
MB. Is it just the addition of dictionaries?

Jim


Re: Spellcheck

2011-04-21 Thread Påvel Nicklasson
Den 2011-04-21 14:15:33 skrev Helena Sandström  
helena.sandst...@elekta.com:



Hello,

My name is Helena and I have just started using Lyx. When I install it  
the spell check dictionary for swedish and english is missing. How can I  
get around that problem?


Thank you


Helena


Please consider the environment before printing this e-mail.

The contents of this e-mail message (including any attachments) are  
confidential to and are intended to be conveyed for the use of the  
recipient to whom it is addressed only. If you receive this transmission  
in error, please notify the sender of this immediately and delete the  
message from your system. Any distribution, reproduction or use of this  
message by someone other than recipient is not authorized and may be  
unlawful.



Hej Helena!

Nice with another Swede on the list!

I think it will be easier to help you if you tell us what OS and version  
of LyX you have installed. There are some differences how dictionaries are  
managed.


Påvel


Re: RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread ehud.kap...@gmail.com

Great!  How about Linux/Debian?
EK

On 04/21/2011 09:39 AM, Pavel Sanda wrote:

Pavel Sanda wrote:

ehud.kap...@gmail.com wrote:

Where is the Lyx 2 binary installer (for Windows)?

it should be available on ftp later today. pavel

its there. p


-


Example is counted as a theorem

2011-04-21 Thread Jinxi Cheng
Hi, I am writing an article [ams] using Lyx. I started a few hours ago
and I inserted an example. Lyx autoatically named it Example 1. that
is good. next I inserted a theorem. But it is named Theorem 2 and
not Theorem 1.  It seems Lyx counted the example as a theorem also.
How can I fix this in Lyx?

Thank you in advance.


Re: Example is counted as a theorem

2011-04-21 Thread Daniel CLEMENT
Hello,

Jinxi Cheng wrote:
 Hi, I am writing an article [ams] using Lyx. I started a few hours ago
 and I inserted an example. Lyx autoatically named it Example 1. that
 is good. next I inserted a theorem. But it is named Theorem 2 and
 not Theorem 1.  It seems Lyx counted the example as a theorem also.
 How can I fix this in Lyx?

In order to get independent numbering, you need to load the proper
theorems module:

document  parameters  modules

and choose (e.g.) theorems (AMS, numbered by type)

 
 Thank you in advance.
 
HTH,
-- 
Daniel CLEMENT




Re: RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread Joost Verburg
Jim Oldfield jim_...@yahoo.co.uk wrote in message 
news:597324.81876...@web29209.mail.ird.yahoo.com...
One (open) question: why is it so big? RC2 was 20ish MB, and this one is 
70ish

MB. Is it just the addition of dictionaries?


Correct. Dictionaries + thesaurus lists.

Joost 





windows unattended install flags/switches

2011-04-21 Thread Joe Kline
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Reading through the wiki and the mailing lists all I could find
regarding a silent install of LyX is the /S switch.

Are there any other switches/flags?

The one I'm most interested in is to be able to log the install.

Since this is for an automated install across many pc's and is part of a
form install process I can make certain that Miktex, ghostscript, etc.
are installed so I won't need the complete installer.

Thanks in advance for any and all help.

joe
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org/

iD8DBQFNsF6Fb0mzA2gRTpkRAtG2AKCE5PO7ZwGyx28xFAv/nYqTHfm4uACfVy5q
8VqEUvRxzqbIkPj2Ly/1gdA=
=zb0q
-END PGP SIGNATURE-


Re: Example is counted as a theorem

2011-04-21 Thread David L. Johnson

On 04/21/2011 11:58 AM, Jinxi Cheng wrote:

Hi, I am writing an article [ams] using Lyx. I started a few hours ago
and I inserted an example. Lyx autoatically named it Example 1. that
is good. next I inserted a theorem. But it is named Theorem 2 and
not Theorem 1.  It seems Lyx counted the example as a theorem also.
How can I fix this in Lyx?


You can change the way all such things are counted in Document - 
Modules.  Try numbered by type.


--

David L. Johnson

You will say Christ saith this and the apostles say this; but what
canst thou say?
-- George Fox.


Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-21 Thread Liviu Andronic
On Thu, Apr 21, 2011 at 9:16 AM, Guenter Milde mi...@users.berlios.de wrote:
 On 2011-04-20, Liviu Andronic wrote:
 On Wed, Apr 20, 2011 at 4:44 PM, Julien Rioux  Unless you bother to
 watch the video you won't get it.
 (jump to 13:30 for the pronunciation)

 Or read the transkript at http://www.tug.org/TUGboat/tb31-2/tb98knut.pdf:

  How does one properly pronounce this name? Listen carefully: “ˇı-t´ex”
  [“ ˇ ee-t´ecks”]. In the first place, you’ll notice that it should be
  said musically, with tones as in Mandarin. (The first vowel is spoken
  with a dipping tone, “ˇı”, where the pitch falls and then rises. The
  second vowel has a strictly rising tone, “´e”, almost as if you’re
  asking a question.) In the second place, you’ll notice that I’ve also
  rung a bell when saying the name. The bell is also part of the logo.

Ever since looking at the transcript and finally understanding what
this was all about, I was attempting to picture in my head the proper
Mandarin pronunciation. I think I got it pretty fine at several
occasions, but I'll have to watch the video.


 OK, I got to the part:
 Every-
 thing in the new system is menu-driven, somewhat
 in the style of “Microsoft Word” but considerably
 enhanced:

 So I guess we'll have to wait for pigs to fly before we port LyX to iTeX.

 Isn't LyX already an iTeX¹ prototype?

 * menu-driven

 * Of course the character set for my new system
  is Unicode, so that there is 100% support for all of
  the languages and metalanguages of the world.

 * Automatic spelling and grammar correction are built in
  for each language,

 * Different languages can freely be intermixed at will, always with
  appropriate ligatures, kerning, and hyphenation.

 * arbitrary symbolic calculations, with polynomials and power series and
  matrices and partial differential equation solvers and convex
  optimization,

 * the production of hyperdocuments and web pages

 Still lacking are the innovative pricing strategies.

..and support for 3D printing. :) But the other features are well
present, especially the brand new out-of-the-box support for R.

Cheers
Liviu



 Günter


 ¹ [A bell rings at this point.]





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-21 Thread Manolo Martínez
I was surprised to see that iTex does not seem to be prepared for
extension to quantum computers. This is a missed opportunity. The iLyx
community should really consider forking iTex into QiTex.

Manolo

El jue, 21-04-2011 a las 21:10 +0200, Liviu Andronic escribió: 
 On Thu, Apr 21, 2011 at 9:16 AM, Guenter Milde mi...@users.berlios.de wrote:
  On 2011-04-20, Liviu Andronic wrote:
  On Wed, Apr 20, 2011 at 4:44 PM, Julien Rioux  Unless you bother to
  watch the video you won't get it.
  (jump to 13:30 for the pronunciation)
 
  Or read the transkript at http://www.tug.org/TUGboat/tb31-2/tb98knut.pdf:
 
   How does one properly pronounce this name? Listen carefully: “ˇı-t´ex”
   [“ ˇ ee-t´ecks”]. In the first place, you’ll notice that it should be
   said musically, with tones as in Mandarin. (The first vowel is spoken
   with a dipping tone, “ˇı”, where the pitch falls and then rises. The
   second vowel has a strictly rising tone, “´e”, almost as if you’re
   asking a question.) In the second place, you’ll notice that I’ve also
   rung a bell when saying the name. The bell is also part of the logo.
 
 Ever since looking at the transcript and finally understanding what
 this was all about, I was attempting to picture in my head the proper
 Mandarin pronunciation. I think I got it pretty fine at several
 occasions, but I'll have to watch the video.
 
 
  OK, I got to the part:
  Every-
  thing in the new system is menu-driven, somewhat
  in the style of “Microsoft Word” but considerably
  enhanced:
 
  So I guess we'll have to wait for pigs to fly before we port LyX to iTeX.
 
  Isn't LyX already an iTeX¹ prototype?
 
  * menu-driven
 
  * Of course the character set for my new system
   is Unicode, so that there is 100% support for all of
   the languages and metalanguages of the world.
 
  * Automatic spelling and grammar correction are built in
   for each language,
 
  * Different languages can freely be intermixed at will, always with
   appropriate ligatures, kerning, and hyphenation.
 
  * arbitrary symbolic calculations, with polynomials and power series and
   matrices and partial differential equation solvers and convex
   optimization,
 
  * the production of hyperdocuments and web pages
 
  Still lacking are the innovative pricing strategies.
 
 ..and support for 3D printing. :) But the other features are well
 present, especially the brand new out-of-the-box support for R.
 
 Cheers
 Liviu
 
 
 
  Günter
 
 
  ¹ [A bell rings at this point.]
 
 
 
 
 




[LyX 2.0.0rc3] math code: \text{} displayed as arabic symbols

2011-04-21 Thread Jannick Asmus

Hi,

I have just installed LyX 2.0.0RC3 on my WinVista machine and funnily 
all \text{...} in math code are displayed in Arabic. I think my configs 
are alright.


Any help is highly appreciated.

Best wishes,
J. 





Re: Master document

2011-04-21 Thread Guenter Milde
On 2011-04-21, Mathieu Dubois wrote:
 On 04/20/2011 11:25 PM, Julien Rioux wrote:
 On 20/04/2011 4:00 PM, Mathieu Dubois wrote:

 First I have then to use input instead of include, right?

 Hello,
 1) \include starts the content on a new page, \input does not.
 OK. So I can \include the chapter and \input the section.

Actually, the use case for \include (vs. \input) is that you can compile
selected chapters with \includeonly --- but unfortunately not with LyX.
:-(

Therefore, with LyX you can always use \input (the chapter will start a
new page anyway). \include is of use only if you want to be prepared for
\includeonly-support in some future LyX version (I do not give up hope).

 2) I would try to set the master of section.lyx to chapter.lyx, I think.
 That's what I did. The only problem I that I cannot compile the section 
 alone (I have to compile the chapter). Not a big deal.

What is the problem/error?
Most of this can be solved with code in a branch that is active in
standalone but inactive in the master.

Günter



Re: windows unattended install flags/switches

2011-04-21 Thread Paul Rubin
MiKTeX has three options for what to do when a document needs a LaTeX package
not currently installed: automatically download and install it; ignore it; or
ask for a blessing.  When LyX configures itself, it searches for approximately
2^100 packages (my subjective estimate).  So I'd suggest setting MiKTeX to
ignore mode (and then switch back to whatever mode you prefer), or else set it
to automatically install mode and brace yourself for some heavy traffic. 
Since I never use it, I can't recall whether automatically install mode asks
you to pick a repository for the first package.  Someone else on the list may
know.  

Personally, I go with ignore mode when I update LyX.  The only danger would be
if MiKTeX did not have an absolutely essential document class installed.  (For
instance, some of the help files use KOMA book, so you'll need that.)

HTH,
Paul




Re: super-/subscript Lyx-function name for bindfile

2011-04-21 Thread Paul Rubin
Sean Wendt wendt.sean at gmail.com writes:

Try binding the following to a key combo of your choice:

command-sequence ert-insert; self-insert \textsubscript{; char-forward;
ert-insert; self-insert }; char-backward; char-backward;

Paul





Re: Using LaTeX math macros

2011-04-21 Thread Guenter Milde
On 2011-04-20, Julien Rioux wrote:
 On 20/04/2011 3:39 PM, Mathieu Dubois wrote:
 Hello,

 I'm a new LyX user but I'm a bit experienced with LaTeX.

 I have developed my own set of LaTeX math macros (mainly to have simple
 and coherent notations). It's not a package but just a tex file that I
 \input in my documents.

 I have \input'ed my tex file in the preamble but I cannot use commands
 with several arguments because LyX interprets the curly braces.

 How can I use my macros?

 The best way is probably to define them as LyX macros but I have no idea
 of how to do that.

 Thanks in advance,
 Mathieu


 The quick and dirty way to get in latex {arg} in math is to type \{ arg
 (i.e., backslash, curly brace, space, a, r, g)

I.e. in LyX's math editor,
type { to get \{ 
and \{ to get {

 For ease of use in the long term you could define all such macros by 
 Insert  Math  Macro. Create one such file math-macros.lyx and \input 
 it once in your master document. (while defining macros in LyX, type \#1 
 to get the latex #1)

You can also try to re-lyx your math macro TeX file (FileImportLaTeX).
If this fails, you can paste the macro definitions into a LyX buffer
as text, select and convert to math (Ctrl-m).

Günter



Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-21 Thread Guenter Milde
On 2011-04-20, Liviu Andronic wrote:
 On Wed, Apr 20, 2011 at 4:44 PM, Julien Rioux  Unless you bother to
 watch the video you won't get it.
 (jump to 13:30 for the pronunciation)

Or read the transkript at http://www.tug.org/TUGboat/tb31-2/tb98knut.pdf:

  How does one properly pronounce this name? Listen carefully: “ˇı-t´ex”
  [“ ˇ ee-t´ecks”]. In the first place, you’ll notice that it should be
  said musically, with tones as in Mandarin. (The first vowel is spoken
  with a dipping tone, “ˇı”, where the pitch falls and then rises. The
  second vowel has a strictly rising tone, “´e”, almost as if you’re 
  asking a question.) In the second place, you’ll notice that I’ve also
  rung a bell when saying the name. The bell is also part of the logo.

 OK, I got to the part:
 Every-
 thing in the new system is menu-driven, somewhat
 in the style of “Microsoft Word” but considerably
 enhanced:

 So I guess we'll have to wait for pigs to fly before we port LyX to iTeX.

Isn't LyX already an iTeX¹ prototype?

* menu-driven

* Of course the character set for my new system
  is Unicode, so that there is 100% support for all of
  the languages and metalanguages of the world. 

* Automatic spelling and grammar correction are built in
  for each language,

* Different languages can freely be intermixed at will, always with
  appropriate ligatures, kerning, and hyphenation.

* arbitrary symbolic calculations, with polynomials and power series and
  matrices and partial differential equation solvers and convex
  optimization,

* the production of hyperdocuments and web pages

Still lacking are the innovative pricing strategies.


Günter

  
¹ [A bell rings at this point.]  



Re: Lyx 2 binary installer

2011-04-21 Thread Pavel Sanda
ehud.kap...@gmail.com wrote:
 Where is the Lyx 2 binary installer (for Windows)?

it should be available on ftp later today. pavel


super-/subscript Lyx-function name for bindfile

2011-04-21 Thread Sean Wendt
Hi,

I am doing some linguistic annotation [subpredicate/subliteral]
for which I use subscript quite often outside of math environments,
thus would like to map the commands that insert \textsubscript and
\textsuperscript to a shortcut, but haven't been able to find out the
name of the lyx-function for writing the bindfile.
I also would like to avoid the workaround macro C-M _ \text  as there
is \textsubscript .

I'm sure it should be in the LyxFunction list for Lyx2.0, but it's not
in the wiki. What is the name of the function and where can I look it
up?

Regards,
Sean


Spellcheck

2011-04-21 Thread Helena Sandström
Hello,

My name is Helena and I have just started using Lyx. When I install it the 
spell check dictionary for swedish and english is missing. How can I get around 
that problem?

Thank you


Helena


Please consider the environment before printing this e-mail.

The contents of this e-mail message (including any attachments) are 
confidential to and are intended to be conveyed for the use of the recipient to 
whom it is addressed only. If you receive this transmission in error, please 
notify the sender of this immediately and delete the message from your system. 
Any distribution, reproduction or use of this message by someone other than 
recipient is not authorized and may be unlawful.


Re: Master document

2011-04-21 Thread Mathieu Dubois

On 04/20/2011 11:25 PM, Julien Rioux wrote:

On 20/04/2011 4:00 PM, Mathieu Dubois wrote:

Hello (again),

I have another question.

I'm writing my PhD thesis (how many messages started like this one on
this list?). Of course I have planned to split the document into a
master document and child documents. I have set the master document
field of each child document.

However each chapter is rather long so I wanted to split chapters into
several files (one for each section). I have several questions.

First I have then to use input instead of include, right?

Second, what is the master document of the section file? Is it the main
document or the chapter one? Would it be better include every section
into the main document?

Third, I have configured my main document for using hyperef and saved as
default. But then when compiling the document LyX complains about option
clashes in hyperef. Do I have to use hyperef only for the master?

Thanks in advance,
Mathieu




Hello,

1) \include starts the content on a new page, \input does not.

OK. So I can \include the chapter and \input the section.

2) I would try to set the master of section.lyx to chapter.lyx, I think.
That's what I did. The only problem I that I cannot compile the section 
alone (I have to compile the chapter). Not a big deal.

3) Not all options are inherited between master and childs, you mostly
have to repeat the settings in both to avoid any problems. (you can do
it once for one of the child, then copy paste the heading of the .lyx
files in an standard text editor to save time.

Thanks for the trick.

Thanks,
Mathieu



Re: Master document

2011-04-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 21/04/11 15:28, Mathieu Dubois wrote:
 On 04/20/2011 11:25 PM, Julien Rioux wrote:
 On 20/04/2011 4:00 PM, Mathieu Dubois wrote:
 Hello (again),

 I have another question.

 I'm writing my PhD thesis (how many messages started like this one on
 this list?). Of course I have planned to split the document into a
 master document and child documents. I have set the master document
 field of each child document.

 However each chapter is rather long so I wanted to split chapters into
 several files (one for each section). I have several questions.

 First I have then to use input instead of include, right?

 Second, what is the master document of the section file? Is it the main
 document or the chapter one? Would it be better include every section
 into the main document?

 Third, I have configured my main document for using hyperef and saved as
 default. But then when compiling the document LyX complains about option
 clashes in hyperef. Do I have to use hyperef only for the master?

 Thanks in advance,
 Mathieu


 Hello,
 1) \include starts the content on a new page, \input does not.
 OK. So I can \include the chapter and \input the section.
 2) I would try to set the master of section.lyx to chapter.lyx, I think.
 That's what I did. The only problem I that I cannot compile the section
 alone (I have to compile the chapter). Not a big deal.
 3) Not all options are inherited between master and childs, you mostly
 have to repeat the settings in both to avoid any problems. (you can do
 it once for one of the child, then copy paste the heading of the .lyx
 files in an standard text editor to save time.
 Thanks for the trick.

Just something more: I used for the preamble in LyX a separate file
(preamble.tex) and included it in the preamble field of my documents
(child and master) as

\include{preamble.tex}

So I had to change the preamble only once, and it was always in all
documents. If you put \hyperref and the config for hyperref in this
document and disable the hyperref use in the LyX document options, yo
should have solved your problems as well.

Cheers,

Rainer
 
 Thanks,
 Mathieu
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2wMv4ACgkQoYgNqgF2egpKBQCdHnY4xkqCydQRkgUpFdLhl824
2n0An2Qe+fExael7xNqHxefVsm0JVG3u
=aVhC
-END PGP SIGNATURE-


Re: Layout: OptionalArgs

2011-04-21 Thread Richard Heck

On 04/20/2011 12:19 PM, Jürgen Spitzmüller wrote:

2011/4/20 Diego Queiroz:

Oh. You're right. Thanks.
Anyway, I just noted that one can override this setting copying and pasting
the Opt field as many times he/she wish.
Isn't this a problem?

Yes, the UI is far from ideal. I think we should make optional (and
required) arguments part of the paragraph dialog (as we have already
with the longest label input field, which is also an optional
argument of the lists). We would lose the ability to format the
content and embed insets this way, though (at least as long as we do
not have a work area widget, as in the advances search dialog).

I've done a little work on this and hope to complete it early in the 2.1 
cycle. Conceptually, it doesn't seem that hard, and I would supposed a 
work area widget could be used. But that would be a bit harder.


Richard



RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread Pavel Sanda
Pavel Sanda wrote:
 ehud.kap...@gmail.com wrote:
  Where is the Lyx 2 binary installer (for Windows)?
 
 it should be available on ftp later today. pavel

its there. p


Re: Index generation failure - bug? -SOLVED

2011-04-21 Thread Anthony Campbell
On 20 Apr 2011, Anthony Campbell wrote:
 I found that Lyx was not generating the index with at least two files I
 tried it on.
 
 After a lot of experimentation I managed to get an index using a
 semi-manual method:
 
 1. Export the file as latex (luatex and possibly other formats work).
 2. Run latex on myfile.tex (did it twice)
 3. Run makeindex on myfile.idx.
 4, Run latex again on myfile.tex
 
 
 After doing all this, LyX does show the index when I view the file. Is
 this a bug I should report or am I doing something wrong? I tried
 setting DocumentSettingsIndexes to different processors (makeindex,
 xindy, and texindy) but no joy.
 
 It looks as if LyX doesn't automatically generate myfile.idx on my
 setup; I have to do it manually.
 
 Anthony
 

OK, I got it working in the end by setting DocumentSettingsIndexes to
makeindex. I had thought that didn't do anything but then I found I
needed to save, quit and reload LyX to make it operative.

The background to this is that there is currently a bug in clisp for
Debian which prevents xindy from working; LyX was trying to use xindy as
the default so nothing was happening.

Anthony


-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread Jim Oldfield




 From: Pavel Sanda sa...@lyx.org
 
 Pavel Sanda wrote:
  ehud.kap...@gmail.com wrote:
Where is the Lyx 2 binary installer (for Windows)?
  
  it  should be available on ftp later today. pavel
 
 its there. p
 

Thanks!  

One (open) question: why is it so big? RC2 was 20ish MB, and this one is 70ish 
MB. Is it just the addition of dictionaries?

Jim


Re: Spellcheck

2011-04-21 Thread Påvel Nicklasson
Den 2011-04-21 14:15:33 skrev Helena Sandström  
helena.sandst...@elekta.com:



Hello,

My name is Helena and I have just started using Lyx. When I install it  
the spell check dictionary for swedish and english is missing. How can I  
get around that problem?


Thank you


Helena


Please consider the environment before printing this e-mail.

The contents of this e-mail message (including any attachments) are  
confidential to and are intended to be conveyed for the use of the  
recipient to whom it is addressed only. If you receive this transmission  
in error, please notify the sender of this immediately and delete the  
message from your system. Any distribution, reproduction or use of this  
message by someone other than recipient is not authorized and may be  
unlawful.



Hej Helena!

Nice with another Swede on the list!

I think it will be easier to help you if you tell us what OS and version  
of LyX you have installed. There are some differences how dictionaries are  
managed.


Påvel


Re: RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread ehud.kap...@gmail.com

Great!  How about Linux/Debian?
EK

On 04/21/2011 09:39 AM, Pavel Sanda wrote:

Pavel Sanda wrote:

ehud.kap...@gmail.com wrote:

Where is the Lyx 2 binary installer (for Windows)?

it should be available on ftp later today. pavel

its there. p


-


Example is counted as a theorem

2011-04-21 Thread Jinxi Cheng
Hi, I am writing an article [ams] using Lyx. I started a few hours ago
and I inserted an example. Lyx autoatically named it Example 1. that
is good. next I inserted a theorem. But it is named Theorem 2 and
not Theorem 1.  It seems Lyx counted the example as a theorem also.
How can I fix this in Lyx?

Thank you in advance.


Re: Example is counted as a theorem

2011-04-21 Thread Daniel CLEMENT
Hello,

Jinxi Cheng wrote:
 Hi, I am writing an article [ams] using Lyx. I started a few hours ago
 and I inserted an example. Lyx autoatically named it Example 1. that
 is good. next I inserted a theorem. But it is named Theorem 2 and
 not Theorem 1.  It seems Lyx counted the example as a theorem also.
 How can I fix this in Lyx?

In order to get independent numbering, you need to load the proper
theorems module:

document  parameters  modules

and choose (e.g.) theorems (AMS, numbered by type)

 
 Thank you in advance.
 
HTH,
-- 
Daniel CLEMENT




Re: RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread Joost Verburg
Jim Oldfield jim_...@yahoo.co.uk wrote in message 
news:597324.81876...@web29209.mail.ird.yahoo.com...
One (open) question: why is it so big? RC2 was 20ish MB, and this one is 
70ish

MB. Is it just the addition of dictionaries?


Correct. Dictionaries + thesaurus lists.

Joost 





windows unattended install flags/switches

2011-04-21 Thread Joe Kline
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Reading through the wiki and the mailing lists all I could find
regarding a silent install of LyX is the /S switch.

Are there any other switches/flags?

The one I'm most interested in is to be able to log the install.

Since this is for an automated install across many pc's and is part of a
form install process I can make certain that Miktex, ghostscript, etc.
are installed so I won't need the complete installer.

Thanks in advance for any and all help.

joe
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org/

iD8DBQFNsF6Fb0mzA2gRTpkRAtG2AKCE5PO7ZwGyx28xFAv/nYqTHfm4uACfVy5q
8VqEUvRxzqbIkPj2Ly/1gdA=
=zb0q
-END PGP SIGNATURE-


Re: Example is counted as a theorem

2011-04-21 Thread David L. Johnson

On 04/21/2011 11:58 AM, Jinxi Cheng wrote:

Hi, I am writing an article [ams] using Lyx. I started a few hours ago
and I inserted an example. Lyx autoatically named it Example 1. that
is good. next I inserted a theorem. But it is named Theorem 2 and
not Theorem 1.  It seems Lyx counted the example as a theorem also.
How can I fix this in Lyx?


You can change the way all such things are counted in Document - 
Modules.  Try numbered by type.


--

David L. Johnson

You will say Christ saith this and the apostles say this; but what
canst thou say?
-- George Fox.


Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-21 Thread Liviu Andronic
On Thu, Apr 21, 2011 at 9:16 AM, Guenter Milde mi...@users.berlios.de wrote:
 On 2011-04-20, Liviu Andronic wrote:
 On Wed, Apr 20, 2011 at 4:44 PM, Julien Rioux  Unless you bother to
 watch the video you won't get it.
 (jump to 13:30 for the pronunciation)

 Or read the transkript at http://www.tug.org/TUGboat/tb31-2/tb98knut.pdf:

  How does one properly pronounce this name? Listen carefully: “ˇı-t´ex”
  [“ ˇ ee-t´ecks”]. In the first place, you’ll notice that it should be
  said musically, with tones as in Mandarin. (The first vowel is spoken
  with a dipping tone, “ˇı”, where the pitch falls and then rises. The
  second vowel has a strictly rising tone, “´e”, almost as if you’re
  asking a question.) In the second place, you’ll notice that I’ve also
  rung a bell when saying the name. The bell is also part of the logo.

Ever since looking at the transcript and finally understanding what
this was all about, I was attempting to picture in my head the proper
Mandarin pronunciation. I think I got it pretty fine at several
occasions, but I'll have to watch the video.


 OK, I got to the part:
 Every-
 thing in the new system is menu-driven, somewhat
 in the style of “Microsoft Word” but considerably
 enhanced:

 So I guess we'll have to wait for pigs to fly before we port LyX to iTeX.

 Isn't LyX already an iTeX¹ prototype?

 * menu-driven

 * Of course the character set for my new system
  is Unicode, so that there is 100% support for all of
  the languages and metalanguages of the world.

 * Automatic spelling and grammar correction are built in
  for each language,

 * Different languages can freely be intermixed at will, always with
  appropriate ligatures, kerning, and hyphenation.

 * arbitrary symbolic calculations, with polynomials and power series and
  matrices and partial differential equation solvers and convex
  optimization,

 * the production of hyperdocuments and web pages

 Still lacking are the innovative pricing strategies.

..and support for 3D printing. :) But the other features are well
present, especially the brand new out-of-the-box support for R.

Cheers
Liviu



 Günter


 ¹ [A bell rings at this point.]





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-21 Thread Manolo Martínez
I was surprised to see that iTex does not seem to be prepared for
extension to quantum computers. This is a missed opportunity. The iLyx
community should really consider forking iTex into QiTex.

Manolo

El jue, 21-04-2011 a las 21:10 +0200, Liviu Andronic escribió: 
 On Thu, Apr 21, 2011 at 9:16 AM, Guenter Milde mi...@users.berlios.de wrote:
  On 2011-04-20, Liviu Andronic wrote:
  On Wed, Apr 20, 2011 at 4:44 PM, Julien Rioux  Unless you bother to
  watch the video you won't get it.
  (jump to 13:30 for the pronunciation)
 
  Or read the transkript at http://www.tug.org/TUGboat/tb31-2/tb98knut.pdf:
 
   How does one properly pronounce this name? Listen carefully: “ˇı-t´ex”
   [“ ˇ ee-t´ecks”]. In the first place, you’ll notice that it should be
   said musically, with tones as in Mandarin. (The first vowel is spoken
   with a dipping tone, “ˇı”, where the pitch falls and then rises. The
   second vowel has a strictly rising tone, “´e”, almost as if you’re
   asking a question.) In the second place, you’ll notice that I’ve also
   rung a bell when saying the name. The bell is also part of the logo.
 
 Ever since looking at the transcript and finally understanding what
 this was all about, I was attempting to picture in my head the proper
 Mandarin pronunciation. I think I got it pretty fine at several
 occasions, but I'll have to watch the video.
 
 
  OK, I got to the part:
  Every-
  thing in the new system is menu-driven, somewhat
  in the style of “Microsoft Word” but considerably
  enhanced:
 
  So I guess we'll have to wait for pigs to fly before we port LyX to iTeX.
 
  Isn't LyX already an iTeX¹ prototype?
 
  * menu-driven
 
  * Of course the character set for my new system
   is Unicode, so that there is 100% support for all of
   the languages and metalanguages of the world.
 
  * Automatic spelling and grammar correction are built in
   for each language,
 
  * Different languages can freely be intermixed at will, always with
   appropriate ligatures, kerning, and hyphenation.
 
  * arbitrary symbolic calculations, with polynomials and power series and
   matrices and partial differential equation solvers and convex
   optimization,
 
  * the production of hyperdocuments and web pages
 
  Still lacking are the innovative pricing strategies.
 
 ..and support for 3D printing. :) But the other features are well
 present, especially the brand new out-of-the-box support for R.
 
 Cheers
 Liviu
 
 
 
  Günter
 
 
  ¹ [A bell rings at this point.]
 
 
 
 
 




[LyX 2.0.0rc3] math code: \text{} displayed as arabic symbols

2011-04-21 Thread Jannick Asmus

Hi,

I have just installed LyX 2.0.0RC3 on my WinVista machine and funnily 
all \text{...} in math code are displayed in Arabic. I think my configs 
are alright.


Any help is highly appreciated.

Best wishes,
J. 





Re: Master document

2011-04-21 Thread Guenter Milde
On 2011-04-21, Mathieu Dubois wrote:
 On 04/20/2011 11:25 PM, Julien Rioux wrote:
 On 20/04/2011 4:00 PM, Mathieu Dubois wrote:

 First I have then to use input instead of include, right?

 Hello,
 1) \include starts the content on a new page, \input does not.
 OK. So I can \include the chapter and \input the section.

Actually, the use case for \include (vs. \input) is that you can compile
selected chapters with \includeonly --- but unfortunately not with LyX.
:-(

Therefore, with LyX you can always use \input (the chapter will start a
new page anyway). \include is of use only if you want to be prepared for
\includeonly-support in some future LyX version (I do not give up hope).

 2) I would try to set the master of section.lyx to chapter.lyx, I think.
 That's what I did. The only problem I that I cannot compile the section 
 alone (I have to compile the chapter). Not a big deal.

What is the problem/error?
Most of this can be solved with code in a branch that is active in
standalone but inactive in the master.

Günter



Re: windows unattended install flags/switches

2011-04-21 Thread Paul Rubin
MiKTeX has three options for what to do when a document needs a LaTeX package
not currently installed: automatically download and install it; ignore it; or
ask for a blessing.  When LyX configures itself, it searches for approximately
2^100 packages (my subjective estimate).  So I'd suggest setting MiKTeX to
ignore mode (and then switch back to whatever mode you prefer), or else set it
to automatically install mode and brace yourself for some heavy traffic. 
Since I never use it, I can't recall whether automatically install mode asks
you to pick a repository for the first package.  Someone else on the list may
know.  

Personally, I go with ignore mode when I update LyX.  The only danger would be
if MiKTeX did not have an absolutely essential document class installed.  (For
instance, some of the help files use KOMA book, so you'll need that.)

HTH,
Paul




Re: super-/subscript Lyx-function name for bindfile

2011-04-21 Thread Paul Rubin
Sean Wendt wendt.sean at gmail.com writes:

Try binding the following to a key combo of your choice:

command-sequence ert-insert; self-insert \textsubscript{; char-forward;
ert-insert; self-insert }; char-backward; char-backward;

Paul





Re: Using LaTeX math macros

2011-04-21 Thread Guenter Milde
On 2011-04-20, Julien Rioux wrote:
> On 20/04/2011 3:39 PM, Mathieu Dubois wrote:
>> Hello,

>> I'm a new LyX user but I'm a bit experienced with LaTeX.

>> I have developed my own set of LaTeX math macros (mainly to have simple
>> and coherent notations). It's not a package but just a tex file that I
>> \input in my documents.

>> I have \input'ed my tex file in the preamble but I cannot use commands
>> with several arguments because LyX interprets the curly braces.

>> How can I use my macros?

>> The best way is probably to define them as LyX macros but I have no idea
>> of how to do that.

>> Thanks in advance,
>> Mathieu


> The quick and dirty way to get in latex {arg} in math is to type \{ arg
> (i.e., backslash, curly brace, space, a, r, g)

I.e. in LyX's math editor,
type { to get \{ 
and \{ to get {

> For ease of use in the long term you could define all such macros by 
> Insert > Math > Macro. Create one such file math-macros.lyx and \input 
> it once in your master document. (while defining macros in LyX, type \#1 
> to get the latex #1)

You can also try to re-lyx your math macro TeX file (File>Import>LaTeX).
If this fails, you can paste the macro definitions into a LyX buffer
as text, select and convert to math (Ctrl-m).

Günter



Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-21 Thread Guenter Milde
On 2011-04-20, Liviu Andronic wrote:
> On Wed, Apr 20, 2011 at 4:44 PM, Julien Rioux > Unless you bother to
> watch the video you won't get it.
>> (jump to 13:30 for the pronunciation)

Or read the transkript at http://www.tug.org/TUGboat/tb31-2/tb98knut.pdf:

  How does one properly pronounce this name? Listen carefully: “ˇı-t´ex”
  [“ ˇ ee-t´ecks”]. In the first place, you’ll notice that it should be
  said musically, with tones as in Mandarin. (The first vowel is spoken
  with a dipping tone, “ˇı”, where the pitch falls and then rises. The
  second vowel has a strictly rising tone, “´e”, almost as if you’re 
  asking a question.) In the second place, you’ll notice that I’ve also
  rung a bell when saying the name. The bell is also part of the logo.

> OK, I got to the part:
> "Every-
> thing in the new system is menu-driven, somewhat
> in the style of “Microsoft Word” but considerably
> enhanced:"

> So I guess we'll have to wait for pigs to fly before we port LyX to iTeX.

Isn't LyX already an iTeX¹ prototype?

* menu-driven

* Of course the character set for my new system
  is Unicode, so that there is 100% support for all of
  the languages and metalanguages of the world. 

* Automatic spelling and grammar correction are built in
  for each language,

* Different languages can freely be intermixed at will, always with
  appropriate ligatures, kerning, and hyphenation.

* arbitrary symbolic calculations, with polynomials and power series and
  matrices and partial differential equation solvers and convex
  optimization,

* the production of hyperdocuments and web pages

Still lacking are the "innovative pricing strategies".


Günter

  
¹ [A bell rings at this point.]  



Re: Lyx 2 binary installer

2011-04-21 Thread Pavel Sanda
ehud.kap...@gmail.com wrote:
> Where is the Lyx 2 binary installer (for Windows)?

it should be available on ftp later today. pavel


super-/subscript Lyx-function name for bindfile

2011-04-21 Thread Sean Wendt
Hi,

I am doing some linguistic annotation [predicateliteral]
for which I use subscript quite often outside of math environments,
thus would like to map the commands that insert \textsubscript and
\textsuperscript to a shortcut, but haven't been able to find out the
name of the lyx-function for writing the bindfile.
I also would like to avoid the workaround macro C-M _ \text  as there
is \textsubscript .

I'm sure it should be in the LyxFunction list for Lyx2.0, but it's not
in the wiki. What is the name of the function and where can I look it
up?

Regards,
Sean


Spellcheck

2011-04-21 Thread Helena Sandström
Hello,

My name is Helena and I have just started using Lyx. When I install it the 
spell check dictionary for swedish and english is missing. How can I get around 
that problem?

Thank you


Helena


Please consider the environment before printing this e-mail.

The contents of this e-mail message (including any attachments) are 
confidential to and are intended to be conveyed for the use of the recipient to 
whom it is addressed only. If you receive this transmission in error, please 
notify the sender of this immediately and delete the message from your system. 
Any distribution, reproduction or use of this message by someone other than 
recipient is not authorized and may be unlawful.


Re: Master document

2011-04-21 Thread Mathieu Dubois

On 04/20/2011 11:25 PM, Julien Rioux wrote:

On 20/04/2011 4:00 PM, Mathieu Dubois wrote:

Hello (again),

I have another question.

I'm writing my PhD thesis (how many messages started like this one on
this list?). Of course I have planned to split the document into a
master document and child documents. I have set the master document
field of each child document.

However each chapter is rather long so I wanted to split chapters into
several files (one for each section). I have several questions.

First I have then to use "input" instead of "include", right?

Second, what is the master document of the section file? Is it the main
document or the chapter one? Would it be better include every section
into the main document?

Third, I have configured my main document for using hyperef and saved as
default. But then when compiling the document LyX complains about option
clashes in hyperef. Do I have to use hyperef only for the master?

Thanks in advance,
Mathieu




Hello,

1) \include starts the content on a new page, \input does not.

OK. So I can \include the chapter and \input the section.

2) I would try to set the master of section.lyx to chapter.lyx, I think.
That's what I did. The only problem I that I cannot compile the section 
alone (I have to compile the chapter). Not a big deal.

3) Not all options are inherited between master and childs, you mostly
have to repeat the settings in both to avoid any problems. (you can do
it once for one of the child, then copy paste the heading of the .lyx
files in an standard text editor to save time.

Thanks for the trick.

Thanks,
Mathieu



Re: Master document

2011-04-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 21/04/11 15:28, Mathieu Dubois wrote:
> On 04/20/2011 11:25 PM, Julien Rioux wrote:
>> On 20/04/2011 4:00 PM, Mathieu Dubois wrote:
>>> Hello (again),
>>>
>>> I have another question.
>>>
>>> I'm writing my PhD thesis (how many messages started like this one on
>>> this list?). Of course I have planned to split the document into a
>>> master document and child documents. I have set the master document
>>> field of each child document.
>>>
>>> However each chapter is rather long so I wanted to split chapters into
>>> several files (one for each section). I have several questions.
>>>
>>> First I have then to use "input" instead of "include", right?
>>>
>>> Second, what is the master document of the section file? Is it the main
>>> document or the chapter one? Would it be better include every section
>>> into the main document?
>>>
>>> Third, I have configured my main document for using hyperef and saved as
>>> default. But then when compiling the document LyX complains about option
>>> clashes in hyperef. Do I have to use hyperef only for the master?
>>>
>>> Thanks in advance,
>>> Mathieu
>>>
>>
> Hello,
>> 1) \include starts the content on a new page, \input does not.
> OK. So I can \include the chapter and \input the section.
>> 2) I would try to set the master of section.lyx to chapter.lyx, I think.
> That's what I did. The only problem I that I cannot compile the section
> alone (I have to compile the chapter). Not a big deal.
>> 3) Not all options are inherited between master and childs, you mostly
>> have to repeat the settings in both to avoid any problems. (you can do
>> it once for one of the child, then copy paste the heading of the .lyx
>> files in an standard text editor to save time.
> Thanks for the trick.

Just something more: I used for the preamble in LyX a separate file
(preamble.tex) and included it in the preamble field of my documents
(child and master) as

\include{preamble.tex}

So I had to change the preamble only once, and it was always in all
documents. If you put \hyperref and the config for hyperref in this
document and disable the hyperref use in the LyX document options, yo
should have solved your problems as well.

Cheers,

Rainer
> 
> Thanks,
> Mathieu
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2wMv4ACgkQoYgNqgF2egpKBQCdHnY4xkqCydQRkgUpFdLhl824
2n0An2Qe+fExael7xNqHxefVsm0JVG3u
=aVhC
-END PGP SIGNATURE-


Re: Layout: OptionalArgs

2011-04-21 Thread Richard Heck

On 04/20/2011 12:19 PM, Jürgen Spitzmüller wrote:

2011/4/20 Diego Queiroz:

Oh. You're right. Thanks.
Anyway, I just noted that one can override this setting copying and pasting
the "Opt" field as many times he/she wish.
Isn't this a problem?

Yes, the UI is far from ideal. I think we should make optional (and
required) arguments part of the paragraph dialog (as we have already
with the "longest label" input field, which is also an optional
argument of the lists). We would lose the ability to format the
content and embed insets this way, though (at least as long as we do
not have a work area widget, as in the advances search dialog).

I've done a little work on this and hope to complete it early in the 2.1 
cycle. Conceptually, it doesn't seem that hard, and I would supposed a 
work area widget could be used. But that would be a bit harder.


Richard



RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread Pavel Sanda
Pavel Sanda wrote:
> ehud.kap...@gmail.com wrote:
> > Where is the Lyx 2 binary installer (for Windows)?
> 
> it should be available on ftp later today. pavel

its there. p


Re: Index generation failure - bug? -SOLVED

2011-04-21 Thread Anthony Campbell
On 20 Apr 2011, Anthony Campbell wrote:
> I found that Lyx was not generating the index with at least two files I
> tried it on.
> 
> After a lot of experimentation I managed to get an index using a
> semi-manual method:
> 
> 1. Export the file as latex (luatex and possibly other formats work).
> 2. Run latex on myfile.tex (did it twice)
> 3. Run makeindex on myfile.idx.
> 4, Run latex again on myfile.tex
> 
> 
> After doing all this, LyX does show the index when I view the file. Is
> this a bug I should report or am I doing something wrong? I tried
> setting Document>Settings>Indexes to different processors (makeindex,
> xindy, and texindy) but no joy.
> 
> It looks as if LyX doesn't automatically generate myfile.idx on my
> setup; I have to do it manually.
> 
> Anthony
> 

OK, I got it working in the end by setting Document>Settings>Indexes to
makeindex. I had thought that didn't do anything but then I found I
needed to save, quit and reload LyX to make it operative.

The background to this is that there is currently a bug in clisp for
Debian which prevents xindy from working; LyX was trying to use xindy as
the default so nothing was happening.

Anthony


-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread Jim Oldfield




> From: Pavel Sanda 
> 
> Pavel Sanda wrote:
> > ehud.kap...@gmail.com wrote:
> >  > Where is the Lyx 2 binary installer (for Windows)?
> > 
> > it  should be available on ftp later today. pavel
> 
> its there. p
> 

Thanks!  

One (open) question: why is it so big? RC2 was 20ish MB, and this one is 70ish 
MB. Is it just the addition of dictionaries?

Jim


Re: Spellcheck

2011-04-21 Thread Påvel Nicklasson
Den 2011-04-21 14:15:33 skrev Helena Sandström  
:



Hello,

My name is Helena and I have just started using Lyx. When I install it  
the spell check dictionary for swedish and english is missing. How can I  
get around that problem?


Thank you


Helena


Please consider the environment before printing this e-mail.

The contents of this e-mail message (including any attachments) are  
confidential to and are intended to be conveyed for the use of the  
recipient to whom it is addressed only. If you receive this transmission  
in error, please notify the sender of this immediately and delete the  
message from your system. Any distribution, reproduction or use of this  
message by someone other than recipient is not authorized and may be  
unlawful.



Hej Helena!

Nice with another Swede on the list!

I think it will be easier to help you if you tell us what OS and version  
of LyX you have installed. There are some differences how dictionaries are  
managed.


Påvel


Re: RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread ehud.kap...@gmail.com

Great!  How about Linux/Debian?
EK

On 04/21/2011 09:39 AM, Pavel Sanda wrote:

Pavel Sanda wrote:

ehud.kap...@gmail.com wrote:

Where is the Lyx 2 binary installer (for Windows)?

it should be available on ftp later today. pavel

its there. p


-


Example is counted as a theorem

2011-04-21 Thread Jinxi Cheng
Hi, I am writing an article [ams] using Lyx. I started a few hours ago
and I inserted an example. Lyx autoatically named it "Example 1". that
is good. next I inserted a theorem. But it is named "Theorem 2" and
not "Theorem 1".  It seems Lyx counted the example as a theorem also.
How can I fix this in Lyx?

Thank you in advance.


Re: Example is counted as a theorem

2011-04-21 Thread Daniel CLEMENT
Hello,

Jinxi Cheng wrote:
> Hi, I am writing an article [ams] using Lyx. I started a few hours ago
> and I inserted an example. Lyx autoatically named it "Example 1". that
> is good. next I inserted a theorem. But it is named "Theorem 2" and
> not "Theorem 1".  It seems Lyx counted the example as a theorem also.
> How can I fix this in Lyx?

In order to get independent numbering, you need to load the proper
theorems module:

document > parameters > modules

and choose (e.g.) theorems (AMS, numbered by type)

> 
> Thank you in advance.
> 
HTH,
-- 
Daniel CLEMENT




Re: RC3 installers for windows available on ftp (Re: Lyx 2 binary installer)

2011-04-21 Thread Joost Verburg
"Jim Oldfield"  wrote in message 
news:597324.81876...@web29209.mail.ird.yahoo.com...
One (open) question: why is it so big? RC2 was 20ish MB, and this one is 
70ish

MB. Is it just the addition of dictionaries?


Correct. Dictionaries + thesaurus lists.

Joost 





windows unattended install flags/switches

2011-04-21 Thread Joe Kline
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Reading through the wiki and the mailing lists all I could find
regarding a silent install of LyX is the /S switch.

Are there any other switches/flags?

The one I'm most interested in is to be able to log the install.

Since this is for an automated install across many pc's and is part of a
form install process I can make certain that Miktex, ghostscript, etc.
are installed so I won't need the complete installer.

Thanks in advance for any and all help.

joe
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org/

iD8DBQFNsF6Fb0mzA2gRTpkRAtG2AKCE5PO7ZwGyx28xFAv/nYqTHfm4uACfVy5q
8VqEUvRxzqbIkPj2Ly/1gdA=
=zb0q
-END PGP SIGNATURE-


Re: Example is counted as a theorem

2011-04-21 Thread David L. Johnson

On 04/21/2011 11:58 AM, Jinxi Cheng wrote:

Hi, I am writing an article [ams] using Lyx. I started a few hours ago
and I inserted an example. Lyx autoatically named it "Example 1". that
is good. next I inserted a theorem. But it is named "Theorem 2" and
not "Theorem 1".  It seems Lyx counted the example as a theorem also.
How can I fix this in Lyx?


You can change the way all such things are counted in Document -> 
Modules.  Try "numbered by type".


--

David L. Johnson

You will say Christ saith this and the apostles say this; but what
canst thou say?
-- George Fox.


Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-21 Thread Liviu Andronic
On Thu, Apr 21, 2011 at 9:16 AM, Guenter Milde  wrote:
> On 2011-04-20, Liviu Andronic wrote:
>> On Wed, Apr 20, 2011 at 4:44 PM, Julien Rioux > Unless you bother to
>> watch the video you won't get it.
>>> (jump to 13:30 for the pronunciation)
>
> Or read the transkript at http://www.tug.org/TUGboat/tb31-2/tb98knut.pdf:
>
>  How does one properly pronounce this name? Listen carefully: “ˇı-t´ex”
>  [“ ˇ ee-t´ecks”]. In the first place, you’ll notice that it should be
>  said musically, with tones as in Mandarin. (The first vowel is spoken
>  with a dipping tone, “ˇı”, where the pitch falls and then rises. The
>  second vowel has a strictly rising tone, “´e”, almost as if you’re
>  asking a question.) In the second place, you’ll notice that I’ve also
>  rung a bell when saying the name. The bell is also part of the logo.
>
Ever since looking at the transcript and finally understanding what
this was all about, I was attempting to picture in my head the proper
Mandarin pronunciation. I think I got it pretty fine at several
occasions, but I'll have to watch the video.


>> OK, I got to the part:
>> "Every-
>> thing in the new system is menu-driven, somewhat
>> in the style of “Microsoft Word” but considerably
>> enhanced:"
>
>> So I guess we'll have to wait for pigs to fly before we port LyX to iTeX.
>
> Isn't LyX already an iTeX¹ prototype?
>
> * menu-driven
>
> * Of course the character set for my new system
>  is Unicode, so that there is 100% support for all of
>  the languages and metalanguages of the world.
>
> * Automatic spelling and grammar correction are built in
>  for each language,
>
> * Different languages can freely be intermixed at will, always with
>  appropriate ligatures, kerning, and hyphenation.
>
> * arbitrary symbolic calculations, with polynomials and power series and
>  matrices and partial differential equation solvers and convex
>  optimization,
>
> * the production of hyperdocuments and web pages
>
> Still lacking are the "innovative pricing strategies".
>
..and support for 3D printing. :) But the other features are well
present, especially the brand new out-of-the-box support for R.

Cheers
Liviu


>
> Günter
>
>
> ¹ [A bell rings at this point.]
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-21 Thread Manolo Martínez
I was surprised to see that iTex does not seem to be prepared for
extension to quantum computers. This is a missed opportunity. The iLyx
community should really consider forking iTex into QiTex.

Manolo

El jue, 21-04-2011 a las 21:10 +0200, Liviu Andronic escribió: 
> On Thu, Apr 21, 2011 at 9:16 AM, Guenter Milde  wrote:
> > On 2011-04-20, Liviu Andronic wrote:
> >> On Wed, Apr 20, 2011 at 4:44 PM, Julien Rioux > Unless you bother to
> >> watch the video you won't get it.
> >>> (jump to 13:30 for the pronunciation)
> >
> > Or read the transkript at http://www.tug.org/TUGboat/tb31-2/tb98knut.pdf:
> >
> >  How does one properly pronounce this name? Listen carefully: “ˇı-t´ex”
> >  [“ ˇ ee-t´ecks”]. In the first place, you’ll notice that it should be
> >  said musically, with tones as in Mandarin. (The first vowel is spoken
> >  with a dipping tone, “ˇı”, where the pitch falls and then rises. The
> >  second vowel has a strictly rising tone, “´e”, almost as if you’re
> >  asking a question.) In the second place, you’ll notice that I’ve also
> >  rung a bell when saying the name. The bell is also part of the logo.
> >
> Ever since looking at the transcript and finally understanding what
> this was all about, I was attempting to picture in my head the proper
> Mandarin pronunciation. I think I got it pretty fine at several
> occasions, but I'll have to watch the video.
> 
> 
> >> OK, I got to the part:
> >> "Every-
> >> thing in the new system is menu-driven, somewhat
> >> in the style of “Microsoft Word” but considerably
> >> enhanced:"
> >
> >> So I guess we'll have to wait for pigs to fly before we port LyX to iTeX.
> >
> > Isn't LyX already an iTeX¹ prototype?
> >
> > * menu-driven
> >
> > * Of course the character set for my new system
> >  is Unicode, so that there is 100% support for all of
> >  the languages and metalanguages of the world.
> >
> > * Automatic spelling and grammar correction are built in
> >  for each language,
> >
> > * Different languages can freely be intermixed at will, always with
> >  appropriate ligatures, kerning, and hyphenation.
> >
> > * arbitrary symbolic calculations, with polynomials and power series and
> >  matrices and partial differential equation solvers and convex
> >  optimization,
> >
> > * the production of hyperdocuments and web pages
> >
> > Still lacking are the "innovative pricing strategies".
> >
> ..and support for 3D printing. :) But the other features are well
> present, especially the brand new out-of-the-box support for R.
> 
> Cheers
> Liviu
> 
> 
> >
> > Günter
> >
> >
> > ¹ [A bell rings at this point.]
> >
> >
> 
> 
> 




[LyX 2.0.0rc3] math code: \text{} displayed as arabic symbols

2011-04-21 Thread Jannick Asmus

Hi,

I have just installed LyX 2.0.0RC3 on my WinVista machine and funnily 
all \text{...} in math code are displayed in Arabic. I think my configs 
are alright.


Any help is highly appreciated.

Best wishes,
J. 





Re: Master document

2011-04-21 Thread Guenter Milde
On 2011-04-21, Mathieu Dubois wrote:
> On 04/20/2011 11:25 PM, Julien Rioux wrote:
>> On 20/04/2011 4:00 PM, Mathieu Dubois wrote:

>>> First I have then to use "input" instead of "include", right?

> Hello,
>> 1) \include starts the content on a new page, \input does not.
> OK. So I can \include the chapter and \input the section.

Actually, the use case for \include (vs. \input) is that you can compile
selected chapters with \includeonly --- but unfortunately not with LyX.
:-(

Therefore, with LyX you can always use \input (the chapter will start a
new page anyway). \include is of use only if you want to be prepared for
\includeonly-support in some future LyX version (I do not give up hope).

>> 2) I would try to set the master of section.lyx to chapter.lyx, I think.
> That's what I did. The only problem I that I cannot compile the section 
> alone (I have to compile the chapter). Not a big deal.

What is the problem/error?
Most of this can be solved with code in a branch that is active in
standalone but inactive in the master.

Günter



Re: windows unattended install flags/switches

2011-04-21 Thread Paul Rubin
MiKTeX has three options for what to do when a document needs a LaTeX package
not currently installed: automatically download and install it; ignore it; or
ask for a blessing.  When LyX configures itself, it searches for approximately
2^100 packages (my subjective estimate).  So I'd suggest setting MiKTeX to
"ignore" mode (and then switch back to whatever mode you prefer), or else set it
to "automatically install" mode and brace yourself for some heavy traffic. 
Since I never use it, I can't recall whether "automatically install" mode asks
you to pick a repository for the first package.  Someone else on the list may
know.  

Personally, I go with "ignore" mode when I update LyX.  The only danger would be
if MiKTeX did not have an absolutely essential document class installed.  (For
instance, some of the help files use KOMA book, so you'll need that.)

HTH,
Paul




Re: super-/subscript Lyx-function name for bindfile

2011-04-21 Thread Paul Rubin
Sean Wendt  gmail.com> writes:

Try binding the following to a key combo of your choice:

"command-sequence ert-insert; self-insert \textsubscript{; char-forward;
ert-insert; self-insert }; char-backward; char-backward;"

Paul