llncs.layout

2009-05-21 Thread William R. Buckley
I removed from my computer LyX 1.5.4, then did an install of 1.6.2 using
the file

LyX-1.6.2-1-Installer-Bundle.exe

file on my WinXP SP3 system, and then loaded a file which had been
processed with LyX 1.5.4, and I obtained the dreaded message of

LyX: Document class not available

which includes the text

The layout file requested by this document, llncs.layout, is not usable.
This is probably because a LaTeX class or style file required by it is not
available.  See the Customization documentation for more information.
LyX will not be able to produce output.

Now, it happens that the file llncs.layout is found in the directory

c:/Program Files/LyX16/Resources/layouts


Hence, I don't know what to make of the error message.

What am I missing?  I looked in the archives, and found statements
there which suggest that this problem was corrected in version 1.2.0

My experience is that LyX generally works well, even if a few gotcha's
occur early in the process.  Since I have used LyX for only one paper,
and that about one year ago, I don't remember many details of the
gotcha's I then faced, nor how to overcome them.

William R. Buckley 



Algorithm float on more pages

2009-05-21 Thread Vito De Tullio
Hi all.

I'm using LyX, and I'm stucked in a problem: I'm inserting pseudo-code (with
some math elements inside) in a algorithm float.
When I print / create a pdf the float it's bigger than the page, but it
doesn't automatically split itself.

Is there a way to tell the float that it's off the border?

-- 
By ZeD



Re: llncs.layout

2009-05-21 Thread Uwe Stöhr

William R. Buckley schrieb:


LyX: Document class not available

Now, it happens that the file llncs.layout is found in the directory
c:/Program Files/LyX16/Resources/layouts


The error message said that the layout is not usable, not that it is not available. A layout file is 
the connection between LyX and a LaTeX document class. Since the llncs class is not available for 
free on the LaTeX servers, it cannot be installed together with LyX automatically.


