Adding authblk support to article layout

2016-01-05 Thread Logan Kelly
Hello,

I have written a simple layout that adds support for the authblk package 
to the basic article layout. Is there a way to submit it to the LyX 
community?

Logan Kelly



Re: Cannot edit LaTeX child document in LyX 2.1

2015-03-10 Thread Kelly

 
 To see more descriptive error messages enable debug output for Files 
used by LyX.
 
 To do so you have to:
 1. Enable the message pane - go to the View menu and select Messages 
Pane
 2. There you'll see the log window. At the right you select the 
Settings Tab.
 3. Choose the Selected option at the left and then Files used by 
LyX at the right.
 4. Go back to Output tab to watch the log messages while working 
with LyX.
 
 Stephan
 

Hi Stephan,
Thanks for your suggestion. I did as you said and Files used by LyX 
are now set to Yes for debug messages. However, the message it is 
showing in the Output pane gives no further detail than the pop-up box! 
(Auto-edit file  file path failed (time stamp) Automatic save done. 
Error: Cannot edit file)  Any further help is welcome.

thanks,
Kelly







Re: Cannot edit LaTeX child document in LyX 2.1

2015-03-10 Thread Kelly

 
 To see more descriptive error messages enable debug output for Files 
used by LyX.
 
 To do so you have to:
 1. Enable the message pane - go to the View menu and select Messages 
Pane
 2. There you'll see the log window. At the right you select the 
Settings Tab.
 3. Choose the Selected option at the left and then Files used by 
LyX at the right.
 4. Go back to Output tab to watch the log messages while working 
with LyX.
 
 Stephan
 

Hi Stephan,
Thanks for your suggestion. I did as you said and Files used by LyX 
are now set to Yes for debug messages. However, the message it is 
showing in the Output pane gives no further detail than the pop-up box! 
(Auto-edit file  file path failed (time stamp) Automatic save done. 
Error: Cannot edit file)  Any further help is welcome.

thanks,
Kelly







Re: Cannot edit LaTeX child document in LyX 2.1

2015-03-10 Thread Kelly

> 
> To see more descriptive error messages enable debug output for "Files 
used by LyX".
> 
> To do so you have to:
> 1. Enable the message pane - go to the View menu and select "Messages 
Pane"
> 2. There you'll see the log window. At the right you select the 
"Settings" Tab.
> 3. Choose the "Selected" option at the left and then "Files used by 
LyX" at the right.
> 4. Go back to "Output" tab to watch the log messages while working 
with LyX.
> 
> Stephan
> 

