Re: Strange table numbering

2010-03-09 Thread Helge Hafting

Uwe Stöhr wrote:

Stefano Franchi schrieb:

Do you mean that this particular behavior was never reported, or that 
there is *no* situation in which Lyx may trigger the long table option 
automatically?


I meant both.

If the latter, then I think I found a bug. It would be pretty hard to 
replicate, unfortunately.


If you are once able to reproduce please report this in our bugtracker 
as this is a mustfix.


2. But even in that case, why does a long table inside a table float 
count

as TWO tables? Is this expected Latex behavior?


This is a LaTeX issue.


Seeing that longtable in a float is meaningless, how about disallowing 
it? I.e. gray out the longtable option for any table that resides

in a float, and clear the longtable setting on any table pasted
into a float...

Helge Hafting


Re: [WinXP] Lyx thinks meta key pressed

2010-03-09 Thread Helge Hafting

anunbelie...@gmail.com wrote:
Lyx seems to think the meta (alt) key is pressed - ctrl+N doesn't start 
a new document but inserts a new numbered formula into an existing one, 
the S key brings up the Alt+S menu prompt in the status bar at the 
bottom, and I'm not sure what the escape key does do but it definitely 
doesn't close dialog boxes - etc. This behaviour is in Lyx only, and 
wasn't rectified by uninstalling and reinstalling (now on the current 
1.6.5). I have no keyboard map set in 
Tools-Preferences-Editing-Keyboard/Mouse.


I certainly didn't deliberately change anything since the last time I 
used Lyx, and I'm not sure what I could have changed accidentally. Any 
ideas? I did a Google, turned up 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg53492.html which 
doesn't help much other than confirm that I'm not completely batty.


The only thing I can think of, is that LyX may have missed a key release 
event. This is fixable by pressing and then releasing ALT while

LyX has keyboard focus.

It won't help if the problem is caused by something else, but might be 
worth a try.


Helge Hafting


Re: LyX 2.0 and Outlines

2010-03-09 Thread Pavel Sanda
rob.oa...@oak-tree.us wrote:
 3) Additional Resources: I have had a student express interest, and I am
 willing to pay for his time.  While his developer skills are ... limited
 ., he would be able to file bugs and write code if provided with
 *significant* guidance.

significant guidance usually means that you spend lesser time on coding
it yourself ;)

 Thoughts?

yes. this proposal is good for the time we start new development cycle not
at the end when we should focus on making already done features finished and
bug free.

anyway if you come with some code before beta, it can be considered.

 *** These funds could be collected through the existing LyX accounts and
 managed by Pavel (or whoever is in charge of money).

we can do it in the same way as in the case of spell check or comparison
feature by putting new item to the official pages. Abdel knows about the
technical part. you can ask if somebody is willing to work on it in 2.1.

pavel


Re: why braces were automatically added to equation after I reopen Lyx file

2010-03-09 Thread Asm warrior

On 2010-3-8 16:38, Pavel Sanda wrote:

Asm warrior wrote:

I have equation like below:

\begin{equation}
^{C}v_{B}=^{C}(^{U}V_{B})\end{equation}

but when I save the lyx file, then reopen it, it became

\begin{equation}
^{C}v_{B}={}^{C}(^{U}V_{B})\end{equation}

You can see the screen shot before and after the lyx was reopened.

So, the automatically added brace(there will be a rectangle before the
superscript)was really ugly shown in Lyx editor, is it possible to disable
this functionality. I just don't want these change.


i dont see it here, but this is a second report that we additionally add braces
into mathed. could you please put it to trac with the problematic file?
pavel


Hi, pavel, thanks for the reply.
I have filed a ticket with a test.lyx file, see here:
http://www.lyx.org/trac/ticket/6581

asmwarrior



Re: Chapter in biblatex-dw

2010-03-09 Thread Dominik Waßenhoven
jezZiFeR wrote:

 When the same title is referred on another page, the title of the book  
 (the same with incollection) is not printed in the second reference.  
 It is displayed in roman font, with the addition (wie Anm. 7, S.  
 13). Is there a also way to get this title printed in italics?

I am not sure what you would like to achieve. Could you provide a
minimal example, please?

 And also titles of inbook-entries?

