Note: The wiki-engine for the LyX wiki-site has been updated

2004-04-12 Thread Christian Ridderström
Hi

I've just updated the wiki-engine for the LyX wiki-site:

http://wiki.lyx.org/pmwiki.php

so please let me know if you experience any problems with the new version.

The primary reason for the upgrade was to enable the automatic generation 
of table-of-contents for wiki pages such as:

http://wiki.lyx.org/pmwiki.php/FAQ/Unsorted

/Christian


PS. The old wiki-engine can be accessed through this URI:
http://wiki.lyx.org/0.5.27/pmwiki.php

-- 
Christian Ridderström   http://www.md.kth.se/~chr




myTitlePage

2004-04-12 Thread Beny Spira
Hi
 I am a newbie trying to use the myTitlePage package created by
Herbert Voss in Lyx. I got the following latex error when I put
\usepackage{myTitlePage} in the Preamble or tried to implement it as a
new layout:

Latex Error: [EMAIL PROTECTED] undefined
[EMAIL PROTECTED]
{%

I don't have the slightest idea what might be wrong. Have anyone tried
to use this package. Is there another way to personalize a Title page?
thanks in advance
Beny
 
-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: Equation generates errors

2004-04-12 Thread Andre Poenitz
On Sun, Apr 11, 2004 at 05:51:00PM -0700, Rich Shepard wrote:
   I've spent a lot of time trying to understand why this equation:
 
 \begin_inset Formula \[
 \mu_{sum}=\left\{\left[\mu_{1}/(1-\mu_{1})\right]^{A}\left[\mu_{2}/(1-\mu_{2})\right]^{B
 }...\left[\mu_{n}/(1-\mu_{n})\right]^{n}\right\} ^{\frac{1}{A+B+...+n}}\]

I can't see anything wrong here. Could you send a (really!) minimal .lyx
file that contains this yet doesn't compile?

Andre'

PS: Instead of ... you could use \ldots, that 'll give you 'proper'
spacing between the dots.


Re: myTitlePage

2004-04-12 Thread Robert Orr
I think you need to re-configure after putting the
.sty file where LyX can find it.

edit-reconfigure

--- Beny Spira [EMAIL PROTECTED] wrote:
 Hi
  I am a newbie trying to use the myTitlePage
 package created by
 Herbert Voss in Lyx. I got the following latex error
 when I put
 \usepackage{myTitlePage} in the Preamble or tried to
 implement it as a
 new layout:
 
 Latex Error: [EMAIL PROTECTED] undefined
 [EMAIL PROTECTED]
 {%
 
 I don't have the slightest idea what might be wrong.
 Have anyone tried
 to use this package. Is there another way to
 personalize a Title page?
 thanks in advance
 Beny
  
 -- 
 %
 Beny Spira
 Departamento de Microbiologia
 Instituto de Ciências Biomédicas
 Universidade de São Paulo
 Av. Prof. Lineu Prestes 1374
 São Paulo-SP  CEP:05508-900
 Tel: 5511-3091-7347
 FAX: 5511-3091-7354
 E-mail: [EMAIL PROTECTED]
 %
 


__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html


Re: Equation generates errors

2004-04-12 Thread Rich Shepard
On Mon, 12 Apr 2004, Andre Poenitz wrote:

Andre',

 PS: Instead of ... you could use \ldots, that 'll give you 'proper'
 spacing between the dots.

  The problem solved itself; I posted a message to that effect.

  Thanks for the '\ldots' clue. I knew there was something but was too lazy
to look it up.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Citation format selection

2004-04-12 Thread Angus Leeming
Rich Shepard wrote:

   This question falls in the category of minor annoyance rather than
   that of
 a big problem.
 
   In Layout - Document - Bibliography's dialog box I have use
   natbib
 checked and numerical selected for cite style. But, each time I
 open the Insert - Citation reference dialog box and select one (or
 more) references, they show up as name plus ID# rather than only
 ID#.

So, change the combobox that displays them as 'name plus ID#' to
'ID#'...

-- 
Angus



Re: Citation format selection

2004-04-12 Thread Rich Shepard
On Mon, 12 Apr 2004, Angus Leeming wrote:

 So, change the combobox that displays them as 'name plus #ID' to
 '#ID'...

Angus,

  I do. However, I thought that should come up as the default because that's
what I specified in the Layout-Document widget. I suppose my question
should have been stated as why this does not show up as the default in the
citation selection dialog box when this format is selected for the
document's bibliography.

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Citation format selection

2004-04-12 Thread Angus Leeming
Rich Shepard wrote:
 So, change the combobox that displays them as 'name plus #ID' to
 '#ID'...
 
 Angus,
 
 I do. However, I thought that should come up as the default
 because that's what I specified in the Layout-Document
 widget. I suppose my question should have been stated as 
 why this does not show up as the default in the citation 
 selection dialog box when this format is selected for the 
 document's bibliography.

shrug
Because this stuff is fragile and I don't want to break a working
tool?
/shrug

Does the attached patch fix it?

Jean-Marc, are you happy for this to go into the 1.3.x tree? It can be
argued that this is needed because natbib translates '\cite'
differently in author-year and in numerical mode. In author-year
mode, it translates '\cite' to '\citet'. In numerical mode, it
translates it to '\citep'.

With the patch, the combobox contains the list:
[ID#]
Foo [ID#]
Foo ID#
ID#
Foo
2004
(2004)

and [ID#] is the default. As Rich says, this seems more natural than
the current behaviour which has the first two entries swapped around.

Thoughts?
AngusIndex: src/frontends/controllers/biblio.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/biblio.C,v
retrieving revision 1.44
diff -u -p -r1.44 biblio.C
--- src/frontends/controllers/biblio.C	27 Nov 2002 10:30:22 -	1.44
+++ src/frontends/controllers/biblio.C	12 Apr 2004 19:31:57 -
@@ -598,6 +598,11 @@ getNumericalStrings(string const  key,
 	if (author.empty() || year.empty())
 		return vectorstring();
 
+	vectorstring::size_type const vec_npos =
+		static_castvectorstring::size_type(-1);
+	vectorstring::size_type citep_pos = vec_npos;
+	vectorstring::size_type citet_pos = vec_npos;
+
 	vectorstring vec(styles.size());
 	for (vectorstring::size_type i = 0; i != vec.size(); ++i) {
 		string str;
@@ -606,10 +611,12 @@ getNumericalStrings(string const  key,
 		case CITE:
 		case CITEP:
 			str = [#ID];
+			citep_pos = i;
 			break;
 
 		case CITET:
 			str = author +  [#ID];
+			citet_pos = i;
 			break;
 
 		case CITEALT:
@@ -635,6 +642,9 @@ getNumericalStrings(string const  key,
 
 		vec[i] = str;
 	}
+
+	if (citep_pos != vec_npos  citet_pos != vec_npos)
+		swap(vec[citep_pos], vec[citet_pos]);
 
 	return vec;
 }


Re: myTitlePage

2004-04-12 Thread robin
Robert Orr wrote:
I think you need to re-configure after putting the
.sty file where LyX can find it.
edit-reconfigure
And maybe run texhash first?

Robin

--- Beny Spira [EMAIL PROTECTED] wrote:

Hi
I am a newbie trying to use the myTitlePage
package created by
Herbert Voss in Lyx. I got the following latex error
when I put
\usepackage{myTitlePage} in the Preamble or tried to
implement it as a
new layout:
Latex Error: [EMAIL PROTECTED] undefined
[EMAIL PROTECTED]
{%
I don't have the slightest idea what might be wrong.
Have anyone tried
to use this package. Is there another way to
personalize a Title page?
thanks in advance
Beny
--
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html



--
If the lion could speak, we would not understand it.
- Wittgenstein
Robin Turner
IDMYO
Bilkent Universitesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Re: myTitlePage

2004-04-12 Thread Marc Jeffrey Driftmeyer
And don't forget that since you are putting styles, classes and packages 
inside your local texmf/ directory you have to run texhash and let it update 
and generate the ls-R index.

Debian: /usr/local/share/texmf

I run Edit-Reconfigure afterwards and it will work, when there is at least 
preliminary support for your package, sty or cls file.

Example: memoir has cursory support, but something like resume.cls has zero 
support.  I don't use LyX when I am writing a resume.  I utilize Kile and it 
works great.

-Marc J. Driftmeyer

On Tuesday 13 April 2004 12:12 am, robin wrote:
 Robert Orr wrote:
  I think you need to re-configure after putting the
  .sty file where LyX can find it.
 
  edit-reconfigure

 And maybe run texhash first?

 Robin

  --- Beny Spira [EMAIL PROTECTED] wrote:
 Hi
  I am a newbie trying to use the myTitlePage
 package created by
 Herbert Voss in Lyx. I got the following latex error
 when I put
 \usepackage{myTitlePage} in the Preamble or tried to
 implement it as a
 new layout:
 
 Latex Error: [EMAIL PROTECTED] undefined
 [EMAIL PROTECTED]
 {%
 
 I don't have the slightest idea what might be wrong.
 Have anyone tried
 to use this package. Is there another way to
 personalize a Title page?
 thanks in advance
 Beny
 
 --
 %
 Beny Spira
 Departamento de Microbiologia
 Instituto de Ciências Biomédicas
 Universidade de São Paulo
 Av. Prof. Lineu Prestes 1374
 São Paulo-SPCEP:05508-900
 Tel: 5511-3091-7347
 FAX: 5511-3091-7354
 E-mail: [EMAIL PROTECTED]
 %
 
  __
  Do you Yahoo!?
  Yahoo! Tax Center - File online by April 15th
  http://taxes.yahoo.com/filing.html


Content-Transfer-Encoding

2004-04-12 Thread Dave Tweten
I'm tired of dealing with people who misconfigure their mail user agents 
to use x-uuencode instead of base64 as the Content-Transfer-Encoding for 
their MIME attachments.  I'm hoping for a technological solution (i.e., 
capitulation).  Is there some way to stitch public domain uudecode into 
exmh so it can handle these non-compliant attachments?

Help, and even commiseration, will be appreciated.
-- 
M/S 258-5|1024-bit PGP fingerprint:|[EMAIL PROTECTED]
NASA Ames Research Center| 41 B0 89 0A  8F 94 6C 59| (650) 604-4416
Moffett Field, CA  94035-1000| 7C 80 10 20  25 C7 2F E6|FAX: (650) 604-4377
Not an official NASA position.  You can't even be certain who sent this!




Note: The wiki-engine for the LyX wiki-site has been updated

2004-04-12 Thread Christian Ridderström
Hi

I've just updated the wiki-engine for the LyX wiki-site:

http://wiki.lyx.org/pmwiki.php

so please let me know if you experience any problems with the new version.

The primary reason for the upgrade was to enable the automatic generation 
of table-of-contents for wiki pages such as:

http://wiki.lyx.org/pmwiki.php/FAQ/Unsorted

/Christian


PS. The old wiki-engine can be accessed through this URI:
http://wiki.lyx.org/0.5.27/pmwiki.php

-- 
Christian Ridderström   http://www.md.kth.se/~chr




myTitlePage

2004-04-12 Thread Beny Spira
Hi
 I am a newbie trying to use the myTitlePage package created by
Herbert Voss in Lyx. I got the following latex error when I put
\usepackage{myTitlePage} in the Preamble or tried to implement it as a
new layout:

Latex Error: [EMAIL PROTECTED] undefined
[EMAIL PROTECTED]
{%

I don't have the slightest idea what might be wrong. Have anyone tried
to use this package. Is there another way to personalize a Title page?
thanks in advance
Beny
 
-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: Equation generates errors

2004-04-12 Thread Andre Poenitz
On Sun, Apr 11, 2004 at 05:51:00PM -0700, Rich Shepard wrote:
   I've spent a lot of time trying to understand why this equation:
 
 \begin_inset Formula \[
 \mu_{sum}=\left\{\left[\mu_{1}/(1-\mu_{1})\right]^{A}\left[\mu_{2}/(1-\mu_{2})\right]^{B
 }...\left[\mu_{n}/(1-\mu_{n})\right]^{n}\right\} ^{\frac{1}{A+B+...+n}}\]

I can't see anything wrong here. Could you send a (really!) minimal .lyx
file that contains this yet doesn't compile?

Andre'

PS: Instead of ... you could use \ldots, that 'll give you 'proper'
spacing between the dots.


Re: myTitlePage

2004-04-12 Thread Robert Orr
I think you need to re-configure after putting the
.sty file where LyX can find it.

edit-reconfigure

--- Beny Spira [EMAIL PROTECTED] wrote:
 Hi
  I am a newbie trying to use the myTitlePage
 package created by
 Herbert Voss in Lyx. I got the following latex error
 when I put
 \usepackage{myTitlePage} in the Preamble or tried to
 implement it as a
 new layout:
 
 Latex Error: [EMAIL PROTECTED] undefined
 [EMAIL PROTECTED]
 {%
 
 I don't have the slightest idea what might be wrong.
 Have anyone tried
 to use this package. Is there another way to
 personalize a Title page?
 thanks in advance
 Beny
  
 -- 
 %
 Beny Spira
 Departamento de Microbiologia
 Instituto de Ciências Biomédicas
 Universidade de São Paulo
 Av. Prof. Lineu Prestes 1374
 São Paulo-SP  CEP:05508-900
 Tel: 5511-3091-7347
 FAX: 5511-3091-7354
 E-mail: [EMAIL PROTECTED]
 %
 


__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html


Re: Equation generates errors

2004-04-12 Thread Rich Shepard
On Mon, 12 Apr 2004, Andre Poenitz wrote:

Andre',

 PS: Instead of ... you could use \ldots, that 'll give you 'proper'
 spacing between the dots.

  The problem solved itself; I posted a message to that effect.

  Thanks for the '\ldots' clue. I knew there was something but was too lazy
to look it up.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Citation format selection

2004-04-12 Thread Angus Leeming
Rich Shepard wrote:

   This question falls in the category of minor annoyance rather than
   that of
 a big problem.
 
   In Layout - Document - Bibliography's dialog box I have use
   natbib
 checked and numerical selected for cite style. But, each time I
 open the Insert - Citation reference dialog box and select one (or
 more) references, they show up as name plus ID# rather than only
 ID#.

So, change the combobox that displays them as 'name plus ID#' to
'ID#'...

-- 
Angus



Re: Citation format selection

2004-04-12 Thread Rich Shepard
On Mon, 12 Apr 2004, Angus Leeming wrote:

 So, change the combobox that displays them as 'name plus #ID' to
 '#ID'...

Angus,

  I do. However, I thought that should come up as the default because that's
what I specified in the Layout-Document widget. I suppose my question
should have been stated as why this does not show up as the default in the
citation selection dialog box when this format is selected for the
document's bibliography.

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Citation format selection

2004-04-12 Thread Angus Leeming
Rich Shepard wrote:
 So, change the combobox that displays them as 'name plus #ID' to
 '#ID'...
 
 Angus,
 
 I do. However, I thought that should come up as the default
 because that's what I specified in the Layout-Document
 widget. I suppose my question should have been stated as 
 why this does not show up as the default in the citation 
 selection dialog box when this format is selected for the 
 document's bibliography.

shrug
Because this stuff is fragile and I don't want to break a working
tool?
/shrug

Does the attached patch fix it?

Jean-Marc, are you happy for this to go into the 1.3.x tree? It can be
argued that this is needed because natbib translates '\cite'
differently in author-year and in numerical mode. In author-year
mode, it translates '\cite' to '\citet'. In numerical mode, it
translates it to '\citep'.

With the patch, the combobox contains the list:
[ID#]
Foo [ID#]
Foo ID#
ID#
Foo
2004
(2004)

and [ID#] is the default. As Rich says, this seems more natural than
the current behaviour which has the first two entries swapped around.

Thoughts?
AngusIndex: src/frontends/controllers/biblio.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/biblio.C,v
retrieving revision 1.44
diff -u -p -r1.44 biblio.C
--- src/frontends/controllers/biblio.C	27 Nov 2002 10:30:22 -	1.44
+++ src/frontends/controllers/biblio.C	12 Apr 2004 19:31:57 -
@@ -598,6 +598,11 @@ getNumericalStrings(string const  key,
 	if (author.empty() || year.empty())
 		return vectorstring();
 
+	vectorstring::size_type const vec_npos =
+		static_castvectorstring::size_type(-1);
+	vectorstring::size_type citep_pos = vec_npos;
+	vectorstring::size_type citet_pos = vec_npos;
+
 	vectorstring vec(styles.size());
 	for (vectorstring::size_type i = 0; i != vec.size(); ++i) {
 		string str;
@@ -606,10 +611,12 @@ getNumericalStrings(string const  key,
 		case CITE:
 		case CITEP:
 			str = [#ID];
+			citep_pos = i;
 			break;
 
 		case CITET:
 			str = author +  [#ID];
+			citet_pos = i;
 			break;
 
 		case CITEALT:
@@ -635,6 +642,9 @@ getNumericalStrings(string const  key,
 
 		vec[i] = str;
 	}
+
+	if (citep_pos != vec_npos  citet_pos != vec_npos)
+		swap(vec[citep_pos], vec[citet_pos]);
 
 	return vec;
 }


Re: myTitlePage

2004-04-12 Thread robin
Robert Orr wrote:
I think you need to re-configure after putting the
.sty file where LyX can find it.
edit-reconfigure
And maybe run texhash first?

Robin

--- Beny Spira [EMAIL PROTECTED] wrote:

Hi
I am a newbie trying to use the myTitlePage
package created by
Herbert Voss in Lyx. I got the following latex error
when I put
\usepackage{myTitlePage} in the Preamble or tried to
implement it as a
new layout:
Latex Error: [EMAIL PROTECTED] undefined
[EMAIL PROTECTED]
{%
I don't have the slightest idea what might be wrong.
Have anyone tried
to use this package. Is there another way to
personalize a Title page?
thanks in advance
Beny
--
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html



--
If the lion could speak, we would not understand it.
- Wittgenstein
Robin Turner
IDMYO
Bilkent Universitesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Re: myTitlePage

2004-04-12 Thread Marc Jeffrey Driftmeyer
And don't forget that since you are putting styles, classes and packages 
inside your local texmf/ directory you have to run texhash and let it update 
and generate the ls-R index.

Debian: /usr/local/share/texmf

I run Edit-Reconfigure afterwards and it will work, when there is at least 
preliminary support for your package, sty or cls file.

Example: memoir has cursory support, but something like resume.cls has zero 
support.  I don't use LyX when I am writing a resume.  I utilize Kile and it 
works great.

-Marc J. Driftmeyer

On Tuesday 13 April 2004 12:12 am, robin wrote:
 Robert Orr wrote:
  I think you need to re-configure after putting the
  .sty file where LyX can find it.
 
  edit-reconfigure

 And maybe run texhash first?

 Robin

  --- Beny Spira [EMAIL PROTECTED] wrote:
 Hi
  I am a newbie trying to use the myTitlePage
 package created by
 Herbert Voss in Lyx. I got the following latex error
 when I put
 \usepackage{myTitlePage} in the Preamble or tried to
 implement it as a
 new layout:
 
 Latex Error: [EMAIL PROTECTED] undefined
 [EMAIL PROTECTED]
 {%
 
 I don't have the slightest idea what might be wrong.
 Have anyone tried
 to use this package. Is there another way to
 personalize a Title page?
 thanks in advance
 Beny
 
 --
 %
 Beny Spira
 Departamento de Microbiologia
 Instituto de Ciências Biomédicas
 Universidade de São Paulo
 Av. Prof. Lineu Prestes 1374
 São Paulo-SPCEP:05508-900
 Tel: 5511-3091-7347
 FAX: 5511-3091-7354
 E-mail: [EMAIL PROTECTED]
 %
 
  __
  Do you Yahoo!?
  Yahoo! Tax Center - File online by April 15th
  http://taxes.yahoo.com/filing.html


Content-Transfer-Encoding

2004-04-12 Thread Dave Tweten
I'm tired of dealing with people who misconfigure their mail user agents 
to use x-uuencode instead of base64 as the Content-Transfer-Encoding for 
their MIME attachments.  I'm hoping for a technological solution (i.e., 
capitulation).  Is there some way to stitch public domain uudecode into 
exmh so it can handle these non-compliant attachments?

Help, and even commiseration, will be appreciated.
-- 
M/S 258-5|1024-bit PGP fingerprint:|[EMAIL PROTECTED]
NASA Ames Research Center| 41 B0 89 0A  8F 94 6C 59| (650) 604-4416
Moffett Field, CA  94035-1000| 7C 80 10 20  25 C7 2F E6|FAX: (650) 604-4377
Not an official NASA position.  You can't even be certain who sent this!




Note: The "wiki-engine" for the LyX wiki-site has been updated

2004-04-12 Thread Christian Ridderström
Hi

I've just updated the "wiki-engine" for the LyX wiki-site:

http://wiki.lyx.org/pmwiki.php

so please let me know if you experience any problems with the new version.

The primary reason for the upgrade was to enable the automatic generation 
of table-of-contents for wiki pages such as:

http://wiki.lyx.org/pmwiki.php/FAQ/Unsorted

/Christian


PS. The old wiki-engine can be accessed through this URI:
http://wiki.lyx.org/0.5.27/pmwiki.php

-- 
Christian Ridderström   http://www.md.kth.se/~chr




myTitlePage

2004-04-12 Thread Beny Spira
Hi
 I am a newbie trying to use the "myTitlePage" package created by
Herbert Voss in Lyx. I got the following latex error when I put
\usepackage{myTitlePage} in the Preamble or tried to implement it as a
new layout:

Latex Error: [EMAIL PROTECTED] undefined
[EMAIL PROTECTED]
{%

I don't have the slightest idea what might be wrong. Have anyone tried
to use this package. Is there another way to personalize a Title page?
thanks in advance
Beny
 
-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: Equation generates errors

2004-04-12 Thread Andre Poenitz
On Sun, Apr 11, 2004 at 05:51:00PM -0700, Rich Shepard wrote:
>   I've spent a lot of time trying to understand why this equation:
> 
> \begin_inset Formula \[
> \mu_{sum}=\left\{\left[\mu_{1}/(1-\mu_{1})\right]^{A}\left[\mu_{2}/(1-\mu_{2})\right]^{B
> }...\left[\mu_{n}/(1-\mu_{n})\right]^{n}\right\} ^{\frac{1}{A+B+...+n}}\]

I can't see anything wrong here. Could you send a (really!) minimal .lyx
file that contains this yet doesn't compile?

Andre'

PS: Instead of ... you could use \ldots, that 'll give you 'proper'
spacing between the dots.


Re: myTitlePage

2004-04-12 Thread Robert Orr
I think you need to re-configure after putting the
.sty file where LyX can find it.

edit->reconfigure

--- Beny Spira <[EMAIL PROTECTED]> wrote:
> Hi
>  I am a newbie trying to use the "myTitlePage"
> package created by
> Herbert Voss in Lyx. I got the following latex error
> when I put
> \usepackage{myTitlePage} in the Preamble or tried to
> implement it as a
> new layout:
> 
> Latex Error: [EMAIL PROTECTED] undefined
> [EMAIL PROTECTED]
> {%
> 
> I don't have the slightest idea what might be wrong.
> Have anyone tried
> to use this package. Is there another way to
> personalize a Title page?
> thanks in advance
> Beny
>  
> -- 
> %
> Beny Spira
> Departamento de Microbiologia
> Instituto de Ciências Biomédicas
> Universidade de São Paulo
> Av. Prof. Lineu Prestes 1374
> São Paulo-SP  CEP:05508-900
> Tel: 5511-3091-7347
> FAX: 5511-3091-7354
> E-mail: [EMAIL PROTECTED]
> %
> 


__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html


Re: Equation generates errors

2004-04-12 Thread Rich Shepard
On Mon, 12 Apr 2004, Andre Poenitz wrote:

Andre',

> PS: Instead of ... you could use \ldots, that 'll give you 'proper'
> spacing between the dots.

  The problem solved itself; I posted a message to that effect.

  Thanks for the '\ldots' clue. I knew there was something but was too lazy
to look it up.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Citation format selection

2004-04-12 Thread Angus Leeming
Rich Shepard wrote:

>   This question falls in the category of minor annoyance rather than
>   that of
> a big problem.
> 
>   In Layout -> Document -> Bibliography's dialog box I have "use
>   natbib"
> checked and "numerical" selected for cite style. But, each time I
> open the Insert -> Citation reference dialog box and select one (or
> more) references, they show up as name plus ID# rather than only
> ID#.

So, change the combobox that displays them as 'name plus ID#' to
'ID#'...

-- 
Angus



Re: Citation format selection

2004-04-12 Thread Rich Shepard
On Mon, 12 Apr 2004, Angus Leeming wrote:

> So, change the combobox that displays them as 'name plus #ID' to
> '#ID'...

Angus,

  I do. However, I thought that should come up as the default because that's
what I specified in the Layout->Document widget. I suppose my question
should have been stated as why this does not show up as the default in the
citation selection dialog box when this format is selected for the
document's bibliography.

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Citation format selection

2004-04-12 Thread Angus Leeming
Rich Shepard wrote:
>> So, change the combobox that displays them as 'name plus #ID' to
>> '#ID'...
> 
> Angus,
> 
> I do. However, I thought that should come up as the default
> because that's what I specified in the Layout->Document
> widget. I suppose my question should have been stated as 
> why this does not show up as the default in the citation 
> selection dialog box when this format is selected for the 
> document's bibliography.


Because this stuff is fragile and I don't want to break a working
tool?


Does the attached patch fix it?

Jean-Marc, are you happy for this to go into the 1.3.x tree? It can be
argued that this is needed because natbib translates '\cite'
differently in author-year and in numerical mode. In author-year
mode, it translates '\cite' to '\citet'. In numerical mode, it
translates it to '\citep'.

With the patch, the combobox contains the list:
[ID#]
Foo [ID#]
Foo ID#
ID#
Foo
2004
(2004)

and [ID#] is the default. As Rich says, this seems more natural than
the current behaviour which has the first two entries swapped around.

Thoughts?
AngusIndex: src/frontends/controllers/biblio.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/biblio.C,v
retrieving revision 1.44
diff -u -p -r1.44 biblio.C
--- src/frontends/controllers/biblio.C	27 Nov 2002 10:30:22 -	1.44
+++ src/frontends/controllers/biblio.C	12 Apr 2004 19:31:57 -
@@ -598,6 +598,11 @@ getNumericalStrings(string const & key,
 	if (author.empty() || year.empty())
 		return vector();
 
+	vector::size_type const vec_npos =
+		static_cast(-1);
+	vector::size_type citep_pos = vec_npos;
+	vector::size_type citet_pos = vec_npos;
+
 	vector vec(styles.size());
 	for (vector::size_type i = 0; i != vec.size(); ++i) {
 		string str;
@@ -606,10 +611,12 @@ getNumericalStrings(string const & key,
 		case CITE:
 		case CITEP:
 			str = "[#ID]";
+			citep_pos = i;
 			break;
 
 		case CITET:
 			str = author + " [#ID]";
+			citet_pos = i;
 			break;
 
 		case CITEALT:
@@ -635,6 +642,9 @@ getNumericalStrings(string const & key,
 
 		vec[i] = str;
 	}
+
+	if (citep_pos != vec_npos && citet_pos != vec_npos)
+		swap(vec[citep_pos], vec[citet_pos]);
 
 	return vec;
 }


Re: myTitlePage

2004-04-12 Thread robin
Robert Orr wrote:
I think you need to re-configure after putting the
.sty file where LyX can find it.
edit->reconfigure
And maybe run texhash first?

Robin

--- Beny Spira <[EMAIL PROTECTED]> wrote:

Hi
I am a newbie trying to use the "myTitlePage"
package created by
Herbert Voss in Lyx. I got the following latex error
when I put
\usepackage{myTitlePage} in the Preamble or tried to
implement it as a
new layout:
Latex Error: [EMAIL PROTECTED] undefined
[EMAIL PROTECTED]
{%
I don't have the slightest idea what might be wrong.
Have anyone tried
to use this package. Is there another way to
personalize a Title page?
thanks in advance
Beny
--
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html



--
"If the lion could speak, we would not understand it."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Universitesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Re: myTitlePage

2004-04-12 Thread Marc Jeffrey Driftmeyer
And don't forget that since you are putting styles, classes and packages 
inside your local texmf/ directory you have to run texhash and let it update 
and generate the ls-R index.

Debian: /usr/local/share/texmf

I run Edit->Reconfigure afterwards and it will work, when there is at least 
preliminary support for your package, sty or cls file.

Example: memoir has cursory support, but something like resume.cls has zero 
support.  I don't use LyX when I am writing a resume.  I utilize Kile and it 
works great.

-Marc J. Driftmeyer

On Tuesday 13 April 2004 12:12 am, robin wrote:
> Robert Orr wrote:
> > I think you need to re-configure after putting the
> > .sty file where LyX can find it.
> >
> > edit->reconfigure
>
> And maybe run texhash first?
>
> Robin
>
> > --- Beny Spira <[EMAIL PROTECTED]> wrote:
> >>Hi
> >> I am a newbie trying to use the "myTitlePage"
> >>package created by
> >>Herbert Voss in Lyx. I got the following latex error
> >>when I put
> >>\usepackage{myTitlePage} in the Preamble or tried to
> >>implement it as a
> >>new layout:
> >>
> >>Latex Error: [EMAIL PROTECTED] undefined
> >>[EMAIL PROTECTED]
> >>{%
> >>
> >>I don't have the slightest idea what might be wrong.
> >>Have anyone tried
> >>to use this package. Is there another way to
> >>personalize a Title page?
> >>thanks in advance
> >>Beny
> >>
> >>--
> >>%
> >>Beny Spira
> >>Departamento de Microbiologia
> >>Instituto de Ciências Biomédicas
> >>Universidade de São Paulo
> >>Av. Prof. Lineu Prestes 1374
> >>São Paulo-SPCEP:05508-900
> >>Tel: 5511-3091-7347
> >>FAX: 5511-3091-7354
> >>E-mail: [EMAIL PROTECTED]
> >>%
> >
> > __
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online by April 15th
> > http://taxes.yahoo.com/filing.html


Content-Transfer-Encoding

2004-04-12 Thread Dave Tweten
I'm tired of dealing with people who misconfigure their mail user agents 
to use x-uuencode instead of base64 as the Content-Transfer-Encoding for 
their MIME attachments.  I'm hoping for a technological solution (i.e., 
capitulation).  Is there some way to stitch public domain uudecode into 
exmh so it can handle these non-compliant attachments?

Help, and even commiseration, will be appreciated.
-- 
M/S 258-5|1024-bit PGP fingerprint:|[EMAIL PROTECTED]
NASA Ames Research Center| 41 B0 89 0A  8F 94 6C 59| (650) 604-4416
Moffett Field, CA  94035-1000| 7C 80 10 20  25 C7 2F E6|FAX: (650) 604-4377
Not an official NASA position.  You can't even be certain who sent this!