Hi Stephan,
Thanks for your suggestion. I did as you said and "Files used by LyX" 
are now set to Yes for debug messages. However, the message it is 
showing in the Output pane gives no further detail than the pop-up box! 
("Auto-edit file  "file path" failed (time stamp) Automatic save done. 
Error: Cannot edit file")  Any further help is welcome.

thanks,
Kelly







Re: Cannot edit LaTeX child document in LyX 2.1

2015-01-05 Thread Kelly
dapper dan dapperdan at outlook.com writes:

 
 Subject basically says it all: When I try to edit a LaTeX child document
  from within LyX 2.1.1 (by clicking 'edit' in the child document window)
  I get an error message 'LyX: Cannot edit file. Auto-edit file 
 path-to-file failed.' It does work with LyX child documents and it 
also works with LyX 2.0.8.1, which is also installed on the same machine. 
It did not work with 2.1.0, either.As
  far as I can see the paths/settings are the same in 2.1.1 and 2.0.8.1, 
 but please let me know whether I should check something specific. I'm on 
Windows 7 btw.Thanks! 


Hi Dan,
Did you ever find a solution to this problem? I have been having the same 
problem since around 2011. (And I don't understand Richard's suggestions!)

thanks,
Kelly 



Re: Cannot edit LaTeX child document in LyX 2.1

2015-01-05 Thread Kelly
dapper dan dapperdan at outlook.com writes:

 
 Subject basically says it all: When I try to edit a LaTeX child document
  from within LyX 2.1.1 (by clicking 'edit' in the child document window)
  I get an error message 'LyX: Cannot edit file. Auto-edit file 
 path-to-file failed.' It does work with LyX child documents and it 
also works with LyX 2.0.8.1, which is also installed on the same machine. 
It did not work with 2.1.0, either.As
  far as I can see the paths/settings are the same in 2.1.1 and 2.0.8.1, 
 but please let me know whether I should check something specific. I'm on 
Windows 7 btw.Thanks! 


Hi Dan,
Did you ever find a solution to this problem? I have been having the same 
problem since around 2011. (And I don't understand Richard's suggestions!)

thanks,
Kelly 



Re: Cannot edit LaTeX child document in LyX 2.1

2015-01-05 Thread Kelly
dapper dan  outlook.com> writes:

> 
> Subject basically says it all: When I try to edit a LaTeX child document
>  from within LyX 2.1.1 (by clicking 'edit' in the child document window)
>  I get an error message 'LyX: Cannot edit file. Auto-edit file 
> "path-to-file" failed.' It does work with LyX child documents and it 
also works with LyX 2.0.8.1, which is also installed on the same machine. 
It did not work with 2.1.0, either.As
>  far as I can see the paths/settings are the same in 2.1.1 and 2.0.8.1, 
> but please let me know whether I should check something specific. I'm on 
Windows 7 btw.Thanks! 


Hi Dan,
Did you ever find a solution to this problem? I have been having the same 
problem since around 2011. (And I don't understand Richard's suggestions!)

thanks,
Kelly 



Using external or custom .bst files with LyX

2014-03-20 Thread Kelly
I am trying to use ejbib.bst that was provided to me by the Economic Journal. 

I couldn't get it to work so I created a custom file using makebst, which I 
called econjournal.bst. I ran the dbj file to create the .bst and copied the 
.bst into  user/appdata/roaming/miktek/2.9/bibtex/bst/ in its own folder, 
which is how all my other .bst files are. 

I think LyX can access it okay, since econjounal now shows up in my list of 
bib style options. 

I have the settings set to natbib authoryear, and when I'm using plainnat 
style, everything works. When I switch to econjournal style, I just get ? 
where the citations should be and no reference list. This is the same problem 
I have when I try to use ejbib.bst (which is in a similar file location).

I'm assuming I'm doing something wrong with file locations or a master .mbs 
file, or something, but I don't know what. Please help!



Using external or custom .bst files with LyX

2014-03-20 Thread Kelly
I am trying to use ejbib.bst that was provided to me by the Economic Journal. 

I couldn't get it to work so I created a custom file using makebst, which I 
called econjournal.bst. I ran the dbj file to create the .bst and copied the 
.bst into  user/appdata/roaming/miktek/2.9/bibtex/bst/ in its own folder, 
which is how all my other .bst files are. 

I think LyX can access it okay, since econjounal now shows up in my list of 
bib style options. 

I have the settings set to natbib authoryear, and when I'm using plainnat 
style, everything works. When I switch to econjournal style, I just get ? 
where the citations should be and no reference list. This is the same problem 
I have when I try to use ejbib.bst (which is in a similar file location).

I'm assuming I'm doing something wrong with file locations or a master .mbs 
file, or something, but I don't know what. Please help!



Using external or custom .bst files with LyX

2014-03-20 Thread Kelly
I am trying to use ejbib.bst that was provided to me by the Economic Journal. 

I couldn't get it to work so I created a custom file using makebst, which I 
called econjournal.bst. I ran the dbj file to create the .bst and copied the 
.bst into  user/appdata/roaming/miktek/2.9/bibtex/bst/ in its own folder, 
which is how all my other .bst files are. 

I think LyX can access it okay, since econjounal now shows up in my list of 
bib style options. 

I have the settings set to natbib authoryear, and when I'm using plainnat 
style, everything works. When I switch to econjournal style, I just get "?" 
where the citations should be and no reference list. This is the same problem 
I have when I try to use ejbib.bst (which is in a similar file location).

I'm assuming I'm doing something wrong with file locations or a master .mbs 
file, or something, but I don't know what. Please help!



Re: LyX on iPad (or other Tablet devices)

2012-04-25 Thread Peter Kelly
On 12/04/2012, at 2:13 PM, am...@bath.ac.uk wrote:

 Dear LyX,
 
 Is it possible to run LyX software on an Apple iPad or other Tablet  
 devices such as Android etc.? (I assume it can run on Windows 7 tablet  
 devices?)

Although LyX itself doesn't run on the iPad, I'm currently working a similar 
app called UX Write which follows the same basic authoring philosophy but is 
designed specifically for the iPad. It uses HTML as its native file format (and 
WebKit for on-screen layout  PDF output) but in a future release it will 
support import  export of LaTeX documents. It's a commercial product but will 
be priced fairly cheaply, at a similar cost to Pages/Documents to go etc.

The first release isn't out yet but is currently in private beta testing. I'm 
looking for feedback from as many people as possible so I'm happy to send you a 
copy of the beta to try if you're interested.

Some more info is available at:

http://www.uxproductivity.com/blog/
http://ffeathers.wordpress.com/2012/04/20/new-text-processor-for-ios-ux-write-looking-for-beta-testers/

 Many thanks in advance,
 
 Andrew Smith (Year 1 - Mathematical Sciences)

--
Dr. Peter M. Kelly
kelly...@gmail.com
http://www.kellypmk.net/



Re: LyX on iPad (or other Tablet devices)

2012-04-25 Thread Peter Kelly
On 12/04/2012, at 2:13 PM, am...@bath.ac.uk wrote:

 Dear LyX,
 
 Is it possible to run LyX software on an Apple iPad or other Tablet  
 devices such as Android etc.? (I assume it can run on Windows 7 tablet  
 devices?)

Although LyX itself doesn't run on the iPad, I'm currently working a similar 
app called UX Write which follows the same basic authoring philosophy but is 
designed specifically for the iPad. It uses HTML as its native file format (and 
WebKit for on-screen layout  PDF output) but in a future release it will 
support import  export of LaTeX documents. It's a commercial product but will 
be priced fairly cheaply, at a similar cost to Pages/Documents to go etc.

The first release isn't out yet but is currently in private beta testing. I'm 
looking for feedback from as many people as possible so I'm happy to send you a 
copy of the beta to try if you're interested.

Some more info is available at:

http://www.uxproductivity.com/blog/
http://ffeathers.wordpress.com/2012/04/20/new-text-processor-for-ios-ux-write-looking-for-beta-testers/

 Many thanks in advance,
 
 Andrew Smith (Year 1 - Mathematical Sciences)

--
Dr. Peter M. Kelly
kelly...@gmail.com
http://www.kellypmk.net/



Re: LyX on iPad (or other Tablet devices)

2012-04-25 Thread Peter Kelly
On 12/04/2012, at 2:13 PM, am...@bath.ac.uk wrote:

> Dear LyX,
> 
> Is it possible to run LyX software on an Apple iPad or other Tablet  
> devices such as Android etc.? (I assume it can run on Windows 7 tablet  
> devices?)

Although LyX itself doesn't run on the iPad, I'm currently working a similar 
app called UX Write which follows the same basic authoring philosophy but is 
designed specifically for the iPad. It uses HTML as its native file format (and 
WebKit for on-screen layout & PDF output) but in a future release it will 
support import & export of LaTeX documents. It's a commercial product but will 
be priced fairly cheaply, at a similar cost to Pages/Documents to go etc.

The first release isn't out yet but is currently in private beta testing. I'm 
looking for feedback from as many people as possible so I'm happy to send you a 
copy of the beta to try if you're interested.

Some more info is available at:

http://www.uxproductivity.com/blog/
http://ffeathers.wordpress.com/2012/04/20/new-text-processor-for-ios-ux-write-looking-for-beta-testers/

> Many thanks in advance,
> 
> Andrew Smith (Year 1 - Mathematical Sciences)

--
Dr. Peter M. Kelly
kelly...@gmail.com
http://www.kellypmk.net/



Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-06 Thread Daniel Kelly (aka Jack)
Ok, sure thing - I'll write to the Devel list now... thanks for all your
help...

Jack



On 5 December 2011 19:02, Richard Heck rgh...@comcast.net wrote:

  On 12/05/2011 12:45 PM, Daniel Kelly (aka Jack) wrote:

 I've found a (horrible) hack which I'll describe here because it helps to
 explain the problem.

 The basic problem is that epstopdf has no way to know which directory the
 eps file lives in because Lyx runs epstopdf in a temp directory.  My
 horrible hack is to edit line 304 of epstopdf.pl and change it from this:

   $InputFilename = $ARGV[0];

 to this:

   $InputFilename =
 /homes/dk3810/Documents/PhD/writing/litReview/$ARGV[0];

 This works.  But it's a horrible horrible hack and I feel dirty just
 suggesting it.  Should I go ahead and submit a Lyx bug report?

  I'd suggest you post a message about this to the devel list---describing
 your problem from the very beginning and posting a minimal example. This
 kind of thing was supposed to have been sorted out. If it's not, maybe
 there's some configuration issue we need to address, and the guy who did
 this work will be more likely to see the message over there.

 Richard






Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-06 Thread Daniel Kelly (aka Jack)
Ok, sure thing - I'll write to the Devel list now... thanks for all your
help...

Jack



On 5 December 2011 19:02, Richard Heck rgh...@comcast.net wrote:

  On 12/05/2011 12:45 PM, Daniel Kelly (aka Jack) wrote:

 I've found a (horrible) hack which I'll describe here because it helps to
 explain the problem.

 The basic problem is that epstopdf has no way to know which directory the
 eps file lives in because Lyx runs epstopdf in a temp directory.  My
 horrible hack is to edit line 304 of epstopdf.pl and change it from this:

   $InputFilename = $ARGV[0];

 to this:

   $InputFilename =
 /homes/dk3810/Documents/PhD/writing/litReview/$ARGV[0];

 This works.  But it's a horrible horrible hack and I feel dirty just
 suggesting it.  Should I go ahead and submit a Lyx bug report?

  I'd suggest you post a message about this to the devel list---describing
 your problem from the very beginning and posting a minimal example. This
 kind of thing was supposed to have been sorted out. If it's not, maybe
 there's some configuration issue we need to address, and the guy who did
 this work will be more likely to see the message over there.

 Richard






Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-06 Thread Daniel Kelly (aka Jack)
Ok, sure thing - I'll write to the Devel list now... thanks for all your
help...

Jack



On 5 December 2011 19:02, Richard Heck <rgh...@comcast.net> wrote:

>  On 12/05/2011 12:45 PM, Daniel Kelly (aka Jack) wrote:
>
> I've found a (horrible) hack which I'll describe here because it helps to
> explain the problem.
>
> The basic problem is that epstopdf has no way to know which directory the
> eps file lives in because Lyx runs epstopdf in a temp directory.  My
> horrible hack is to edit line 304 of epstopdf.pl and change it from this:
>
>   $InputFilename = $ARGV[0];
>
> to this:
>
>   $InputFilename =
> "/homes/dk3810/Documents/PhD/writing/litReview/$ARGV[0]";
>
> This works.  But it's a horrible horrible hack and I feel dirty just
> suggesting it.  Should I go ahead and submit a Lyx bug report?
>
>  I'd suggest you post a message about this to the devel list---describing
> your problem from the very beginning and posting a minimal example. This
> kind of thing was supposed to have been sorted out. If it's not, maybe
> there's some configuration issue we need to address, and the guy who did
> this work will be more likely to see the message over there.
>
> Richard
>
>
>
>


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-05 Thread Daniel Kelly (aka Jack)
Ah, fantastic - Lyx 2.0.2 seems to have fixed the problem I was having with
epstopdf.  Many thanks!

Jack


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-05 Thread Daniel Kelly (aka Jack)
Bother, sorry, please ignore my last message.

It turns out that Lyx 2.0.2 does *not* fix the epstopdf problem, sorry.
When I wrote my previous email, I had forgotten to delete the
-eps-converted-to.pdf files. Now that I have deleted the temporary
-eps-converted-to.pdf files, Lyx fails to correctly instruct epstopdf to
convert my eps files to pdf, ready for pdflatex to process.

Should I submit a bug report?

Many thanks,
Jack


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-05 Thread Daniel Kelly (aka Jack)
I've found a (horrible) hack which I'll describe here because it helps to
explain the problem.

The basic problem is that epstopdf has no way to know which directory the
eps file lives in because Lyx runs epstopdf in a temp directory.  My
horrible hack is to edit line 304 of epstopdf.pl and change it from this:

  $InputFilename = $ARGV[0];

to this:

  $InputFilename = /homes/dk3810/Documents/PhD/writing/litReview/$ARGV[0];

This works.  But it's a horrible horrible hack and I feel dirty just
suggesting it.  Should I go ahead and submit a Lyx bug report?

Thanks,
Jack


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-05 Thread Daniel Kelly (aka Jack)
Ah, fantastic - Lyx 2.0.2 seems to have fixed the problem I was having with
epstopdf.  Many thanks!

Jack


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-05 Thread Daniel Kelly (aka Jack)
Bother, sorry, please ignore my last message.

It turns out that Lyx 2.0.2 does *not* fix the epstopdf problem, sorry.
When I wrote my previous email, I had forgotten to delete the
-eps-converted-to.pdf files. Now that I have deleted the temporary
-eps-converted-to.pdf files, Lyx fails to correctly instruct epstopdf to
convert my eps files to pdf, ready for pdflatex to process.

Should I submit a bug report?

Many thanks,
Jack


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-05 Thread Daniel Kelly (aka Jack)
I've found a (horrible) hack which I'll describe here because it helps to
explain the problem.

The basic problem is that epstopdf has no way to know which directory the
eps file lives in because Lyx runs epstopdf in a temp directory.  My
horrible hack is to edit line 304 of epstopdf.pl and change it from this:

  $InputFilename = $ARGV[0];

to this:

  $InputFilename = /homes/dk3810/Documents/PhD/writing/litReview/$ARGV[0];

This works.  But it's a horrible horrible hack and I feel dirty just
suggesting it.  Should I go ahead and submit a Lyx bug report?

Thanks,
Jack


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-05 Thread Daniel Kelly (aka Jack)
Ah, fantastic - Lyx 2.0.2 seems to have fixed the problem I was having with
epstopdf.  Many thanks!

Jack


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-05 Thread Daniel Kelly (aka Jack)
Bother, sorry, please ignore my last message.

It turns out that Lyx 2.0.2 does *not* fix the epstopdf problem, sorry.
When I wrote my previous email, I had forgotten to delete the
"-eps-converted-to.pdf" files. Now that I have deleted the temporary
"-eps-converted-to.pdf" files, Lyx fails to correctly instruct epstopdf to
convert my eps files to pdf, ready for pdflatex to process.

Should I submit a bug report?

Many thanks,
Jack


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-12-05 Thread Daniel Kelly (aka Jack)
I've found a (horrible) hack which I'll describe here because it helps to
explain the problem.

The basic problem is that epstopdf has no way to know which directory the
eps file lives in because Lyx runs epstopdf in a temp directory.  My
horrible hack is to edit line 304 of epstopdf.pl and change it from this:

  $InputFilename = $ARGV[0];

to this:

  $InputFilename = "/homes/dk3810/Documents/PhD/writing/litReview/$ARGV[0]";

This works.  But it's a horrible horrible hack and I feel dirty just
suggesting it.  Should I go ahead and submit a Lyx bug report?

Thanks,
Jack


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-11-18 Thread Daniel Kelly (aka Jack)
Hi Richard,

Many thanks for the quick reply.  Sorry, I should have mentioned that
I already read the release notes for 2.0.1.  Like you, I suspect the
problem with using epstopdf is related to the \input@path change in
2.0.1.  Unfortunately, I can't see a solution (or a hint to a
solution) within the release notes.  I have tried setting TEXINPUT to
both . and to the absolute path of my image file but neither of
these changes solved the issue.

