Re: Thesis/Dissertation LyX Classes

2004-09-19 Thread Mark Connolly
Jack,
I could not make this work either.  I got a little closer going to 
ftp://ftp.loria.fr/pub/ctan/biblio/bibtex/contrib/apacite/ and 
downloading the various components for apacite.  After the standard 
drill (texhash, reconfigure, restart), the layout showed up but it did 
not seem to work very well.

I am just learning this stuff, so take my input with a grain of salt, 
but it looks as though this really has not been properly constructed for 
LyX.

Good luck.
Jack Gill wrote:
Do you know of U. S. universities that have developed and made available
(and strongly suggest or even require) LyX classes for thesis and
dissertation writing/submitting/publishing, particularly in the natural
sciences?
Also, when I installed LyX, the APA (American Psychological Association)
class shows as Unavailable: APA Style.  Do you know when/where it will
be or is available?
TIA
Jack



Re: Display problem: LyX-1.3.4

2004-10-12 Thread Mark Connolly
I believe qtconfig is what you are looking for.
Angus Leeming wrote:
Rich Shepard wrote:

On Tue, 12 Oct 2004, Angus Leeming wrote:

By Borders, you mean the size of the text in the menubar, toolbar
and minibuffer, and the size of the icons in the toolbar?
Angus,
  Yes. I should have been more explicit.

1. You are running the Qt-frontend version of LyX. Qt look and feel
(text size in this case) is controlled by QControlCenter or
suchlike. Maybe QConfig. I forget the name, but the point is that
it is controlled from a single place and covers all Qt apps. LyX
itself controls only how text appears inside the main LyX screen.
  Thanks. I'll go look for this config file.

It's an executable. Others will be able to tell you what it's called.
Angus (brain like a sieve today.)



Re: TOC

2004-10-01 Thread Mark Connolly
This is the quick and dirty solution (and may be all you need):
Insert TeX before tableofcontents:
\rhead{}
Insert Tex after tableofcontents:
\rhead{\rightmark}
This may conflict with other things you have done with the preamble and 
other ERT and end up not being what you want.

A google search on rhead lhead chead fancyhdr will turn up many options. 
 Also, the PDF at 
http://www.win.tue.nl/latex/documentation/fancyhdr.pdf is a quite good 
reference for fine tuning various header and footer layouts.


Re: Printing problem

