Text before title

2006-10-13 Thread Nicolás

Hi!

This question is probably more related to Latex than to Lyx, but 
hopefully you can help me.


Given a paper, I would like to write some text in the free space 
existing above the title. With fancy headers a can have headers in the 
body of the paper, but I would like to have a kind of special header in 
the first page, above the  title. Any clue about how to do that? Thanks


Nicolás


Re: Text before title

2006-10-13 Thread Jean-Pierre Chretien

Date: Fri, 13 Oct 2006 10:29:09 +0200
From: Nicolás [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Text before title

Hi!

This question is probably more related to Latex than to Lyx, but 
hopefully you can help me.

Given a paper, I would like to write some text in the free space 
existing above the title. With fancy headers a can have headers in the 
body of the paper, but I would like to have a kind of special header in 
the first page, above the  title. Any clue about how to do that? Thanks

You may try \pagestyle{fancyplain} and make sure that the title page is plain 
with
\thispagestyle{plain} (AFAIR, it should not be necessary, title page defaults 
to plain).

-- 
Jean-Pierre



Re: Text before title

2006-10-13 Thread Sven Schreiber
Nicolás schrieb:
 Hi!
 
 This question is probably more related to Latex than to Lyx, but
 hopefully you can help me.
 
 Given a paper, I would like to write some text in the free space
 existing above the title. With fancy headers a can have headers in the
 body of the paper, but I would like to have a kind of special header in
 the first page, above the  title. Any clue about how to do that? Thanks
 
 Nicolás
 

I guess what you want is to set \titlepagestyle (IIRC) different from
the general \pagestyle.
hth, sven


Re: Text before title

2006-10-13 Thread Nicolás

Thanks for your answers.

What I did at the end is to use \fancypagestyle{plain}{...} to describe 
the look of my header and then

use \thispagestyle{plain} just after \maketitle.

Nicolás


Sven Schreiber wrote:

Nicolás schrieb:

Hi!

This question is probably more related to Latex than to Lyx, but
hopefully you can help me.

Given a paper, I would like to write some text in the free space
existing above the title. With fancy headers a can have headers in the
body of the paper, but I would like to have a kind of special header in
the first page, above the  title. Any clue about how to do that? Thanks

Nicolás



I guess what you want is to set \titlepagestyle (IIRC) different from
the general \pagestyle.
hth, sven





Re: extra flag

2006-10-13 Thread Piersante Sestini

Georg Baum wrote:


Yes. Look in the file I cited above. IIRC I already told you that making 
LyX work again under OS/2 will be a lot of work, so you are warned ;-)



Thanks for your hints!
Most of unix stuff can be usually compiled for os/2 provided that the
relevant external libraries have aready been ported.
Currently lyx 1.4.2 seems to run quite well in os/2 (previous problems
calling python scripts have been solved), except that I can only see
postscript output using ghostscript, while any other viewer (for ps, dvi
or pdf) hangs like waiting for something when launched.

Apart from this, it seems that configure.py should to be updated to let
it know the names of a few os/2 specific programs.

I will pass your info and warning to Paul Smedley, who is doing the
port. I am only an interested  tester!

cheers
Piersante



Re: Way to put parentheses around displayed URLs?

2006-10-13 Thread Uwe Stöhr

Sue Kientz schrieb:


You can add this to you document preamble (for parentheses):

