Re: Problems with class layouts

2006-11-10 Thread Jean-Marc Lasgouttes
 John == John Perry [EMAIL PROTECTED] writes:

John Greetings, I use LyX a lot, and I recently tried to implement a
John new layout. I've found that either Lyx itself has bugs, or the
John manual on customization is terribly wrong. I have already
John entered two bugs as 2972 and 2973. I'm wondering whether I
John should enter the following additional bugs, or if I'm just doing
John something completely wrong:

John* Setting the Spacing option to double does not generate any
John LaTeX with the setspace package, even though the manual states
John otherwise: Note that, contrary to other parameters, Spacing
John implies the generation of specific LaTeX code, using the package
John setspace.sty. 

John * Setting the Sides option to 2 has no effect at all; LyX puts
John onesided into the document class options regardless. 

There is a misunderstanding here: Sides 2 means that your class (the
underlying cls/sty files or the preamble you propose) uses twosided by
default. So you you choose twosided, nothing is output, and if you
choose onesided, it is actually output to latex.

Basically, the layout file is only a _description_ of what the
documentclass does.

It may be (based on the sentence you quoted) that spacing is supposed
to work differently. I do not know the specifics. 

JMarc


Re: Problems with class layouts

2006-11-10 Thread Jean-Marc Lasgouttes
> "John" == John Perry <[EMAIL PROTECTED]> writes:

John> Greetings, I use LyX a lot, and I recently tried to implement a
John> new layout. I've found that either Lyx itself has bugs, or the
John> manual on customization is terribly wrong. I have already
John> entered two bugs as 2972 and 2973. I'm wondering whether I
John> should enter the following additional bugs, or if I'm just doing
John> something completely wrong:

John>* Setting the Spacing option to double does not generate any
John> LaTeX with the setspace package, even though the manual states
John> otherwise: "Note that, contrary to other parameters, Spacing
John> implies the generation of specific LaTeX code, using the package
John> setspace.sty." 

John> * Setting the Sides option to 2 has no effect at all; LyX puts
John> "onesided" into the document class options regardless. 

There is a misunderstanding here: "Sides 2" means that your class (the
underlying cls/sty files or the preamble you propose) uses twosided by
default. So you you choose twosided, nothing is output, and if you
choose onesided, it is actually output to latex.

Basically, the layout file is only a _description_ of what the
documentclass does.

It may be (based on the sentence you quoted) that spacing is supposed
to work differently. I do not know the specifics. 

JMarc


Problems with class layouts

2006-11-09 Thread John Perry

Greetings,

I use LyX a lot, and I recently tried to implement a new layout. I've 
found that either Lyx itself has bugs, or the manual on customization is 
terribly wrong. I have already entered two bugs as 2972 and 2973. I'm 
wondering whether I should enter the following additional bugs, or if 
I'm just doing something completely wrong:


   * Setting the Spacing option to double does not generate any LaTeX
 with the setspace package, even though the manual states
 otherwise: Note that, contrary to other parameters, Spacing
 implies the generation of specific LaTeX code, using the package
 setspace.sty.
   * Setting the Sides option to 2 has no effect at all; LyX puts
 onesided into the document class options regardless.
   * DefaultStyle does not set the default style, which remains
 Standard. Only after pressing enter does the default style
 actually become DefaultStyle.
   * In the ClassOptions section, Other appears to have no effect at
 all. I have set Other 12pt, for example, and Lyx does not
 include it as an optional argument, contrary to the manual.
   * Again in the ClassOptions section, setting FontSize to only one
 size does change the options in the Document Settings dialogue,
 but curiously does not actually set the font size to that setting.
   * As noted in bug 2973, the option TitleLatexCommand is wrong, and
 should be TitleLatexName (which, curiously enough, is documented
 in the LyX wiki).

Are these considered errors in the manual, or features? If they are 
errors, should I enter a bug for each one, or is this email sufficie?


I do like Lyx, and I hope that this email doesn't suggest that I don't 
appreciate what a great amount of effort has gone into it.


sincerely
john perry

--
John Perry, Assistant Professor (Mathematics, Computational Algebra)
University of Southern Mississippi
http://www.math.usm.edu/perry/
601-266-4293