Please may I ask if you have any other suggestions?

If not, should I report this as a bug?

Many thanks,
Jack


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-11-18 Thread Daniel Kelly (aka Jack)
Hi Richard,

Many thanks for the quick reply.  Sorry, I should have mentioned that
I already read the release notes for 2.0.1.  Like you, I suspect the
problem with using epstopdf is related to the \input@path change in
2.0.1.  Unfortunately, I can't see a solution (or a hint to a
solution) within the release notes.  I have tried setting TEXINPUT to
both . and to the absolute path of my image file but neither of
these changes solved the issue.

Please may I ask if you have any other suggestions?

If not, should I report this as a bug?

Many thanks,
Jack


Re: Cannot get epstopdf to work in Lyx 2.0.1

2011-11-18 Thread Daniel Kelly (aka Jack)
Hi Richard,

Many thanks for the quick reply.  Sorry, I should have mentioned that
I already read the release notes for 2.0.1.  Like you, I suspect the
problem with using epstopdf is related to the \input@path change in
2.0.1.  Unfortunately, I can't see a solution (or a hint to a
solution) within the release notes.  I have tried setting TEXINPUT to
both "." and to the absolute path of my image file but neither of
these changes solved the issue.

Please may I ask if you have any other suggestions?

If not, should I report this as a bug?

Many thanks,
Jack


Cannot get epstopdf to work in Lyx 2.0.1

2011-11-17 Thread Daniel Kelly (aka Jack)
Dear Lyx Users,

I need to include lots of .eps graphics files in my Lyx document.
These .eps files are produced by GNUplot using the epslatex terminal
driver which produces a .tex files and a .eps file for each graph.

In Lyx 2.0.0, including my graphs was as simple as putting

\input{graph.tex}

in ERT.  Behind the scenes, this would invoke an instance of epstopdf
to convert each .eps file to a .pdf file.  This worked fine in Lyx
2.0.0.

This no longer works in Lyx 2.0.1.  The problem is that epstopdf is
being run in a temp directory (e.g.
/tmp/lyx_tmpdir.T13883/lyx_tmpbuf2) but epstopdf is not given a way
to locate the .eps file. The Lyx log file reports that epstopdf is
being called like this:

runsystem(epstopdf --outfile=graph-eps-converted-to.pdf graph.eps)

As you can see, epstopdf has no way of finding where graph.eps lives.

I have tried setting \graphicspath{{/path/to/eps/file/}} in my
document preamble but this did nothing.  I tried providing my graphics
directory in Lyx's Working directory, Temporary directory, PATH
and TEXINPUTS prefix Paths fields but this did not help.

The only fix I have found so far is to open each .tex file (e.g.
graph.tex) in a text editor and manually edit the
\put(0,0){\includegraphics[width=\unitlength]{graph.eps}} line to
include the absolute path of the .eps file.  This is not a
satisfactory solution for many reasons.

I'd really love it if someone could suggest a solution!

Many thanks,
Jack


Cannot get epstopdf to work in Lyx 2.0.1

2011-11-17 Thread Daniel Kelly (aka Jack)
Dear Lyx Users,

I need to include lots of .eps graphics files in my Lyx document.
These .eps files are produced by GNUplot using the epslatex terminal
driver which produces a .tex files and a .eps file for each graph.

In Lyx 2.0.0, including my graphs was as simple as putting

\input{graph.tex}

in ERT.  Behind the scenes, this would invoke an instance of epstopdf
to convert each .eps file to a .pdf file.  This worked fine in Lyx
2.0.0.

This no longer works in Lyx 2.0.1.  The problem is that epstopdf is
being run in a temp directory (e.g.
/tmp/lyx_tmpdir.T13883/lyx_tmpbuf2) but epstopdf is not given a way
to locate the .eps file. The Lyx log file reports that epstopdf is
being called like this:

runsystem(epstopdf --outfile=graph-eps-converted-to.pdf graph.eps)

As you can see, epstopdf has no way of finding where graph.eps lives.

I have tried setting \graphicspath{{/path/to/eps/file/}} in my
document preamble but this did nothing.  I tried providing my graphics
directory in Lyx's Working directory, Temporary directory, PATH
and TEXINPUTS prefix Paths fields but this did not help.

The only fix I have found so far is to open each .tex file (e.g.
graph.tex) in a text editor and manually edit the
\put(0,0){\includegraphics[width=\unitlength]{graph.eps}} line to
include the absolute path of the .eps file.  This is not a
satisfactory solution for many reasons.

I'd really love it if someone could suggest a solution!

Many thanks,
Jack


Cannot get epstopdf to work in Lyx 2.0.1

2011-11-17 Thread Daniel Kelly (aka Jack)
Dear Lyx Users,

I need to include lots of .eps graphics files in my Lyx document.
These .eps files are produced by GNUplot using the epslatex terminal
driver which produces a .tex files and a .eps file for each graph.

In Lyx 2.0.0, including my graphs was as simple as putting

\input{graph.tex}

in ERT.  Behind the scenes, this would invoke an instance of epstopdf
to convert each .eps file to a .pdf file.  This worked fine in Lyx
2.0.0.

This no longer works in Lyx 2.0.1.  The problem is that epstopdf is
being run in a temp directory (e.g.
"/tmp/lyx_tmpdir.T13883/lyx_tmpbuf2") but epstopdf is not given a way
to locate the .eps file. The Lyx log file reports that epstopdf is
being called like this:

runsystem(epstopdf --outfile=graph-eps-converted-to.pdf graph.eps)

As you can see, epstopdf has no way of finding where "graph.eps" lives.

I have tried setting "\graphicspath{{/path/to/eps/file/}}" in my
document preamble but this did nothing.  I tried providing my graphics
directory in Lyx's "Working directory", "Temporary directory", "PATH"
and "TEXINPUTS prefix" Paths fields but this did not help.