\let\myUrl\url
\renewcommand{\url}[1]{(\myUrl{#1})}

Thanks. This was brilliant, but I was sorry to see you must still clear 
the Name input box.


No, you can leave the URL boxes as they currently are. Or what do you mean?

regards Uwe


Re: config and comments

2006-10-13 Thread Guy Hindell

José Matos wrote:


On Monday 09 October 2006 14:32, Guy Hindell wrote:
 


Hi there - a couple of questions.

First, I have lyx integrated into our build environment so that it
exports to latex (lyx -export pdflatex)  and runs pdflatex as part of a
software build. This means I have users (developers) who run lyx without
being aware of it as part of their build in order to generate
documentation. The problem is, lyx doesn't seem  to generate its user
config (in LYX_USERDIR_14 or wherever) when doing an export - it only
does this when started interactively - and this causes the pdflatex run
to fail. Any solution?
   



 AFAIR, this should be fixed in 1.4.4.

 

Thanks, I'll give it a try. On a related subject (I think I asked about 
this here w.r.t. v1.3 a while back, maybe more than a year ago), is it 
possible to get the exported files to be produced in some directory 
other than the one where the top level .lyx file sits? Or, to put it 
another way...


cd /mybuilddir
lyx --export latex /mysrcdir/mydoc.lyx

and have the .tex files created in mybuilddir rather than mysrcdir.

guy



Re: Text before title

2006-10-13 Thread Richard Heck
Jean-Pierre Chretien wrote:
 Date: Fri, 13 Oct 2006 10:29:09 +0200
 From: Nicolás [EMAIL PROTECTED]
 To: lyx-users@lists.lyx.org
 Subject: Text before title

 Hi!

 This question is probably more related to Latex than to Lyx, but 
 hopefully you can help me.

 Given a paper, I would like to write some text in the free space 
 existing above the title. With fancy headers a can have headers in the 
 body of the paper, but I would like to have a kind of special header in 
 the first page, above the  title. Any clue about how to do that? Thanks
   

 You may try \pagestyle{fancyplain} and make sure that the title page is plain 
 with
 \thispagestyle{plain} (AFAIR, it should not be necessary, title page defaults 
 to plain).

   
Actually, I believe the title page usually defaults to empty. So
\thispagestyle{fancy} would allow you to do what you like with that header.

Richard


Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-13 Thread Jean-Marc Lasgouttes
 Georg == Georg Baum [EMAIL PROTECTED] writes:

Georg Rudi Gaelzer wrote:
 I just don't know if I got the requires list quite right. As per
 instructions, I ran checkinstall with no extra options. On the man
 page, I noticed that you can include extra requirements to the
 final rpm package, but I did not do that. Here's the list from:

Georg I did not know that you used checkinstall. I just corrected the
Georg wiki page, because checkinstall builds suboptimal packages.
Georg They should not be distributed IMHO. If you use the rpm spec
Georg file that is inside the source archive then you get better
Georg dependencies.

Rudi, are you able to make a new rpm from our lyx.spec file?

JMarc


Re: Add subtitle to article class

2006-10-13 Thread Jean-Marc Lasgouttes
 Jun == Jun Sun [EMAIL PROTECTED] writes:

Jun I am new to lyx.

Jun Our internal report is close to what article class offers.
Jun However, we need a subtitle in the middle just following the
Jun Title.

Jun What are the possible ways to achieve this?

Use Ctrl-Return to break the line in Title?

JMarc


Re: Enter text into indexbox without using mouse

2006-10-13 Thread Jean-Marc Lasgouttes
 Gunnar == Gunnar  [EMAIL PROTECTED] writes:

Gunnar I have almost stoped using the mouse in LyX now, the only
Gunnar problem in 1.4.2 is that if I wish to add an index entry, I
Gunnar only get the grey box and have to click on it to open it to
Gunnar add text. The usual C-i that closes/opens the ERTs doesn't
Gunnar work here :-(

It definitely should. Could you open a bug about that?

JMarc



Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-13 Thread Rudi Gaelzer
Hi, Jean-Marc.

I created a new rpm from Georg's intructions.  Its name is: 
lyx-1.4.3-1_qt_mdv2006.i586.rpm

I uploaded it to ftp.devel.lyx.org/pub/incoming.  The ftp client reported a 
successful transfer, but I could not get the directory listing to confirm.

Could you please verify for me?  
Thank you.

On Friday 13 October 2006 11:04, you wrote:
  Georg == Georg Baum [EMAIL PROTECTED] writes:
 Georg I did not know that you used checkinstall. I just corrected the
 Georg wiki page, because checkinstall builds suboptimal packages.
 Georg They should not be distributed IMHO. If you use the rpm spec
 Georg file that is inside the source archive then you get better
 Georg dependencies.

 Rudi, are you able to make a new rpm from our lyx.spec file?

 JMarc

-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
Fone: (53) 3275-7416
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741


Re: The Picture Environment

2006-10-13 Thread Jean-Marc Lasgouttes
 Mario == Mario A Abarca S [EMAIL PROTECTED] writes:

Mario The Math Panel is very useful to make complex formulas in a
Mario very easy way. Is there something like that for the picture
Mario environment?

There are unfortunately no plan to do that. Did you try programs like
xfig, that can generate picture environments?

JMarc


Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-13 Thread Jean-Marc Lasgouttes
 Rudi == Rudi Gaelzer [EMAIL PROTECTED] writes:

Rudi Hi, Jean-Marc. I created a new rpm from Georg's intructions. Its
Rudi name is: lyx-1.4.3-1_qt_mdv2006.i586.rpm

Very good.

Rudi I uploaded it to ftp.devel.lyx.org/pub/incoming. The ftp client
Rudi reported a successful transfer, but I could not get the
Rudi directory listing to confirm.

Rudi Could you please verify for me? Thank you.

I got the file, but it seems truncated:

lftp [EMAIL PROTECTED]:/home/ftp/pub/incoming dir
-rw-rw1 14   2002  2264056 Oct 12 23:58 
lyx-1.4.3-1_qt_mdv2006.i586.rpm

. Rpm says that the MD5 is wrong. Could you check that?

JMarc


Re: config and comments

2006-10-13 Thread Georg Baum
Guy Hindell wrote:

 Thanks, I'll give it a try. On a related subject (I think I asked about
 this here w.r.t. v1.3 a while back, maybe more than a year ago), is it
 possible to get the exported files to be produced in some directory
 other than the one where the top level .lyx file sits? Or, to put it
 another way...
 
 cd /mybuilddir
 lyx --export latex /mysrcdir/mydoc.lyx
 
 and have the .tex files created in mybuilddir rather than mysrcdir.

No, that is currently not possible. If you want to have that please add a
feature request at http://bugzilla.lyx.org. Implementing that should not be
too difficult, but it will probably not get a high priority since there are
a number of more serious problems to fix.

Of course you can always work around that with makefiles or scripts.


Georg



Re: Way to put parentheses around displayed URLs?

2006-10-13 Thread Sue Kientz

On Oct 13, 2006, at 4:48 AM, Uwe Stöhr wrote:


Sue Kientz schrieb:


You can add this to you document preamble (for parentheses):

\let\myUrl\url
\renewcommand{\url}[1]{(\myUrl{#1})}

Thanks. This was brilliant, but I was sorry to see you must still  
clear the Name input box.


No, you can leave the URL boxes as they currently are. Or what do  
you mean?


Ah, I see! In your example file, the Name input box was blank, so I  
thought if you put something in that box, it is also encapsulated by  
the parentheses. But I now see when I add a name to the input box,  
it's not in the parens. Gee, you *are* brilliant! Thanks so much!


Sue Kientz
[EMAIL PROTECTED]

Re: Add subtitle to article class

2006-10-13 Thread Jun Sun
On Fri, Oct 13, 2006 at 04:04:44PM +0200, Jean-Marc Lasgouttes wrote:
  Jun == Jun Sun [EMAIL PROTECTED] writes:
 
 Jun I am new to lyx.
 
 Jun Our internal report is close to what article class offers.
 Jun However, we need a subtitle in the middle just following the
 Jun Title.
 
 Jun What are the possible ways to achieve this?
 
 Use Ctrl-Return to break the line in Title?


Hmm, except that subtitle uses different font and size.

Since I did not hear much back on this, I am now trying to 
import our latex class file into lyx.  If anyone can provide some
pointers as how to define .layout file, I'd appreciate.

Thanks.

Jun 


Re: Problem installing spell checker for llyx-143-4

2006-10-13 Thread Paul A. Rubin

Mike Reeks wrote:

I am trying to install the latest version lyx-143-4  and failed to
download spellchecker. The message during the installation says 'failed
to download English spell checker- would you like to try again'. Clearly
problems accessing the host from the web.  How do I install spellchecker
separately once lyx has been set up? What is the procedure? Any
suggestions as to what to do?



Hypothetically, the following should work:

1.  Download 
http://wiki.lyx.org/uploads/Windows/Aspell6/aspelldata-0.60.4-root.exe

and install it.  (It should install to C:\Aspell.)

2.  Download your choice of dictionary from 
http://wiki.lyx.org/Windows/Aspell6 and install that.


The reason I say hypothetically is that I have yet to get LyX 1.4.3 to 
admit that I have the en_US dictionary installed, even though it works 
fine with 1.4.2 and earlier.  But that may be some quirk of my installation.


/Paul



Re: Textclass other errors on new install

2006-10-13 Thread Paul A. Rubin

Russell W. Behne wrote:


Since my last [missing] post concerning this problem I have downloaded the 
images for Mandriva 2007, burned in a new set of cdroms, and installed a 
completly new Linux Mandriva OS.  And yet the problem remains.
For some reason this release didn't come with LyX, so I downloaded it from the 
2006 disttribution files online.  When I click on  [Help][About LyX]  I get 
this report:

LyX version 1.4.2 of Friday, July 13, 2006
Library directory: /usr/share/lyx
User Directory:  ~/.lyx

In my /usr/share/texmf/web2c/texmf.cnf I have these settings:
TEXMFLOCAL = /usr/local/texmf
TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
This should tell LyX where to find all my texmf trees, and so LyX should 
easily be able to find the missing TeX classes, but still doesn't.


Anyone have any ideas how to fix this?



Sorry if I'm rehashing things here, but I don't have the entire thread 
in front of me (not to mention the posting the virtual dog apparently 
ate).  Also, fair warning:  it's been a while since I used any flavor of 
Linux (I'm exiled to the World of Windows).


First, in LyX, does Help-LaTeX Configuration show a plausible version 
date for LaTeX (section 1 of the document)?  If not, maybe LyX is 
looking in the wrong place for your LaTeX executable.


Second, if you run 'kpsewhich article.cls' (or '/usr/bin/kpsewhich 
article.cls', or whatever), does it find the article class?


The last couple of times I saw something similar reported (both Windows, 
IIRC), it turned out to be a glitch in the way the LaTeX distro was 
installed and not something intrinsic to LyX.


/Paul



Mark-On Lyx1.4

2006-10-13 Thread David Rosenberg

Hi -- I'm not sure if this is a bug or if I'm doing something wrong.

When I run the mark-on command (i.e. M-x mark-on) and then move my 
cursor around, I don't get a highlighted region.  I do get a highlighted 
region when I do the same thing in Lyx 1.3.7.

 Has the command changed, or is this a bug, or am I doing something wrong?

I'm using Lyx1.4.3-4

Thanks much,
David



Text before title

2006-10-13 Thread Nicolás

Hi!

This question is probably more related to Latex than to Lyx, but 
hopefully you can help me.


Given a paper, I would like to write some text in the free space 
existing above the title. With fancy headers a can have headers in the 
body of the paper, but I would like to have a kind of special header in 
the first page, above the  title. Any clue about how to do that? Thanks


Nicolás


Re: Text before title

2006-10-13 Thread Jean-Pierre Chretien

Date: Fri, 13 Oct 2006 10:29:09 +0200
From: Nicolás [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Text before title

Hi!

This question is probably more related to Latex than to Lyx, but 
hopefully you can help me.

Given a paper, I would like to write some text in the free space 
existing above the title. With fancy headers a can have headers in the 
body of the paper, but I would like to have a kind of special header in 
the first page, above the  title. Any clue about how to do that? Thanks

You may try \pagestyle{fancyplain} and make sure that the title page is plain 
with
\thispagestyle{plain} (AFAIR, it should not be necessary, title page defaults 
to plain).

-- 
Jean-Pierre



Re: Text before title

2006-10-13 Thread Sven Schreiber
Nicolás schrieb:
 Hi!
 
 This question is probably more related to Latex than to Lyx, but
 hopefully you can help me.
 
 Given a paper, I would like to write some text in the free space
 existing above the title. With fancy headers a can have headers in the
 body of the paper, but I would like to have a kind of special header in
 the first page, above the  title. Any clue about how to do that? Thanks
 
 Nicolás
 

I guess what you want is to set \titlepagestyle (IIRC) different from
the general \pagestyle.
hth, sven


Re: Text before title

2006-10-13 Thread Nicolás

Thanks for your answers.

What I did at the end is to use \fancypagestyle{plain}{...} to describe 
the look of my header and then

use \thispagestyle{plain} just after \maketitle.

Nicolás


Sven Schreiber wrote:

Nicolás schrieb:

Hi!

This question is probably more related to Latex than to Lyx, but
hopefully you can help me.

Given a paper, I would like to write some text in the free space
existing above the title. With fancy headers a can have headers in the
body of the paper, but I would like to have a kind of special header in
the first page, above the  title. Any clue about how to do that? Thanks

Nicolás



I guess what you want is to set \titlepagestyle (IIRC) different from
the general \pagestyle.
hth, sven





Re: extra flag

2006-10-13 Thread Piersante Sestini

Georg Baum wrote:


Yes. Look in the file I cited above. IIRC I already told you that making 
LyX work again under OS/2 will be a lot of work, so you are warned ;-)



Thanks for your hints!
Most of unix stuff can be usually compiled for os/2 provided that the
relevant external libraries have aready been ported.
Currently lyx 1.4.2 seems to run quite well in os/2 (previous problems
calling python scripts have been solved), except that I can only see
postscript output using ghostscript, while any other viewer (for ps, dvi
or pdf) hangs like waiting for something when launched.

Apart from this, it seems that configure.py should to be updated to let
it know the names of a few os/2 specific programs.

I will pass your info and warning to Paul Smedley, who is doing the
port. I am only an interested  tester!

cheers
Piersante



Re: Way to put parentheses around displayed URLs?

2006-10-13 Thread Uwe Stöhr

Sue Kientz schrieb:


You can add this to you document preamble (for parentheses):

\let\myUrl\url
\renewcommand{\url}[1]{(\myUrl{#1})}

Thanks. This was brilliant, but I was sorry to see you must still clear 
the Name input box.


No, you can leave the URL boxes as they currently are. Or what do you mean?

regards Uwe


Re: config and comments

2006-10-13 Thread Guy Hindell

José Matos wrote:


On Monday 09 October 2006 14:32, Guy Hindell wrote:
 


Hi there - a couple of questions.

First, I have lyx integrated into our build environment so that it
exports to latex (lyx -export pdflatex)  and runs pdflatex as part of a
software build. This means I have users (developers) who run lyx without
being aware of it as part of their build in order to generate
documentation. The problem is, lyx doesn't seem  to generate its user
config (in LYX_USERDIR_14 or wherever) when doing an export - it only
does this when started interactively - and this causes the pdflatex run
to fail. Any solution?
   



 AFAIR, this should be fixed in 1.4.4.

 

Thanks, I'll give it a try. On a related subject (I think I asked about 
this here w.r.t. v1.3 a while back, maybe more than a year ago), is it 
possible to get the exported files to be produced in some directory 
other than the one where the top level .lyx file sits? Or, to put it 
another way...


cd /mybuilddir
lyx --export latex /mysrcdir/mydoc.lyx

and have the .tex files created in mybuilddir rather than mysrcdir.

guy



Re: Text before title

2006-10-13 Thread Richard Heck
Jean-Pierre Chretien wrote:
 Date: Fri, 13 Oct 2006 10:29:09 +0200
 From: Nicolás [EMAIL PROTECTED]
 To: lyx-users@lists.lyx.org
 Subject: Text before title

 Hi!

 This question is probably more related to Latex than to Lyx, but 
 hopefully you can help me.

 Given a paper, I would like to write some text in the free space 
 existing above the title. With fancy headers a can have headers in the 
 body of the paper, but I would like to have a kind of special header in 
 the first page, above the  title. Any clue about how to do that? Thanks
   

 You may try \pagestyle{fancyplain} and make sure that the title page is plain 
 with
 \thispagestyle{plain} (AFAIR, it should not be necessary, title page defaults 
 to plain).

   
Actually, I believe the title page usually defaults to empty. So
\thispagestyle{fancy} would allow you to do what you like with that header.

Richard


Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-13 Thread Jean-Marc Lasgouttes
 Georg == Georg Baum [EMAIL PROTECTED] writes:

Georg Rudi Gaelzer wrote:
 I just don't know if I got the requires list quite right. As per
 instructions, I ran checkinstall with no extra options. On the man
 page, I noticed that you can include extra requirements to the
 final rpm package, but I did not do that. Here's the list from:

Georg I did not know that you used checkinstall. I just corrected the
Georg wiki page, because checkinstall builds suboptimal packages.
Georg They should not be distributed IMHO. If you use the rpm spec
Georg file that is inside the source archive then you get better
Georg dependencies.

Rudi, are you able to make a new rpm from our lyx.spec file?

JMarc


Re: Add subtitle to article class

2006-10-13 Thread Jean-Marc Lasgouttes
 Jun == Jun Sun [EMAIL PROTECTED] writes:

Jun I am new to lyx.

Jun Our internal report is close to what article class offers.
Jun However, we need a subtitle in the middle just following the
Jun Title.

Jun What are the possible ways to achieve this?

Use Ctrl-Return to break the line in Title?

JMarc


Re: Enter text into indexbox without using mouse

2006-10-13 Thread Jean-Marc Lasgouttes
 Gunnar == Gunnar  [EMAIL PROTECTED] writes:

Gunnar I have almost stoped using the mouse in LyX now, the only
Gunnar problem in 1.4.2 is that if I wish to add an index entry, I
Gunnar only get the grey box and have to click on it to open it to
Gunnar add text. The usual C-i that closes/opens the ERTs doesn't
Gunnar work here :-(

It definitely should. Could you open a bug about that?

JMarc



Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-13 Thread Rudi Gaelzer
Hi, Jean-Marc.

I created a new rpm from Georg's intructions.  Its name is: 
lyx-1.4.3-1_qt_mdv2006.i586.rpm

I uploaded it to ftp.devel.lyx.org/pub/incoming.  The ftp client reported a 
successful transfer, but I could not get the directory listing to confirm.

Could you please verify for me?  
Thank you.

On Friday 13 October 2006 11:04, you wrote:
  Georg == Georg Baum [EMAIL PROTECTED] writes:
 Georg I did not know that you used checkinstall. I just corrected the
 Georg wiki page, because checkinstall builds suboptimal packages.
 Georg They should not be distributed IMHO. If you use the rpm spec
 Georg file that is inside the source archive then you get better
 Georg dependencies.

 Rudi, are you able to make a new rpm from our lyx.spec file?

 JMarc

-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
Fone: (53) 3275-7416
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741


Re: The Picture Environment

2006-10-13 Thread Jean-Marc Lasgouttes
 Mario == Mario A Abarca S [EMAIL PROTECTED] writes:

Mario The Math Panel is very useful to make complex formulas in a
Mario very easy way. Is there something like that for the picture
Mario environment?

There are unfortunately no plan to do that. Did you try programs like
xfig, that can generate picture environments?

JMarc


Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-13 Thread Jean-Marc Lasgouttes
 Rudi == Rudi Gaelzer [EMAIL PROTECTED] writes:

Rudi Hi, Jean-Marc. I created a new rpm from Georg's intructions. Its
Rudi name is: lyx-1.4.3-1_qt_mdv2006.i586.rpm

Very good.

Rudi I uploaded it to ftp.devel.lyx.org/pub/incoming. The ftp client
Rudi reported a successful transfer, but I could not get the
Rudi directory listing to confirm.

Rudi Could you please verify for me? Thank you.

I got the file, but it seems truncated:

lftp [EMAIL PROTECTED]:/home/ftp/pub/incoming dir
-rw-rw1 14   2002  2264056 Oct 12 23:58 
lyx-1.4.3-1_qt_mdv2006.i586.rpm

. Rpm says that the MD5 is wrong. Could you check that?

JMarc


Re: config and comments

2006-10-13 Thread Georg Baum
Guy Hindell wrote:

 Thanks, I'll give it a try. On a related subject (I think I asked about
 this here w.r.t. v1.3 a while back, maybe more than a year ago), is it
 possible to get the exported files to be produced in some directory
 other than the one where the top level .lyx file sits? Or, to put it
 another way...
 
 cd /mybuilddir
 lyx --export latex /mysrcdir/mydoc.lyx
 
 and have the .tex files created in mybuilddir rather than mysrcdir.

No, that is currently not possible. If you want to have that please add a
feature request at http://bugzilla.lyx.org. Implementing that should not be
too difficult, but it will probably not get a high priority since there are
a number of more serious problems to fix.

Of course you can always work around that with makefiles or scripts.


Georg



Re: Way to put parentheses around displayed URLs?

2006-10-13 Thread Sue Kientz

On Oct 13, 2006, at 4:48 AM, Uwe Stöhr wrote:


Sue Kientz schrieb:


You can add this to you document preamble (for parentheses):

\let\myUrl\url
\renewcommand{\url}[1]{(\myUrl{#1})}

Thanks. This was brilliant, but I was sorry to see you must still  
clear the Name input box.


No, you can leave the URL boxes as they currently are. Or what do  
you mean?


Ah, I see! In your example file, the Name input box was blank, so I  
thought if you put something in that box, it is also encapsulated by  
the parentheses. But I now see when I add a name to the input box,  
it's not in the parens. Gee, you *are* brilliant! Thanks so much!


Sue Kientz
[EMAIL PROTECTED]

Re: Add subtitle to article class

2006-10-13 Thread Jun Sun
On Fri, Oct 13, 2006 at 04:04:44PM +0200, Jean-Marc Lasgouttes wrote:
  Jun == Jun Sun [EMAIL PROTECTED] writes:
 
 Jun I am new to lyx.
 
 Jun Our internal report is close to what article class offers.
 Jun However, we need a subtitle in the middle just following the
 Jun Title.
 
 Jun What are the possible ways to achieve this?
 
 Use Ctrl-Return to break the line in Title?


Hmm, except that subtitle uses different font and size.

Since I did not hear much back on this, I am now trying to 
import our latex class file into lyx.  If anyone can provide some
pointers as how to define .layout file, I'd appreciate.

Thanks.

Jun 


Re: Problem installing spell checker for llyx-143-4

2006-10-13 Thread Paul A. Rubin

Mike Reeks wrote:

I am trying to install the latest version lyx-143-4  and failed to
download spellchecker. The message during the installation says 'failed
to download English spell checker- would you like to try again'. Clearly
problems accessing the host from the web.  How do I install spellchecker
separately once lyx has been set up? What is the procedure? Any
suggestions as to what to do?



Hypothetically, the following should work:

1.  Download 
http://wiki.lyx.org/uploads/Windows/Aspell6/aspelldata-0.60.4-root.exe

and install it.  (It should install to C:\Aspell.)

2.  Download your choice of dictionary from 
http://wiki.lyx.org/Windows/Aspell6 and install that.


The reason I say hypothetically is that I have yet to get LyX 1.4.3 to 
admit that I have the en_US dictionary installed, even though it works 
fine with 1.4.2 and earlier.  But that may be some quirk of my installation.


/Paul



Re: Textclass other errors on new install

2006-10-13 Thread Paul A. Rubin

Russell W. Behne wrote:


Since my last [missing] post concerning this problem I have downloaded the 
images for Mandriva 2007, burned in a new set of cdroms, and installed a 
completly new Linux Mandriva OS.  And yet the problem remains.
For some reason this release didn't come with LyX, so I downloaded it from the 
2006 disttribution files online.  When I click on  [Help][About LyX]  I get 
this report:

LyX version 1.4.2 of Friday, July 13, 2006
Library directory: /usr/share/lyx
User Directory:  ~/.lyx

In my /usr/share/texmf/web2c/texmf.cnf I have these settings:
TEXMFLOCAL = /usr/local/texmf
TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
This should tell LyX where to find all my texmf trees, and so LyX should 
easily be able to find the missing TeX classes, but still doesn't.


Anyone have any ideas how to fix this?



Sorry if I'm rehashing things here, but I don't have the entire thread 
in front of me (not to mention the posting the virtual dog apparently 
ate).  Also, fair warning:  it's been a while since I used any flavor of 
Linux (I'm exiled to the World of Windows).


First, in LyX, does Help-LaTeX Configuration show a plausible version 
date for LaTeX (section 1 of the document)?  If not, maybe LyX is 
looking in the wrong place for your LaTeX executable.


Second, if you run 'kpsewhich article.cls' (or '/usr/bin/kpsewhich 
article.cls', or whatever), does it find the article class?


The last couple of times I saw something similar reported (both Windows, 
IIRC), it turned out to be a glitch in the way the LaTeX distro was 
installed and not something intrinsic to LyX.


/Paul



Mark-On Lyx1.4

2006-10-13 Thread David Rosenberg

Hi -- I'm not sure if this is a bug or if I'm doing something wrong.

When I run the mark-on command (i.e. M-x mark-on) and then move my 
cursor around, I don't get a highlighted region.  I do get a highlighted 
region when I do the same thing in Lyx 1.3.7.

 Has the command changed, or is this a bug, or am I doing something wrong?

I'm using Lyx1.4.3-4

Thanks much,
David



Text before title

2006-10-13 Thread Nicolás

Hi!

This question is probably more related to Latex than to Lyx, but 
hopefully you can help me.


Given a paper, I would like to write some text in the free space 
existing above the title. With fancy headers a can have headers in the 
body of the paper, but I would like to have a kind of special header in 
the first page, above the  title. Any clue about how to do that? Thanks


Nicolás


Re: Text before title

2006-10-13 Thread Jean-Pierre Chretien

>>Date: Fri, 13 Oct 2006 10:29:09 +0200
>>From: Nicolás <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Text before title
>>
>>Hi!
>>
>>This question is probably more related to Latex than to Lyx, but 
>>hopefully you can help me.
>>
>>Given a paper, I would like to write some text in the free space 
>>existing above the title. With fancy headers a can have headers in the 
>>body of the paper, but I would like to have a kind of special header in 
>>the first page, above the  title. Any clue about how to do that? Thanks

You may try \pagestyle{fancyplain} and make sure that the title page is plain 
with
\thispagestyle{plain} (AFAIR, it should not be necessary, title page defaults 
to plain).

-- 
Jean-Pierre



Re: Text before title

2006-10-13 Thread Sven Schreiber
Nicolás schrieb:
> Hi!
> 
> This question is probably more related to Latex than to Lyx, but
> hopefully you can help me.
> 
> Given a paper, I would like to write some text in the free space
> existing above the title. With fancy headers a can have headers in the
> body of the paper, but I would like to have a kind of special header in
> the first page, above the  title. Any clue about how to do that? Thanks
> 
> Nicolás
> 

I guess what you want is to set \titlepagestyle (IIRC) different from
the general \pagestyle.
hth, sven


Re: Text before title

2006-10-13 Thread Nicolás

Thanks for your answers.

What I did at the end is to use \fancypagestyle{plain}{...} to describe 
the look of my header and then

use \thispagestyle{plain} just after \maketitle.

Nicolás


Sven Schreiber wrote:

Nicolás schrieb:

Hi!

This question is probably more related to Latex than to Lyx, but
hopefully you can help me.

Given a paper, I would like to write some text in the free space
existing above the title. With fancy headers a can have headers in the
body of the paper, but I would like to have a kind of special header in
the first page, above the  title. Any clue about how to do that? Thanks

Nicolás



I guess what you want is to set \titlepagestyle (IIRC) different from
the general \pagestyle.
hth, sven





Re: extra flag

2006-10-13 Thread Piersante Sestini

Georg Baum wrote:


Yes. Look in the file I cited above. IIRC I already told you that making 
LyX work again under OS/2 will be a lot of work, so you are warned ;-)



Thanks for your hints!
Most of unix stuff can be usually compiled for os/2 provided that the
relevant external libraries have aready been ported.
Currently lyx 1.4.2 seems to run quite well in os/2 (previous problems
calling python scripts have been solved), except that I can only see
postscript output using ghostscript, while any other viewer (for ps, dvi
or pdf) hangs like waiting for something when launched.

Apart from this, it seems that configure.py should to be updated to let
it know the names of a few os/2 specific programs.

I will pass your info and warning to Paul Smedley, who is doing the
port. I am only an interested  tester!

cheers
Piersante



Re: Way to put parentheses around displayed URLs?

2006-10-13 Thread Uwe Stöhr

Sue Kientz schrieb:


You can add this to you document preamble (for parentheses):

\let\myUrl\url
\renewcommand{\url}[1]{(\myUrl{#1})}

Thanks. This was brilliant, but I was sorry to see you must still clear 
the Name input box.


No, you can leave the URL boxes as they currently are. Or what do you mean?

regards Uwe


Re: config and comments

2006-10-13 Thread Guy Hindell

José Matos wrote:


On Monday 09 October 2006 14:32, Guy Hindell wrote:
 


Hi there - a couple of questions.

First, I have lyx integrated into our build environment so that it
exports to latex (lyx -export pdflatex)  and runs pdflatex as part of a
software build. This means I have users (developers) who run lyx without
being aware of it as part of their build in order to generate
documentation. The problem is, lyx doesn't seem  to generate its user
config (in LYX_USERDIR_14 or wherever) when doing an export - it only
does this when started interactively - and this causes the pdflatex run
to fail. Any solution?
   



 AFAIR, this should be fixed in 1.4.4.

 

Thanks, I'll give it a try. On a related subject (I think I asked about 
this here w.r.t. v1.3 a while back, maybe more than a year ago), is it 
possible to get the exported files to be produced in some directory 
other than the one where the top level .lyx file sits? Or, to put it 
another way...


cd /mybuilddir
lyx --export latex /mysrcdir/mydoc.lyx

and have the .tex files created in mybuilddir rather than mysrcdir.

guy



Re: Text before title

2006-10-13 Thread Richard Heck
Jean-Pierre Chretien wrote:
>>> Date: Fri, 13 Oct 2006 10:29:09 +0200
>>> From: Nicolás <[EMAIL PROTECTED]>
>>> To: lyx-users@lists.lyx.org
>>> Subject: Text before title
>>>
>>> Hi!
>>>
>>> This question is probably more related to Latex than to Lyx, but 
>>> hopefully you can help me.
>>>
>>> Given a paper, I would like to write some text in the free space 
>>> existing above the title. With fancy headers a can have headers in the 
>>> body of the paper, but I would like to have a kind of special header in 
>>> the first page, above the  title. Any clue about how to do that? Thanks
>>>   
>
> You may try \pagestyle{fancyplain} and make sure that the title page is plain 
> with
> \thispagestyle{plain} (AFAIR, it should not be necessary, title page defaults 
> to plain).
>
>   
Actually, I believe the title page usually defaults to empty. So
\thispagestyle{fancy} would allow you to do what you like with that header.

Richard


Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-13 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Rudi Gaelzer wrote:
>> I just don't know if I got the requires list quite right. As per
>> instructions, I ran checkinstall with no extra options. On the man
>> page, I noticed that you can include extra requirements to the
>> final rpm package, but I did not do that. Here's the list from:

Georg> I did not know that you used checkinstall. I just corrected the
Georg> wiki page, because checkinstall builds suboptimal packages.
Georg> They should not be distributed IMHO. If you use the rpm spec
Georg> file that is inside the source archive then you get better
Georg> dependencies.

Rudi, are you able to make a new rpm from our lyx.spec file?

JMarc


Re: Add subtitle to article class

2006-10-13 Thread Jean-Marc Lasgouttes
> "Jun" == Jun Sun <[EMAIL PROTECTED]> writes:

Jun> I am new to lyx.

Jun> Our internal report is close to what article class offers.
Jun> However, we need a subtitle in the middle just following the
Jun> Title.

Jun> What are the possible ways to achieve this?

Use Ctrl-Return to break the line in Title?

JMarc


Re: Enter text into indexbox without using mouse

2006-10-13 Thread Jean-Marc Lasgouttes
> "Gunnar" == Gunnar  <[EMAIL PROTECTED]> writes:

Gunnar> I have almost stoped using the mouse in LyX now, the only
Gunnar> problem in 1.4.2 is that if I wish to add an index entry, I
Gunnar> only get the grey box and have to click on it to open it to
Gunnar> add text. The usual C-i that closes/opens the ERTs doesn't
Gunnar> work here :-(

It definitely should. Could you open a bug about that?

JMarc



Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-13 Thread Rudi Gaelzer
Hi, Jean-Marc.

I created a new rpm from Georg's intructions.  Its name is: 
lyx-1.4.3-1_qt_mdv2006.i586.rpm

I uploaded it to ftp.devel.lyx.org/pub/incoming.  The ftp client reported a 
successful transfer, but I could not get the directory listing to confirm.

Could you please verify for me?  
Thank you.

On Friday 13 October 2006 11:04, you wrote:
> > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
> Georg> I did not know that you used checkinstall. I just corrected the
> Georg> wiki page, because checkinstall builds suboptimal packages.
> Georg> They should not be distributed IMHO. If you use the rpm spec
> Georg> file that is inside the source archive then you get better
> Georg> dependencies.
>
> Rudi, are you able to make a new rpm from our lyx.spec file?
>
> JMarc

-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
Fone: (53) 3275-7416
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741


Re: The Picture Environment

2006-10-13 Thread Jean-Marc Lasgouttes
> "Mario" == Mario A Abarca S <[EMAIL PROTECTED]> writes:

Mario> The Math Panel is very useful to make complex formulas in a
Mario> very easy way. Is there something like that for the picture
Mario> environment?

There are unfortunately no plan to do that. Did you try programs like
xfig, that can generate picture environments?

JMarc


Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-13 Thread Jean-Marc Lasgouttes
> "Rudi" == Rudi Gaelzer <[EMAIL PROTECTED]> writes:

Rudi> Hi, Jean-Marc. I created a new rpm from Georg's intructions. Its
Rudi> name is: lyx-1.4.3-1_qt_mdv2006.i586.rpm

Very good.

Rudi> I uploaded it to ftp.devel.lyx.org/pub/incoming. The ftp client
Rudi> reported a successful transfer, but I could not get the
Rudi> directory listing to confirm.

Rudi> Could you please verify for me? Thank you.

I got the file, but it seems truncated:

lftp [EMAIL PROTECTED]:/home/ftp/pub/incoming> dir
-rw-rw1 14   2002  2264056 Oct 12 23:58 
lyx-1.4.3-1_qt_mdv2006.i586.rpm

. Rpm says that the MD5 is wrong. Could you check that?

JMarc


Re: config and comments

2006-10-13 Thread Georg Baum
Guy Hindell wrote:

> Thanks, I'll give it a try. On a related subject (I think I asked about
> this here w.r.t. v1.3 a while back, maybe more than a year ago), is it
> possible to get the exported files to be produced in some directory
> other than the one where the top level .lyx file sits? Or, to put it
> another way...
> 
> cd /mybuilddir
> lyx --export latex /mysrcdir/mydoc.lyx
> 
> and have the .tex files created in mybuilddir rather than mysrcdir.

No, that is currently not possible. If you want to have that please add a
feature request at http://bugzilla.lyx.org. Implementing that should not be
too difficult, but it will probably not get a high priority since there are
a number of more serious problems to fix.

Of course you can always work around that with makefiles or scripts.


Georg



Re: Way to put parentheses around displayed URLs?

2006-10-13 Thread Sue Kientz

On Oct 13, 2006, at 4:48 AM, Uwe Stöhr wrote:


Sue Kientz schrieb:


You can add this to you document preamble (for parentheses):

\let\myUrl\url
\renewcommand{\url}[1]{(\myUrl{#1})}

Thanks. This was brilliant, but I was sorry to see you must still  
clear the Name input box.


No, you can leave the URL boxes as they currently are. Or what do  
you mean?


Ah, I see! In your example file, the Name input box was blank, so I  
thought if you put something in that box, it is also encapsulated by  
the parentheses. But I now see when I add a name to the input box,  
it's not in the parens. Gee, you *are* brilliant! Thanks so much!


Sue Kientz
[EMAIL PROTECTED]

Re: Add subtitle to article class

2006-10-13 Thread Jun Sun
On Fri, Oct 13, 2006 at 04:04:44PM +0200, Jean-Marc Lasgouttes wrote:
> > "Jun" == Jun Sun <[EMAIL PROTECTED]> writes:
> 
> Jun> I am new to lyx.
> 
> Jun> Our internal report is close to what article class offers.
> Jun> However, we need a subtitle in the middle just following the
> Jun> Title.
> 
> Jun> What are the possible ways to achieve this?
> 
> Use Ctrl-Return to break the line in Title?
>

Hmm, except that subtitle uses different font and size.

Since I did not hear much back on this, I am now trying to 
import our latex class file into lyx.  If anyone can provide some
pointers as how to define .layout file, I'd appreciate.

Thanks.

Jun 


Re: Problem installing spell checker for llyx-143-4

2006-10-13 Thread Paul A. Rubin

Mike Reeks wrote:

I am trying to install the latest version lyx-143-4  and failed to
download spellchecker. The message during the installation says 'failed
to download English spell checker- would you like to try again'. Clearly
problems accessing the host from the web.  How do I install spellchecker
separately once lyx has been set up? What is the procedure? Any
suggestions as to what to do?



Hypothetically, the following should work:

1.  Download 
http://wiki.lyx.org/uploads/Windows/Aspell6/aspelldata-0.60.4-root.exe

and install it.  (It should install to C:\Aspell.)

2.  Download your choice of dictionary from 
http://wiki.lyx.org/Windows/Aspell6 and install that.


The reason I say "hypothetically" is that I have yet to get LyX 1.4.3 to 
admit that I have the en_US dictionary installed, even though it works 
fine with 1.4.2 and earlier.  But that may be some quirk of my installation.


/Paul



Re: Textclass & other errors on new install

2006-10-13 Thread Paul A. Rubin

Russell W. Behne wrote:


Since my last [missing] post concerning this problem I have downloaded the 
images for Mandriva 2007, burned in a new set of cdroms, and installed a 
completly new Linux Mandriva OS.  And yet the problem remains.
For some reason this release didn't come with LyX, so I downloaded it from the 
2006 disttribution files online.  When I click on " [Help][About LyX] " I get 
this report:

LyX version 1.4.2 of Friday, July 13, 2006
Library directory: /usr/share/lyx
User Directory:  ~/.lyx

In my /usr/share/texmf/web2c/texmf.cnf I have these settings:
TEXMFLOCAL = /usr/local/texmf
TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
This should tell LyX where to find all my texmf trees, and so LyX should 
easily be able to find the missing TeX classes, but still doesn't.


Anyone have any ideas how to fix this?



Sorry if I'm rehashing things here, but I don't have the entire thread 
in front of me (not to mention the posting the virtual dog apparently 
ate).  Also, fair warning:  it's been a while since I used any flavor of 
Linux (I'm exiled to the World of Windows).


First, in LyX, does Help->LaTeX Configuration show a plausible version 
date for LaTeX (section 1 of the document)?  If not, maybe LyX is 
looking in the wrong place for your LaTeX executable.


Second, if you run 'kpsewhich article.cls' (or '/usr/bin/kpsewhich 
article.cls', or whatever), does it find the article class?


The last couple of times I saw something similar reported (both Windows, 
IIRC), it turned out to be a glitch in the way the LaTeX distro was 
installed and not something intrinsic to LyX.


/Paul



Mark-On Lyx1.4

2006-10-13 Thread David Rosenberg

Hi -- I'm not sure if this is a bug or if I'm doing something wrong.

When I run the mark-on command (i.e. M-x mark-on) and then move my 
cursor around, I don't get a highlighted region.  I do get a highlighted 
region when I do the same thing in Lyx 1.3.7.

 Has the command changed, or is this a bug, or am I doing something wrong?

I'm using Lyx1.4.3-4

Thanks much,
David