\DeclareFieldFormat[inbook]{title}{\mkbibemph{#1}}

You can specify the entry type (inbook, incollection etc.) in the
optional argument of \DeclareFieldFormat.

Regards,
Dominik.-



Re: why braces were automatically added to equation after I reopen Lyx file

2010-03-09 Thread Asm warrior

On 2010-3-8 16:38, Pavel Sanda wrote:

Asm warrior wrote:

I have equation like below:

\begin{equation}
^{C}v_{B}=^{C}(^{U}V_{B})\end{equation}

but when I save the lyx file, then reopen it, it became

\begin{equation}
^{C}v_{B}={}^{C}(^{U}V_{B})\end{equation}

You can see the screen shot before and after the lyx was reopened.

So, the automatically added brace(there will be a rectangle before the
superscript)was really ugly shown in Lyx editor, is it possible to disable
this functionality. I just don't want these change.


i dont see it here, but this is a second report that we additionally add braces
into mathed. could you please put it to trac with the problematic file?
pavel



I'm sorry, I forgot to tell my platform:
WindowsXP Lyx 1.6.5



title page contains date

2010-03-09 Thread Sajjad
Hello forum,


I am using the report class and the title page contains the date which i do
not want to include.


Any suggestion to remove that?


Regards
Sajjad


Re: title page contains date

2010-03-09 Thread stephen's mailinglist account
On 9 March 2010 21:09, Sajjad dosto.wa...@gmail.com wrote:
 Hello forum,


 I am using the report class and the title page contains the date which i do
 not want to include.


 Any suggestion to remove that?


 Regards
 Sajjad


put \date{} into preamble

-- 
Stephen


Install Custom Document Class In Debian Linux

2010-03-09 Thread Jamie
Hello,

I'm having some trouble, and hopefully someone can help.  I have this custom
thesis class, nuthesis which I've been using to write a paper with.  I had it
installed and working in Ubuntu.  However my computer recently died and I moved
to Debian.  For some reason, I'm having a heck of a time getting it working this
time.  When I try to open my paper, I get the message:

The document class nuthesis could not be found. A default textclass with
default layouts will be used. LyX might not be able to produce output unless a
correct textclass is selected from the document settings dialog.

But I'm unsure what I'm missing.  If I go to the Tools  Tex Information dialog,
and look under LaTeX Classes, I do see nuthesis.cls.  But I don't see anything
under Latex Styles.  But looking through my files, the nuthesis package didn't
come with any .sty files in the first place.

So what sort of files would I be missing to get this error.  And where would I
need to stick them?  Any guidance you can give me would be very much
appreciated.  Thanks.




Re: start Abstract,Acknowledgement, and each chapter with odd page number

2010-03-09 Thread Sajjad
Hello Juilen,


I have tried this, but i am getting blank pages with some chapters.


Regards
Sajjad

On Tue, Mar 2, 2010 at 10:19 PM, Julien Rioux julien.ri...@gmail.comwrote:

 It seems that

 Insert  Formatting  Clear Double Page

 inserted before each abstract, chapter, etc. will do what you want, in
 combination with setting Two-sided document in

 Document  Settings  Page Layout

 --
 Julien




Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread stephen's mailinglist account
On 9 March 2010 21:33, Jamie jsch...@cse.unl.edu wrote:
 Hello,

 I'm having some trouble, and hopefully someone can help.  I have this custom
 thesis class, nuthesis which I've been using to write a paper with.  I had 
 it
 installed and working in Ubuntu.  However my computer recently died and I 
 moved
 to Debian.  For some reason, I'm having a heck of a time getting it working 
 this
 time.  When I try to open my paper, I get the message:

 The document class nuthesis could not be found. A default textclass with
 default layouts will be used. LyX might not be able to produce output unless a
 correct textclass is selected from the document settings dialog.

 But I'm unsure what I'm missing.  If I go to the Tools  Tex Information 
 dialog,
 and look under LaTeX Classes, I do see nuthesis.cls.  But I don't see anything
 under Latex Styles.  But looking through my files, the nuthesis package didn't
 come with any .sty files in the first place.

 So what sort of files would I be missing to get this error.  And where would I
 need to stick them?  Any guidance you can give me would be very much
 appreciated.  Thanks.



Do you need to run texhash as root from a console?


-- 
Stephen


Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Paul Rubin
Jamie jsch...@... writes:
 When I try to open my paper, I get the message:
 
 The document class nuthesis could not be found. A default textclass with
 default layouts will be used. LyX might not be able to produce output 
 unless a correct textclass is selected from the document settings dialog.
 
 But I'm unsure what I'm missing.  If I go to the Tools  Tex Information
 dialog, and look under LaTeX Classes, I do see nuthesis.cls.

Do you have a LyX layout (nuthesis.layout?) file for it installed on this
machine? Without a layout file, LyX cannot use it as a document class.  See
chapter 5 of the Customization help file for details.

/Paul






Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Jamie
Paul Rubin ru...@... writes:

 
 Jamie jsch...@... writes:
  When I try to open my paper, I get the message:
  
  The document class nuthesis could not be found. A default textclass with
  default layouts will be used. LyX might not be able to produce output 
  unless a correct textclass is selected from the document settings dialog.
  
  But I'm unsure what I'm missing.  If I go to the Tools  Tex Information
  dialog, and look under LaTeX Classes, I do see nuthesis.cls.
 
 Do you have a LyX layout (nuthesis.layout?) file for it installed on this
 machine? Without a layout file, LyX cannot use it as a document class.  See
 chapter 5 of the Customization help file for details.
 
 /Paul
 
 

Paul,

Thank you so much.  Sure enough, I'd forgotten to install that.  After placing
it in the /usr/share/lyx/layouts directory, it works just fine.  Thanks again.

--Jamie




Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread stephen's mailinglist account

 Do you have a LyX layout (nuthesis.layout?) file for it installed on this
 machine? Without a layout file, LyX cannot use it as a document class.  See
 chapter 5 of the Customization help file for details.

 /Paul



 Paul,

 Thank you so much.  Sure enough, I'd forgotten to install that.  After placing
 it in the /usr/share/lyx/layouts directory, it works just fine.  Thanks again.

 --Jamie

 perhaps I should have read original post more closely!

Can also place layout locally in .lyx/loyouts

there is some information on
http://www.troubleshooters.com/linux/lyx/surefire_layout.htm
about customising your layout file and includes some stuff about
symlinking it to make it easier to update.

-- 
Stephen


Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Jamie
Stephen,

Thanks.  That's probably a better place to put things like this rather than
scattering them in the system directories.

--Jamie




Re: title page contains date

2010-03-09 Thread Uwe Stöhr

Am 09.03.2010 22:09, schrieb Sajjad:


I am using the report class and the title page contains the date which i do
not want to include.


Add this to your document preamble:

\date{}

regards Uwe


Latex 2 lyx problems

2010-03-09 Thread Stefano Franchi
A colleague sent me a latex file that (on my system)compiles perfectly to pdf. 
Importing into lyx mangles it up in such a way that it doesn't compile any to 
pdf anymore (from lyx). Here is what I see:

1. In the preamble, tex2lyx gobbles up whitespace in (what seems to me) random 
places. As a consequence, several Latex commands are chained up back to back, 
and, understandably, Latex is not happy. 

2. In the text, \par commands are inserted here and there. Again, I cannot see 
a specific pattern.

3. The file contains many equations (in fact, it is almost all equations), and 
some of them must have been mangled up, because (after correcting the preamble 
problem), the file does not compile and I get tens of Latex errors about a 
missing and/or extra }. I suppose the problems may be caused by the same 
gobbling up of white space that causes problem 1, but I am not sure (I know 
very little about equation formatting, and never write equations in Latex)


Does anyone know if this is a known problem? Perhaps it is encoding related? 
Or Windows/Linux related (I am on Linux, the colleague is on Windows)?

Cheers,

S.




__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: Latex 2 lyx problems

2010-03-09 Thread Vincent van Ravesteijn

Stefano Franchi schreef:
A colleague sent me a latex file that (on my system)compiles perfectly to pdf. 
Importing into lyx mangles it up in such a way that it doesn't compile any to 
pdf anymore (from lyx). Here is what I see:


1. In the preamble, tex2lyx gobbles up whitespace in (what seems to me) random 
places. As a consequence, several Latex commands are chained up back to back, 
and, understandably, Latex is not happy.


This was our fault: http://www.lyx.org/trac/ticket/6474. This must get 
fixed before the next release.


2. In the text, \par commands are inserted here and there. Again, I cannot see 
a specific pattern.


3. The file contains many equations (in fact, it is almost all equations), and 
some of them must have been mangled up, because (after correcting the preamble 
problem), the file does not compile and I get tens of Latex errors about a 
missing and/or extra }. I suppose the problems may be caused by the same 
gobbling up of white space that causes problem 1, but I am not sure (I know 
very little about equation formatting, and never write equations in Latex)


  
I guess that it is known that problems appear when there are macros in 
math with arguments which LyX doesn't know (we basically don't support 
arguments in LyX, except a few).