You can get llncs from here:
http://www.springer.com/computer/lncs?SGWID=0-164-7-72376-0
(http://www.springer.com/cda/content/document/cda_downloaddocument/llncs2e.zip?SGWID=0-0-45-161208-0)

install it to MiKTeX and refresh afterwards MiKTeX's file name database using MiKTeX's options 
program. Finally reconfigure LyX (Tools-Reconfigure).


regards Uwe


coloured background in header and margin

2009-05-21 Thread Christiaan Pauw

Hi Everybody

Is it possible to use background colours in a header, footer and  
margin (or part of a each) only. I want to create a layout for a  
report that looks something like this:


odd page

|coloured background| Chapterpage# |
|   _|  |
|c  |   |   
|o  |   |
|l  |   |
|o  |   |
|r  |   |
|e  |   |
|d  |   |
|   |   |
|   |   |
|___|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|coloured background footer_ |

even page

|__colored background header|
|   |   
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   ___ |
|   |   |
|   |c  |
|   |o  |
|   |l  |
|   |o  |
|   |r  |
|   |f  |
|   |i  |
||ll__  |
|_page#  Chapter___ __ |

Any ideas?

regards
Christiaan









Christiaan Pauw
Tel   +27 44 6950 942
Mob +27 82 557 4328
www.nova.org.za






Re: coloured background in header and margin

2009-05-21 Thread Rich Shepard

On Thu, 21 May 2009, Christiaan Pauw wrote:


Is it possible to use background colours in a header, footer and margin
(or part of a each) only. I want to create a layout for a report that
looks something like this:


  This sort of page layout is best done by frames in a page layout
application such as Scribus. LyX/LaTeX is text/equation oriented as is used
for most books, articles, and reports. A combination of display graphics and
text is usually in the province of page layout software.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: coloured background in header and margin

2009-05-21 Thread Uwe Stöhr

Christiaan Pauw schrieb:

Is it possible to use background colours in a header, footer and margin 
(or part of a each) only. I want to create a layout for a report that 
looks something like this:...


Coloring the header and footer should be possible, but coloring the margin note seems not to be 
possible.


regards Uwe


Lyx 1.6.2 Listing with label and caption

2009-05-21 Thread Maximilian Melcher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

im trying to get lyx to display a listing with a caption and a label so
that i can refer to it later. For example like here:
http://img36.imageshack.us/img36/6514/listing.jpg

Does it work without ERT?

Thx for your time and help
M.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD4DBQFKFYasAN3KoJkNYUsRAicFAJdYuLARm6VXeitur4p3gpHrlbSNAJ9M2tO4
GJ5KfxjbZXE3FLu1Okaclg==
=fmRA
-END PGP SIGNATURE-


Re: Lyx 1.6.2 Listing with label and caption

2009-05-21 Thread Jürgen Spitzmüller
Maximilian Melcher wrote:
 im trying to get lyx to display a listing with a caption and a label so
 that i can refer to it later. For example like here:
 http://img36.imageshack.us/img36/6514/listing.jpg

 Does it work without ERT?

Yes, you can insert the label to the caption the usual way.

1. Insert  Program Listing
2. Insert  Caption
3. Insert  Label

HTH,
Jürgen


article-style TOC for article (paper)

2009-05-21 Thread Kosta Welke
Hi!

I really like the article (paper) layout, but I dislike the table of
contents style. What is the easiest way (or is there a way) to have an
article-style toc for article (paper)?

Thanks in Advance,

Kosta


Re: Lyx 1.6.2 Listing with label and caption

2009-05-21 Thread Uwe Stöhr

Maximilian Melcher schrieb:


im trying to get lyx to display a listing with a caption and a label so
that i can refer to it later. For example like here:
http://img36.imageshack.us/img36/6514/listing.jpg

Does it work without ERT?


Yes, see the EmbeddedObjects manual that you find in LyX's Help menu.

regards Uwe


Is PDF the best graphic format for LyX?

2009-05-21 Thread Steve Litt
Hi all,

Is it my imagination, or do things go MUCH better when graphics included in a 
LyX diagram are PDFs? That's what I've found. I've found them infinitely and 
continuously scalable, and if I create the PDF with embed fonts, I think 
they work anywhere.

I'm so old I remember the days when LyX seemed to work reliably only 
with .eps. THen it could work with .png/.jpg/.gif. But nowadays my personal 
experience is that PDF images inside the doc work much better than any of 
those other formats ever did. Is this a placebo effect, or do PDFs really 
work much, much better as LyX doc graphics?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Kosta Welke
On Thu, 21 May 2009 16:52:43 -0400
Steve Litt sl...@troubleshooters.com wrote:

 Is it my imagination, or do things go MUCH better when graphics
 included in a LyX diagram are PDFs? That's what I've found. I've
 found them infinitely and continuously scalable, and if I create the
 PDF with embed fonts, I think they work anywhere.

Note however that if there are e.g. a lot of gradients, some pdf
viewers will show an ugly, incomplete version of the pdf (e.g. evince),
while others take forever to render the page (e.g. adobe reader). I
gave up on vector graphics and use high-res pngs for everything with
gradients or lots of layers.

HTH,

Kosta


Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Steve Litt
On Thursday 21 May 2009 05:02:26 pm Kosta Welke wrote:
 On Thu, 21 May 2009 16:52:43 -0400

 Steve Litt sl...@troubleshooters.com wrote:
  Is it my imagination, or do things go MUCH better when graphics
  included in a LyX diagram are PDFs? That's what I've found. I've
  found them infinitely and continuously scalable, and if I create the
  PDF with embed fonts, I think they work anywhere.

 Note however that if there are e.g. a lot of gradients, some pdf
 viewers will show an ugly, incomplete version of the pdf (e.g. evince),
 while others take forever to render the page (e.g. adobe reader). I
 gave up on vector graphics and use high-res pngs for everything with
 gradients or lots of layers.

Thanks Kosta,

THIS is why I like LyX-users list. I'll definitely keep my eye out for 
problems with slow rendering. I have no access to evince so I can't test 
that, but I can sure test Acroread. I'll keep in mind to think twice before 
PDFizing graphics with lots of layers or gradients. Most of my diagrams are 
rather simple, but I'll keep my eyes open.

Thanks for the heads-up.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Rich Shepard

On Thu, 21 May 2009, Steve Litt wrote:


Is it my imagination, or do things go MUCH better when graphics included
in a LyX diagram are PDFs? That's what I've found. I've found them
infinitely and continuously scalable, and if I create the PDF with embed
fonts, I think they work anywhere.



I'm so old I remember the days when LyX seemed to work reliably only with
.eps. THen it could work with .png/.jpg/.gif. But nowadays my personal
experience is that PDF images inside the doc work much better than any of
those other formats ever did. Is this a placebo effect, or do PDFs really
work much, much better as LyX doc graphics?


Steve,

  Perhaps not your imagination but your perception. I use .eps, .png, .jpg
(rarely), and .pdf with equal success.

  When I use .eps format graphics I view using dvips and compile using
LaTeX-dvips-ps2pdf. When I use .png and .pdf format graphics I view (and
compile) using pdflatex. Regardless of graphic format I can tweak the
bounding box size and scale both display and output size.

  The graphic format I use depends on whether the image is vector or raster.
However, I have used GIS (raster) images as .eps or .png files and had no
problems with LyX converting them to .pdf during compilation.

  Almost all my pdf documents are created with LyX; the occasional one with
OO.o. Fonts are embedded by default and no one's complained about not being
able to view them regardless of the platform they use.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Rich Shepard

On Thu, 21 May 2009, Steve Litt wrote:


Most of my diagrams are rather simple, but I'll keep my eyes open.


Steve,

  For simple diagrams consider creating them with PSTricks. You will create
much better graphics than with GUI tools as lines are perfectly joined.
LaTeX is used for the text, and the .eps files work flawlessly in LyX/LaTeX.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Les Denham
On Thursday 21 May 2009, Steve Litt wrote:
 Hi all,

 Is it my imagination, or do things go MUCH better when graphics included in
 a LyX diagram are PDFs? That's what I've found. I've found them infinitely
 and continuously scalable, and if I create the PDF with embed fonts, I
 think they work anywhere.

 I'm so old I remember the days when LyX seemed to work reliably only
 with .eps. THen it could work with .png/.jpg/.gif. But nowadays my personal
 experience is that PDF images inside the doc work much better than any of
 those other formats ever did. Is this a placebo effect, or do PDFs really
 work much, much better as LyX doc graphics?

Steve,

In general, I try to use PDF whenever the graphical material is mainly lines 
and text. For solid colors it probably works the best too. But for 
gradational shading I usually use PNG.  The problem with PNG is if you make 
the resolution high enough to retain really sharp edges, the file size 
becomes very large.

I also use JPEG for photographs: PNG works fine too, but the files are larger.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: coloured background in header and margin

2009-05-21 Thread Michael Joyner
What about creating a watermark as a PDF, sized correctly, then using
the watermark package to have it on every page?

Christiaan Pauw wrote:
 Hi Everybody
 
 Is it possible to use background colours in a header, footer and margin
 (or part of a each) only. I want to create a layout for a report that
 looks something like this:
 
 odd page
 
 |coloured background| Chapter page# |
 |_||
 |c||   
 |o||
 |l||
 |o||
 |r||
 |e||
 |d||
 |||
 |||
 |___||
 ||
 ||
 ||
 ||
 ||
 ||
 ||
 ||
 ||
 |coloured background footer_ |
 
 even page
 
 |__colored background header|
 ||   
 ||
 ||
 ||
 ||
 ||
 ||
 ||
 ||
 |___|
 |||
 ||c|
 ||o|
 ||l|
 ||o|
 ||r|
 ||f|
 ||i|
 ||ll__|
 |_page#  Chapter___ __ |
 
 Any ideas?
 
 regards
 Christiaan
 
 
 
 
 
 
 
 
 
 Christiaan Pauw
 Tel   +27 44 6950 942
 Mob +27 82 557 4328
 www.nova.org.za
 
 
 
 
 



Re: article-style TOC for article (paper)

2009-05-21 Thread Richard Heck

Kosta Welke wrote:

Hi!

I really like the article (paper) layout, but I dislike the table of
contents style. What is the easiest way (or is there a way) to have an
article-style toc for article (paper)?

  
I don't have time to look into this right now, but if I did I'd look at 
the article.cls and paper.cls files and see how each of them defines 
\maketitle. Maybe you can just copy the definition from the one into the 
other.


rh



Re: coloured background in header and margin

2009-05-21 Thread Michael Joyner
... There are more complex commands which will let you insert things in
the upper left on odd numbered pages, etc., but we will refer you to the
fancyhdr package documentation for more information. (Find the file
fancyhdr.dvi.)

As a final example, it is possible to include an image in the header or
footer. Suppose you want to put a company logo in the upper lefthand
corner. You might try something like

\lhead{\resizebox{1in}{!}{\includegraphics{logo.eps}}}

(you may need to preface this with \usepackage{graphics} if you don't
include graphics elsewhere in your document) ...

[See Reference: Help - Additional Features (Extended.lyx)]

Christiaan Pauw wrote:
 Hi Everybody
 
 Is it possible to use background colours in a header, footer and margin
 (or part of a each) only. I want to create a layout for a report that
 looks something like this:
 
 odd page
 
 |coloured background| Chapter page# |
 |_||
 ||ll__|
 |_page#  Chapter___ __ |
 
 Any ideas?
 
 regards
 Christiaan
 



llncs.layout

2009-05-21 Thread William R. Buckley
I removed from my computer LyX 1.5.4, then did an install of 1.6.2 using
the file

LyX-1.6.2-1-Installer-Bundle.exe

file on my WinXP SP3 system, and then loaded a file which had been
processed with LyX 1.5.4, and I obtained the dreaded message of

LyX: Document class not available

which includes the text

The layout file requested by this document, llncs.layout, is not usable.
This is probably because a LaTeX class or style file required by it is not
available.  See the Customization documentation for more information.
LyX will not be able to produce output.

Now, it happens that the file llncs.layout is found in the directory

c:/Program Files/LyX16/Resources/layouts


Hence, I don't know what to make of the error message.

What am I missing?  I looked in the archives, and found statements
there which suggest that this problem was corrected in version 1.2.0

My experience is that LyX generally works well, even if a few gotcha's
occur early in the process.  Since I have used LyX for only one paper,
and that about one year ago, I don't remember many details of the
gotcha's I then faced, nor how to overcome them.

William R. Buckley 



Algorithm float on more pages

2009-05-21 Thread Vito De Tullio
Hi all.

I'm using LyX, and I'm stucked in a problem: I'm inserting pseudo-code (with
some math elements inside) in a algorithm float.
When I print / create a pdf the float it's bigger than the page, but it
doesn't automatically split itself.