Quivi mi cinse sì com´altrui piacqua oh maraviglia! ché qual elli scelse
l´umile pianta, cotal si rinacque subitamente là onde l´avelse.
-- Dante Alighieri (Purgatorio, I)



Re: Problems with class layouts

2006-11-09 Thread christian . ridderstrom
On Thu, 9 Nov 2006, John Perry wrote:

 I use LyX a lot, and I recently tried to implement a new layout. I've 
 found that either Lyx itself has bugs, or the manual on customization is 
 terribly wrong. 

Both answers could be right - even simultaneously ;-)

 Are these considered errors in the manual, or features? If they are 
 errors, should I enter a bug for each one, or is this email sufficie?

In general, you should enter a bug report for each problem. Duplicates are 
not (much) of a problem.

I'm afraid I couldn't help you on these specific issues, but... in case 
you don't get a response in this list and you want more help (which I 
suspect you do!), please try to re-post to either the developers' list or 
to the users' list.

 I do like Lyx, and I hope that this email doesn't suggest that I don't 
 appreciate what a great amount of effort has gone into it.

Certainly not! Reporting bugs is in a sense a way of showing that you 
care, thanks!

/Christian

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

Problems with class layouts

2006-11-09 Thread John Perry

Greetings,

I use LyX a lot, and I recently tried to implement a new layout. I've 
found that either Lyx itself has bugs, or the manual on customization is 
terribly wrong. I have already entered two bugs as 2972 and 2973. I'm 
wondering whether I should enter the following additional bugs, or if 
I'm just doing something completely wrong:


   * Setting the Spacing option to double does not generate any LaTeX
 with the setspace package, even though the manual states
 otherwise: "Note that, contrary to other parameters, Spacing
 implies the generation of specific LaTeX code, using the package
 setspace.sty."
   * Setting the Sides option to 2 has no effect at all; LyX puts
 "onesided" into the document class options regardless.
   * DefaultStyle does not set the default style, which remains
 Standard. Only after pressing enter does the default style
 actually become DefaultStyle.
   * In the ClassOptions section, Other appears to have no effect at
 all. I have set "Other 12pt", for example, and Lyx does not
 include it as an optional argument, contrary to the manual.
   * Again in the ClassOptions section, setting FontSize to only one
 size does change the options in the Document Settings dialogue,
 but curiously does not actually set the font size to that setting.
   * As noted in bug 2973, the option TitleLatexCommand is wrong, and
 should be TitleLatexName (which, curiously enough, is documented
 in the LyX wiki).

Are these considered errors in the manual, or features? If they are 
errors, should I enter a bug for each one, or is this email sufficie?


I do like Lyx, and I hope that this email doesn't suggest that I don't 
appreciate what a great amount of effort has gone into it.


sincerely
john perry

--
John Perry, Assistant Professor (Mathematics, Computational Algebra)
University of Southern Mississippi
http://www.math.usm.edu/perry/
601-266-4293

Quivi mi cinse sì com´altrui piacqua oh maraviglia! ché qual elli scelse
l´umile pianta, cotal si rinacque subitamente là onde l´avelse.
-- Dante Alighieri (Purgatorio, I)



Re: Problems with class layouts

2006-11-09 Thread christian . ridderstrom
On Thu, 9 Nov 2006, John Perry wrote:

> I use LyX a lot, and I recently tried to implement a new layout. I've 
> found that either Lyx itself has bugs, or the manual on customization is 
> terribly wrong. 

Both answers could be right - even simultaneously ;-)

> Are these considered errors in the manual, or features? If they are 
> errors, should I enter a bug for each one, or is this email sufficie?

In general, you should enter a bug report for each problem. Duplicates are 
not (much) of a problem.

I'm afraid I couldn't help you on these specific issues, but... in case 
you don't get a response in this list and you want more help (which I 
suspect you do!), please try to re-post to either the developers' list or 
to the users' list.

> I do like Lyx, and I hope that this email doesn't suggest that I don't 
> appreciate what a great amount of effort has gone into it.

Certainly not! Reporting bugs is in a sense a way of showing that you 
care, thanks!

/Christian

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