Does anyone know if this is a known problem? Perhaps it is encoding related? 
Or Windows/Linux related (I am on Linux, the colleague is on Windows)?


  
Without seeing the file, it is difficult to say why it happens, but I 
don't expect it to be caused by the encoding or platform.


Vincent


Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Richard Heck

On 3/9/10 5:47 PM, stephen's mailinglist account wrote:

Thank you so much.  Sure enough, I'd forgotten to install that.  After placing
it in the /usr/share/lyx/layouts directory, it works just fine.  Thanks again.

--Jamie

 

  perhaps I should have read original post more closely!

Can also place layout locally in .lyx/loyouts

   
It is definitely preferable to place it there, as upgrades, changes of 
OS, etc, are much more likely to over-write /usr/local/, and we all 
remember (hopefully) to backup our home directory more often than the 
whole system.


rh



Re: Strange table numbering

2010-03-09 Thread Helge Hafting

Uwe Stöhr wrote:

Stefano Franchi schrieb:

Do you mean that this particular behavior was never reported, or that 
there is *no* situation in which Lyx may trigger the long table option 
automatically?


I meant both.

If the latter, then I think I found a bug. It would be pretty hard to 
replicate, unfortunately.


If you are once able to reproduce please report this in our bugtracker 
as this is a mustfix.


2. But even in that case, why does a long table inside a table float 
count

as TWO tables? Is this expected Latex behavior?


This is a LaTeX issue.


Seeing that longtable in a float is meaningless, how about disallowing 
it? I.e. gray out the longtable option for any table that resides

in a float, and clear the longtable setting on any table pasted
into a float...

Helge Hafting


Re: [WinXP] Lyx thinks meta key pressed

2010-03-09 Thread Helge Hafting

anunbelie...@gmail.com wrote:
Lyx seems to think the meta (alt) key is pressed - ctrl+N doesn't start 
a new document but inserts a new numbered formula into an existing one, 
the S key brings up the Alt+S menu prompt in the status bar at the 
bottom, and I'm not sure what the escape key does do but it definitely 
doesn't close dialog boxes - etc. This behaviour is in Lyx only, and 
wasn't rectified by uninstalling and reinstalling (now on the current 
1.6.5). I have no keyboard map set in 
Tools-Preferences-Editing-Keyboard/Mouse.


I certainly didn't deliberately change anything since the last time I 
used Lyx, and I'm not sure what I could have changed accidentally. Any 
ideas? I did a Google, turned up 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg53492.html which 
doesn't help much other than confirm that I'm not completely batty.


The only thing I can think of, is that LyX may have missed a key release 
event. This is fixable by pressing and then releasing ALT while

LyX has keyboard focus.