2004-10-07 Thread Mark Connolly
Perhaps a bit more definition of the problem.  When you do File...Print
with a destination of Printer, does it act as though it was normal?  Is
there any printer name in destination,  or do you have this blank with
the expectation the print will go to the default printer for your machine?
Do you have the targeted printer defined as your default printer?
The destination default can be checked in System Tools, Print Manager
from the desktop (assuming gnome) or printconf.
When you look at LyX Edit-Preferences... Outputs, Printer, is the printer
command dvips?  Do the command options look correct as far as
comparing them to your line command that works?
david wolfson wrote:
I've just migrated over to linux and no have to write a PhD thesis!
LyX has been recomended to me, and having used it for a couple of
documents, I think I am convinced.  BUT  I have one real problem; I
can't get it to print.
I'm able to print to a .ps file, which I can then print out with an
'lpr'. I can also export a .dvi that I can print with the 'dvips'
command. I can't print straight from lyx.
The help pages in the lyx version I've got aren't the most helpful 
(along the lines of 'well printing should be ok, and anyway, this is
a lyx help, not a printing manual!'), and as everything seems to work
 independantly I'm inclined to think lyx isn't telling dvips/lpr the
 right things...

I'm using version 1.3.2 on redhat 9.
Any ideas gratefully recieved,
Dave
This message has been scanned but we cannot guarantee that it and any
 attachments are free from viruses or other damaging content: you are
 advised to perform your own checks.  Email communications with the 
University of Nottingham may be monitored as permitted by UK
legislation.




Re: Printing problem

2004-10-08 Thread Mark Connolly
This may be a wild goose chase for you.  Someone out there may have a 
*much* better answer.

Debug LyX:
from a line command, type in lyx -dbg.  This will give you the lyx debug 
flag definitions.

Debug dvips from within LyX:
In the Outputs Printers configuration section, change the printer 
command to dvips -d 2

This will set the debug level of dvips to 2.You can find all the 
debug flag definitions at
http://www.tug.org/texinfohtml/dvips.html#Debug-options

You may want to start out just debugging dvips.
You can capture the all the debug info by starting lyx from a command 
line with appropriate output redirection, for example
lyx -dbg 2 debugoutput.txt 21

Leave off the -dbg 2 to not start off with lyx debug.
lyx debugoutput.txt 21
These command forms will redirect standard output and standard error to 
the file debugoutput.txt.

You may want to investigate the -u option for dvips 
(http://www.tug.org/texinfohtml/dvips.html#Option-details):

-u /usr/share/texmf/dvips/config/psfonts.map
perhaps.
Lastly, and possibly most ignorantly of me, you could add the printer 
definition through texconfig

david wolfson wrote:
Thanks for the replys.
First off, I tried the 'hit the print button, not just enter' and had no 
luck. Would've been nice though...

Going into a bit more detail then.  When I hit print, the default 
printer is found ok, and its name is in the 'printer' box. However, when 
I hit the 'print' button, there's not a 'sending to print' progress bar; 
the menu just closes. To my mind this means it's not spooling (NB it's a 
network printer on another machine running CUPS, but works fine from 
other apps).
The 'output, printer' section of the 'preferences' menu also displays 
the correct name for the default printer.  Adapt output is checked, and 
the printer command is 'dvips'.  The options look reasonable compared to 
those from the dvips man page (I'll list them below).  The only 
difference is the the spool command is 'lp' rather than 'lpr', but 
either of these options work from the command line, and neither option 
works when I change them.

One thing I have spotted is the a warning from dvips when I print from 
the command line:

$ dvips -f test.dvi -P HP2300
dvips: warning: no config file for `HP2300'
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2004.10.08:1016' - | lpr -PHP2300

I know nothing about dvips, other than that lyx wants to use it to 
control print output, so I maybe need to have a look at this if it's 
important...?

Let me know if there are any more details I can provide.  Is there a way 
to get a debug output from lyx?

Cheers,
Dave
prefs-output-printer options:
Printer name: HP2300
adapt output: checked
even pages: -B
odd pages: -A
Page range: -pp
collated: -C
Copies: -c
Landscape: -t landscape
Reverse: -r
to file: -o
to printer: -P
Extra options:
file extension: .ps
spool prefix: -d
spool command: lp
paper size: -T
Paper type: -t
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



Re: Thesis/Dissertation LyX Classes

2004-09-19 Thread Mark Connolly
Jack,
I could not make this work either.  I got a little closer going to 
ftp://ftp.loria.fr/pub/ctan/biblio/bibtex/contrib/apacite/ and 
downloading the various components for apacite.  After the standard 
drill (texhash, reconfigure, restart), the layout showed up but it did 
not seem to work very well.

I am just learning this stuff, so take my input with a grain of salt, 
but it looks as though this really has not been properly constructed for 
LyX.

Good luck.
Jack Gill wrote:
Do you know of U. S. universities that have developed and made available
(and strongly suggest or even require) LyX classes for thesis and
dissertation writing/submitting/publishing, particularly in the natural
sciences?
Also, when I installed LyX, the APA (American Psychological Association)
class shows as Unavailable: APA Style.  Do you know when/where it will
be or is available?
TIA
Jack



Re: Display problem: LyX-1.3.4

2004-10-12 Thread Mark Connolly
I believe qtconfig is what you are looking for.
Angus Leeming wrote:
Rich Shepard wrote:

On Tue, 12 Oct 2004, Angus Leeming wrote:

By Borders, you mean the size of the text in the menubar, toolbar
and minibuffer, and the size of the icons in the toolbar?
Angus,
  Yes. I should have been more explicit.

1. You are running the Qt-frontend version of LyX. Qt look and feel
(text size in this case) is controlled by QControlCenter or
suchlike. Maybe QConfig. I forget the name, but the point is that
it is controlled from a single place and covers all Qt apps. LyX
itself controls only how text appears inside the main LyX screen.
  Thanks. I'll go look for this config file.

It's an executable. Others will be able to tell you what it's called.
Angus (brain like a sieve today.)



Re: TOC

2004-10-01 Thread Mark Connolly
This is the quick and dirty solution (and may be all you need):
Insert TeX before tableofcontents:
\rhead{}
Insert Tex after tableofcontents:
\rhead{\rightmark}
This may conflict with other things you have done with the preamble and 
other ERT and end up not being what you want.

A google search on rhead lhead chead fancyhdr will turn up many options. 
 Also, the PDF at 
http://www.win.tue.nl/latex/documentation/fancyhdr.pdf is a quite good 
reference for fine tuning various header and footer layouts.


Re: Printing problem

2004-10-07 Thread Mark Connolly
Perhaps a bit more definition of the problem.  When you do File...Print
with a destination of Printer, does it act as though it was normal?  Is
there any printer name in destination,  or do you have this blank with
the expectation the print will go to the default printer for your machine?
Do you have the targeted printer defined as your default printer?
The destination default can be checked in System Tools, Print Manager
from the desktop (assuming gnome) or printconf.
When you look at LyX Edit-Preferences... Outputs, Printer, is the printer
command dvips?  Do the command options look correct as far as
comparing them to your line command that works?
david wolfson wrote:
I've just migrated over to linux and no have to write a PhD thesis!
LyX has been recomended to me, and having used it for a couple of
documents, I think I am convinced.  BUT  I have one real problem; I
can't get it to print.
I'm able to print to a .ps file, which I can then print out with an
'lpr'. I can also export a .dvi that I can print with the 'dvips'
command. I can't print straight from lyx.
The help pages in the lyx version I've got aren't the most helpful 
(along the lines of 'well printing should be ok, and anyway, this is
a lyx help, not a printing manual!'), and as everything seems to work
 independantly I'm inclined to think lyx isn't telling dvips/lpr the
 right things...

I'm using version 1.3.2 on redhat 9.
Any ideas gratefully recieved,
Dave
This message has been scanned but we cannot guarantee that it and any
 attachments are free from viruses or other damaging content: you are
 advised to perform your own checks.  Email communications with the 
University of Nottingham may be monitored as permitted by UK
legislation.




Re: Printing problem

2004-10-08 Thread Mark Connolly
This may be a wild goose chase for you.  Someone out there may have a 
*much* better answer.

Debug LyX:
from a line command, type in lyx -dbg.  This will give you the lyx debug 
flag definitions.

Debug dvips from within LyX:
In the Outputs Printers configuration section, change the printer 
command to dvips -d 2

This will set the debug level of dvips to 2.You can find all the 
debug flag definitions at
http://www.tug.org/texinfohtml/dvips.html#Debug-options

You may want to start out just debugging dvips.
You can capture the all the debug info by starting lyx from a command 
line with appropriate output redirection, for example
lyx -dbg 2 debugoutput.txt 21

Leave off the -dbg 2 to not start off with lyx debug.
lyx debugoutput.txt 21
These command forms will redirect standard output and standard error to 
the file debugoutput.txt.

You may want to investigate the -u option for dvips 
(http://www.tug.org/texinfohtml/dvips.html#Option-details):

-u /usr/share/texmf/dvips/config/psfonts.map
perhaps.
Lastly, and possibly most ignorantly of me, you could add the printer 
definition through texconfig

david wolfson wrote:
Thanks for the replys.
First off, I tried the 'hit the print button, not just enter' and had no 
luck. Would've been nice though...

Going into a bit more detail then.  When I hit print, the default 
printer is found ok, and its name is in the 'printer' box. However, when 
I hit the 'print' button, there's not a 'sending to print' progress bar; 
the menu just closes. To my mind this means it's not spooling (NB it's a 
network printer on another machine running CUPS, but works fine from 
other apps).
The 'output, printer' section of the 'preferences' menu also displays 
the correct name for the default printer.  Adapt output is checked, and 
the printer command is 'dvips'.  The options look reasonable compared to 
those from the dvips man page (I'll list them below).  The only 
difference is the the spool command is 'lp' rather than 'lpr', but 
either of these options work from the command line, and neither option 
works when I change them.

One thing I have spotted is the a warning from dvips when I print from 
the command line:

$ dvips -f test.dvi -P HP2300
dvips: warning: no config file for `HP2300'
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2004.10.08:1016' - | lpr -PHP2300

I know nothing about dvips, other than that lyx wants to use it to 
control print output, so I maybe need to have a look at this if it's 
important...?

Let me know if there are any more details I can provide.  Is there a way 
to get a debug output from lyx?

Cheers,
Dave
prefs-output-printer options:
Printer name: HP2300
adapt output: checked
even pages: -B
odd pages: -A
Page range: -pp
collated: -C
Copies: -c
Landscape: -t landscape
Reverse: -r
to file: -o
to printer: -P
Extra options:
file extension: .ps
spool prefix: -d
spool command: lp
paper size: -T
Paper type: -t
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



Re: Thesis/Dissertation LyX Classes

2004-09-19 Thread Mark Connolly
Jack,
I could not make this work either.  I got a little closer going to 
ftp://ftp.loria.fr/pub/ctan/biblio/bibtex/contrib/apacite/ and 
downloading the various components for apacite.  After the standard 
drill (texhash, reconfigure, restart), the layout showed up but it did 
not seem to work very well.

I am just learning this stuff, so take my input with a grain of salt, 
but it looks as though this really has not been properly constructed for 
LyX.

Good luck.
Jack Gill wrote:
Do you know of U. S. universities that have developed and made available
(and strongly suggest or even require) LyX classes for thesis and
dissertation writing/submitting/publishing, particularly in the natural
sciences?
Also, when I installed LyX, the APA (American Psychological Association)
class shows as Unavailable: APA Style.  Do you know when/where it will
be or is available?
TIA
Jack



Re: Display problem: LyX-1.3.4

2004-10-12 Thread Mark Connolly
I believe qtconfig is what you are looking for.
Angus Leeming wrote:
Rich Shepard wrote:

On Tue, 12 Oct 2004, Angus Leeming wrote:

By "Borders", you mean the size of the text in the menubar, toolbar
and minibuffer, and the size of the icons in the toolbar?
Angus,
  Yes. I should have been more explicit.

1. You are running the Qt-frontend version of LyX. Qt look and feel
(text size in this case) is controlled by QControlCenter or
suchlike. Maybe QConfig. I forget the name, but the point is that
it is controlled from a single place and covers all Qt apps. LyX
itself controls only how text appears inside the main LyX screen.
  Thanks. I'll go look for this config file.

It's an executable. Others will be able to tell you what it's called.
Angus (brain like a sieve today.)



Re: TOC

2004-10-01 Thread Mark Connolly
This is the quick and dirty solution (and may be all you need):
Insert TeX before tableofcontents:
\rhead{}
Insert Tex after tableofcontents:
\rhead{\rightmark}
This may conflict with other things you have done with the preamble and 
other ERT and end up not being what you want.

A google search on rhead lhead chead fancyhdr will turn up many options. 
 Also, the PDF at 
http://www.win.tue.nl/latex/documentation/fancyhdr.pdf is a quite good 
reference for fine tuning various header and footer layouts.


Re: Printing problem

2004-10-07 Thread Mark Connolly
Perhaps a bit more definition of the problem.  When you do File...Print
with a destination of Printer, does it act as though it was normal?  Is
there any printer name in destination,  or do you have this blank with
the expectation the print will go to the default printer for your machine?
Do you have the targeted printer defined as your default printer?
The destination default can be checked in System Tools, Print Manager
from the desktop (assuming gnome) or printconf.
When you look at LyX Edit->Preferences... Outputs, Printer, is the printer
command dvips?  Do the command options look correct as far as
comparing them to your line command that works?
david wolfson wrote:
I've just migrated over to linux and no have to write a PhD thesis!
LyX has been recomended to me, and having used it for a couple of
documents, I think I am convinced.  BUT  I have one real problem; I
can't get it to print.
I'm able to print to a .ps file, which I can then print out with an
'lpr'. I can also export a .dvi that I can print with the 'dvips'
command. I can't print straight from lyx.
The help pages in the lyx version I've got aren't the most helpful 
(along the lines of 'well printing should be ok, and anyway, this is
a lyx help, not a printing manual!'), and as everything seems to work
 independantly I'm inclined to think lyx isn't telling dvips/lpr the
 right things...

I'm using version 1.3.2 on redhat 9.
Any ideas gratefully recieved,
Dave
This message has been scanned but we cannot guarantee that it and any
 attachments are free from viruses or other damaging content: you are
 advised to perform your own checks.  Email communications with the 
University of Nottingham may be monitored as permitted by UK
legislation.




Re: Printing problem

2004-10-08 Thread Mark Connolly
This may be a wild goose chase for you.  Someone out there may have a 
*much* better answer.

Debug LyX:
from a line command, type in lyx -dbg.  This will give you the lyx debug 
flag definitions.

Debug dvips from within LyX:
In the Outputs Printers configuration section, change the printer 
command to dvips -d 2

This will set the debug level of dvips to 2.You can find all the 
debug flag definitions at
http://www.tug.org/texinfohtml/dvips.html#Debug-options

You may want to start out just debugging dvips.
You can capture the all the debug info by starting lyx from a command 
line with appropriate output redirection, for example
lyx -dbg 2 >debugoutput.txt 2>&1

Leave off the -dbg 2 to not start off with lyx debug.
lyx >debugoutput.txt 2>&1
These command forms will redirect standard output and standard error to 
the file debugoutput.txt.

You may want to investigate the "-u" option for dvips 
(http://www.tug.org/texinfohtml/dvips.html#Option-details):

-u /usr/share/texmf/dvips/config/psfonts.map
perhaps.
Lastly, and possibly most ignorantly of me, you could add the printer 
definition through texconfig

david wolfson wrote:
Thanks for the replys.
First off, I tried the 'hit the print button, not just enter' and had no 
luck. Would've been nice though...

Going into a bit more detail then.  When I hit print, the default 
printer is found ok, and its name is in the 'printer' box. However, when 
I hit the 'print' button, there's not a 'sending to print' progress bar; 
the menu just closes. To my mind this means it's not spooling (NB it's a 
network printer on another machine running CUPS, but works fine from 
other apps).
The 'output, printer' section of the 'preferences' menu also displays 
the correct name for the default printer.  Adapt output is checked, and 
the printer command is 'dvips'.  The options look reasonable compared to 
those from the dvips man page (I'll list them below).  The only 
difference is the the spool command is 'lp' rather than 'lpr', but 
either of these options work from the command line, and neither option 
works when I change them.

One thing I have spotted is the a warning from dvips when I print from 
the command line:

$ dvips -f test.dvi -P HP2300
dvips: warning: no config file for `HP2300'
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2004.10.08:1016' -> | lpr -PHP2300

I know nothing about dvips, other than that lyx wants to use it to 
control print output, so I maybe need to have a look at this if it's 
important...?

Let me know if there are any more details I can provide.  Is there a way 
to get a debug output from lyx?

Cheers,
Dave
prefs-output-printer options:
Printer name: HP2300
adapt output: checked
even pages: -B
odd pages: -A
Page range: -pp
collated: -C
Copies: -c
Landscape: -t landscape
Reverse: -r
to file: -o
to printer: -P
Extra options:
file extension: .ps
spool prefix: -d
spool command: lp
paper size: -T
Paper type: -t
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.