The only "fix" I have found so far is to open each .tex file (e.g.
graph.tex) in a text editor and manually edit the
"\put(0,0){\includegraphics[width=\unitlength]{graph.eps}}" line to
include the absolute path of the .eps file.  This is not a
satisfactory solution for many reasons.

I'd really love it if someone could suggest a solution!

Many thanks,
Jack


Re: csv import causes python error

2010-11-27 Thread Kelly Kearney
Rich Talley rbtalley at unm.edu writes:

 
 
 On Sat, Nov 27, 2010 at 3:31 PM, Kelly Kearney kkearney at princeton.edu
wrote:
 So far, I haven't been able to figure out how to run Mac Lyx from the command
 line.  Any pointers?
 
 
 Sure. In OS X, applications appear to the GUI as a single object but are
actually special folders. You can examine their contents in the Finder by
right-clicking on the app and choosing 'Show Package Contents'.
 
 Working from the terminal, and assuming you installed Lyx in the Applications
folder, the path to the executable is:
 
 /Applications/Lyx.app/Contents/MacOS/Lyx
 

Thanks for the info, but I was actually wondering how to run the executable. 
Though I can locate it, I'm not sure how to get it to run outside of the .app
package.  Simply trying to issue the lyx command in a terminal results in a
command not found error, even when issuing said command from
/Applications/LyX.app/Contents/MacOS.

Thanks for your patience,
Kelly







Re: csv import causes python error

2010-11-27 Thread Kelly Kearney

 
 So, when you are in /Applications/LyX.app/Contents/MacOS in the terminal use