Is there a way to tell the float that it's off the border?

-- 
By ZeD



Re: llncs.layout

2009-05-21 Thread Uwe Stöhr

William R. Buckley schrieb:


LyX: Document class not available

Now, it happens that the file llncs.layout is found in the directory
c:/Program Files/LyX16/Resources/layouts


The error message said that the layout is not usable, not that it is not available. A layout file is 
the connection between LyX and a LaTeX document class. Since the llncs class is not available for 
free on the LaTeX servers, it cannot be installed together with LyX automatically.


You can get llncs from here:
http://www.springer.com/computer/lncs?SGWID=0-164-7-72376-0
(http://www.springer.com/cda/content/document/cda_downloaddocument/llncs2e.zip?SGWID=0-0-45-161208-0)

install it to MiKTeX and refresh afterwards MiKTeX's file name database using MiKTeX's options 
program. Finally reconfigure LyX (Tools-Reconfigure).


regards Uwe


coloured background in header and margin

2009-05-21 Thread Christiaan Pauw

Hi Everybody

Is it possible to use background colours in a header, footer and  
margin (or part of a each) only. I want to create a layout for a  
report that looks something like this:


odd page

|coloured background| Chapterpage# |
|   _|  |
|c  |   |   
|o  |   |
|l  |   |
|o  |   |
|r  |   |
|e  |   |
|d  |   |
|   |   |
|   |   |
|___|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|coloured background footer_ |

even page

|__colored background header|
|   |   
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   ___ |
|   |   |
|   |c  |
|   |o  |
|   |l  |
|   |o  |
|   |r  |
|   |f  |
|   |i  |
||ll__  |
|_page#  Chapter___ __ |

Any ideas?

regards
Christiaan









Christiaan Pauw
Tel   +27 44 6950 942
Mob +27 82 557 4328
www.nova.org.za






Re: coloured background in header and margin

2009-05-21 Thread Rich Shepard

On Thu, 21 May 2009, Christiaan Pauw wrote:


Is it possible to use background colours in a header, footer and margin
(or part of a each) only. I want to create a layout for a report that
looks something like this:


  This sort of page layout is best done by frames in a page layout
application such as Scribus. LyX/LaTeX is text/equation oriented as is used
for most books, articles, and reports. A combination of display graphics and
text is usually in the province of page layout software.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: coloured background in header and margin

2009-05-21 Thread Uwe Stöhr

Christiaan Pauw schrieb:

Is it possible to use background colours in a header, footer and margin 
(or part of a each) only. I want to create a layout for a report that 
looks something like this:...


Coloring the header and footer should be possible, but coloring the margin note seems not to be 
possible.


regards Uwe


Lyx 1.6.2 Listing with label and caption

2009-05-21 Thread Maximilian Melcher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

im trying to get lyx to display a listing with a caption and a label so
that i can refer to it later. For example like here:
http://img36.imageshack.us/img36/6514/listing.jpg

Does it work without ERT?

Thx for your time and help
M.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD4DBQFKFYasAN3KoJkNYUsRAicFAJdYuLARm6VXeitur4p3gpHrlbSNAJ9M2tO4
GJ5KfxjbZXE3FLu1Okaclg==
=fmRA
-END PGP SIGNATURE-


Re: Lyx 1.6.2 Listing with label and caption

2009-05-21 Thread Jürgen Spitzmüller
Maximilian Melcher wrote:
 im trying to get lyx to display a listing with a caption and a label so
 that i can refer to it later. For example like here:
 http://img36.imageshack.us/img36/6514/listing.jpg

 Does it work without ERT?

Yes, you can insert the label to the caption the usual way.

1. Insert  Program Listing
2. Insert  Caption
3. Insert  Label

HTH,
Jürgen


article-style TOC for article (paper)

2009-05-21 Thread Kosta Welke
Hi!

I really like the article (paper) layout, but I dislike the table of
contents style. What is the easiest way (or is there a way) to have an
article-style toc for article (paper)?

Thanks in Advance,

Kosta


Re: Lyx 1.6.2 Listing with label and caption

2009-05-21 Thread Uwe Stöhr

Maximilian Melcher schrieb:


im trying to get lyx to display a listing with a caption and a label so
that i can refer to it later. For example like here:
http://img36.imageshack.us/img36/6514/listing.jpg

Does it work without ERT?


Yes, see the EmbeddedObjects manual that you find in LyX's Help menu.

regards Uwe


Is PDF the best graphic format for LyX?

2009-05-21 Thread Steve Litt
Hi all,

Is it my imagination, or do things go MUCH better when graphics included in a 
LyX diagram are PDFs? That's what I've found. I've found them infinitely and 
continuously scalable, and if I create the PDF with embed fonts, I think 
they work anywhere.

I'm so old I remember the days when LyX seemed to work reliably only 
with .eps. THen it could work with .png/.jpg/.gif. But nowadays my personal 
experience is that PDF images inside the doc work much better than any of 
those other formats ever did. Is this a placebo effect, or do PDFs really 
work much, much better as LyX doc graphics?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Kosta Welke
On Thu, 21 May 2009 16:52:43 -0400
Steve Litt sl...@troubleshooters.com wrote:

 Is it my imagination, or do things go MUCH better when graphics
 included in a LyX diagram are PDFs? That's what I've found. I've
 found them infinitely and continuously scalable, and if I create the
 PDF with embed fonts, I think they work anywhere.

Note however that if there are e.g. a lot of gradients, some pdf
viewers will show an ugly, incomplete version of the pdf (e.g. evince),
while others take forever to render the page (e.g. adobe reader). I
gave up on vector graphics and use high-res pngs for everything with
gradients or lots of layers.

HTH,

Kosta


Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Steve Litt
On Thursday 21 May 2009 05:02:26 pm Kosta Welke wrote:
 On Thu, 21 May 2009 16:52:43 -0400

 Steve Litt sl...@troubleshooters.com wrote:
  Is it my imagination, or do things go MUCH better when graphics
  included in a LyX diagram are PDFs? That's what I've found. I've
  found them infinitely and continuously scalable, and if I create the
  PDF with embed fonts, I think they work anywhere.

 Note however that if there are e.g. a lot of gradients, some pdf
 viewers will show an ugly, incomplete version of the pdf (e.g. evince),
 while others take forever to render the page (e.g. adobe reader). I
 gave up on vector graphics and use high-res pngs for everything with
 gradients or lots of layers.

Thanks Kosta,

THIS is why I like LyX-users list. I'll definitely keep my eye out for 
problems with slow rendering. I have no access to evince so I can't test 
that, but I can sure test Acroread. I'll keep in mind to think twice before 
PDFizing graphics with lots of layers or gradients. Most of my diagrams are 
rather simple, but I'll keep my eyes open.

Thanks for the heads-up.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Rich Shepard

On Thu, 21 May 2009, Steve Litt wrote:


Is it my imagination, or do things go MUCH better when graphics included
in a LyX diagram are PDFs? That's what I've found. I've found them
infinitely and continuously scalable, and if I create the PDF with embed
fonts, I think they work anywhere.



I'm so old I remember the days when LyX seemed to work reliably only with
.eps. THen it could work with .png/.jpg/.gif. But nowadays my personal
experience is that PDF images inside the doc work much better than any of
those other formats ever did. Is this a placebo effect, or do PDFs really
work much, much better as LyX doc graphics?


Steve,

  Perhaps not your imagination but your perception. I use .eps, .png, .jpg
(rarely), and .pdf with equal success.

  When I use .eps format graphics I view using dvips and compile using
LaTeX-dvips-ps2pdf. When I use .png and .pdf format graphics I view (and
compile) using pdflatex. Regardless of graphic format I can tweak the
bounding box size and scale both display and output size.

  The graphic format I use depends on whether the image is vector or raster.
However, I have used GIS (raster) images as .eps or .png files and had no
problems with LyX converting them to .pdf during compilation.

  Almost all my pdf documents are created with LyX; the occasional one with
OO.o. Fonts are embedded by default and no one's complained about not being
able to view them regardless of the platform they use.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Rich Shepard

On Thu, 21 May 2009, Steve Litt wrote:


Most of my diagrams are rather simple, but I'll keep my eyes open.


Steve,

  For simple diagrams consider creating them with PSTricks. You will create
much better graphics than with GUI tools as lines are perfectly joined.
LaTeX is used for the text, and the .eps files work flawlessly in LyX/LaTeX.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Les Denham
On Thursday 21 May 2009, Steve Litt wrote:
 Hi all,

 Is it my imagination, or do things go MUCH better when graphics included in
 a LyX diagram are PDFs? That's what I've found. I've found them infinitely
 and continuously scalable, and if I create the PDF with embed fonts, I
 think they work anywhere.

 I'm so old I remember the days when LyX seemed to work reliably only
 with .eps. THen it could work with .png/.jpg/.gif. But nowadays my personal
 experience is that PDF images inside the doc work much better than any of
 those other formats ever did. Is this a placebo effect, or do PDFs really
 work much, much better as LyX doc graphics?

Steve,

In general, I try to use PDF whenever the graphical material is mainly lines 
and text. For solid colors it probably works the best too. But for 
gradational shading I usually use PNG.  The problem with PNG is if you make 
the resolution high enough to retain really sharp edges, the file size 
becomes very large.

I also use JPEG for photographs: PNG works fine too, but the files are larger.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: coloured background in header and margin

2009-05-21 Thread Michael Joyner
What about creating a watermark as a PDF, sized correctly, then using
the watermark package to have it on every page?

Christiaan Pauw wrote:
 Hi Everybody
 
 Is it possible to use background colours in a header, footer and margin
 (or part of a each) only. I want to create a layout for a report that
 looks something like this:
 
 odd page
 
 |coloured background| Chapter page# |
 |_||
 |c||   
 |o||
 |l||
 |o||
 |r||
 |e||
 |d||
 |||
 |||
 |___||
 ||
 ||
 ||
 ||
 ||
 ||
 ||
 ||
 ||
 |coloured background footer_ |
 
 even page
 
 |__colored background header|
 ||   
 ||
 ||
 ||
 ||
 ||
 ||
 ||
 ||
 |___|
 |||
 ||c|
 ||o|
 ||l|
 ||o|
 ||r|
 ||f|
 ||i|
 ||ll__|
 |_page#  Chapter___ __ |
 
 Any ideas?
 
 regards
 Christiaan
 
 
 
 
 
 
 
 
 
 Christiaan Pauw
 Tel   +27 44 6950 942
 Mob +27 82 557 4328
 www.nova.org.za
 
 
 
 
 



Re: article-style TOC for article (paper)

2009-05-21 Thread Richard Heck

Kosta Welke wrote:

Hi!

I really like the article (paper) layout, but I dislike the table of
contents style. What is the easiest way (or is there a way) to have an
article-style toc for article (paper)?

  
I don't have time to look into this right now, but if I did I'd look at 
the article.cls and paper.cls files and see how each of them defines 
\maketitle. Maybe you can just copy the definition from the one into the 
other.


rh



Re: coloured background in header and margin

2009-05-21 Thread Michael Joyner
... There are more complex commands which will let you insert things in
the upper left on odd numbered pages, etc., but we will refer you to the
fancyhdr package documentation for more information. (Find the file
fancyhdr.dvi.)

As a final example, it is possible to include an image in the header or
footer. Suppose you want to put a company logo in the upper lefthand
corner. You might try something like

\lhead{\resizebox{1in}{!}{\includegraphics{logo.eps}}}

(you may need to preface this with \usepackage{graphics} if you don't
include graphics elsewhere in your document) ...

[See Reference: Help - Additional Features (Extended.lyx)]

Christiaan Pauw wrote:
 Hi Everybody
 
 Is it possible to use background colours in a header, footer and margin
 (or part of a each) only. I want to create a layout for a report that
 looks something like this:
 
 odd page
 
 |coloured background| Chapter page# |
 |_||
 ||ll__|
 |_page#  Chapter___ __ |
 
 Any ideas?
 
 regards
 Christiaan
 



llncs.layout

2009-05-21 Thread William R. Buckley
I removed from my computer LyX 1.5.4, then did an install of 1.6.2 using
the file

LyX-1.6.2-1-Installer-Bundle.exe

file on my WinXP SP3 system, and then loaded a file which had been
processed with LyX 1.5.4, and I obtained the dreaded message of

LyX: Document class not available

which includes the text

"The layout file requested by this document, llncs.layout, is not usable.
This is probably because a LaTeX class or style file required by it is not
available.  See the Customization documentation for more information.
LyX will not be able to produce output."

Now, it happens that the file llncs.layout is found in the directory

c:/Program Files/LyX16/Resources/layouts


Hence, I don't know what to make of the error message.

What am I missing?  I looked in the archives, and found statements
there which suggest that this problem was corrected in version 1.2.0

My experience is that LyX generally works well, even if a few gotcha's
occur early in the process.  Since I have used LyX for only one paper,
and that about one year ago, I don't remember many details of the
gotcha's I then faced, nor how to overcome them.

William R. Buckley 



Algorithm float on more pages

2009-05-21 Thread Vito De Tullio
Hi all.

I'm using LyX, and I'm stucked in a problem: I'm inserting pseudo-code (with
some math elements inside) in a algorithm float.
When I print / create a pdf the float it's bigger than the page, but it
doesn't automatically "split" itself.