It won't help if the problem is caused by something else, but might be 
worth a try.


Helge Hafting


Re: LyX 2.0 and Outlines

2010-03-09 Thread Pavel Sanda
rob.oa...@oak-tree.us wrote:
 3) Additional Resources: I have had a student express interest, and I am
 willing to pay for his time.  While his developer skills are ... limited
 ., he would be able to file bugs and write code if provided with
 *significant* guidance.

significant guidance usually means that you spend lesser time on coding
it yourself ;)

 Thoughts?

yes. this proposal is good for the time we start new development cycle not
at the end when we should focus on making already done features finished and
bug free.

anyway if you come with some code before beta, it can be considered.

 *** These funds could be collected through the existing LyX accounts and
 managed by Pavel (or whoever is in charge of money).

we can do it in the same way as in the case of spell check or comparison
feature by putting new item to the official pages. Abdel knows about the
technical part. you can ask if somebody is willing to work on it in 2.1.

pavel


Re: why braces were automatically added to equation after I reopen Lyx file

2010-03-09 Thread Asm warrior

On 2010-3-8 16:38, Pavel Sanda wrote:

Asm warrior wrote:

I have equation like below:

\begin{equation}
^{C}v_{B}=^{C}(^{U}V_{B})\end{equation}

but when I save the lyx file, then reopen it, it became

\begin{equation}
^{C}v_{B}={}^{C}(^{U}V_{B})\end{equation}

You can see the screen shot before and after the lyx was reopened.

So, the automatically added brace(there will be a rectangle before the
superscript)was really ugly shown in Lyx editor, is it possible to disable
this functionality. I just don't want these change.


i dont see it here, but this is a second report that we additionally add braces
into mathed. could you please put it to trac with the problematic file?
pavel


Hi, pavel, thanks for the reply.
I have filed a ticket with a test.lyx file, see here:
http://www.lyx.org/trac/ticket/6581

asmwarrior



Re: Chapter in biblatex-dw

2010-03-09 Thread Dominik Waßenhoven
jezZiFeR wrote:

 When the same title is referred on another page, the title of the book  
 (the same with incollection) is not printed in the second reference.  
 It is displayed in roman font, with the addition (wie Anm. 7, S.  
 13). Is there a also way to get this title printed in italics?

I am not sure what you would like to achieve. Could you provide a
minimal example, please?

 And also titles of inbook-entries?