this command:
 
 ./lyx
 
 (that's a period followed by a slash followed by the name of the executable)
 
*facepalm*  I always forget that.  Command line working fine now, and I was able
to diagnose the csv import issue.  The problem was due to the carriage returns 
in
 the .csv file (which was exported from Excel, and therefore had carriage 
returns
 rather than newlines at the end of each row). Replaced the \r's with \n's, and
 now the import seems to work fine. 

The error message (below, seen trying to import the uncorrected file) seems to
 indicate that there would be a way to open the file such that the \r would be
 interpreted as newline when running csv2lyx.py.  For future reference, is 
there a
 way to force this mode in Lyx when importing csv's, or is replacing all \r's 
the
 better option?


The error message:


$ lyx -i csv manualParameters.csv
Traceback (most recent call last):
  File /Applications/Lyx.app/Contents/Resources/scripts/csv2lyx.py, line 164,
in module
for row in reader:
_csv.Error: new-line character seen in unquoted field - do you need to open the
file in universal-newline mode?
Error: Cannot convert file

An error occurred whilst running python -tt
 '/Applications/Lyx.app/Contents/Resourc


Thanks again,
Kelly



Re: csv import causes python error

2010-11-27 Thread Kelly Kearney
Rich Talley rbtalley at unm.edu writes:

 
 
 On Sat, Nov 27, 2010 at 3:31 PM, Kelly Kearney kkearney at princeton.edu
wrote:
 So far, I haven't been able to figure out how to run Mac Lyx from the command
 line.  Any pointers?
 
 
 Sure. In OS X, applications appear to the GUI as a single object but are
actually special folders. You can examine their contents in the Finder by
right-clicking on the app and choosing 'Show Package Contents'.
 
 Working from the terminal, and assuming you installed Lyx in the Applications
folder, the path to the executable is:
 
 /Applications/Lyx.app/Contents/MacOS/Lyx
 

Thanks for the info, but I was actually wondering how to run the executable. 
Though I can locate it, I'm not sure how to get it to run outside of the .app
package.  Simply trying to issue the lyx command in a terminal results in a
command not found error, even when issuing said command from
/Applications/LyX.app/Contents/MacOS.

Thanks for your patience,
Kelly







Re: csv import causes python error

2010-11-27 Thread Kelly Kearney

 
 So, when you are in /Applications/LyX.app/Contents/MacOS in the terminal use
this command:
 
 ./lyx
 
 (that's a period followed by a slash followed by the name of the executable)
 
*facepalm*  I always forget that.  Command line working fine now, and I was able
to diagnose the csv import issue.  The problem was due to the carriage returns 
in
 the .csv file (which was exported from Excel, and therefore had carriage 
returns
 rather than newlines at the end of each row). Replaced the \r's with \n's, and
 now the import seems to work fine. 

The error message (below, seen trying to import the uncorrected file) seems to
 indicate that there would be a way to open the file such that the \r would be
 interpreted as newline when running csv2lyx.py.  For future reference, is 
there a
 way to force this mode in Lyx when importing csv's, or is replacing all \r's 
the
 better option?


The error message:


$ lyx -i csv manualParameters.csv
Traceback (most recent call last):
  File /Applications/Lyx.app/Contents/Resources/scripts/csv2lyx.py, line 164,
in module
for row in reader:
_csv.Error: new-line character seen in unquoted field - do you need to open the
file in universal-newline mode?
Error: Cannot convert file

An error occurred whilst running python -tt
 '/Applications/Lyx.app/Contents/Resourc


Thanks again,
Kelly



Re: csv import causes python error

2010-11-27 Thread Kelly Kearney
Rich Talley  unm.edu> writes:

> 
> 
> On Sat, Nov 27, 2010 at 3:31 PM, Kelly Kearney  princeton.edu>
wrote:
> So far, I haven't been able to figure out how to run Mac Lyx from the command
> line.  Any pointers?
> 
> 
> Sure. In OS X, applications appear to the GUI as a single object but are
actually special folders. You can examine their contents in the Finder by
right-clicking on the app and choosing 'Show Package Contents'.
> 
> Working from the terminal, and assuming you installed Lyx in the Applications
folder, the path to the executable is:
> 
> /Applications/Lyx.app/Contents/MacOS/Lyx
> 

Thanks for the info, but I was actually wondering how to run the executable. 
Though I can locate it, I'm not sure how to get it to run outside of the .app
package.  Simply trying to issue the "lyx" command in a terminal results in a
command not found error, even when issuing said command from
/Applications/LyX.app/Contents/MacOS.

Thanks for your patience,
Kelly







Re: csv import causes python error

2010-11-27 Thread Kelly Kearney

> 
> So, when you are in /Applications/LyX.app/Contents/MacOS in the terminal use
this command:
> 
> ./lyx
> 
> (that's a period followed by a slash followed by the name of the executable)
> 
*facepalm*  I always forget that.  Command line working fine now, and I was able
to diagnose the csv import issue.  The problem was due to the carriage returns 
in
 the .csv file (which was exported from Excel, and therefore had carriage 
returns
 rather than newlines at the end of each row). Replaced the \r's with \n's, and
 now the import seems to work fine. 

The error message (below, seen trying to import the uncorrected file) seems to
 indicate that there would be a way to open the file such that the \r would be
 interpreted as newline when running csv2lyx.py.  For future reference, is 
there a
 way to force this mode in Lyx when importing csv's, or is replacing all \r's 
the
 better option?


The error message:


$ lyx -i csv manualParameters.csv
Traceback (most recent call last):
  File "/Applications/Lyx.app/Contents/Resources/scripts/csv2lyx.py", line 164,
in 
for row in reader:
_csv.Error: new-line character seen in unquoted field - do you need to open the
file in universal-newline mode?
Error: Cannot convert file

An error occurred whilst running python -tt
 '/Applications/Lyx.app/Contents/Resourc


Thanks again,
Kelly



Re: csv import causes python error

2010-11-24 Thread Kelly Kearney
José Matos wrote:

  On Tuesday 23 November 2010 22:31:16 Kelly Kearney wrote:
  An error occurred whilst running python -tt
 
  '/Applications/LyX.app/Contents/Resourc
  Is this the error you get?
 
  The above error message seems to be truncated.


Jose, yes, this is the full error message, as seen in the little pop-up message
box.  Not sure if the message itself is truncated, or if that's just an effect
of the popup display, but unfortunately the crucial part of the message (i.e.
which function caused an error) is hidden.


 Different bug, recently fixed in trunk. We did truncate that message 
 previously.


Richard, are you saying that the error message truncation is a known bug, or the
csv import issue is?

Thanks,
Kelly





Re: csv import causes python error

2010-11-24 Thread Kelly Kearney
José Matos wrote:

  On Tuesday 23 November 2010 22:31:16 Kelly Kearney wrote:
  An error occurred whilst running python -tt
 
  '/Applications/LyX.app/Contents/Resourc
  Is this the error you get?
 
  The above error message seems to be truncated.


Jose, yes, this is the full error message, as seen in the little pop-up message
box.  Not sure if the message itself is truncated, or if that's just an effect
of the popup display, but unfortunately the crucial part of the message (i.e.
which function caused an error) is hidden.


 Different bug, recently fixed in trunk. We did truncate that message 
 previously.


Richard, are you saying that the error message truncation is a known bug, or the
csv import issue is?

Thanks,
Kelly





Re: csv import causes python error

2010-11-24 Thread Kelly Kearney
José Matos wrote:

> > On Tuesday 23 November 2010 22:31:16 Kelly Kearney wrote:
> >> "An error occurred whilst running python -tt
> >>
> >> '/Applications/LyX.app/Contents/Resourc"
> > Is this the error you get?
> >
> > The above error message seems to be truncated.


Jose, yes, this is the full error message, as seen in the little pop-up message
box.  Not sure if the message itself is truncated, or if that's just an effect
of the popup display, but unfortunately the crucial part of the message (i.e.
which function caused an error) is hidden.


> Different bug, recently fixed in trunk. We did truncate that message 
> previously.


Richard, are you saying that the error message truncation is a known bug, or the
csv import issue is?

Thanks,
Kelly





csv import causes python error

2010-11-23 Thread Kelly Kearney

Hi all,

I very recently started using Lyx, and I'm having some 
trouble importing .csv files as tables.  I'm running Lyx 
1.6.8 on a Mac OS X 10.5.8 system.  When I attempt to to 
import a table (via File  Import  CSV (Table)...), I 
receive the following error:


An error occurred whilst running python -tt

'/Applications/LyX.app/Contents/Resourc


I searched the archive, and it seems this error occurred in 
older Windows versions of Lyx due to a missing csv.py 
script. I don't see this particular script in my own 
[lyxlibrary]/scripts folder, but I wan't sure if it was 
still necessary in the most recent Lyx release.



Thanks for any suggestions regarding this error.


-Kelly







csv import causes python error

2010-11-23 Thread Kelly Kearney

Hi all,

I very recently started using Lyx, and I'm having some 
trouble importing .csv files as tables.  I'm running Lyx 
1.6.8 on a Mac OS X 10.5.8 system.  When I attempt to to 
import a table (via File  Import  CSV (Table)...), I 
receive the following error:


An error occurred whilst running python -tt

'/Applications/LyX.app/Contents/Resourc


I searched the archive, and it seems this error occurred in 
older Windows versions of Lyx due to a missing csv.py 
script. I don't see this particular script in my own 
[lyxlibrary]/scripts folder, but I wan't sure if it was 
still necessary in the most recent Lyx release.



Thanks for any suggestions regarding this error.


-Kelly







csv import causes python error

2010-11-23 Thread Kelly Kearney

Hi all,

I very recently started using Lyx, and I'm having some 
trouble importing .csv files as tables.  I'm running Lyx 
1.6.8 on a Mac OS X 10.5.8 system.  When I attempt to to 
import a table (via File > Import > CSV (Table)...), I 
receive the following error:


"An error occurred whilst running python -tt

'/Applications/LyX.app/Contents/Resourc"


I searched the archive, and it seems this error occurred in 
older Windows versions of Lyx due to a missing csv.py 
script. I don't see this particular script in my own 
[lyxlibrary]/scripts folder, but I wan't sure if it was 
still necessary in the most recent Lyx release.



Thanks for any suggestions regarding this error.


-Kelly







Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Morgan Kelly
On Wed, Mar 19, 2003 at 12:45:41PM -0500, Praedor Atrebates wrote:

 checking for Qt library name... failed
 configure: error: Cannot compile a simple Qt executable. Check you have the 
 right $QTDIR !
 error: Bad exit status from /var/tmp/rpm-tmp.46146 (%build)


This is a problem in building with Mandrake linux that was not present with 
lyx-1.3.0pre2 but appeared with 1.3.0.

Instead of commenting out a lot of lines in the configure script, you need to 
set more options telling it exactly where all the qt things live 

./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3 
--with-qt-includes=/usr/lib/qt3/include --with-qt-libraries=/usr/lib/qt3/lib 

Everything should then work fine. I hope this helps

Morgan


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Morgan Kelly
On Wed, Mar 19, 2003 at 12:45:41PM -0500, Praedor Atrebates wrote:

 checking for Qt library name... failed
 configure: error: Cannot compile a simple Qt executable. Check you have the 
 right $QTDIR !
 error: Bad exit status from /var/tmp/rpm-tmp.46146 (%build)


This is a problem in building with Mandrake linux that was not present with 
lyx-1.3.0pre2 but appeared with 1.3.0.

Instead of commenting out a lot of lines in the configure script, you need to 
set more options telling it exactly where all the qt things live 

./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3 
--with-qt-includes=/usr/lib/qt3/include --with-qt-libraries=/usr/lib/qt3/lib 

Everything should then work fine. I hope this helps

Morgan


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Morgan Kelly
On Wed, Mar 19, 2003 at 12:45:41PM -0500, Praedor Atrebates wrote:

> checking for Qt library name... failed
> configure: error: Cannot compile a simple Qt executable. Check you have the 
> right $QTDIR !
> error: Bad exit status from /var/tmp/rpm-tmp.46146 (%build)
>

This is a problem in building with Mandrake linux that was not present with 
lyx-1.3.0pre2 but appeared with 1.3.0.

Instead of commenting out a lot of lines in the configure script, you need to 
set more options telling it exactly where all the qt things live 

./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3 
--with-qt-includes=/usr/lib/qt3/include --with-qt-libraries=/usr/lib/qt3/lib 

Everything should then work fine. I hope this helps

Morgan


Headings on rotated table

2003-03-06 Thread Matthew Kelly
If a table (within a table float) is rotated 90 degrees is there an easy
way of moving the table caption to the top of the table. The default is
to have the caption not rotated and to the right of the table. 


#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Float table
wide false
collapsed false

\layout Caption

This is a small example
\layout Standard


\begin_inset  Tabular
lyxtabular version=3 rows=5 columns=5
features rotate=true
column alignment=center valignment=top leftline=true width=0(null)
column alignment=center valignment=top leftline=true width=0in
column alignment=center valignment=top leftline=true width=0(null)
column alignment=center valignment=top leftline=true width=0(null)
column alignment=center valignment=top leftline=true rightline=true width=0in
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

h1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

h2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

h3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

h4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\layout Standard

h5
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

adsf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asfd
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

afs
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asfd
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asd
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

as
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asfd
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

af
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

af
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
/row
/lyxtabular

\end_inset 


\end_inset 


\the_end


Headings on rotated table

2003-03-06 Thread Matthew Kelly
If a table (within a table float) is rotated 90 degrees is there an easy
way of moving the table caption to the top of the table. The default is
to have the caption not rotated and to the right of the table. 


#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Float table
wide false
collapsed false

\layout Caption

This is a small example
\layout Standard


\begin_inset  Tabular
lyxtabular version=3 rows=5 columns=5
features rotate=true
column alignment=center valignment=top leftline=true width=0(null)
column alignment=center valignment=top leftline=true width=0in
column alignment=center valignment=top leftline=true width=0(null)
column alignment=center valignment=top leftline=true width=0(null)
column alignment=center valignment=top leftline=true rightline=true width=0in
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

h1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

h2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

h3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

h4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\layout Standard

h5
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

1
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

adsf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asfd
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

afs
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

2
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asfd
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asd
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

3
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

as
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

4
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

asfd
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

af
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

af
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\layout Standard

asdf
\end_inset 
/cell
/row
/lyxtabular

\end_inset 


\end_inset 


\the_end


Headings on rotated table

2003-03-06 Thread Matthew Kelly
If a table (within a table float) is rotated 90 degrees is there an easy
way of moving the table caption to the top of the table. The default is
to have the caption not rotated and to the right of the table. 


#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Float table
wide false
collapsed false

\layout Caption

This is a small example
\layout Standard


\begin_inset  Tabular









\begin_inset Text

\layout Standard

h1
\end_inset 


\begin_inset Text

\layout Standard

h2
\end_inset 


\begin_inset Text

\layout Standard

h3
\end_inset 


\begin_inset Text

\layout Standard

h4
\end_inset 


\begin_inset Text

\layout Standard

h5
\end_inset 




\begin_inset Text

\layout Standard

1
\end_inset 


\begin_inset Text

\layout Standard

adsf
\end_inset 


\begin_inset Text

\layout Standard

asfd
\end_inset 


\begin_inset Text

\layout Standard

afs
\end_inset 


\begin_inset Text

\layout Standard

asdf
\end_inset 




\begin_inset Text

\layout Standard

2
\end_inset 


\begin_inset Text

\layout Standard

asfd
\end_inset 


\begin_inset Text

\layout Standard

asd
\end_inset 


\begin_inset Text

\layout Standard

asf
\end_inset 


\begin_inset Text

\layout Standard

asdf
\end_inset 




\begin_inset Text

\layout Standard

3
\end_inset 


\begin_inset Text

\layout Standard

asdf
\end_inset 


\begin_inset Text

\layout Standard

as
\end_inset 


\begin_inset Text

\layout Standard

asdf
\end_inset 


\begin_inset Text

\layout Standard

asdf
\end_inset 




\begin_inset Text

\layout Standard

4
\end_inset 


\begin_inset Text

\layout Standard

asfd
\end_inset 


\begin_inset Text

\layout Standard

af
\end_inset 


\begin_inset Text

\layout Standard

af
\end_inset 


\begin_inset Text

\layout Standard

asdf
\end_inset 




\end_inset 


\end_inset 


\the_end


cvs2lyx and lyx-1.3

2003-02-10 Thread Matthew Kelly
Hello all,
Does anyone have experience with using csv2lyx with lyx-1.3.0. I have
been using csv2lyx with lyx-1.2 and have had no problems. If I try to
open a lyx file created with csv2lyx with Lyx-1.3 i get the following
error

An error occurred while running the conversion script

The following note is on the command line if i run lyx2lyx
Malformed lyx file

However if I open the file in lyx-1.2 make a small change and save the
file lyx-1.3 will read the file. 

Does anyone have a suggestion other than opening the file with 1.2 first

Matthew






cvs2lyx and lyx-1.3

2003-02-10 Thread Matthew Kelly
Hello all,
Does anyone have experience with using csv2lyx with lyx-1.3.0. I have
been using csv2lyx with lyx-1.2 and have had no problems. If I try to
open a lyx file created with csv2lyx with Lyx-1.3 i get the following
error

An error occurred while running the conversion script

The following note is on the command line if i run lyx2lyx
Malformed lyx file

However if I open the file in lyx-1.2 make a small change and save the
file lyx-1.3 will read the file. 

Does anyone have a suggestion other than opening the file with 1.2 first

Matthew






cvs2lyx and lyx-1.3

2003-02-10 Thread Matthew Kelly
Hello all,
Does anyone have experience with using csv2lyx with lyx-1.3.0. I have
been using csv2lyx with lyx-1.2 and have had no problems. If I try to
open a lyx file created with csv2lyx with Lyx-1.3 i get the following
error

"An error occurred while running the conversion script"

The following note is on the command line if i run lyx2lyx
"Malformed lyx file"

However if I open the file in lyx-1.2 make a small change and save the
file lyx-1.3 will read the file. 

Does anyone have a suggestion other than opening the file with 1.2 first

Matthew






How to preview-latex?

2003-01-23 Thread Morgan Kelly
Hi

is there any step-by-step guide to setting up and using preview-latex with lyx 
1.3pre2/cvs?

If not would somebody post one for the benefit of all us ordinary lyxers?

thanks

Morgan



How to preview-latex?

2003-01-23 Thread Morgan Kelly
Hi

is there any step-by-step guide to setting up and using preview-latex with lyx 
1.3pre2/cvs?

If not would somebody post one for the benefit of all us ordinary lyxers?

thanks

Morgan



How to preview-latex?

2003-01-23 Thread Morgan Kelly
Hi

is there any step-by-step guide to setting up and using preview-latex with lyx 
1.3pre2/cvs?

If not would somebody post one for the benefit of all us ordinary lyxers?

thanks

Morgan



How to use AMS equation environments

2002-12-17 Thread Morgan Kelly
Hi

how do I input equations into the AMS align, alignat etc environments?

reLyX can import these fine from latex files but when I go to use the align 
environment, all I get are two blue boxes corresponding to a single equation. 
I can replicate these in new rows by CTRL-ENTER but I clearly need to 
generate more columns of these. I cannot find anything in the manuals.

What do I do?

thanks

Morgan



Re: How to use AMS equation environments

2002-12-17 Thread Morgan Kelly
 M-m c i does the job fine. 

many thanks

Morgan



On Tue 17 Dec 2002 12:23, you wrote:
 On Tue, Dec 17, 2002 at 12:06:38PM +, Morgan Kelly wrote:
  What do I do?

 You could start with telling us the version of LyX you use.

 M-m c i  for 'math column insert' might help in a few cases.

 Andre'




How to use AMS equation environments

2002-12-17 Thread Morgan Kelly
Hi

how do I input equations into the AMS align, alignat etc environments?

reLyX can import these fine from latex files but when I go to use the align 
environment, all I get are two blue boxes corresponding to a single equation. 
I can replicate these in new rows by CTRL-ENTER but I clearly need to 
generate more columns of these. I cannot find anything in the manuals.

What do I do?

thanks

Morgan



Re: How to use AMS equation environments

2002-12-17 Thread Morgan Kelly
 M-m c i does the job fine. 

many thanks

Morgan



On Tue 17 Dec 2002 12:23, you wrote:
 On Tue, Dec 17, 2002 at 12:06:38PM +, Morgan Kelly wrote:
  What do I do?

 You could start with telling us the version of LyX you use.

 M-m c i  for 'math column insert' might help in a few cases.

 Andre'




How to use AMS equation environments

2002-12-17 Thread Morgan Kelly
Hi

how do I input equations into the AMS align, alignat etc environments?

reLyX can import these fine from latex files but when I go to use the align 
environment, all I get are two blue boxes corresponding to a single equation. 
I can replicate these in new rows by CTRL-ENTER but I clearly need to 
generate more columns of these. I cannot find anything in the manuals.

What do I do?

thanks

Morgan



Re: How to use AMS equation environments

2002-12-17 Thread Morgan Kelly
 M-m c i does the job fine. 

many thanks

Morgan



On Tue 17 Dec 2002 12:23, you wrote:
> On Tue, Dec 17, 2002 at 12:06:38PM +, Morgan Kelly wrote:
> > What do I do?
>
> You could start with telling us the version of LyX you use.
>
> M-m c i  for 'math column insert' might help in a few cases.
>
> Andre'




ps - eps lyx and bounding boxes

2002-11-27 Thread Matthew Kelly
Dear all,

I thought i might add a little to the ps  eps thread that is running. I
have been including epsi figure in my lyx documents that were created
from postscript files by ps2epsi. This mostly seems to work fine.
However for some of my figures the bounding box calculated by ps2epsi
must be slightly too small as the right edge or top is truncated.

Today I realized that include graphics works for these ps figures and
that manually setting the bounding box on these works fine (with clip
to bounding box checked). The only drawback is that pdflatex prints
empty space where these figures should be and i have to use  ps2pdf


Matt







ps - eps lyx and bounding boxes

2002-11-27 Thread Matthew Kelly
Dear all,

I thought i might add a little to the ps  eps thread that is running. I
have been including epsi figure in my lyx documents that were created
from postscript files by ps2epsi. This mostly seems to work fine.
However for some of my figures the bounding box calculated by ps2epsi
must be slightly too small as the right edge or top is truncated.

Today I realized that include graphics works for these ps figures and
that manually setting the bounding box on these works fine (with clip
to bounding box checked). The only drawback is that pdflatex prints
empty space where these figures should be and i have to use  ps2pdf


Matt







ps -> eps lyx and bounding boxes

2002-11-27 Thread Matthew Kelly
Dear all,

I thought i might add a little to the ps > eps thread that is running. I
have been including epsi figure in my lyx documents that were created
from postscript files by ps2epsi. This mostly seems to work fine.
However for some of my figures the bounding box calculated by ps2epsi
must be slightly too small as the right edge or top is truncated.

Today I realized that include graphics works for these ps figures and
that manually setting the bounding box on these works fine (with "clip
to bounding box" checked). The only drawback is that pdflatex prints
empty space where these figures should be and i have to use  ps2pdf


Matt







[Fwd: Lyx crash with complex table containg lots of math]

2002-10-03 Thread Matthew Kelly




---BeginMessage---

Hello all,

I seem to have found a bug when trying to create a complex table that
includes multicolumns and math. If i try and make another cell into
multicoumn (r12,c7:c8) lyx seems to co into a loop. Yet is seem to be
able to make any other combination of cell multi-column seems to work
although i have not tried all other combinations. 


Lyx and operating systems details
redhat 7.3
Lyx 1.2.1
xforms-0.88-4

Rather then attach the file and send it to everyone including those who
are not interested i can either email it personally or it there is a
link to it (Problem Table) at http://www-personal.une.edu.au/~mkelly5/
Note
(The problem cell has the following in it cov(Ai,Aj)t+cov(Ai,Aj)   )

Thanks in advance for you help or suggestion



Matt


---End Message---


[Fwd: Lyx crash with complex table containg lots of math]

2002-10-03 Thread Matthew Kelly




---BeginMessage---

Hello all,

I seem to have found a bug when trying to create a complex table that
includes multicolumns and math. If i try and make another cell into
multicoumn (r12,c7:c8) lyx seems to co into a loop. Yet is seem to be
able to make any other combination of cell multi-column seems to work
although i have not tried all other combinations. 


Lyx and operating systems details
redhat 7.3
Lyx 1.2.1
xforms-0.88-4

Rather then attach the file and send it to everyone including those who
are not interested i can either email it personally or it there is a
link to it (Problem Table) at http://www-personal.une.edu.au/~mkelly5/
Note
(The problem cell has the following in it cov(Ai,Aj)t+cov(Ai,Aj)   )

Thanks in advance for you help or suggestion



Matt


---End Message---


[Fwd: Lyx crash with complex table containg lots of math]

2002-10-03 Thread Matthew Kelly




--- Begin Message ---

Hello all,

I seem to have found a bug when trying to create a complex table that
includes multicolumns and math. If i try and make another cell into
multicoumn (r12,c7:c8) lyx seems to co into a loop. Yet is seem to be
able to make any other combination of cell multi-column seems to work
although i have not tried all other combinations. 


Lyx and operating systems details
redhat 7.3
Lyx 1.2.1
xforms-0.88-4

Rather then attach the file and send it to everyone including those who
are not interested i can either email it personally or it there is a
link to it (Problem Table) at http://www-personal.une.edu.au/~mkelly5/
Note
(The problem cell has the following in it cov(Ai,Aj)t+cov(Ai,Aj)   )

Thanks in advance for you help or suggestion



Matt


--- End Message ---


installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Hello,
I tried to rebuild the source RPM on Redhat 7.3 as instructed. 
(rpm --rebuild lyx-1.2.1-1.src.rpm)
However the rebuild did not work the following error message was
generated;

g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images
-I../../../src/ -I../../../src/frontends/
-I../../../src/frontends/controllers -I../../.. -I../../../boost
-isystem /usr/X11R6/include -O2 -march=i386 -mcpu=i686 -c Alert_pimpl.C
-MT Alert_pimpl.lo -MD -MP -MF .deps/Alert_pimpl.TPlo
In file included from Alert_pimpl.C:17:
xforms_helpers.h:17:26: forms.h: No such file or directory
Alert_pimpl.C:21:26: forms.h: No such file or directory
make[5]: *** [Alert_pimpl.lo] Error 1
make[5]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.94265 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.94265 (%build)



any suggestions

Thanks in advance!
Matty






installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Dear all,

I hope this helps any redhat users out there. I eventually managed to
get lyx 1.2.1 running on redhat 7.3.  I am definitely not an expert on
linux, redhat ect so if there is anything wrong or dangerous with the
following suggestions please point them out before i cause major damage
to others.

I tried to rebuild lyx using the the source file as suggested
(rpm --rebuild lyx-1.2.1-1.src.rpm) i recieved an error related in to
xforms.

I then uninstalled xforms-0.89-5 and replaced it with xforms-0.88-4

Then i tried installing lyx-1.2.1-1.rpm and rebiulding from
lyx-1.2.1-1.src.rpm, this still would not work (libstdc++-libc6.1-2.so.3
was now the problem)


However the good news is that recompiling the source code (generated
during rpm --rebuild lyx-1.2.1-1.src.rpm) using 
./configure and ./make worked  once xforms-0.88-4 was installed


Matty

On Fri, 2002-09-27 at 10:05, Rich Shepard wrote:
 On 27 Sep 2002, Matthew Kelly wrote:
 
  xforms_helpers.h:17:26: forms.h: No such file or directory
 
 Matty,
 
   Do you have the xforms package installed? If not, grab that first.
 
 Rich 
 
 Dr. Richard B. Shepard, President
 
Applied Ecosystem Services, Inc. (TM)
 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
  + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED]
  http://www.appl-ecosys.com
 





installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Hello,
I tried to rebuild the source RPM on Redhat 7.3 as instructed. 
(rpm --rebuild lyx-1.2.1-1.src.rpm)
However the rebuild did not work the following error message was
generated;

g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images
-I../../../src/ -I../../../src/frontends/
-I../../../src/frontends/controllers -I../../.. -I../../../boost
-isystem /usr/X11R6/include -O2 -march=i386 -mcpu=i686 -c Alert_pimpl.C
-MT Alert_pimpl.lo -MD -MP -MF .deps/Alert_pimpl.TPlo
In file included from Alert_pimpl.C:17:
xforms_helpers.h:17:26: forms.h: No such file or directory
Alert_pimpl.C:21:26: forms.h: No such file or directory
make[5]: *** [Alert_pimpl.lo] Error 1
make[5]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.94265 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.94265 (%build)



any suggestions

Thanks in advance!
Matty






installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Dear all,

I hope this helps any redhat users out there. I eventually managed to
get lyx 1.2.1 running on redhat 7.3.  I am definitely not an expert on
linux, redhat ect so if there is anything wrong or dangerous with the
following suggestions please point them out before i cause major damage
to others.

I tried to rebuild lyx using the the source file as suggested
(rpm --rebuild lyx-1.2.1-1.src.rpm) i recieved an error related in to
xforms.

I then uninstalled xforms-0.89-5 and replaced it with xforms-0.88-4

Then i tried installing lyx-1.2.1-1.rpm and rebiulding from
lyx-1.2.1-1.src.rpm, this still would not work (libstdc++-libc6.1-2.so.3
was now the problem)


However the good news is that recompiling the source code (generated
during rpm --rebuild lyx-1.2.1-1.src.rpm) using 
./configure and ./make worked  once xforms-0.88-4 was installed


Matty

On Fri, 2002-09-27 at 10:05, Rich Shepard wrote:
 On 27 Sep 2002, Matthew Kelly wrote:
 
  xforms_helpers.h:17:26: forms.h: No such file or directory
 
 Matty,
 
   Do you have the xforms package installed? If not, grab that first.
 
 Rich 
 
 Dr. Richard B. Shepard, President
 
Applied Ecosystem Services, Inc. (TM)
 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
  + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED]
  http://www.appl-ecosys.com
 





installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Hello,
I tried to rebuild the source RPM on Redhat 7.3 as instructed. 
(rpm --rebuild lyx-1.2.1-1.src.rpm)
However the rebuild did not work the following error message was
generated;

g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images
-I../../../src/ -I../../../src/frontends/
-I../../../src/frontends/controllers -I../../.. -I../../../boost
-isystem /usr/X11R6/include -O2 -march=i386 -mcpu=i686 -c Alert_pimpl.C
-MT Alert_pimpl.lo -MD -MP -MF .deps/Alert_pimpl.TPlo
In file included from Alert_pimpl.C:17:
xforms_helpers.h:17:26: forms.h: No such file or directory
Alert_pimpl.C:21:26: forms.h: No such file or directory
make[5]: *** [Alert_pimpl.lo] Error 1
make[5]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.94265 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.94265 (%build)



any suggestions

Thanks in advance!
Matty






installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Dear all,

I hope this helps any redhat users out there. I eventually managed to
get lyx 1.2.1 running on redhat 7.3.  I am definitely not an expert on
linux, redhat ect so if there is anything wrong or dangerous with the
following suggestions please point them out before i cause major damage
to others.

I tried to rebuild lyx using the the source file as suggested
(rpm --rebuild lyx-1.2.1-1.src.rpm) i recieved an error related in to
xforms.

I then uninstalled xforms-0.89-5 and replaced it with xforms-0.88-4

Then i tried installing lyx-1.2.1-1.rpm and rebiulding from
lyx-1.2.1-1.src.rpm, this still would not work (libstdc++-libc6.1-2.so.3
was now the problem)


However the good news is that recompiling the source code (generated
during rpm --rebuild lyx-1.2.1-1.src.rpm) using 
./configure and ./make worked  once xforms-0.88-4 was installed


Matty

On Fri, 2002-09-27 at 10:05, Rich Shepard wrote:
> On 27 Sep 2002, Matthew Kelly wrote:
> 
> > xforms_helpers.h:17:26: forms.h: No such file or directory
> 
> Matty,
> 
>   Do you have the xforms package installed? If not, grab that first.
> 
> Rich 
> 
> Dr. Richard B. Shepard, President
> 
>Applied Ecosystem Services, Inc. (TM)
> 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
>  + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED]
>  http://www.appl-ecosys.com
> 





Re: A new screenplay class

2001-11-03 Thread Ken Kelly

On Nov 03, 2001, Dekel Tsur wrote:
 On Thu, Nov 01, 2001 at 08:17:54AM -0500, Ken Kelly wrote:

   The speaker name and following dialogue (or parenthetical)
   should not be separated by so much space:

[...]

 Add the following lines to the layout file (I assume you use lyx 1.1.6fix3):
 
 Preamble
 \renewcommand{\speaker}[1]%
 {\filbreak
 \vspace{4bp}
 \hspace{\speakerindent}
 \sbox{\currentspeaker}{\uppercase{#1}}
 \usebox{\currentspeaker}
 }
 
 \rhead{\thepage}
 EndPreamble

  Thanks very much, Dekel.  I'm using lyx 1.1.4fix3 at the
  moment, but I'm doing a complete reinstall Very Soon Now,
  which will give me the latest version as of Mandrake 8.1.




Re: A new screenplay class

2001-11-03 Thread Ken Kelly

On Nov 03, 2001, Dekel Tsur wrote:
 On Thu, Nov 01, 2001 at 08:17:54AM -0500, Ken Kelly wrote:

   The speaker name and following dialogue (or parenthetical)
   should not be separated by so much space:

[...]

 Add the following lines to the layout file (I assume you use lyx 1.1.6fix3):
 
 Preamble
 \renewcommand{\speaker}[1]%
 {\filbreak
 \vspace{4bp}
 \hspace{\speakerindent}
 \sbox{\currentspeaker}{\uppercase{#1}}
 \usebox{\currentspeaker}
 }
 
 \rhead{\thepage}
 EndPreamble

  Thanks very much, Dekel.  I'm using lyx 1.1.4fix3 at the
  moment, but I'm doing a complete reinstall Very Soon Now,
  which will give me the latest version as of Mandrake 8.1.




Re: A new screenplay class

2001-11-03 Thread Ken Kelly

On Nov 03, 2001, Dekel Tsur wrote:
> On Thu, Nov 01, 2001 at 08:17:54AM -0500, Ken Kelly wrote:

>>   The speaker name and following dialogue (or parenthetical)
>>   should not be separated by so much space:

[...]

> Add the following lines to the layout file (I assume you use lyx 1.1.6fix3):
> 
> Preamble
> \renewcommand{\speaker}[1]%
> {\filbreak
> \vspace{4bp}
> \hspace{\speakerindent}
> \sbox{\currentspeaker}{\uppercase{#1}}
> \usebox{\currentspeaker}
> }
> 
> \rhead{\thepage}
> EndPreamble

  Thanks very much, Dekel.  I'm using lyx 1.1.4fix3 at the
  moment, but I'm doing a complete reinstall Very Soon Now,
  which will give me the latest version as of Mandrake 8.1.




A new screenplay class

2001-11-01 Thread Ken Kelly

  Hi, I'm interested in using lyx for screenplays, but the
  existing class (Hollywood) is not suitable.  I deleted
  some parts of the class that didn't work as expected (FADE
  IN/FADE OUT and the title page).  That left me with two
  problems remaining...

  The speaker name and following dialogue (or parenthetical)
  should not be separated by so much space:

KEN
It should be like this...

KEN

Instead of like this.

 The other problem is with the header: what it's like now
 is a page number terminated in a period, with a horizontal
 line separating the header from the body of the text.  What
 I need is a simple page number (preferably in the same
 typeface as the text) with no period or separating line.
 Could I just skip fancyhdr and put a page number to the
 upper right corner?

 One last thing: it would be nice to be able to associate
 uppercase with certain screen elements; that is, for the
 INT. and EXT., transitions, and speaker name to fold
 automatically to uppercase.  Is this just wishful thinking?

 Thanks for your time...




A new screenplay class

2001-11-01 Thread Ken Kelly

  Hi, I'm interested in using lyx for screenplays, but the
  existing class (Hollywood) is not suitable.  I deleted
  some parts of the class that didn't work as expected (FADE
  IN/FADE OUT and the title page).  That left me with two
  problems remaining...

  The speaker name and following dialogue (or parenthetical)
  should not be separated by so much space:

KEN
It should be like this...

KEN

Instead of like this.

 The other problem is with the header: what it's like now
 is a page number terminated in a period, with a horizontal
 line separating the header from the body of the text.  What
 I need is a simple page number (preferably in the same
 typeface as the text) with no period or separating line.
 Could I just skip fancyhdr and put a page number to the
 upper right corner?

 One last thing: it would be nice to be able to associate
 uppercase with certain screen elements; that is, for the
 INT. and EXT., transitions, and speaker name to fold
 automatically to uppercase.  Is this just wishful thinking?

 Thanks for your time...




A new screenplay class

2001-11-01 Thread Ken Kelly

  Hi, I'm interested in using lyx for screenplays, but the
  existing class (Hollywood) is not suitable.  I deleted
  some parts of the class that didn't work as expected (FADE
  IN/FADE OUT and the title page).  That left me with two
  problems remaining...

  The speaker name and following dialogue (or parenthetical)
  should not be separated by so much space:

KEN
It should be like this...

KEN

Instead of like this.

 The other problem is with the header: what it's like now
 is a page number terminated in a period, with a horizontal
 line separating the header from the body of the text.  What
 I need is a simple page number (preferably in the same
 typeface as the text) with no period or separating line.
 Could I just skip fancyhdr and put a page number to the
 upper right corner?

 One last thing: it would be nice to be able to associate
 uppercase with certain screen elements; that is, for the
 INT. and EXT., transitions, and speaker name to fold
 automatically to uppercase.  Is this just wishful thinking?

 Thanks for your time...




Installation failure under SuSE 6.4

2000-06-15 Thread Morgan Kelly

Hi,

Trying to install lyx 1.1.5 under SuSE 6.4 (with C++ installed) I am having
./configure fail with the message "Unable to find a working C++ compiler"

What changes do I need to make so that lyx can find crtbegin.o, cc1plus etc.

The relevant bit of config.log is below.

thanks,

Morgan




configure:1661: checking for a working C++ compiler
configure:1697: g++ -o conftestconftest.C  15
cpp: -lang-c++: linker input file unused since linking not done
ld: cannot open crtbegin.o: No such file or directory
configure: failed program was:

#line 1692 "configure"
#include "confdefs.h"

class foo { int bar; }; int main(){return(0);}
configure:1697: gcc -o conftestconftest.C  15
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure: failed program was:

#line 1692 "configure"
#include "confdefs.h"

class foo { int bar; }; int main(){return(0);}
configure:1697: c++ -o conftestconftest.C  15
cpp: -lang-c++: linker input file unused since linking not done
ld: cannot open crtbegin.o: No such file or directory



Installation failure under SuSE 6.4

2000-06-15 Thread Morgan Kelly

Hi,

Trying to install lyx 1.1.5 under SuSE 6.4 (with C++ installed) I am having
./configure fail with the message "Unable to find a working C++ compiler"

What changes do I need to make so that lyx can find crtbegin.o, cc1plus etc.

The relevant bit of config.log is below.

thanks,

Morgan




configure:1661: checking for a working C++ compiler
configure:1697: g++ -o conftestconftest.C  15
cpp: -lang-c++: linker input file unused since linking not done
ld: cannot open crtbegin.o: No such file or directory
configure: failed program was:

#line 1692 "configure"
#include "confdefs.h"

class foo { int bar; }; int main(){return(0);}
configure:1697: gcc -o conftestconftest.C  15
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure: failed program was:

#line 1692 "configure"
#include "confdefs.h"

class foo { int bar; }; int main(){return(0);}
configure:1697: c++ -o conftestconftest.C  15
cpp: -lang-c++: linker input file unused since linking not done
ld: cannot open crtbegin.o: No such file or directory



Installation failure under SuSE 6.4

2000-06-15 Thread Morgan Kelly

Hi,

Trying to install lyx 1.1.5 under SuSE 6.4 (with C++ installed) I am having
./configure fail with the message "Unable to find a working C++ compiler"

What changes do I need to make so that lyx can find crtbegin.o, cc1plus etc.

The relevant bit of config.log is below.

thanks,

Morgan




configure:1661: checking for a working C++ compiler
configure:1697: g++ -o conftestconftest.C  1>&5
cpp: -lang-c++: linker input file unused since linking not done
ld: cannot open crtbegin.o: No such file or directory
configure: failed program was:

#line 1692 "configure"
#include "confdefs.h"

class foo { int bar; }; int main(){return(0);}
configure:1697: gcc -o conftestconftest.C  1>&5
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure: failed program was:

#line 1692 "configure"
#include "confdefs.h"

class foo { int bar; }; int main(){return(0);}
configure:1697: c++ -o conftestconftest.C  1>&5
cpp: -lang-c++: linker input file unused since linking not done
ld: cannot open crtbegin.o: No such file or directory