Re: PDF export, fonts printing

2004-09-21 Thread G. Milde
On 20.09.04, Herbert Voss wrote:
 G. Milde wrote:
 On 17.09.04, Helge Hafting wrote:

  ... would it be ok to simply replace pslatex with the better 
  alternative,
  or would we get angry protests from:
  * People who have pslatex but not the alternative (if any)
  * People who want their old documents to appear just so, and object
to anything that changes fonts in _existing_ documents?
 
 Keep pslatex but put it in a lower position. This way it is clear not to be
 first choice but will still be used for existing documents.
 
 Changing fonts can be a big issue and it could become a long cumbersome
 search to find out why my carefully crafted page layout got completely out
 of sync.
 
 nonsense here! Look what pslatex loads and compare it with
 the replacement, which I posted more than once.

I just compared DocumentFont pslatex with
DocumentFont Default + preamble \usepackage{lmodern}

The translated document has 32 vs. 30 pages and floats appear at totally
different positions. An automatic replacement would break my docs.

I would object to documents defining Font pslatex to be typeset with lmodern
automatically.

However, I would like lmodern to appear in the drop down list and I would
like it to appear at first position.

Günter

-- 
G.Milde web.de


Re: /dev/null

2004-09-21 Thread Helge Hafting
JPJuchem wrote:
Hello everybody,
During the configure step of the instalation of lyx, the scripts deleted my /dev/null.
How can I reconstruct it? Somebody could help-me?

mknod /dev/null c 1 3
Next time you compile software, don't do it as
root, because script errors can do dangerous things.
This is advice for all software, not only lyx.
A non-root user simply isn't allowed to delete /dev/null
so this doesn't happen to them.
You will probably need root in order to do
the make install part, but don't use root
for the configure or make steps.
Helge Hafting


NatBib

2004-09-21 Thread Lars Olesen
I have just started using Lyx and Latex and I'm thrilled. However, I
have a problem with my references. On the screen there is no problem,
I can use NatBib to show the references as I please, but when I print
it out it replaces it with a reference number to the reference list.
That is a problem, if I want to write something like this:

Once upon a time *Bernstein (1997: pp. 44)* wrote:
  I have a lot of great theories.

Another thing: Is it the right way to make an exact reference to a
pagenumber in Lyx to choose the dialogue Insert - Citation, and write
pp. 44 in the box: Text after?

-- 
Lars Olesen
E-mail-etikette http://www.larsolesen.dk/artikler/20/


Re: Problem regarding Bibtex and natbib

2004-09-21 Thread Dominik Waenhoven
Hello Egil,
Egil Andreas Vartdal schrieb:
References created when natbib is not enabled gives correct output in 
the  form of [1], [2], etc. and the corresponding Reference list in the 
text.  However, since I want to have the references in the form of ie  
Guttormsen(2004) etc. I try to enable natbib in Insert - layout -  
bibliography. When I try converting the document to DVI now, several  
errors occur. [...]
I think you just have to change the used BibTeX-style from plain to 
plainnat. This can be done in the dialog which occurs when clicking on 
the bibliography-button in LyX.

HTH, (og ha det godt)
Dominik.-


Re: PDF export, fonts printing

2004-09-21 Thread Herbert Voss
G. Milde schrieb:
 On 20.09.04, Herbert Voss wrote:

 G. Milde wrote:

 On 17.09.04, Helge Hafting wrote:



 ... would it be ok to simply replace pslatex with the better 
alternative,
 or would we get angry protests from:
 * People who have pslatex but not the alternative (if any)
 * People who want their old documents to appear just so, and object
  to anything that changes fonts in _existing_ documents?


 Keep pslatex but put it in a lower position. This way it is clear 
not to be
 first choice but will still be used for existing documents.

 Changing fonts can be a big issue and it could become a long cumbersome
 search to find out why my carefully crafted page layout got 