\DeclareFieldFormat[inbook]{title}{\mkbibemph{#1}}

You can specify the entry type (inbook, incollection etc.) in the
optional argument of \DeclareFieldFormat.

Regards,
Dominik.-



Re: why braces were automatically added to equation after I reopen Lyx file

2010-03-09 Thread Asm warrior

On 2010-3-8 16:38, Pavel Sanda wrote:

Asm warrior wrote:

I have equation like below:

\begin{equation}
^{C}v_{B}=^{C}(^{U}V_{B})\end{equation}

but when I save the lyx file, then reopen it, it became

\begin{equation}
^{C}v_{B}={}^{C}(^{U}V_{B})\end{equation}

You can see the screen shot before and after the lyx was reopened.

So, the automatically added brace(there will be a rectangle before the
superscript)was really ugly shown in Lyx editor, is it possible to disable
this functionality. I just don't want these change.


i dont see it here, but this is a second report that we additionally add braces
into mathed. could you please put it to trac with the problematic file?
pavel



I'm sorry, I forgot to tell my platform:
WindowsXP Lyx 1.6.5



title page contains date

2010-03-09 Thread Sajjad
Hello forum,


I am using the report class and the title page contains the date which i do
not want to include.


Any suggestion to remove that?


Regards
Sajjad


Re: title page contains date

2010-03-09 Thread stephen's mailinglist account
On 9 March 2010 21:09, Sajjad dosto.wa...@gmail.com wrote:
 Hello forum,


 I am using the report class and the title page contains the date which i do
 not want to include.


 Any suggestion to remove that?


 Regards
 Sajjad


put \date{} into preamble

-- 
Stephen


Install Custom Document Class In Debian Linux

2010-03-09 Thread Jamie
Hello,

I'm having some trouble, and hopefully someone can help.  I have this custom
thesis class, nuthesis which I've been using to write a paper with.  I had it
installed and working in Ubuntu.  However my computer recently died and I moved
to Debian.  For some reason, I'm having a heck of a time getting it working this
time.  When I try to open my paper, I get the message:

The document class nuthesis could not be found. A default textclass with
default layouts will be used. LyX might not be able to produce output unless a
correct textclass is selected from the document settings dialog.

But I'm unsure what I'm missing.  If I go to the Tools  Tex Information dialog,
and look under LaTeX Classes, I do see nuthesis.cls.  But I don't see anything
under Latex Styles.  But looking through my files, the nuthesis package didn't
come with any .sty files in the first place.

So what sort of files would I be missing to get this error.  And where would I
need to stick them?  Any guidance you can give me would be very much
appreciated.  Thanks.




Re: start Abstract,Acknowledgement, and each chapter with odd page number

2010-03-09 Thread Sajjad
Hello Juilen,


I have tried this, but i am getting blank pages with some chapters.


Regards
Sajjad

On Tue, Mar 2, 2010 at 10:19 PM, Julien Rioux julien.ri...@gmail.comwrote:

 It seems that

 Insert  Formatting  Clear Double Page

 inserted before each abstract, chapter, etc. will do what you want, in
 combination with setting Two-sided document in

 Document  Settings  Page Layout

 --
 Julien




Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread stephen's mailinglist account
On 9 March 2010 21:33, Jamie jsch...@cse.unl.edu wrote:
 Hello,

 I'm having some trouble, and hopefully someone can help.  I have this custom
 thesis class, nuthesis which I've been using to write a paper with.  I had 
 it
 installed and working in Ubuntu.  However my computer recently died and I 
 moved
 to Debian.  For some reason, I'm having a heck of a time getting it working 
 this
 time.  When I try to open my paper, I get the message:

 The document class nuthesis could not be found. A default textclass with
 default layouts will be used. LyX might not be able to produce output unless a
 correct textclass is selected from the document settings dialog.

 But I'm unsure what I'm missing.  If I go to the Tools  Tex Information 
 dialog,
 and look under LaTeX Classes, I do see nuthesis.cls.  But I don't see anything
 under Latex Styles.  But looking through my files, the nuthesis package didn't
 come with any .sty files in the first place.

 So what sort of files would I be missing to get this error.  And where would I
 need to stick them?  Any guidance you can give me would be very much
 appreciated.  Thanks.



Do you need to run texhash as root from a console?


-- 
Stephen


Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Paul Rubin
Jamie jsch...@... writes:
 When I try to open my paper, I get the message:
 
 The document class nuthesis could not be found. A default textclass with
 default layouts will be used. LyX might not be able to produce output 
 unless a correct textclass is selected from the document settings dialog.
 
 But I'm unsure what I'm missing.  If I go to the Tools  Tex Information
 dialog, and look under LaTeX Classes, I do see nuthesis.cls.

Do you have a LyX layout (nuthesis.layout?) file for it installed on this
machine? Without a layout file, LyX cannot use it as a document class.  See
chapter 5 of the Customization help file for details.

/Paul






Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Jamie
Paul Rubin ru...@... writes:

 
 Jamie jsch...@... writes:
  When I try to open my paper, I get the message:
  
  The document class nuthesis could not be found. A default textclass with
  default layouts will be used. LyX might not be able to produce output 
  unless a correct textclass is selected from the document settings dialog.
  
  But I'm unsure what I'm missing.  If I go to the Tools  Tex Information
  dialog, and look under LaTeX Classes, I do see nuthesis.cls.
 
 Do you have a LyX layout (nuthesis.layout?) file for it installed on this
 machine? Without a layout file, LyX cannot use it as a document class.  See
 chapter 5 of the Customization help file for details.
 
 /Paul
 
 

Paul,

Thank you so much.  Sure enough, I'd forgotten to install that.  After placing
it in the /usr/share/lyx/layouts directory, it works just fine.  Thanks again.

--Jamie




Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread stephen's mailinglist account

 Do you have a LyX layout (nuthesis.layout?) file for it installed on this
 machine? Without a layout file, LyX cannot use it as a document class.  See
 chapter 5 of the Customization help file for details.

 /Paul



 Paul,

 Thank you so much.  Sure enough, I'd forgotten to install that.  After placing
 it in the /usr/share/lyx/layouts directory, it works just fine.  Thanks again.

 --Jamie

 perhaps I should have read original post more closely!

Can also place layout locally in .lyx/loyouts

there is some information on
http://www.troubleshooters.com/linux/lyx/surefire_layout.htm
about customising your layout file and includes some stuff about
symlinking it to make it easier to update.

-- 
Stephen


Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Jamie
Stephen,

Thanks.  That's probably a better place to put things like this rather than
scattering them in the system directories.

--Jamie




Re: title page contains date

2010-03-09 Thread Uwe Stöhr

Am 09.03.2010 22:09, schrieb Sajjad:


I am using the report class and the title page contains the date which i do
not want to include.


Add this to your document preamble:

\date{}

regards Uwe


Latex 2 lyx problems

2010-03-09 Thread Stefano Franchi
A colleague sent me a latex file that (on my system)compiles perfectly to pdf. 
Importing into lyx mangles it up in such a way that it doesn't compile any to 
pdf anymore (from lyx). Here is what I see:

1. In the preamble, tex2lyx gobbles up whitespace in (what seems to me) random 
places. As a consequence, several Latex commands are chained up back to back, 
and, understandably, Latex is not happy. 

2. In the text, \par commands are inserted here and there. Again, I cannot see 
a specific pattern.

3. The file contains many equations (in fact, it is almost all equations), and 
some of them must have been mangled up, because (after correcting the preamble 
problem), the file does not compile and I get tens of Latex errors about a 
missing and/or extra }. I suppose the problems may be caused by the same 
gobbling up of white space that causes problem 1, but I am not sure (I know 
very little about equation formatting, and never write equations in Latex)


Does anyone know if this is a known problem? Perhaps it is encoding related? 
Or Windows/Linux related (I am on Linux, the colleague is on Windows)?

Cheers,

S.




__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: Latex 2 lyx problems

2010-03-09 Thread Vincent van Ravesteijn

Stefano Franchi schreef:
A colleague sent me a latex file that (on my system)compiles perfectly to pdf. 
Importing into lyx mangles it up in such a way that it doesn't compile any to 
pdf anymore (from lyx). Here is what I see:


1. In the preamble, tex2lyx gobbles up whitespace in (what seems to me) random 
places. As a consequence, several Latex commands are chained up back to back, 
and, understandably, Latex is not happy.


This was our fault: http://www.lyx.org/trac/ticket/6474. This must get 
fixed before the next release.


2. In the text, \par commands are inserted here and there. Again, I cannot see 
a specific pattern.


3. The file contains many equations (in fact, it is almost all equations), and 
some of them must have been mangled up, because (after correcting the preamble 
problem), the file does not compile and I get tens of Latex errors about a 
missing and/or extra }. I suppose the problems may be caused by the same 
gobbling up of white space that causes problem 1, but I am not sure (I know 
very little about equation formatting, and never write equations in Latex)


  
I guess that it is known that problems appear when there are macros in 
math with arguments which LyX doesn't know (we basically don't support 
arguments in LyX, except a few).


Does anyone know if this is a known problem? Perhaps it is encoding related? 
Or Windows/Linux related (I am on Linux, the colleague is on Windows)?


  
Without seeing the file, it is difficult to say why it happens, but I 
don't expect it to be caused by the encoding or platform.


Vincent


Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Richard Heck

On 3/9/10 5:47 PM, stephen's mailinglist account wrote:

Thank you so much.  Sure enough, I'd forgotten to install that.  After placing
it in the /usr/share/lyx/layouts directory, it works just fine.  Thanks again.

--Jamie

 

  perhaps I should have read original post more closely!

Can also place layout locally in .lyx/loyouts

   
It is definitely preferable to place it there, as upgrades, changes of 
OS, etc, are much more likely to over-write /usr/local/, and we all 
remember (hopefully) to backup our home directory more often than the 
whole system.


rh



Re: Strange table numbering

2010-03-09 Thread Helge Hafting

Uwe Stöhr wrote:

Stefano Franchi schrieb:

Do you mean that this particular behavior was never reported, or that 
there is *no* situation in which Lyx may trigger the long table option 
automatically?


I meant both.

If the latter, then I think I found a bug. It would be pretty hard to 
replicate, unfortunately.


If you are once able to reproduce please report this in our bugtracker 
as this is a mustfix.


2. But even in that case, why does a long table inside a table float 
count

as TWO tables? Is this expected Latex behavior?


This is a LaTeX issue.


Seeing that longtable in a float is meaningless, how about disallowing 
it? I.e. gray out the longtable option for any table that resides

in a float, and clear the longtable setting on any table pasted
into a float...

Helge Hafting


Re: [WinXP] Lyx thinks meta key pressed

2010-03-09 Thread Helge Hafting

anunbelie...@gmail.com wrote:
Lyx seems to think the meta (alt) key is pressed - ctrl+N doesn't start 
a new document but inserts a new numbered formula into an existing one, 
the S key brings up the Alt+S menu prompt in the status bar at the 
bottom, and I'm not sure what the escape key does do but it definitely 
doesn't close dialog boxes - etc. This behaviour is in Lyx only, and 
wasn't rectified by uninstalling and reinstalling (now on the current 
1.6.5). I have no keyboard map set in 
Tools->Preferences->Editing->Keyboard/Mouse.


I certainly didn't deliberately change anything since the last time I 
used Lyx, and I'm not sure what I could have changed accidentally. Any 
ideas? I did a Google, turned up 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg53492.html which 
doesn't help much other than confirm that I'm not completely batty.


The only thing I can think of, is that LyX may have missed a key release 
event. This is fixable by pressing and then releasing ALT while

LyX has keyboard focus.

It won't help if the problem is caused by something else, but might be 
worth a try.


Helge Hafting


Re: LyX 2.0 and Outlines

2010-03-09 Thread Pavel Sanda
rob.oa...@oak-tree.us wrote:
> 3) Additional Resources: I have had a student express interest, and I am
> willing to pay for his time.  While his developer skills are ... limited
> ., he would be able to file bugs and write code if provided with
> *significant* guidance.

significant guidance usually means that you spend lesser time on coding
it yourself ;)

> Thoughts?

yes. this proposal is good for the time we start new development cycle not
at the end when we should focus on making already done features finished and
bug free.

anyway if you come with some code before beta, it can be considered.

> *** These funds could be collected through the existing LyX accounts and
> managed by Pavel (or whoever is in charge of money).

we can do it in the same way as in the case of spell check or comparison
feature by putting new item to the official pages. Abdel knows about the
technical part. you can ask if somebody is willing to work on it in 2.1.

pavel


Re: why braces were automatically added to equation after I reopen Lyx file

2010-03-09 Thread Asm warrior

On 2010-3-8 16:38, Pavel Sanda wrote:

Asm warrior wrote:

I have equation like below:

\begin{equation}
^{C}v_{B}=^{C}(^{U}V_{B})\end{equation}

but when I save the lyx file, then reopen it, it became

\begin{equation}
^{C}v_{B}={}^{C}(^{U}V_{B})\end{equation}

You can see the screen shot before and after the lyx was reopened.

So, the automatically added brace(there will be a rectangle before the
superscript)was really ugly shown in Lyx editor, is it possible to disable
this functionality. I just don't want these change.


i dont see it here, but this is a second report that we additionally add braces
into mathed. could you please put it to trac with the problematic file?
pavel


Hi, pavel, thanks for the reply.
I have filed a ticket with a test.lyx file, see here:
http://www.lyx.org/trac/ticket/6581