Is there a way to tell the float that it's off the border?

-- 
By ZeD



Re: llncs.layout

2009-05-21 Thread Uwe Stöhr

William R. Buckley schrieb:


LyX: Document class not available

Now, it happens that the file llncs.layout is found in the directory
c:/Program Files/LyX16/Resources/layouts


The error message said that the layout is not usable, not that it is not available. A layout file is 
the connection between LyX and a LaTeX document class. Since the llncs class is not available for 
free on the LaTeX servers, it cannot be installed together with LyX automatically.


You can get llncs from here:
http://www.springer.com/computer/lncs?SGWID=0-164-7-72376-0
(http://www.springer.com/cda/content/document/cda_downloaddocument/llncs2e.zip?SGWID=0-0-45-161208-0)

install it to MiKTeX and refresh afterwards MiKTeX's file name database using MiKTeX's options 
program. Finally reconfigure LyX (Tools->Reconfigure).


regards Uwe


coloured background in header and margin

2009-05-21 Thread Christiaan Pauw

Hi Everybody

Is it possible to use background colours in a header, footer and  
margin (or part of a each) only. I want to create a layout for a  
report that looks something like this:


odd page

|coloured background| Chapterpage# |
|   _|  |
|c  |   |   
|o  |   |
|l  |   |
|o  |   |
|r  |   |
|e  |   |
|d  |   |
|   |   |
|   |   |
|___|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|coloured background footer_ |

even page

|__colored background header|
|   |   
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   |
|   ___ |
|   |   |
|   |c  |
|   |o  |
|   |l  |
|   |o  |
|   |r  |
|   |f  |
|   |i  |
||ll__  |
|_page#  Chapter___ __ |

Any ideas?

regards
Christiaan









Christiaan Pauw
Tel   +27 44 6950 942
Mob +27 82 557 4328
www.nova.org.za






Re: coloured background in header and margin

2009-05-21 Thread Rich Shepard

On Thu, 21 May 2009, Christiaan Pauw wrote:


Is it possible to use background colours in a header, footer and margin
(or part of a each) only. I want to create a layout for a report that
looks something like this:


  This sort of page layout is best done by frames in a page layout
application such as Scribus. LyX/LaTeX is text/equation oriented as is used
for most books, articles, and reports. A combination of display graphics and
text is usually in the province of page layout software.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: coloured background in header and margin

2009-05-21 Thread Uwe Stöhr

Christiaan Pauw schrieb:

Is it possible to use background colours in a header, footer and margin 
(or part of a each) only. I want to create a layout for a report that 
looks something like this:...


Coloring the header and footer should be possible, but coloring the margin note seems not to be 
possible.


regards Uwe


Lyx 1.6.2 Listing with label and caption

2009-05-21 Thread Maximilian Melcher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

im trying to get lyx to display a listing with a caption and a label so
that i can refer to it later. For example like here:
http://img36.imageshack.us/img36/6514/listing.jpg

Does it work without ERT?

Thx for your time and help
M.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD4DBQFKFYasAN3KoJkNYUsRAicFAJdYuLARm6VXeitur4p3gpHrlbSNAJ9M2tO4
GJ5KfxjbZXE3FLu1Okaclg==
=fmRA
-END PGP SIGNATURE-


Re: Lyx 1.6.2 Listing with label and caption

2009-05-21 Thread Jürgen Spitzmüller
Maximilian Melcher wrote:
> im trying to get lyx to display a listing with a caption and a label so
> that i can refer to it later. For example like here:
> http://img36.imageshack.us/img36/6514/listing.jpg
>
> Does it work without ERT?

Yes, you can insert the label to the caption the usual way.

1. Insert > Program Listing
2. Insert > Caption
3. Insert > Label

HTH,
Jürgen


article-style TOC for article (paper)

2009-05-21 Thread Kosta Welke
Hi!

I really like the "article (paper)" layout, but I dislike the table of
contents style. What is the easiest way (or is there a way) to have an
"article"-style toc for "article (paper)"?

Thanks in Advance,

Kosta


Re: Lyx 1.6.2 Listing with label and caption

2009-05-21 Thread Uwe Stöhr

Maximilian Melcher schrieb:


im trying to get lyx to display a listing with a caption and a label so
that i can refer to it later. For example like here:
http://img36.imageshack.us/img36/6514/listing.jpg

Does it work without ERT?


Yes, see the EmbeddedObjects manual that you find in LyX's Help menu.

regards Uwe


Is PDF the best graphic format for LyX?

2009-05-21 Thread Steve Litt
Hi all,

Is it my imagination, or do things go MUCH better when graphics included in a 
LyX diagram are PDFs? That's what I've found. I've found them infinitely and 
continuously scalable, and if I create the PDF with "embed fonts", I think 
they work anywhere.

I'm so old I remember the days when LyX seemed to work reliably only 
with .eps. THen it could work with .png/.jpg/.gif. But nowadays my personal 
experience is that PDF images inside the doc work much better than any of 
those other formats ever did. Is this a placebo effect, or do PDFs really 
work much, much better as LyX doc graphics?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Kosta Welke
On Thu, 21 May 2009 16:52:43 -0400
Steve Litt  wrote:

> Is it my imagination, or do things go MUCH better when graphics
> included in a LyX diagram are PDFs? That's what I've found. I've
> found them infinitely and continuously scalable, and if I create the
> PDF with "embed fonts", I think they work anywhere.

Note however that if there are e.g. a lot of gradients, some pdf
viewers will show an ugly, incomplete version of the pdf (e.g. evince),
while others take forever to render the page (e.g. adobe reader). I
gave up on vector graphics and use high-res pngs for everything with
gradients or lots of layers.

HTH,

Kosta


Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Steve Litt
On Thursday 21 May 2009 05:02:26 pm Kosta Welke wrote:
> On Thu, 21 May 2009 16:52:43 -0400
>
> Steve Litt  wrote:
> > Is it my imagination, or do things go MUCH better when graphics
> > included in a LyX diagram are PDFs? That's what I've found. I've
> > found them infinitely and continuously scalable, and if I create the
> > PDF with "embed fonts", I think they work anywhere.
>
> Note however that if there are e.g. a lot of gradients, some pdf
> viewers will show an ugly, incomplete version of the pdf (e.g. evince),
> while others take forever to render the page (e.g. adobe reader). I
> gave up on vector graphics and use high-res pngs for everything with
> gradients or lots of layers.

Thanks Kosta,

THIS is why I like LyX-users list. I'll definitely keep my eye out for 
problems with slow rendering. I have no access to evince so I can't test 
that, but I can sure test Acroread. I'll keep in mind to think twice before 
PDFizing graphics with lots of layers or gradients. Most of my diagrams are 
rather simple, but I'll keep my eyes open.

Thanks for the heads-up.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Rich Shepard

On Thu, 21 May 2009, Steve Litt wrote:


Is it my imagination, or do things go MUCH better when graphics included
in a LyX diagram are PDFs? That's what I've found. I've found them
infinitely and continuously scalable, and if I create the PDF with "embed
fonts", I think they work anywhere.



I'm so old I remember the days when LyX seemed to work reliably only with
.eps. THen it could work with .png/.jpg/.gif. But nowadays my personal
experience is that PDF images inside the doc work much better than any of
those other formats ever did. Is this a placebo effect, or do PDFs really
work much, much better as LyX doc graphics?


Steve,

  Perhaps not your imagination but your perception. I use .eps, .png, .jpg
(rarely), and .pdf with equal success.

  When I use .eps format graphics I view using dvips and compile using
LaTeX->dvips->ps2pdf. When I use .png and .pdf format graphics I view (and
compile) using pdflatex. Regardless of graphic format I can tweak the
bounding box size and scale both display and output size.

  The graphic format I use depends on whether the image is vector or raster.
However, I have used GIS (raster) images as .eps or .png files and had no
problems with LyX converting them to .pdf during compilation.

  Almost all my pdf documents are created with LyX; the occasional one with
OO.o. Fonts are embedded by default and no one's complained about not being
able to view them regardless of the platform they use.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Rich Shepard

On Thu, 21 May 2009, Steve Litt wrote:


Most of my diagrams are rather simple, but I'll keep my eyes open.


Steve,

  For simple diagrams consider creating them with PSTricks. You will create
much better graphics than with GUI tools as lines are perfectly joined.
LaTeX is used for the text, and the .eps files work flawlessly in LyX/LaTeX.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Is PDF the best graphic format for LyX?

2009-05-21 Thread Les Denham
On Thursday 21 May 2009, Steve Litt wrote:
> Hi all,
>
> Is it my imagination, or do things go MUCH better when graphics included in
> a LyX diagram are PDFs? That's what I've found. I've found them infinitely
> and continuously scalable, and if I create the PDF with "embed fonts", I
> think they work anywhere.
>
> I'm so old I remember the days when LyX seemed to work reliably only
> with .eps. THen it could work with .png/.jpg/.gif. But nowadays my personal
> experience is that PDF images inside the doc work much better than any of
> those other formats ever did. Is this a placebo effect, or do PDFs really
> work much, much better as LyX doc graphics?
>
Steve,

In general, I try to use PDF whenever the graphical material is mainly lines 
and text. For solid colors it probably works the best too. But for 
gradational shading I usually use PNG.  The problem with PNG is if you make 
the resolution high enough to retain really sharp edges, the file size 
becomes very large.

I also use JPEG for photographs: PNG works fine too, but the files are larger.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: coloured background in header and margin

2009-05-21 Thread Michael Joyner
What about creating a watermark as a PDF, sized correctly, then using
the watermark package to have it on every page?

Christiaan Pauw wrote:
> Hi Everybody
> 
> Is it possible to use background colours in a header, footer and margin
> (or part of a each) only. I want to create a layout for a report that
> looks something like this:
> 
> odd page
> 
> |coloured background| Chapter page# |
> |_||
> |c||   
> |o||
> |l||
> |o||
> |r||
> |e||
> |d||
> |||
> |||
> |___||
> ||
> ||
> ||
> ||
> ||
> ||
> ||
> ||
> ||
> |coloured background footer_ |
> 
> even page
> 
> |__colored background header|
> ||   
> ||
> ||
> ||
> ||
> ||
> ||
> ||
> ||
> |___|
> |||
> ||c|
> ||o|
> ||l|
> ||o|
> ||r|
> ||f|
> ||i|
> ||ll__|
> |_page#  Chapter___ __ |
> 
> Any ideas?
> 
> regards
> Christiaan
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Christiaan Pauw
> Tel   +27 44 6950 942
> Mob +27 82 557 4328
> www.nova.org.za
> 
> 
> 
> 
> 



Re: article-style TOC for article (paper)

2009-05-21 Thread Richard Heck

Kosta Welke wrote:

Hi!

I really like the "article (paper)" layout, but I dislike the table of
contents style. What is the easiest way (or is there a way) to have an
"article"-style toc for "article (paper)"?

  
I don't have time to look into this right now, but if I did I'd look at 
the article.cls and paper.cls files and see how each of them defines 
\maketitle. Maybe you can just copy the definition from the one into the 
other.


rh



Re: coloured background in header and margin

2009-05-21 Thread Michael Joyner
... There are more complex commands which will let you insert things in
the upper left on odd numbered pages, etc., but we will refer you to the
fancyhdr package documentation for more information. (Find the file
fancyhdr.dvi.)

As a final example, it is possible to include an image in the header or
footer. Suppose you want to put a company logo in the upper lefthand
corner. You might try something like

\lhead{\resizebox{1in}{!}{\includegraphics{logo.eps}}}

(you may need to preface this with \usepackage{graphics} if you don't
include graphics elsewhere in your document) ...

[See Reference: Help -> Additional Features (Extended.lyx)]

Christiaan Pauw wrote:
> Hi Everybody
> 
> Is it possible to use background colours in a header, footer and margin
> (or part of a each) only. I want to create a layout for a report that
> looks something like this:
> 
> odd page
> 
> |coloured background| Chapter page# |
> |_||
> ||ll__|
> |_page#  Chapter___ __ |
> 
> Any ideas?
> 
> regards
> Christiaan
>