completely out
 of sync.


 nonsense here! Look what pslatex loads and compare it with
 the replacement, which I posted more than once.



 I just compared DocumentFont pslatex with
 DocumentFont Default + preamble \usepackage{lmodern}

 The translated document has 32 vs. 30 pages and floats appear at totally
 different positions. An automatic replacement would break my docs.

you are comparing two different things, pslatex has nothing
to do with latin modern fonts.
 I would object to documents defining Font pslatex to be typeset with 
lmodern
 automatically.

see above, when a user wants times you can say take lm fonts.
 However, I would like lmodern to appear in the drop down list and I would
 like it to appear at first position.
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: PDF export, fonts printing

2004-09-21 Thread Herbert Voss
Herbert Voss wrote:
  I would object to documents defining Font pslatex to be typeset with 
lmodern
  automatically.

see above, when a user wants times you can say take lm fonts.
should be cannot say ...
  However, I would like lmodern to appear in the drop down list and I 
would
  like it to appear at first position.

Herbert

--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: ???????? ??? lyx

2004-09-21 Thread axel
egw doulevw xronia sto lyx xwris idiaitero provlima.
i swsti rythmisi apo oti thymamai einai na valeis ws encoding to 859-7
kai na xrisimopoiiseis to lyx-qt kai na exeis kai elliniko locale.
ama kaneis auta tote tha peksei.
ennoeitai oti prepei na boreis na parakseis elliniko keimeno me sketo 
latex (prin kan xrisimopoiiseis to lyx)
Telika etsi katafera ke elisa to provlima mou! lyx me qt frontend alios 
den ginete tipota. Efxaristo poli



Keyboard shortcut for definition

2004-09-21 Thread Paul Smith
Dear All

Could someone please tell me whether it is possible to select the
definition layout through a keyboard shortcut? I have already searched
LyX Wiki site, but I can only find shortcuts for section, etc.

Thanks in advance,

Paul


Re: NatBib

2004-09-21 Thread Lars Risan
Hi Lars,

On tirsdag 21. september 2004, 10:02, Lars Olesen wrote:
 Once upon a time *Bernstein (1997: pp. 44)* wrote:
   I have a lot of great theories.

I don't understand why you can't do that. That is exactly what you can 
do when using NatBib. Have you got an old version of LyX?

 Another thing: Is it the right way to make an exact reference to a
 pagenumber in Lyx to choose the dialogue Insert - Citation, and
 write pp. 44 in the box: Text after?

Yes it is.

cheers,
Lars



Re: Thesis/Dissertation LyX Classes

2004-09-21 Thread Fernando Perez
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?