asmwarrior



Re: Chapter in biblatex-dw

2010-03-09 Thread Dominik Waßenhoven
jezZiFeR wrote:

> When the same title is referred on another page, the title of the book  
> (the same with incollection) is not printed in the second reference.  
> It is displayed in roman font, with the addition "(wie Anm. 7, S.  
> 13)". Is there a also way to get this title printed in italics?

I am not sure what you would like to achieve. Could you provide a
minimal example, please?

> And also titles of "inbook"-entries?

\DeclareFieldFormat[inbook]{title}{\mkbibemph{#1}}

You can specify the entry type (inbook, incollection etc.) in the
optional argument of \DeclareFieldFormat.

Regards,
Dominik.-



Re: why braces were automatically added to equation after I reopen Lyx file

2010-03-09 Thread Asm warrior

On 2010-3-8 16:38, Pavel Sanda wrote:

Asm warrior wrote:

I have equation like below:

\begin{equation}
^{C}v_{B}=^{C}(^{U}V_{B})\end{equation}

but when I save the lyx file, then reopen it, it became

\begin{equation}
^{C}v_{B}={}^{C}(^{U}V_{B})\end{equation}

You can see the screen shot before and after the lyx was reopened.

So, the automatically added brace(there will be a rectangle before the
superscript)was really ugly shown in Lyx editor, is it possible to disable
this functionality. I just don't want these change.


i dont see it here, but this is a second report that we additionally add braces
into mathed. could you please put it to trac with the problematic file?
pavel



I'm sorry, I forgot to tell my platform:
WindowsXP Lyx 1.6.5



title page contains date

2010-03-09 Thread Sajjad
Hello forum,


I am using the report class and the title page contains the date which i do
not want to include.


Any suggestion to remove that?


Regards
Sajjad


Re: title page contains date

2010-03-09 Thread stephen's mailinglist account
On 9 March 2010 21:09, Sajjad  wrote:
> Hello forum,
>
>
> I am using the report class and the title page contains the date which i do
> not want to include.
>
>
> Any suggestion to remove that?
>
>
> Regards
> Sajjad
>

put \date{} into preamble

-- 
Stephen


Install Custom Document Class In Debian Linux

2010-03-09 Thread Jamie
Hello,

I'm having some trouble, and hopefully someone can help.  I have this custom
thesis class, "nuthesis" which I've been using to write a paper with.  I had it
installed and working in Ubuntu.  However my computer recently died and I moved
to Debian.  For some reason, I'm having a heck of a time getting it working this
time.  When I try to open my paper, I get the message:

"The document class nuthesis could not be found. A default textclass with
default layouts will be used. LyX might not be able to produce output unless a
correct textclass is selected from the document settings dialog."

But I'm unsure what I'm missing.  If I go to the Tools > Tex Information dialog,
and look under LaTeX Classes, I do see nuthesis.cls.  But I don't see anything
under Latex Styles.  But looking through my files, the nuthesis package didn't
come with any .sty files in the first place.

So what sort of files would I be missing to get this error.  And where would I
need to stick them?  Any guidance you can give me would be very much
appreciated.  Thanks.




Re: start Abstract,Acknowledgement, and each chapter with odd page number

2010-03-09 Thread Sajjad
Hello Juilen,


I have tried this, but i am getting blank pages with some chapters.


Regards
Sajjad

On Tue, Mar 2, 2010 at 10:19 PM, Julien Rioux wrote:

> It seems that
>
> Insert > Formatting > Clear Double Page
>
> inserted before each abstract, chapter, etc. will do what you want, in
> combination with setting "Two-sided document" in
>
> Document > Settings > Page Layout
>
> --
> Julien
>
>


Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread stephen's mailinglist account
On 9 March 2010 21:33, Jamie  wrote:
> Hello,
>
> I'm having some trouble, and hopefully someone can help.  I have this custom
> thesis class, "nuthesis" which I've been using to write a paper with.  I had 
> it
> installed and working in Ubuntu.  However my computer recently died and I 
> moved
> to Debian.  For some reason, I'm having a heck of a time getting it working 
> this
> time.  When I try to open my paper, I get the message:
>
> "The document class nuthesis could not be found. A default textclass with
> default layouts will be used. LyX might not be able to produce output unless a
> correct textclass is selected from the document settings dialog."
>
> But I'm unsure what I'm missing.  If I go to the Tools > Tex Information 
> dialog,
> and look under LaTeX Classes, I do see nuthesis.cls.  But I don't see anything
> under Latex Styles.  But looking through my files, the nuthesis package didn't
> come with any .sty files in the first place.
>
> So what sort of files would I be missing to get this error.  And where would I
> need to stick them?  Any guidance you can give me would be very much
> appreciated.  Thanks.
>
>
>
Do you need to run texhash as root from a console?


-- 
Stephen


Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Paul Rubin
Jamie  writes:
> When I try to open my paper, I get the message:
> 
> "The document class nuthesis could not be found. A default textclass with
> default layouts will be used. LyX might not be able to produce output 
> unless a correct textclass is selected from the document settings dialog."
> 
> But I'm unsure what I'm missing.  If I go to the Tools > Tex Information
> dialog, and look under LaTeX Classes, I do see nuthesis.cls.

Do you have a LyX layout (nuthesis.layout?) file for it installed on this
machine? Without a layout file, LyX cannot use it as a document class.  See
chapter 5 of the Customization help file for details.

/Paul






Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Jamie
Paul Rubin  writes:

> 
> Jamie  writes:
> > When I try to open my paper, I get the message:
> > 
> > "The document class nuthesis could not be found. A default textclass with
> > default layouts will be used. LyX might not be able to produce output 
> > unless a correct textclass is selected from the document settings dialog."
> > 
> > But I'm unsure what I'm missing.  If I go to the Tools > Tex Information
> > dialog, and look under LaTeX Classes, I do see nuthesis.cls.
> 
> Do you have a LyX layout (nuthesis.layout?) file for it installed on this
> machine? Without a layout file, LyX cannot use it as a document class.  See
> chapter 5 of the Customization help file for details.
> 
> /Paul
> 
> 

Paul,

Thank you so much.  Sure enough, I'd forgotten to install that.  After placing
it in the /usr/share/lyx/layouts directory, it works just fine.  Thanks again.

--Jamie




Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread stephen's mailinglist account
>>
>> Do you have a LyX layout (nuthesis.layout?) file for it installed on this
>> machine? Without a layout file, LyX cannot use it as a document class.  See
>> chapter 5 of the Customization help file for details.
>>
>> /Paul
>>
>>
>
> Paul,
>
> Thank you so much.  Sure enough, I'd forgotten to install that.  After placing
> it in the /usr/share/lyx/layouts directory, it works just fine.  Thanks again.
>
> --Jamie
>
 perhaps I should have read original post more closely!

Can also place layout locally in .lyx/loyouts

there is some information on
http://www.troubleshooters.com/linux/lyx/surefire_layout.htm
about customising your layout file and includes some stuff about
symlinking it to make it easier to update.

-- 
Stephen


Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Jamie
Stephen,

Thanks.  That's probably a better place to put things like this rather than
scattering them in the system directories.

--Jamie




Re: title page contains date

2010-03-09 Thread Uwe Stöhr

Am 09.03.2010 22:09, schrieb Sajjad:


I am using the report class and the title page contains the date which i do
not want to include.


Add this to your document preamble:

\date{}

regards Uwe


Latex 2 lyx problems

2010-03-09 Thread Stefano Franchi
A colleague sent me a latex file that (on my system)compiles perfectly to pdf. 
Importing into lyx mangles it up in such a way that it doesn't compile any to 
pdf anymore (from lyx). Here is what I see:

1. In the preamble, tex2lyx gobbles up whitespace in (what seems to me) random 
places. As a consequence, several Latex commands are chained up back to back, 
and, understandably, Latex is not happy. 

2. In the text, \par commands are inserted here and there. Again, I cannot see 
a specific pattern.

3. The file contains many equations (in fact, it is almost all equations), and 
some of them must have been mangled up, because (after correcting the preamble 
problem), the file does not compile and I get tens of Latex errors about a 
missing and/or extra }. I suppose the problems may be caused by the same 
gobbling up of white space that causes problem 1, but I am not sure (I know 
very little about equation formatting, and never write equations in Latex)


Does anyone know if this is a known problem? Perhaps it is encoding related? 
Or Windows/Linux related (I am on Linux, the colleague is on Windows)?

Cheers,

S.




__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: Latex 2 lyx problems

2010-03-09 Thread Vincent van Ravesteijn

Stefano Franchi schreef:
A colleague sent me a latex file that (on my system)compiles perfectly to pdf. 
Importing into lyx mangles it up in such a way that it doesn't compile any to 
pdf anymore (from lyx). Here is what I see:


1. In the preamble, tex2lyx gobbles up whitespace in (what seems to me) random 
places. As a consequence, several Latex commands are chained up back to back, 
and, understandably, Latex is not happy.


This was our fault: http://www.lyx.org/trac/ticket/6474. This must get 
fixed before the next release.


2. In the text, \par commands are inserted here and there. Again, I cannot see 
a specific pattern.


3. The file contains many equations (in fact, it is almost all equations), and 
some of them must have been mangled up, because (after correcting the preamble 
problem), the file does not compile and I get tens of Latex errors about a 
missing and/or extra }. I suppose the problems may be caused by the same 
gobbling up of white space that causes problem 1, but I am not sure (I know 
very little about equation formatting, and never write equations in Latex)


  
I guess that it is known that problems appear when there are macros in 
math with arguments which LyX doesn't know (we basically don't support 
arguments in LyX, except a few).


Does anyone know if this is a known problem? Perhaps it is encoding related? 
Or Windows/Linux related (I am on Linux, the colleague is on Windows)?


  
Without seeing the file, it is difficult to say why it happens, but I 
don't expect it to be caused by the encoding or platform.


Vincent


Re: Install Custom Document Class In Debian Linux

2010-03-09 Thread Richard Heck

On 3/9/10 5:47 PM, stephen's mailinglist account wrote:

Thank you so much.  Sure enough, I'd forgotten to install that.  After placing
it in the /usr/share/lyx/layouts directory, it works just fine.  Thanks again.

--Jamie

 

  perhaps I should have read original post more closely!

Can also place layout locally in .lyx/loyouts

   
It is definitely preferable to place it there, as upgrades, changes of 
OS, etc, are much more likely to over-write /usr/local/, and we all 
remember (hopefully) to backup our home directory more often than the 
whole system.


rh