The University of Colorado's thesis class in Latex has a matching lyx layout
file (one of the early lyx team members was a grad student in my department --
physics).  I benefited greatly from this, since the mechanics of writing the
actual manuscript and handling the bibliography were all handled beautifully
by Lyx+pybliographic, along with a tiny custom script I wrote (a few lines of
python) to retrieve bibtex records from the SPIRES database based on ArXiV.org
numbers.  It was really a joy of a system to use (and I was using lyx
1.1.something with Xforms, not today's beautiful QT-based 1.3.x :)

Best,

f



Re: Can not view PDF: file does not exist (Windows Lyx)

2004-09-21 Thread Uwe Stöhr
Jianwei Huang wrote:
When I tried to see the pdf by using View-pdf (or pdflatex),
 the acrobat started normally but with the following message:
There was an error opening this document. The file
does not exist.
Then I tried to export-PDF, nothing shows up. No pdf
generated in my working directory.
If you've set the working directory in LyX's preferences and the pdf is 
also not created at least in LyX's \temp directory, start LyX from the 
command line with:

lyx -dbg 3
LyX will start with a console window, that shows additional 
informations. To identify the problem, export a test file by 
Export(pdflatex) and look what happens in the console window.

regards Uwe
p.s. You can also set permissions for the working directory to everybody.


Re: Can not view PDF: file does not exist (Windows Lyx)

2004-09-21 Thread Paul A. Rubin
For future reference, one should start a new thread with a new question, 
rather than replying to an existing thread and changing the subject line.

Jianwei Huang wrote:
Dear All:
I have Lyx 1.3.3 installed on Windows XP. I changed
the viewer of pdf to Acrobat, which is the .exe name
of my Adobe Acrobat 5.0. When I tried to see the pdf
by using View-pdf (or pdflatex), the acrobat started
normally but with the following message:
There was an error opening this document. The file
does not exist.
This can happen for at least a couple of reasons.  One, of course, is 
that LyX in fact failed to generate the PDF file.  To check this, repeat 
the process to the point where you get this error message, then look in 
your temp directory (Edit-Preferences-Paths-Use temp directory). 
There should be a folder with a long name (lyx_tmpdir...), containing a 
subfolder, containing (hopefully) assorted files relating to your 
document, including the PDF file (if it was produced).  If you find it 
there, the problem likely lies outside LyX.

The other way to encounter this message is to attempt View-PDF when 
Acrobat is already open.  In that case, LyX will actually generate the 
PDF file (in the temp directory), but Acrobat will be unable to open it 
 at LyX's command.  This is a Windows-only phenomenon.  If it occurs, 
you can use the Acrobat File-Open menu to navigate to LyX's temp 
directory and load the PDF manually.  It's probably more convenient, 
though, to make sure that Acrobat is closed before using View-PDF.
Then I tried to export-PDF, nothing shows up. No pdf
generated in my working directory. 
Check Edit-Preferences-Converters. To use View-PDF, you need a chain 
of conversions defined that gets you from LaTeX to PDF.  On my machine, 
the chain is LaTeX-DVI, DVI-Postscript, Postscript-PDF and the 
converters are latex $$i, dvips -o $$o $$i, and ps2pdf13 $$i 
respectively.  I'm pretty sure you have a chain defined; otherwise PDF 
should not appear as an option in the View menu.  If this is the chain 
you are using, pay particularly close attention to the last step.  I'm 
not positive, but I seem to recall that when LyX installed it used a 
different command line (don't recall exactly what) that did not work 
under Windows.  I think the CompatibilityLevel switch is the culprit, 
but I won't swear to it.
I guess it is the directory problem.
I don't think so; more likely it's the command line for the 
Postscript-PDF conversion step.

Incidentally, have you tried View-PDF (dvipdfm) or View-PDF 
(pdflatex)?  If either of those works, it raises the likelihood that the 
problem is with the Postscript-PDF converter.

-- Paul
 But how can I set
so that the pdf is generated in the current directory
(with the lyx file)?
Anyone can help me with this?
Thanks a lot!
Yours Jianwei

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


--
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: PDF export, fonts printing

2004-09-21 Thread G. Milde
On 20.09.04, Herbert Voss wrote:
 G. Milde wrote:
 On 17.09.04, Helge Hafting wrote:

  ... would it be ok to simply replace pslatex with the better 
  alternative,
  or would we get angry protests from:
  * People who have pslatex but not the alternative (if any)
  * People who want their old documents to appear just so, and object
to anything that changes fonts in _existing_ documents?
 
 Keep pslatex but put it in a lower position. This way it is clear not to be
 first choice but will still be used for existing documents.
 
 Changing fonts can be a big issue and it could become a long cumbersome
 search to find out why my carefully crafted page layout got completely out
 of sync.
 
 nonsense here! Look what pslatex loads and compare it with
 the replacement, which I posted more than once.

I just compared DocumentFont pslatex with
DocumentFont Default + preamble \usepackage{lmodern}

The translated document has 32 vs. 30 pages and floats appear at totally
different positions. An automatic replacement would break my docs.

I would object to documents defining Font pslatex to be typeset with lmodern
automatically.

However, I would like lmodern to appear in the drop down list and I would
like it to appear at first position.

Günter

-- 
G.Milde web.de


Re: /dev/null

2004-09-21 Thread Helge Hafting
JPJuchem wrote:
Hello everybody,
During the configure step of the instalation of lyx, the scripts deleted my /dev/null.
How can I reconstruct it? Somebody could help-me?

mknod /dev/null c 1 3
Next time you compile software, don't do it as
root, because script errors can do dangerous things.
This is advice for all software, not only lyx.
A non-root user simply isn't allowed to delete /dev/null
so this doesn't happen to them.
You will probably need root in order to do
the make install part, but don't use root
for the configure or make steps.
Helge Hafting


NatBib

2004-09-21 Thread Lars Olesen
I have just started using Lyx and Latex and I'm thrilled. However, I
have a problem with my references. On the screen there is no problem,
I can use NatBib to show the references as I please, but when I print
it out it replaces it with a reference number to the reference list.
That is a problem, if I want to write something like this:

Once upon a time *Bernstein (1997: pp. 44)* wrote:
  I have a lot of great theories.

Another thing: Is it the right way to make an exact reference to a
pagenumber in Lyx to choose the dialogue Insert - Citation, and write
pp. 44 in the box: Text after?

-- 
Lars Olesen
E-mail-etikette http://www.larsolesen.dk/artikler/20/


Re: Problem regarding Bibtex and natbib

2004-09-21 Thread Dominik Waenhoven
Hello Egil,
Egil Andreas Vartdal schrieb:
References created when natbib is not enabled gives correct output in 
the  form of [1], [2], etc. and the corresponding Reference list in the 
text.  However, since I want to have the references in the form of ie  
Guttormsen(2004) etc. I try to enable natbib in Insert - layout -  
bibliography. When I try converting the document to DVI now, several  
errors occur. [...]
I think you just have to change the used BibTeX-style from plain to 
plainnat. This can be done in the dialog which occurs when clicking on 
the bibliography-button in LyX.

HTH, (og ha det godt)
Dominik.-


Re: PDF export, fonts printing

2004-09-21 Thread Herbert Voss
G. Milde schrieb:
 On 20.09.04, Herbert Voss wrote:

 G. Milde wrote:

 On 17.09.04, Helge Hafting wrote:



 ... would it be ok to simply replace pslatex with the better 
alternative,
 or would we get angry protests from:
 * People who have pslatex but not the alternative (if any)
 * People who want their old documents to appear just so, and object
  to anything that changes fonts in _existing_ documents?


 Keep pslatex but put it in a lower position. This way it is clear 
not to be
 first choice but will still be used for existing documents.

 Changing fonts can be a big issue and it could become a long cumbersome
 search to find out why my carefully crafted page layout got 
completely out
 of sync.


 nonsense here! Look what pslatex loads and compare it with
 the replacement, which I posted more than once.



 I just compared DocumentFont pslatex with
 DocumentFont Default + preamble \usepackage{lmodern}

 The translated document has 32 vs. 30 pages and floats appear at totally
 different positions. An automatic replacement would break my docs.

you are comparing two different things, pslatex has nothing
to do with latin modern fonts.
 I would object to documents defining Font pslatex to be typeset with 
lmodern
 automatically.

see above, when a user wants times you can say take lm fonts.
 However, I would like lmodern to appear in the drop down list and I would
 like it to appear at first position.
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: PDF export, fonts printing

2004-09-21 Thread Herbert Voss
Herbert Voss wrote:
  I would object to documents defining Font pslatex to be typeset with 
lmodern
  automatically.

see above, when a user wants times you can say take lm fonts.
should be cannot say ...
  However, I would like lmodern to appear in the drop down list and I 
would
  like it to appear at first position.

Herbert

--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: ???????? ??? lyx

2004-09-21 Thread axel
egw doulevw xronia sto lyx xwris idiaitero provlima.
i swsti rythmisi apo oti thymamai einai na valeis ws encoding to 859-7
kai na xrisimopoiiseis to lyx-qt kai na exeis kai elliniko locale.
ama kaneis auta tote tha peksei.
ennoeitai oti prepei na boreis na parakseis elliniko keimeno me sketo 
latex (prin kan xrisimopoiiseis to lyx)
Telika etsi katafera ke elisa to provlima mou! lyx me qt frontend alios 
den ginete tipota. Efxaristo poli



Keyboard shortcut for definition

2004-09-21 Thread Paul Smith
Dear All

Could someone please tell me whether it is possible to select the
definition layout through a keyboard shortcut? I have already searched
LyX Wiki site, but I can only find shortcuts for section, etc.

Thanks in advance,

Paul


Re: NatBib

2004-09-21 Thread Lars Risan
Hi Lars,

On tirsdag 21. september 2004, 10:02, Lars Olesen wrote:
 Once upon a time *Bernstein (1997: pp. 44)* wrote:
   I have a lot of great theories.

I don't understand why you can't do that. That is exactly what you can 
do when using NatBib. Have you got an old version of LyX?

 Another thing: Is it the right way to make an exact reference to a
 pagenumber in Lyx to choose the dialogue Insert - Citation, and
 write pp. 44 in the box: Text after?

Yes it is.

cheers,
Lars



Re: Thesis/Dissertation LyX Classes

2004-09-21 Thread Fernando Perez
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?

The University of Colorado's thesis class in Latex has a matching lyx layout
file (one of the early lyx team members was a grad student in my department --
physics).  I benefited greatly from this, since the mechanics of writing the
actual manuscript and handling the bibliography were all handled beautifully
by Lyx+pybliographic, along with a tiny custom script I wrote (a few lines of
python) to retrieve bibtex records from the SPIRES database based on ArXiV.org
numbers.  It was really a joy of a system to use (and I was using lyx
1.1.something with Xforms, not today's beautiful QT-based 1.3.x :)

Best,

f



Re: Can not view PDF: file does not exist (Windows Lyx)

2004-09-21 Thread Uwe Stöhr
Jianwei Huang wrote:
When I tried to see the pdf by using View-pdf (or pdflatex),
 the acrobat started normally but with the following message:
There was an error opening this document. The file
does not exist.
Then I tried to export-PDF, nothing shows up. No pdf
generated in my working directory.
If you've set the working directory in LyX's preferences and the pdf is 
also not created at least in LyX's \temp directory, start LyX from the 
command line with:

lyx -dbg 3
LyX will start with a console window, that shows additional 
informations. To identify the problem, export a test file by 
Export(pdflatex) and look what happens in the console window.

regards Uwe
p.s. You can also set permissions for the working directory to everybody.


Re: Can not view PDF: file does not exist (Windows Lyx)

2004-09-21 Thread Paul A. Rubin
For future reference, one should start a new thread with a new question, 
rather than replying to an existing thread and changing the subject line.

Jianwei Huang wrote:
Dear All:
I have Lyx 1.3.3 installed on Windows XP. I changed
the viewer of pdf to Acrobat, which is the .exe name
of my Adobe Acrobat 5.0. When I tried to see the pdf
by using View-pdf (or pdflatex), the acrobat started
normally but with the following message:
There was an error opening this document. The file
does not exist.
This can happen for at least a couple of reasons.  One, of course, is 
that LyX in fact failed to generate the PDF file.  To check this, repeat 
the process to the point where you get this error message, then look in 
your temp directory (Edit-Preferences-Paths-Use temp directory). 
There should be a folder with a long name (lyx_tmpdir...), containing a 
subfolder, containing (hopefully) assorted files relating to your 
document, including the PDF file (if it was produced).  If you find it 
there, the problem likely lies outside LyX.

The other way to encounter this message is to attempt View-PDF when 
Acrobat is already open.  In that case, LyX will actually generate the 
PDF file (in the temp directory), but Acrobat will be unable to open it 
 at LyX's command.  This is a Windows-only phenomenon.  If it occurs, 
you can use the Acrobat File-Open menu to navigate to LyX's temp 
directory and load the PDF manually.  It's probably more convenient, 
though, to make sure that Acrobat is closed before using View-PDF.
Then I tried to export-PDF, nothing shows up. No pdf
generated in my working directory. 
Check Edit-Preferences-Converters. To use View-PDF, you need a chain 
of conversions defined that gets you from LaTeX to PDF.  On my machine, 
the chain is LaTeX-DVI, DVI-Postscript, Postscript-PDF and the 
converters are latex $$i, dvips -o $$o $$i, and ps2pdf13 $$i 
respectively.  I'm pretty sure you have a chain defined; otherwise PDF 
should not appear as an option in the View menu.  If this is the chain 
you are using, pay particularly close attention to the last step.  I'm 
not positive, but I seem to recall that when LyX installed it used a 
different command line (don't recall exactly what) that did not work 
under Windows.  I think the CompatibilityLevel switch is the culprit, 
but I won't swear to it.
I guess it is the directory problem.
I don't think so; more likely it's the command line for the 
Postscript-PDF conversion step.

Incidentally, have you tried View-PDF (dvipdfm) or View-PDF 
(pdflatex)?  If either of those works, it raises the likelihood that the 
problem is with the Postscript-PDF converter.

-- Paul
 But how can I set
so that the pdf is generated in the current directory
(with the lyx file)?
Anyone can help me with this?
Thanks a lot!
Yours Jianwei

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


--
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: PDF export, fonts & printing

2004-09-21 Thread G. Milde
On 20.09.04, Herbert Voss wrote:
> G. Milde wrote:
> >On 17.09.04, Helge Hafting wrote:

> >> ... would it be ok to simply replace pslatex with the better 
> >> alternative,
> >> or would we get angry protests from:
> >> * People who have pslatex but not the alternative (if any)
> >> * People who want their old documents to appear just so, and object
> >>   to anything that changes fonts in _existing_ documents?
> >
> >Keep pslatex but put it in a lower position. This way it is clear not to be
> >first choice but will still be used for existing documents.
> >
> >Changing fonts can be a big issue and it could become a long cumbersome
> >search to find out why my carefully crafted page layout got completely out
> >of sync.
> 
> nonsense here! Look what pslatex loads and compare it with
> the replacement, which I posted more than once.

I just compared Document>Font pslatex with
Document>Font Default + preamble \usepackage{lmodern}

The translated document has 32 vs. 30 pages and floats appear at totally
different positions. An automatic replacement would break my docs.

I would object to documents defining Font pslatex to be typeset with lmodern
automatically.

However, I would like lmodern to appear in the drop down list and I would
like it to appear at first position.

Günter

-- 
G.Milde web.de


Re: /dev/null

2004-09-21 Thread Helge Hafting
JPJuchem wrote:
Hello everybody,
During the configure step of the instalation of lyx, the scripts deleted my /dev/null.
How can I reconstruct it? Somebody could help-me?

mknod /dev/null c 1 3
Next time you compile software, don't do it as
root, because script errors can do dangerous things.
This is advice for all software, not only lyx.
A non-root user simply isn't allowed to delete /dev/null
so this doesn't happen to them.
You will probably need root in order to do
the "make install" part, but don't use root
for the "configure" or "make" steps.
Helge Hafting


NatBib

2004-09-21 Thread Lars Olesen
I have just started using Lyx and Latex and I'm thrilled. However, I
have a problem with my references. On the screen there is no problem,
I can use NatBib to show the references as I please, but when I print
it out it replaces it with a reference number to the reference list.
That is a problem, if I want to write something like this:

Once upon a time *Bernstein (1997: pp. 44)* wrote:
  "I have a lot of great theories."

Another thing: Is it the right way to make an exact reference to a
pagenumber in Lyx to choose the dialogue Insert -> Citation, and write
pp. 44 in the box: Text after?

-- 
Lars Olesen
E-mail-etikette 


Re: Problem regarding Bibtex and natbib

2004-09-21 Thread Dominik Waßenhoven
Hello Egil,
Egil Andreas Vartdal schrieb:
References created when natbib is not enabled gives correct output in 
the  form of [1], [2], etc. and the corresponding Reference list in the 
text.  However, since I want to have the references in the form of ie  
Guttormsen(2004) etc. I try to enable natbib in Insert -> layout ->  
bibliography. When I try converting the document to DVI now, several  
errors occur. [...]
I think you just have to change the used BibTeX-style from "plain" to 
"plainnat". This can be done in the dialog which occurs when clicking on 
the bibliography-button in LyX.

HTH, (og ha det godt)
Dominik.-


Re: PDF export, fonts & printing

2004-09-21 Thread Herbert Voss
G. Milde schrieb:
> On 20.09.04, Herbert Voss wrote:
>
>> G. Milde wrote:
>>
>>> On 17.09.04, Helge Hafting wrote:
>
>
>
 ... would it be ok to simply replace pslatex with the better 
alternative,
 or would we get angry protests from:
 * People who have pslatex but not the alternative (if any)
 * People who want their old documents to appear just so, and object
  to anything that changes fonts in _existing_ documents?
>>>
>>>
>>> Keep pslatex but put it in a lower position. This way it is clear 
not to be
>>> first choice but will still be used for existing documents.
>>>
>>> Changing fonts can be a big issue and it could become a long cumbersome
>>> search to find out why my carefully crafted page layout got 
completely out
>>> of sync.
>>
>>
>> nonsense here! Look what pslatex loads and compare it with
>> the replacement, which I posted more than once.
>
>
>
> I just compared Document>Font pslatex with
> Document>Font Default + preamble \usepackage{lmodern}
>
> The translated document has 32 vs. 30 pages and floats appear at totally
> different positions. An automatic replacement would break my docs.

you are comparing two different things, pslatex has nothing
to do with latin modern fonts.
> I would object to documents defining Font pslatex to be typeset with 
lmodern
> automatically.

see above, when a user wants times you can say take lm fonts.
> However, I would like lmodern to appear in the drop down list and I would
> like it to appear at first position.
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: PDF export, fonts & printing

2004-09-21 Thread Herbert Voss
Herbert Voss wrote:
 > I would object to documents defining Font pslatex to be typeset with 
lmodern
 > automatically.

see above, when a user wants times you can say take lm fonts.
should be "cannot say" ...
 > However, I would like lmodern to appear in the drop down list and I 
would
 > like it to appear at first position.

Herbert

--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: ???????? ??? lyx

2004-09-21 Thread axel
egw doulevw xronia sto lyx xwris idiaitero provlima.
i swsti rythmisi apo oti thymamai einai na valeis ws encoding to 859-7
kai na xrisimopoiiseis to lyx-qt kai na exeis kai elliniko locale.
ama kaneis auta tote tha peksei.
ennoeitai oti prepei na boreis na parakseis elliniko keimeno me sketo 
latex (prin kan xrisimopoiiseis to lyx)
Telika etsi katafera ke elisa to provlima mou! lyx me qt frontend alios 
den ginete tipota. Efxaristo poli



Keyboard shortcut for definition

2004-09-21 Thread Paul Smith
Dear All

Could someone please tell me whether it is possible to select the
definition layout through a keyboard shortcut? I have already searched
LyX Wiki site, but I can only find shortcuts for section, etc.

Thanks in advance,

Paul


Re: NatBib

2004-09-21 Thread Lars Risan
Hi Lars,

On tirsdag 21. september 2004, 10:02, Lars Olesen wrote:
> Once upon a time *Bernstein (1997: pp. 44)* wrote:
>   "I have a lot of great theories."

I don't understand why you can't do that. That is exactly what you can 
do when using NatBib. Have you got an old version of LyX?

> Another thing: Is it the right way to make an exact reference to a
> pagenumber in Lyx to choose the dialogue Insert -> Citation, and
> write pp. 44 in the box: Text after?

Yes it is.

cheers,
Lars



Re: Thesis/Dissertation LyX Classes

2004-09-21 Thread Fernando Perez
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?

The University of Colorado's thesis class in Latex has a matching lyx layout
file (one of the early lyx team members was a grad student in my department --
physics).  I benefited greatly from this, since the mechanics of writing the
actual manuscript and handling the bibliography were all handled beautifully
by Lyx+pybliographic, along with a tiny custom script I wrote (a few lines of
python) to retrieve bibtex records from the SPIRES database based on ArXiV.org
numbers.  It was really a joy of a system to use (and I was using lyx
1.1.something with Xforms, not today's beautiful QT-based 1.3.x :)

Best,

f



Re: Can not view PDF: file does not exist (Windows Lyx)

2004-09-21 Thread Uwe Stöhr
Jianwei Huang wrote:
When I tried to see the pdf by using View->pdf (or pdflatex),
> the acrobat started normally but with the following message:
"There was an error opening this document. The file
does not exist."
Then I tried to export->PDF, nothing shows up. No pdf
generated in my working directory.
If you've set the working directory in LyX's preferences and the pdf is 
also not created at least in LyX's \temp directory, start LyX from the 
command line with:

lyx -dbg 3
LyX will start with a console window, that shows additional 
informations. To identify the problem, export a test file by 
Export(pdflatex) and look what happens in the console window.

regards Uwe
p.s. You can also set permissions for the working directory to "everybody".


Re: Can not view PDF: file does not exist (Windows Lyx)

2004-09-21 Thread Paul A. Rubin
For future reference, one should start a new thread with a new question, 
rather than replying to an existing thread and changing the subject line.

Jianwei Huang wrote:
Dear All:
I have Lyx 1.3.3 installed on Windows XP. I changed
the viewer of pdf to "Acrobat", which is the .exe name
of my Adobe Acrobat 5.0. When I tried to see the pdf
by using View->pdf (or pdflatex), the acrobat started
normally but with the following message:
"There was an error opening this document. The file
does not exist."
This can happen for at least a couple of reasons.  One, of course, is 
that LyX in fact failed to generate the PDF file.  To check this, repeat 
the process to the point where you get this error message, then look in 
your temp directory (Edit->Preferences->Paths->Use temp directory). 
There should be a folder with a long name (lyx_tmpdir...), containing a 
subfolder, containing (hopefully) assorted files relating to your 
document, including the PDF file (if it was produced).  If you find it 
there, the problem likely lies outside LyX.

The other way to encounter this message is to attempt View->PDF when 
Acrobat is already open.  In that case, LyX will actually generate the 
PDF file (in the temp directory), but Acrobat will be unable to open it 
 at LyX's command.  This is a Windows-only phenomenon.  If it occurs, 
you can use the Acrobat File->Open menu to navigate to LyX's temp 
directory and load the PDF manually.  It's probably more convenient, 
though, to make sure that Acrobat is closed before using View->PDF.
Then I tried to export->PDF, nothing shows up. No pdf
generated in my working directory. 
Check Edit->Preferences->Converters. To use View->PDF, you need a chain 
of conversions defined that gets you from LaTeX to PDF.  On my machine, 
the chain is LaTeX->DVI, DVI->Postscript, Postscript->PDF and the 
converters are latex $$i, dvips -o $$o $$i, and ps2pdf13 $$i 
respectively.  I'm pretty sure you have a chain defined; otherwise PDF 
should not appear as an option in the View menu.  If this is the chain 
you are using, pay particularly close attention to the last step.  I'm 
not positive, but I seem to recall that when LyX installed it used a 
different command line (don't recall exactly what) that did not work 
under Windows.  I think the CompatibilityLevel switch is the culprit, 
but I won't swear to it.
I guess it is the directory problem.
I don't think so; more likely it's the command line for the 
Postscript->PDF conversion step.

Incidentally, have you tried View->PDF (dvipdfm) or View->PDF 
(pdflatex)?  If either of those works, it raises the likelihood that the 
problem is with the Postscript->PDF converter.

-- Paul
 But how can I set
so that the pdf is generated in the current directory
(with the lyx file)?
Anyone can help me with this?
Thanks a lot!
Yours Jianwei

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


--
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE