Line spacing in List of Figures

2023-10-10 Thread Les Denham
All,

I have a rather abstruse problem which may not have a solution, but I
would appreciate any suggestions.

I am typesetting a novel with LyX, using the Memoir Class (I am very
familiar with it), but I have come across an unusual problem. Most
novels do not have figures, but this one does. I do want a List of
Figures, but I don't want the figures numbered.

I can achieve this by removing the caption from each float and replacing
it with: 
\legend{picture name} 
\addcontentsline{lof}{figure}{picture name}

This gives the "picture name" as the caption, and in the List of
Figures at the left end of the line, with a dotted leader to the
correct page number.

The remaining problem is that the line spacing in the List of Figures
is smaller if there is more than one figure in a chapter. I would like
to have uniform line spacing in the List of Figures, regardless of
chapter breaks.

Does anyone know how to do this?

Les

-- 
Les Denham
Blizzards and Broken Grousers [typeset using LyX]
https://seg.org/shop/products/detail/237626086
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: License Agreement Entitlement Query

2022-05-12 Thread Les Denham
On Mon, 2 May 2022 04:45:07 +
Service Centre Licensing  wrote:

> We are writing to you in relation to the licensing for LyX.
> 
> The University of Melbourne is currently working to modernize its
> approach to delivering computer labs across the campus and will be
> transitioning from physical computer lab delivery into a virtual
> platform based on Citrix technology.

All,

I have nothing to contribute to the discussion of licensing (I am not a
lawyer).

But isn't it significant that a major university (which has been ranked
#1 in Australia and #31 worldwide) is interested in making LyX
available in all its computer labs?

Les

-- 
Les Denham
Blizzards and Broken Grousers
https://seg.org/shop/products/detail/237626086
(published book completely typeset with LyX)
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Using LyX for publication

2020-11-30 Thread Les Denham
I mentioned in a post back in March this year that I had a book in
publication for which I was using LyX to prepare the final PDF for the
printer, adhering to rather rigid specifications by the publisher.

That book has now been published, using my PDF for everything but the
cover. Both I and the publisher are happy with the results.

If anyone wants advice with a similar project I am happy to help.

Les

-- 
Les Denham
Blizzards and Broken Grousers
https://seg.org/shop/products/detail/237626086
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Lyx, Kindle, epub

2014-07-13 Thread Les Denham
On Mon, 14 Jul 2014 01:08:47 +0530
 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
fredericknoro...@gmail.com wrote:

 * What is the easiest way to convert a Lyx file (with images) to epub?
 * How can one ensure this will be consistent with epub standards?
 * Any site to test the resultant epub?
 * Can Lyx developers help to develop some tools that make it easy to
 create epub and other formats of ebooks?

Frederick,

I've done this for several books. From my experience the answer to your
questions are:

* Conversion
1. Export your file to LyXHTML
2. Using your favorite text editor (I use vi), delete the first line of
the file (something like ?xml version=1.0 encoding=UTF-8?) and
save as type HTML.
3. The file can now be imported into Sigil
  (http://web.sigil.googlecode.com/git/files/OEBPS/Text/introduction.html),
  which saves files in epub format.

* Epub standards
Sigil includes the FlightCrew validator, and also a link to validate
stylesheets with W3C.

* Testing the epub
I don't know of any site for testing, other than
  http://validator.idpf.org/, which as far as I know does exactly the
  same as the Sigil validator. The real problem is that no e-reader
  supports the standards completely and exactly, so you need to test
  your epub on several readers. I use Nook, Calibre and FBreader.

* LyX development
I'll leave this to developers.

Without images, the conversion is straightforward, with the main
problem being how to handle footnotes: as epub is reflowable, the
concept of footnote does not exist, so you will have to decide how to
handle them. Sigil gives you the tools to implement any solution you
decide on, but it may involve a lot of detailed editing.

Images complicate the conversion. Do you want small images in a fixed
location in the text? That is fairly easy. So is putting all the images
at the end of a chapter (or at the end of the book). But if you want
clickable links to images, and a clickable link to return you to the
page you were on, it can become very complicated, and involve a lot of
hand editing. But again, Sigil has all the tools you need for this.

I hope this helps,

Les


Re: Lyx, Kindle, epub

2014-07-13 Thread Les Denham
On Mon, 14 Jul 2014 01:08:47 +0530
 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
fredericknoro...@gmail.com wrote:

 * What is the easiest way to convert a Lyx file (with images) to epub?
 * How can one ensure this will be consistent with epub standards?
 * Any site to test the resultant epub?
 * Can Lyx developers help to develop some tools that make it easy to
 create epub and other formats of ebooks?

Frederick,

I've done this for several books. From my experience the answer to your
questions are:

* Conversion
1. Export your file to LyXHTML
2. Using your favorite text editor (I use vi), delete the first line of
the file (something like ?xml version=1.0 encoding=UTF-8?) and
save as type HTML.
3. The file can now be imported into Sigil
  (http://web.sigil.googlecode.com/git/files/OEBPS/Text/introduction.html),
  which saves files in epub format.

* Epub standards
Sigil includes the FlightCrew validator, and also a link to validate
stylesheets with W3C.

* Testing the epub
I don't know of any site for testing, other than
  http://validator.idpf.org/, which as far as I know does exactly the
  same as the Sigil validator. The real problem is that no e-reader
  supports the standards completely and exactly, so you need to test
  your epub on several readers. I use Nook, Calibre and FBreader.

* LyX development
I'll leave this to developers.

Without images, the conversion is straightforward, with the main
problem being how to handle footnotes: as epub is reflowable, the
concept of footnote does not exist, so you will have to decide how to
handle them. Sigil gives you the tools to implement any solution you
decide on, but it may involve a lot of detailed editing.

Images complicate the conversion. Do you want small images in a fixed
location in the text? That is fairly easy. So is putting all the images
at the end of a chapter (or at the end of the book). But if you want
clickable links to images, and a clickable link to return you to the
page you were on, it can become very complicated, and involve a lot of
hand editing. But again, Sigil has all the tools you need for this.

I hope this helps,

Les


Re: Lyx, Kindle, epub

2014-07-13 Thread Les Denham
On Mon, 14 Jul 2014 01:08:47 +0530
 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
 wrote:

> * What is the easiest way to convert a Lyx file (with images) to epub?
> * How can one ensure this will be consistent with epub standards?
> * Any site to test the resultant epub?
> * Can Lyx developers help to develop some tools that make it easy to
> create epub and other formats of ebooks?

Frederick,

I've done this for several books. From my experience the answer to your
questions are:

* Conversion
1. Export your file to LyXHTML
2. Using your favorite text editor (I use vi), delete the first line of
the file (something like ) and
save as type HTML.
3. The file can now be imported into Sigil
  (http://web.sigil.googlecode.com/git/files/OEBPS/Text/introduction.html),
  which saves files in epub format.

* Epub standards
Sigil includes the FlightCrew validator, and also a link to validate
stylesheets with W3C.

* Testing the epub
I don't know of any site for testing, other than
  http://validator.idpf.org/, which as far as I know does exactly the
  same as the Sigil validator. The real problem is that no e-reader
  supports the standards completely and exactly, so you need to test
  your epub on several readers. I use Nook, Calibre and FBreader.

* LyX development
I'll leave this to developers.

Without images, the conversion is straightforward, with the main
problem being how to handle footnotes: as epub is reflowable, the
concept of footnote does not exist, so you will have to decide how to
handle them. Sigil gives you the tools to implement any solution you
decide on, but it may involve a lot of detailed editing.

Images complicate the conversion. Do you want small images in a fixed
location in the text? That is fairly easy. So is putting all the images
at the end of a chapter (or at the end of the book). But if you want
clickable links to images, and a clickable link to return you to the
page you were on, it can become very complicated, and involve a lot of
hand editing. But again, Sigil has all the tools you need for this.

I hope this helps,

Les


Re: How to enlarge a Graphic?

2014-04-16 Thread Les Denham
On Wed, 16 Apr 2014 11:06:35 +0200
Norbert Böhm sternent...@friedenswarte.de wrote:

 
 
 Hello,
 
 can I ask here to a Lyx - Problem with Graphics?
 
 So, the Problem is, that I want to set a Graphic over the holy entire
 of a A4 - Page. I may set of the margins for this site. I think there
 is a special TEX - command to do this, but I searched yesterday for
 many hours and found different and unclear answers.
 
 Please help me this Way!
 
 Greetings, Norbert

Norbert,

You can do this with the watermark package.

In the LaTeX Preamble put:
\usepackage{graphicx}
\usepackage{watermark}

For the page where you want the Graphic use something like this
(inserted as TeX code):

\thiswatermark{\centering
\put(-75,-850){\includegraphics[scale=2.6]{mypicture.png}} }

The coordinates for \put and the scale parameter will need adjusting.
I'm sure there is a mathematical way of determining them, but trial and
error is very quick if you use a one-page document.

As this is a watermark, any text or other graphics on the page will be
on top of the image. If you don't want this, make sure the page is
empty (for example, by putting a page break before and after the
graphic.

I hope this solves your problem,

Les


Re: How to enlarge a Graphic?

2014-04-16 Thread Les Denham
On Wed, 16 Apr 2014 11:06:35 +0200
Norbert Böhm sternent...@friedenswarte.de wrote:

 
 
 Hello,
 
 can I ask here to a Lyx - Problem with Graphics?
 
 So, the Problem is, that I want to set a Graphic over the holy entire
 of a A4 - Page. I may set of the margins for this site. I think there
 is a special TEX - command to do this, but I searched yesterday for
 many hours and found different and unclear answers.
 
 Please help me this Way!
 
 Greetings, Norbert

Norbert,

You can do this with the watermark package.

In the LaTeX Preamble put:
\usepackage{graphicx}
\usepackage{watermark}

For the page where you want the Graphic use something like this
(inserted as TeX code):

\thiswatermark{\centering
\put(-75,-850){\includegraphics[scale=2.6]{mypicture.png}} }

The coordinates for \put and the scale parameter will need adjusting.
I'm sure there is a mathematical way of determining them, but trial and
error is very quick if you use a one-page document.

As this is a watermark, any text or other graphics on the page will be
on top of the image. If you don't want this, make sure the page is
empty (for example, by putting a page break before and after the
graphic.

I hope this solves your problem,

Les


Re: How to enlarge a Graphic?

2014-04-16 Thread Les Denham
On Wed, 16 Apr 2014 11:06:35 +0200
Norbert Böhm  wrote:

> 
> 
> Hello,
> 
> can I ask here to a Lyx - Problem with Graphics?
> 
> So, the Problem is, that I want to set a Graphic over the holy entire
> of a A4 - Page. I may set of the margins for this site. I think there
> is a special TEX - command to do this, but I searched yesterday for
> many hours and found different and unclear answers.
> 
> Please help me this Way!
> 
> Greetings, Norbert

Norbert,

You can do this with the watermark package.

In the LaTeX Preamble put:
\usepackage{graphicx}
\usepackage{watermark}

For the page where you want the Graphic use something like this
(inserted as TeX code):

\thiswatermark{\centering
\put(-75,-850){\includegraphics[scale=2.6]{mypicture.png}} }

The coordinates for \put and the scale parameter will need adjusting.
I'm sure there is a mathematical way of determining them, but trial and
error is very quick if you use a one-page document.

As this is a watermark, any text or other graphics on the page will be
on top of the image. If you don't want this, make sure the page is
empty (for example, by putting a page break before and after the
graphic.

I hope this solves your problem,

Les


Re: vector graphics badly pixelated when creating pdf with pdflatex under Linux Mint 16. Everything works perfectly under Windows XP.

2014-04-10 Thread Les Denham
On Thu, 10 Apr 2014 11:21:35 -0400
Full Name veurbu...@myway.com wrote:

 I have a bunch of vector graphics (from Draw, Scribus and Origin)
 that are included as eps files in my document. With the current
 (2.0.6) version under WinXP making a pdf goes smoothly except for a
 few problems with some of these pictures getting cut off at the
 bottom. On Linux Mint though the vector graphics get converted to
 pixel graphics of horrible quality in the pdf when running pdflatex.
 Dvipdfm and ps2pdf also work under Windows but under Linux they throw
 errors of a number being too large or of some pixel images (that are
 tif files converted to eps, not the files mentioned before) being too
 large (in inches). So I cannot test these methods. What do you think
 is missing in the installation under Linux that is present in the
 Windows one? Thank you.

I have a Linux system which does not have these problems, though it is
Gentoo, not Linux Mint. The problem with pdflatex might involve not
having a full texlive installed. As far as I can tell the conversion is
handled (at least in ps2pdf) by epstopdf, which is part of the
dev-texlive/texlive-fontutils package.

On my system LyX handles the tiff to PDF conversion with tiff2ps, which
is part of the media-libs/tiff package. You may be missing this package
(which may have a different name in Linux Mint).

Les


Re: vector graphics badly pixelated when creating pdf with pdflatex under Linux Mint 16. Everything works perfectly under Windows XP.

2014-04-10 Thread Les Denham
On Thu, 10 Apr 2014 11:21:35 -0400
Full Name veurbu...@myway.com wrote:

 I have a bunch of vector graphics (from Draw, Scribus and Origin)
 that are included as eps files in my document. With the current
 (2.0.6) version under WinXP making a pdf goes smoothly except for a
 few problems with some of these pictures getting cut off at the
 bottom. On Linux Mint though the vector graphics get converted to
 pixel graphics of horrible quality in the pdf when running pdflatex.
 Dvipdfm and ps2pdf also work under Windows but under Linux they throw
 errors of a number being too large or of some pixel images (that are
 tif files converted to eps, not the files mentioned before) being too
 large (in inches). So I cannot test these methods. What do you think
 is missing in the installation under Linux that is present in the
 Windows one? Thank you.

I have a Linux system which does not have these problems, though it is
Gentoo, not Linux Mint. The problem with pdflatex might involve not
having a full texlive installed. As far as I can tell the conversion is
handled (at least in ps2pdf) by epstopdf, which is part of the
dev-texlive/texlive-fontutils package.

On my system LyX handles the tiff to PDF conversion with tiff2ps, which
is part of the media-libs/tiff package. You may be missing this package
(which may have a different name in Linux Mint).

Les


Re: vector graphics badly pixelated when creating pdf with pdflatex under Linux Mint 16. Everything works perfectly under Windows XP.

2014-04-10 Thread Les Denham
On Thu, 10 Apr 2014 11:21:35 -0400
"Full Name"  wrote:

> I have a bunch of vector graphics (from Draw, Scribus and Origin)
> that are included as eps files in my document. With the current
> (2.0.6) version under WinXP making a pdf goes smoothly except for a
> few problems with some of these pictures getting cut off at the
> bottom. On Linux Mint though the vector graphics get converted to
> pixel graphics of horrible quality in the pdf when running pdflatex.
> Dvipdfm and ps2pdf also work under Windows but under Linux they throw
> errors of a number being too large or of some pixel images (that are
> tif files converted to eps, not the files mentioned before) being too
> large (in inches). So I cannot test these methods. What do you think
> is missing in the installation under Linux that is present in the
> Windows one? Thank you.

I have a Linux system which does not have these problems, though it is
Gentoo, not Linux Mint. The problem with pdflatex might involve not
having a full texlive installed. As far as I can tell the conversion is
handled (at least in ps2pdf) by epstopdf, which is part of the
dev-texlive/texlive-fontutils package.

On my system LyX handles the tiff to PDF conversion with tiff2ps, which
is part of the media-libs/tiff package. You may be missing this package
(which may have a different name in Linux Mint).

Les


Re: Math in LibreOffice/Word exported files: input needed

2014-03-13 Thread Les Denham
On Thu, 13 Mar 2014 15:17:19 -0500
stefano franchi stefano.fran...@gmail.com wrote:

 1. Are you a potential user of a Word/LibreOffice export converters?

Yes.
 
 2. If so, do you use routinely use mathematical expressions in your
 documents?

Only occasionally.
 
 3. Why do you/would you need to export to LibreOffice/Word format? (to
 send the documents to publishers, mentors, advisors, colleagues, and
 so on)

Nearly everyone I send a document to requires it in an MS Word
format, usually with the choice of .doc, .docx, or .rtf. Where I am in
a position to push the envelope, I try sending PDF. This is sometimes
rewarded by getting as a return copy a totally garbled automatic
translation from PDF to DOCX. But when the other party is a client, an
employer, or a publisher I have little choice but to comply.

Les


Re: Math in LibreOffice/Word exported files: input needed

2014-03-13 Thread Les Denham
On Thu, 13 Mar 2014 15:17:19 -0500
stefano franchi stefano.fran...@gmail.com wrote:

 1. Are you a potential user of a Word/LibreOffice export converters?

Yes.
 
 2. If so, do you use routinely use mathematical expressions in your
 documents?

Only occasionally.
 
 3. Why do you/would you need to export to LibreOffice/Word format? (to
 send the documents to publishers, mentors, advisors, colleagues, and
 so on)

Nearly everyone I send a document to requires it in an MS Word
format, usually with the choice of .doc, .docx, or .rtf. Where I am in
a position to push the envelope, I try sending PDF. This is sometimes
rewarded by getting as a return copy a totally garbled automatic
translation from PDF to DOCX. But when the other party is a client, an
employer, or a publisher I have little choice but to comply.

Les


Re: Math in LibreOffice/Word exported files: input needed

2014-03-13 Thread Les Denham
On Thu, 13 Mar 2014 15:17:19 -0500
stefano franchi  wrote:

> 1. Are you a potential user of a Word/LibreOffice export converters?

Yes.
> 
> 2. If so, do you use routinely use mathematical expressions in your
> documents?

Only occasionally.
> 
> 3. Why do you/would you need to export to LibreOffice/Word format? (to
> send the documents to publishers, mentors, advisors, colleagues, and
> so on)

Nearly everyone I send a document to "requires" it in an MS Word
format, usually with the choice of ".doc, .docx, or .rtf". Where I am in
a position to push the envelope, I try sending PDF. This is sometimes
rewarded by getting as a return copy a totally garbled automatic
translation from PDF to DOCX. But when the other party is a client, an
employer, or a publisher I have little choice but to comply.

Les


Re: why people give up on open source software

2013-10-23 Thread Les Denham
On Tue, 22 Oct 2013 22:19:38 -0600
Richard Talley rich.tal...@gmail.com wrote:

 Now on to the résumé. Let's see what's available. ModernCV looks good,
 under development for seven years.

Richard,

That's what I thought too. The documentation is, as you point out,
rather sketchy. But with a little effort I managed a very nice looking
CV.

Now the really big problem: most, in fact almost all, advertised job
vacancies only accept resumes in MS Word format. So I had to get my
very nice CV into LibreOffice (where it did not look very nice) and
save it in DOCX format.

Sigh.

Les


Re: why people give up on open source software

2013-10-23 Thread Les Denham
On Tue, 22 Oct 2013 22:19:38 -0600
Richard Talley rich.tal...@gmail.com wrote:

 Now on to the résumé. Let's see what's available. ModernCV looks good,
 under development for seven years.

Richard,

That's what I thought too. The documentation is, as you point out,
rather sketchy. But with a little effort I managed a very nice looking
CV.

Now the really big problem: most, in fact almost all, advertised job
vacancies only accept resumes in MS Word format. So I had to get my
very nice CV into LibreOffice (where it did not look very nice) and
save it in DOCX format.

Sigh.

Les


Re: why people give up on open source software

2013-10-23 Thread Les Denham
On Tue, 22 Oct 2013 22:19:38 -0600
Richard Talley  wrote:

> Now on to the résumé. Let's see what's available. ModernCV looks good,
> under development for seven years.

Richard,

That's what I thought too. The documentation is, as you point out,
rather sketchy. But with a little effort I managed a very nice looking
CV.

Now the really big problem: most, in fact almost all, advertised job
vacancies only accept resumes in MS Word format. So I had to get my
very nice CV into LibreOffice (where it did not look very nice) and
save it in DOCX format.

Sigh.

Les


Re: \reversemarginpar places notes too far out - update

2013-09-09 Thread Les Denham
On Mon, 9 Sep 2013 10:46:05 +0100
Anthony Campbell a...@acampbell.org.uk wrote:

 As far as I can see this makes marginal notes unusuable for the book
 class. Unless I'm wrong, perhaps it should be documented in the help
 files?

Anthony,

If you're using the book class, by default you are assumed to have
chapters.

If two-sided page layout is selected, a Chapter environment will
automatically start on a right hand (odd numbered) page, inserting a
blank page where necessary. So starting the text body with a chapter
heading will solve the problem.

Is there any special reason why you are not using the Title, Author,
etc., environments for the title page?

Personally, I prefer to use the book(KOMA-script) class (a lot more
options, but defaults work well) or memoir class (an infinite number of
options, a lot of them different from anything else in LaTeX, and an
excellent manual, but a very steep learning curve), but the book class
should work for what you're doing. Attached is a sample file to show
what can be done.

Les

-- 
L. R. Denham
http://lrdenham.wordpress.com/
Escaping Texas -- from danger to disaster?
http://www.amazon.com/Escaping-Texas-ebook/dp/B00ECHNF72/
http://www.lulu.com/shop/l-r-denham/escaping-texas/ebook/product-21002003.html


MarginNoteTest.lyx
Description: application/lyx


Re: \reversemarginpar places notes too far out - update

2013-09-09 Thread Les Denham
On Mon, 9 Sep 2013 10:46:05 +0100
Anthony Campbell a...@acampbell.org.uk wrote:

 As far as I can see this makes marginal notes unusuable for the book
 class. Unless I'm wrong, perhaps it should be documented in the help
 files?

Anthony,

If you're using the book class, by default you are assumed to have
chapters.

If two-sided page layout is selected, a Chapter environment will
automatically start on a right hand (odd numbered) page, inserting a
blank page where necessary. So starting the text body with a chapter
heading will solve the problem.

Is there any special reason why you are not using the Title, Author,
etc., environments for the title page?

Personally, I prefer to use the book(KOMA-script) class (a lot more
options, but defaults work well) or memoir class (an infinite number of
options, a lot of them different from anything else in LaTeX, and an
excellent manual, but a very steep learning curve), but the book class
should work for what you're doing. Attached is a sample file to show
what can be done.

Les

-- 
L. R. Denham
http://lrdenham.wordpress.com/
Escaping Texas -- from danger to disaster?
http://www.amazon.com/Escaping-Texas-ebook/dp/B00ECHNF72/
http://www.lulu.com/shop/l-r-denham/escaping-texas/ebook/product-21002003.html


MarginNoteTest.lyx
Description: application/lyx


Re: \reversemarginpar places notes too far out - update

2013-09-09 Thread Les Denham
On Mon, 9 Sep 2013 10:46:05 +0100
Anthony Campbell  wrote:

> As far as I can see this makes marginal notes unusuable for the book
> class. Unless I'm wrong, perhaps it should be documented in the help
> files?

Anthony,

If you're using the book class, by default you are assumed to have
chapters.

If two-sided page layout is selected, a Chapter environment will
automatically start on a right hand (odd numbered) page, inserting a
blank page where necessary. So starting the text body with a chapter
heading will solve the problem.

Is there any special reason why you are not using the Title, Author,
etc., environments for the title page?

Personally, I prefer to use the book(KOMA-script) class (a lot more
options, but defaults work well) or memoir class (an infinite number of
options, a lot of them different from anything else in LaTeX, and an
excellent manual, but a very steep learning curve), but the book class
should work for what you're doing. Attached is a sample file to show
what can be done.

Les

-- 
L. R. Denham
http://lrdenham.wordpress.com/
"Escaping Texas" -- from danger to disaster?
http://www.amazon.com/Escaping-Texas-ebook/dp/B00ECHNF72/
http://www.lulu.com/shop/l-r-denham/escaping-texas/ebook/product-21002003.html


MarginNoteTest.lyx
Description: application/lyx


Re: Question: Using LyX as your daily word processor

2013-08-23 Thread Les Denham
On Thu, 22 Aug 2013 17:26:31 -0700
Jerry lancebo...@qwest.net wrote:

 
 On Aug 21, 2013, at 5:16 AM, Les Denham lden...@hal-pc.org wrote:
 
  On Tue, 20 Aug 2013 18:13:23 -0700
  Jerry lancebo...@qwest.net wrote:
  
  
  On Aug 18, 2013, at 6:59 PM, Les Denham lden...@hal-pc.org wrote:
  
  My general approach to  getting a LyX document into Word format is
  to us the LyXHTML export, import the exported file into
  LibreOffice, fix the inevitable problems, and save in DOCX format.
  
  How do you import the XHTML from LyXHTML into LibreOffice? When I
  try it, I see only raw text; it is not rendered. I let the file
  dialog display all files and assumed that the .xhtml file
  extension would tell LO what to do but obviously this did not
  happen.
  
  Jerry,
  
  One of the inevitable problems. Try changing the .xhtml file
  extension to .html. I think you can also delve into the advanced
  settings of LibreOffice to tell it to treat .xhtml files as HTML.
  
  Les
 
 Les, thanks for that tip, but it didn't change anything--still raw
 text, either with a document with a few equations (and thus MathML in
 the XHTML file) or just a simple file containing only the word
 Hello.
 
 FWIW, when I do open the (x)html file, I get a dialog asking for
 Character set (default = UTF-8), Default fonts (default = Times New
 Roman), Language (default = English (US)) and Paragraph break
 (default = LF). I accepted all the defaults. So it looks at that
 point like something is about to happen, but then I see only raw
 text. 
 
 I also looked at Tools - Options - Load/Save - HTML Compatibility
 but didn't see anything relevant.
 
 Jerry

Jerry,

Sorry, I left out one step: before opening the file in LibreOffice,
open in a text editor and delete the first line (the one that looks
like this: ?xml version=1.0 encoding=UTF-8?). Save it and then
import into LO.

Les

Les


Re: Question: Using LyX as your daily word processor

2013-08-23 Thread Les Denham
On Thu, 22 Aug 2013 17:26:31 -0700
Jerry lancebo...@qwest.net wrote:

 
 On Aug 21, 2013, at 5:16 AM, Les Denham lden...@hal-pc.org wrote:
 
  On Tue, 20 Aug 2013 18:13:23 -0700
  Jerry lancebo...@qwest.net wrote:
  
  
  On Aug 18, 2013, at 6:59 PM, Les Denham lden...@hal-pc.org wrote:
  
  My general approach to  getting a LyX document into Word format is
  to us the LyXHTML export, import the exported file into
  LibreOffice, fix the inevitable problems, and save in DOCX format.
  
  How do you import the XHTML from LyXHTML into LibreOffice? When I
  try it, I see only raw text; it is not rendered. I let the file
  dialog display all files and assumed that the .xhtml file
  extension would tell LO what to do but obviously this did not
  happen.
  
  Jerry,
  
  One of the inevitable problems. Try changing the .xhtml file
  extension to .html. I think you can also delve into the advanced
  settings of LibreOffice to tell it to treat .xhtml files as HTML.
  
  Les
 
 Les, thanks for that tip, but it didn't change anything--still raw
 text, either with a document with a few equations (and thus MathML in
 the XHTML file) or just a simple file containing only the word
 Hello.
 
 FWIW, when I do open the (x)html file, I get a dialog asking for
 Character set (default = UTF-8), Default fonts (default = Times New
 Roman), Language (default = English (US)) and Paragraph break
 (default = LF). I accepted all the defaults. So it looks at that
 point like something is about to happen, but then I see only raw
 text. 
 
 I also looked at Tools - Options - Load/Save - HTML Compatibility
 but didn't see anything relevant.
 
 Jerry

Jerry,

Sorry, I left out one step: before opening the file in LibreOffice,
open in a text editor and delete the first line (the one that looks
like this: ?xml version=1.0 encoding=UTF-8?). Save it and then
import into LO.

Les

Les


Re: Question: Using LyX as your daily word processor

2013-08-23 Thread Les Denham
On Thu, 22 Aug 2013 17:26:31 -0700
Jerry <lancebo...@qwest.net> wrote:

> 
> On Aug 21, 2013, at 5:16 AM, Les Denham <lden...@hal-pc.org> wrote:
> 
> > On Tue, 20 Aug 2013 18:13:23 -0700
> > Jerry <lancebo...@qwest.net> wrote:
> > 
> >> 
> >> On Aug 18, 2013, at 6:59 PM, Les Denham <lden...@hal-pc.org> wrote:
> >> 
> >>> My general approach to  getting a LyX document into Word format is
> >>> to us the LyXHTML export, import the exported file into
> >>> LibreOffice, fix the inevitable problems, and save in DOCX format.
> >> 
> >> How do you import the XHTML from LyXHTML into LibreOffice? When I
> >> try it, I see only raw text; it is not rendered. I let the file
> >> dialog display all files and assumed that the .xhtml file
> >> extension would tell LO what to do but obviously this did not
> >> happen.
> >> 
> > Jerry,
> > 
> > One of the inevitable problems. Try changing the .xhtml file
> > extension to .html. I think you can also delve into the advanced
> > settings of LibreOffice to tell it to treat .xhtml files as HTML.
> > 
> > Les
> 
> Les, thanks for that tip, but it didn't change anything--still raw
> text, either with a document with a few equations (and thus MathML in
> the XHTML file) or just a simple file containing only the word
> "Hello".
> 
> FWIW, when I do open the (x)html file, I get a dialog asking for
> Character set (default = UTF-8), Default fonts (default = Times New
> Roman), Language (default = English (US)) and Paragraph break
> (default = LF). I accepted all the defaults. So it looks at that
> point like something is about to happen, but then I see only raw
> text. 
> 
> I also looked at Tools -> Options -> Load/Save -> HTML Compatibility
> but didn't see anything relevant.
> 
> Jerry

Jerry,

Sorry, I left out one step: before opening the file in LibreOffice,
open in a text editor and delete the first line (the one that looks
like this: ). Save it and then
import into LO.

Les

Les


Re: Question: Using LyX as your daily word processor

2013-08-21 Thread Les Denham
On Tue, 20 Aug 2013 18:13:23 -0700
Jerry lancebo...@qwest.net wrote:

 
 On Aug 18, 2013, at 6:59 PM, Les Denham lden...@hal-pc.org wrote:
 
  My general approach to  getting a LyX document into Word format is
  to us the LyXHTML export, import the exported file into
  LibreOffice, fix the inevitable problems, and save in DOCX format.
 
 How do you import the XHTML from LyXHTML into LibreOffice? When I try
 it, I see only raw text; it is not rendered. I let the file dialog
 display all files and assumed that the .xhtml file extension would
 tell LO what to do but obviously this did not happen.
 
Jerry,

One of the inevitable problems. Try changing the .xhtml file extension
to .html. I think you can also delve into the advanced settings of
LibreOffice to tell it to treat .xhtml files as HTML.

Les


Re: Question: Using LyX as your daily word processor

2013-08-21 Thread Les Denham
On Tue, 20 Aug 2013 18:13:23 -0700
Jerry lancebo...@qwest.net wrote:

 
 On Aug 18, 2013, at 6:59 PM, Les Denham lden...@hal-pc.org wrote:
 
  My general approach to  getting a LyX document into Word format is
  to us the LyXHTML export, import the exported file into
  LibreOffice, fix the inevitable problems, and save in DOCX format.
 
 How do you import the XHTML from LyXHTML into LibreOffice? When I try
 it, I see only raw text; it is not rendered. I let the file dialog
 display all files and assumed that the .xhtml file extension would
 tell LO what to do but obviously this did not happen.
 
Jerry,

One of the inevitable problems. Try changing the .xhtml file extension
to .html. I think you can also delve into the advanced settings of
LibreOffice to tell it to treat .xhtml files as HTML.

Les


Re: Question: Using LyX as your daily word processor

2013-08-21 Thread Les Denham
On Tue, 20 Aug 2013 18:13:23 -0700
Jerry <lancebo...@qwest.net> wrote:

> 
> On Aug 18, 2013, at 6:59 PM, Les Denham <lden...@hal-pc.org> wrote:
> 
> > My general approach to  getting a LyX document into Word format is
> > to us the LyXHTML export, import the exported file into
> > LibreOffice, fix the inevitable problems, and save in DOCX format.
> 
> How do you import the XHTML from LyXHTML into LibreOffice? When I try
> it, I see only raw text; it is not rendered. I let the file dialog
> display all files and assumed that the .xhtml file extension would
> tell LO what to do but obviously this did not happen.
> 
Jerry,

One of the inevitable problems. Try changing the .xhtml file extension
to .html. I think you can also delve into the advanced settings of
LibreOffice to tell it to treat .xhtml files as HTML.

Les


Re: Question: Using LyX as your daily word processor

2013-08-18 Thread Les Denham
On Sun, 18 Aug 2013 19:02:31 -0400
Chris Menzel chris.men...@gmail.com wrote:

 Two of our best journals in philosophy -- journals that regularly
 publish rather technical papers -- require final versions of accepted
 papers be submitted in Word. Transcribing a fairly technical 30 page
 paper I'd written in LyX into Word for one of these journals was
 excruciating.

Chris,

That kind of experience is what I've had too. But then I remember that
I've saved all that excruciating fiddling with the document through all
the revisions up to the final version. Transcribing a fairly technical
30 page paper . . . written in LyX into Word might be excruciating,
but so is writing it in Word in the first place.

I have used LyX as my standard writing tool for more than a decade,
using it for everything from shopping lists to 200-page books. I also
use it (with beamer) for presentations, which usually look much more
professional than PowerPoint presentations.

Perhaps the most useful feature of LyX (in my experience) is the ease
with which it handles crossreferences and floats. The position of a
float might not always be perfect using LyX, but trying to get figures
where you want them in Word is a far thornier problem.

My general approach to  getting a LyX document into Word format is to
us the LyXHTML export, import the exported file into LibreOffice, fix
the inevitable problems, and save in DOCX format.

Les


Re: Question: Using LyX as your daily word processor

2013-08-18 Thread Les Denham
On Sun, 18 Aug 2013 19:02:31 -0400
Chris Menzel chris.men...@gmail.com wrote:

 Two of our best journals in philosophy -- journals that regularly
 publish rather technical papers -- require final versions of accepted
 papers be submitted in Word. Transcribing a fairly technical 30 page
 paper I'd written in LyX into Word for one of these journals was
 excruciating.

Chris,

That kind of experience is what I've had too. But then I remember that
I've saved all that excruciating fiddling with the document through all
the revisions up to the final version. Transcribing a fairly technical
30 page paper . . . written in LyX into Word might be excruciating,
but so is writing it in Word in the first place.

I have used LyX as my standard writing tool for more than a decade,
using it for everything from shopping lists to 200-page books. I also
use it (with beamer) for presentations, which usually look much more
professional than PowerPoint presentations.

Perhaps the most useful feature of LyX (in my experience) is the ease
with which it handles crossreferences and floats. The position of a
float might not always be perfect using LyX, but trying to get figures
where you want them in Word is a far thornier problem.

My general approach to  getting a LyX document into Word format is to
us the LyXHTML export, import the exported file into LibreOffice, fix
the inevitable problems, and save in DOCX format.

Les


Re: Question: Using LyX as your daily word processor

2013-08-18 Thread Les Denham
On Sun, 18 Aug 2013 19:02:31 -0400
Chris Menzel  wrote:

> Two of our best journals in philosophy -- journals that regularly
> publish rather technical papers -- require final versions of accepted
> papers be submitted in Word. Transcribing a fairly technical 30 page
> paper I'd written in LyX into Word for one of these journals was
> excruciating.

Chris,

That kind of experience is what I've had too. But then I remember that
I've saved all that excruciating fiddling with the document through all
the revisions up to the final version. "Transcribing a fairly technical
30 page paper . . . written in LyX into Word" might be excruciating,
but so is writing it in Word in the first place.

I have used LyX as my standard writing tool for more than a decade,
using it for everything from shopping lists to 200-page books. I also
use it (with beamer) for presentations, which usually look much more
professional than PowerPoint presentations.

Perhaps the most useful feature of LyX (in my experience) is the ease
with which it handles crossreferences and floats. The position of a
float might not always be perfect using LyX, but trying to get figures
where you want them in Word is a far thornier problem.

My general approach to  getting a LyX document into Word format is to
us the LyXHTML export, import the exported file into LibreOffice, fix
the inevitable problems, and save in DOCX format.

Les


Re: Troublesome image construction in LyX native LyXHTML export

2013-07-12 Thread Les Denham
On Fri, 12 Jul 2013 14:15:29 -0400
Steve Litt sl...@troubleshooters.com wrote:

 Hi all,
 
 Ugh! In my original document the images were all in the images
 directory below the current directory (./images). Look what the LyX
 native LyXHTML export did to them:
 
 img src='0_d_at_python_lyx2epub_images_divcon.gif' alt='image:
 0_d_at_python_lyx2epub_images_divcon.gif' /
 
 img src='1_d_at_python_lyx2epub_images_electrical_system.gif'
 alt='image: 1_d_at_python_lyx2epub_images_electrical_system.gif' /
 
 img src='2_d_at_python_lyx2epub_images_rad_bad.gif' alt='image:
 2_d_at_python_lyx2epub_images_rad_bad.gif' /
 
 They were all put in the current directory.
 
 I think I understand the design intent of doing it this way -- the LyX
 file could have pulled images from all over the hard disk, including
 absolute paths, and you can't have an HTML file create directories.
 But this is seriously ugly, and rather difficult to change the LyX
 original ./images/divcon.gif into ./images/divcon.gif in the current
 directory of the XHTML file.
 
 I might put a config option in my filter to
 remove ?_d_at_python_lyx2epub_images_ and replace it
 with ./myimagedirectory/. Anyone have ideas?
 
 Thanks,
 
 SteveT
 
 Steve Litt*  http://www.troubleshooters.com/
 Troubleshooting Training  *  Human Performance

Steve,

I've run across the same problem myself. It's fixable with a little bit
of sed and/or a few lines of Perl or awk.

However, perhaps the ideal would be to default to a separate images
directory in the current directory, putting all images in that
directory no matter where they come from, and solving the obvious
possibility of duplicate names when images come from different sources
by adding '_1', '_2', etc., to the base name of a file when there is
already one with that name in the images directory.

Even if this is the default, the current solution may be preffered in
some cases, so the choice should be given (perhaps in a Preferences
setting).

Les


Re: Troublesome image construction in LyX native LyXHTML export

2013-07-12 Thread Les Denham
On Fri, 12 Jul 2013 14:15:29 -0400
Steve Litt sl...@troubleshooters.com wrote:

 Hi all,
 
 Ugh! In my original document the images were all in the images
 directory below the current directory (./images). Look what the LyX
 native LyXHTML export did to them:
 
 img src='0_d_at_python_lyx2epub_images_divcon.gif' alt='image:
 0_d_at_python_lyx2epub_images_divcon.gif' /
 
 img src='1_d_at_python_lyx2epub_images_electrical_system.gif'
 alt='image: 1_d_at_python_lyx2epub_images_electrical_system.gif' /
 
 img src='2_d_at_python_lyx2epub_images_rad_bad.gif' alt='image:
 2_d_at_python_lyx2epub_images_rad_bad.gif' /
 
 They were all put in the current directory.
 
 I think I understand the design intent of doing it this way -- the LyX
 file could have pulled images from all over the hard disk, including
 absolute paths, and you can't have an HTML file create directories.
 But this is seriously ugly, and rather difficult to change the LyX
 original ./images/divcon.gif into ./images/divcon.gif in the current
 directory of the XHTML file.
 
 I might put a config option in my filter to
 remove ?_d_at_python_lyx2epub_images_ and replace it
 with ./myimagedirectory/. Anyone have ideas?
 
 Thanks,
 
 SteveT
 
 Steve Litt*  http://www.troubleshooters.com/
 Troubleshooting Training  *  Human Performance

Steve,

I've run across the same problem myself. It's fixable with a little bit
of sed and/or a few lines of Perl or awk.

However, perhaps the ideal would be to default to a separate images
directory in the current directory, putting all images in that
directory no matter where they come from, and solving the obvious
possibility of duplicate names when images come from different sources
by adding '_1', '_2', etc., to the base name of a file when there is
already one with that name in the images directory.

Even if this is the default, the current solution may be preffered in
some cases, so the choice should be given (perhaps in a Preferences
setting).

Les


Re: Troublesome image construction in LyX native LyXHTML export

2013-07-12 Thread Les Denham
On Fri, 12 Jul 2013 14:15:29 -0400
Steve Litt  wrote:

> Hi all,
> 
> Ugh! In my original document the images were all in the images
> directory below the current directory (./images). Look what the LyX
> native LyXHTML export did to them:
> 
> 
> 
>  alt='image: 1_d_at_python_lyx2epub_images_electrical_system.gif' />
> 
> 
> 
> They were all put in the current directory.
> 
> I think I understand the design intent of doing it this way -- the LyX
> file could have pulled images from all over the hard disk, including
> absolute paths, and you can't have an HTML file create directories.
> But this is seriously ugly, and rather difficult to change the LyX
> original ./images/divcon.gif into ./images/divcon.gif in the current
> directory of the XHTML file.
> 
> I might put a config option in my filter to
> remove ?_d_at_python_lyx2epub_images_ and replace it
> with ./myimagedirectory/. Anyone have ideas?
> 
> Thanks,
> 
> SteveT
> 
> Steve Litt*  http://www.troubleshooters.com/
> Troubleshooting Training  *  Human Performance

Steve,

I've run across the same problem myself. It's fixable with a little bit
of sed and/or a few lines of Perl or awk.

However, perhaps the ideal would be to default to a separate images
directory in the current directory, putting all images in that
directory no matter where they come from, and solving the obvious
possibility of duplicate names when images come from different sources
by adding '_1', '_2', etc., to the base name of a file when there is
already one with that name in the images directory.

Even if this is the default, the current solution may be preffered in
some cases, so the choice should be given (perhaps in a Preferences
setting).

Les


Re: Anyone know of a best-seller written in LyX

2013-06-10 Thread Les Denham
On Sun, 9 Jun 2013 10:32:20 -0500
stefano franchi stefano.fran...@gmail.com wrote:

 I'm willing to bet you won't find such an example. The reason is
 simple: more or less by definition a best-seller is book produced by
 a major commercial publishing house supported by a consistent
 marketing effort, heavily edited by a professional editor and laid
 out by a (team of ) typesetters according to a carefully designed
 house-specific graphic design project.

While that is the traditional definition of a best seller, it is
becoming less and less relevant.

I use LyX rather than Word (or its clones) because it allows me to
produce a presentable document in about half the time it takes with
Word. This is emphatically the case if it is a document requiring a
detailed table of contents, an index, or a bibliography, or if it
contains figures, cross-references or footnotes.

A further advantage of LyX that I have only come to appreciate in the
last year or two is that even without a specific converter LyX makes
the production of an ebook in EPUB format far easier than using a
conventional word processor. Preparing a document in Word for the
conversion is so simple that Smashwords has produced a 24,000 word
book on how to do it: http://www.smashwords.com/books/view/52

Les


Re: Anyone know of a best-seller written in LyX

2013-06-10 Thread Les Denham
On Sun, 9 Jun 2013 10:32:20 -0500
stefano franchi stefano.fran...@gmail.com wrote:

 I'm willing to bet you won't find such an example. The reason is
 simple: more or less by definition a best-seller is book produced by
 a major commercial publishing house supported by a consistent
 marketing effort, heavily edited by a professional editor and laid
 out by a (team of ) typesetters according to a carefully designed
 house-specific graphic design project.

While that is the traditional definition of a best seller, it is
becoming less and less relevant.

I use LyX rather than Word (or its clones) because it allows me to
produce a presentable document in about half the time it takes with
Word. This is emphatically the case if it is a document requiring a
detailed table of contents, an index, or a bibliography, or if it
contains figures, cross-references or footnotes.

A further advantage of LyX that I have only come to appreciate in the
last year or two is that even without a specific converter LyX makes
the production of an ebook in EPUB format far easier than using a
conventional word processor. Preparing a document in Word for the
conversion is so simple that Smashwords has produced a 24,000 word
book on how to do it: http://www.smashwords.com/books/view/52

Les


Re: Anyone know of a best-seller written in LyX

2013-06-10 Thread Les Denham
On Sun, 9 Jun 2013 10:32:20 -0500
stefano franchi  wrote:

> I'm willing to bet you won't find such an example. The reason is
> simple: more or less by definition a best-seller is book produced by
> a major commercial publishing house supported by a consistent
> marketing effort, heavily edited by a professional editor and laid
> out by a (team of ) typesetters according to a carefully designed
> house-specific graphic design project.

While that is the traditional definition of a best seller, it is
becoming less and less relevant.

I use LyX rather than Word (or its clones) because it allows me to
produce a presentable document in about half the time it takes with
Word. This is emphatically the case if it is a document requiring a
detailed table of contents, an index, or a bibliography, or if it
contains figures, cross-references or footnotes.

A further advantage of LyX that I have only come to appreciate in the
last year or two is that even without a specific converter LyX makes
the production of an ebook in EPUB format far easier than using a
conventional word processor. Preparing a document in Word for the
conversion is so "simple" that Smashwords has produced a 24,000 word
book on how to do it: http://www.smashwords.com/books/view/52

Les


Re: What about ePub support

2013-05-17 Thread Les Denham
On Fri, 17 May 2013 12:31:31 +0200
Jan Ulrich Hasecke juhase...@googlemail.com wrote:

 Hi,
 
 I want to publish ebooks and typeset books from the same source,
 because today nearly all new books are offered as ebooks and as
 printed books.
 
 Up to now I didn't find a good solution working out of the box.
 
 Sphinx, the documentation system written in Python offers multiple
 output formats from one source, eg. PDF via LaTeX. EPub support is
 improving but not perfect yet. You have to tweak it a bit
 (http://www.hasecke.eu/Members/juh/sphinx-a-tool-for-self-publisher)
 
 I now want to give LyX a try, I used it years ago but always went back
 to LaTeX.
 
 I saw that there isn't a no epub support in LyX up to now. I read
 about exporting to html and converting to epub via Calibre. This is a
 workaround I could choose if I had to, but it is not the solution I am
 looking for.
 
 So what are the plans for the future? I read about a GSOC project
 aiming to implement epub conversion in LyX. Is there a timeframe? In
 the road map of 2.1 epub is not mentioned.
 
 TIA
 juh

Jan,

I have faced the same problem myself, and have used the HTML route with
very little trouble and with very little effort. I simply export to
LyXHTML and import into Sigil. Some tweaking in Sigil is usually
desirable, if not strictly required. Sigil includes EPUB validation
with FlightCrew (which most publishers require), as well as the
capability to edit all parts of EPUB.

Overall, it is vastly superior to generating an EPUB file from an MS
Word document, which is what most self-publishers (and many publishers)
do. Better results, and less effort.

Les


Re: What about ePub support

2013-05-17 Thread Les Denham
On Fri, 17 May 2013 13:32:51 -0500
stefano franchi stefano.fran...@gmail.com wrote:

  this may be a silly question, but worth asking perhaps: could the
 tweaks to the XHTML code that you carry out in Sigil be easily
 avoided with some, perhaps minor, tweaks to the existing XHTML
 export? In other words:  could we perhaps *completely* replace an
 ePub export function with a XHTML/Sigil export? Relatedly: can Sigil
 be used latex-style, i.e. as a converter/validator from the command
 line?

Stefano,

I don't think so: Sigil is not a command-line tool. Sigil has a
GPL3 license, so I don't see that there would be any problem re-using
code in it to create a command-line tool. But I think it would be
simpler to create such a tool from scratch.

If you just start Sigil from the command line with an HTML file as
the argument, you get a usable EPUB book brought up in the GUI, but it
has a few problems: firstly, the default text file is present but not
referenced; then there are four items of required metadata missing; and
the table of contents is inaccurate. There is also no cover. However,
with no editing the saved EPUB would probably work in most readers.

Fixing these problems takes no more than five minutes, unless you want
a fancy cover image.

Les


Re: What about ePub support

2013-05-17 Thread Les Denham
On Fri, 17 May 2013 22:56:17 +0200
Liviu Andronic landronim...@gmail.com wrote:

 Actually there's an *undocumented and unsupported* HTML-to-EPUB
 command line conversion option. See main.cpp for details. Did I
 mention the feature is *undocumented and unsupported*? :)
 It's there because a certain company was willing to pay to see it
 included, but I'm opposed to the feature on principle. Sigil is an
 editor, not an automatic converter. If you need one, there's Calibre.
 
 And here's Calibre's documentation:
 http://manual.calibre-ebook.com/conversion.html#conversion
 http://manual.calibre-ebook.com/cli/ebook-convert.html#ebook-convert
 
 I don't see why we couldn't support the CLI  tools if someone showed
 us how to use them.

Liviu,

I've used Calibre to convert from HTML to EPUB, and that's why I prefer
to use Sigil. Calibre does a very good job of converting between ebook
formats, such as from EPUB to MOBI. But unless your book is very simple
it tends to run into problems with HTML input.

Les

-- 
http://lrdenham.wordpress.com/


Re: What about ePub support

2013-05-17 Thread Les Denham
On Fri, 17 May 2013 12:31:31 +0200
Jan Ulrich Hasecke juhase...@googlemail.com wrote:

 Hi,
 
 I want to publish ebooks and typeset books from the same source,
 because today nearly all new books are offered as ebooks and as
 printed books.
 
 Up to now I didn't find a good solution working out of the box.
 
 Sphinx, the documentation system written in Python offers multiple
 output formats from one source, eg. PDF via LaTeX. EPub support is
 improving but not perfect yet. You have to tweak it a bit
 (http://www.hasecke.eu/Members/juh/sphinx-a-tool-for-self-publisher)
 
 I now want to give LyX a try, I used it years ago but always went back
 to LaTeX.
 
 I saw that there isn't a no epub support in LyX up to now. I read
 about exporting to html and converting to epub via Calibre. This is a
 workaround I could choose if I had to, but it is not the solution I am
 looking for.
 
 So what are the plans for the future? I read about a GSOC project
 aiming to implement epub conversion in LyX. Is there a timeframe? In
 the road map of 2.1 epub is not mentioned.
 
 TIA
 juh

Jan,

I have faced the same problem myself, and have used the HTML route with
very little trouble and with very little effort. I simply export to
LyXHTML and import into Sigil. Some tweaking in Sigil is usually
desirable, if not strictly required. Sigil includes EPUB validation
with FlightCrew (which most publishers require), as well as the
capability to edit all parts of EPUB.

Overall, it is vastly superior to generating an EPUB file from an MS
Word document, which is what most self-publishers (and many publishers)
do. Better results, and less effort.

Les


Re: What about ePub support

2013-05-17 Thread Les Denham
On Fri, 17 May 2013 13:32:51 -0500
stefano franchi stefano.fran...@gmail.com wrote:

  this may be a silly question, but worth asking perhaps: could the
 tweaks to the XHTML code that you carry out in Sigil be easily
 avoided with some, perhaps minor, tweaks to the existing XHTML
 export? In other words:  could we perhaps *completely* replace an
 ePub export function with a XHTML/Sigil export? Relatedly: can Sigil
 be used latex-style, i.e. as a converter/validator from the command
 line?

Stefano,

I don't think so: Sigil is not a command-line tool. Sigil has a
GPL3 license, so I don't see that there would be any problem re-using
code in it to create a command-line tool. But I think it would be
simpler to create such a tool from scratch.

If you just start Sigil from the command line with an HTML file as
the argument, you get a usable EPUB book brought up in the GUI, but it
has a few problems: firstly, the default text file is present but not
referenced; then there are four items of required metadata missing; and
the table of contents is inaccurate. There is also no cover. However,
with no editing the saved EPUB would probably work in most readers.

Fixing these problems takes no more than five minutes, unless you want
a fancy cover image.

Les


Re: What about ePub support

2013-05-17 Thread Les Denham
On Fri, 17 May 2013 22:56:17 +0200
Liviu Andronic landronim...@gmail.com wrote:

 Actually there's an *undocumented and unsupported* HTML-to-EPUB
 command line conversion option. See main.cpp for details. Did I
 mention the feature is *undocumented and unsupported*? :)
 It's there because a certain company was willing to pay to see it
 included, but I'm opposed to the feature on principle. Sigil is an
 editor, not an automatic converter. If you need one, there's Calibre.
 
 And here's Calibre's documentation:
 http://manual.calibre-ebook.com/conversion.html#conversion
 http://manual.calibre-ebook.com/cli/ebook-convert.html#ebook-convert
 
 I don't see why we couldn't support the CLI  tools if someone showed
 us how to use them.

Liviu,

I've used Calibre to convert from HTML to EPUB, and that's why I prefer
to use Sigil. Calibre does a very good job of converting between ebook
formats, such as from EPUB to MOBI. But unless your book is very simple
it tends to run into problems with HTML input.

Les

-- 
http://lrdenham.wordpress.com/


Re: What about ePub support

2013-05-17 Thread Les Denham
On Fri, 17 May 2013 12:31:31 +0200
Jan Ulrich Hasecke  wrote:

> Hi,
> 
> I want to publish ebooks and typeset books from the same source,
> because today nearly all new books are offered as ebooks and as
> printed books.
> 
> Up to now I didn't find a good solution working out of the box.
> 
> Sphinx, the documentation system written in Python offers multiple
> output formats from one source, eg. PDF via LaTeX. EPub support is
> improving but not perfect yet. You have to tweak it a bit
> (http://www.hasecke.eu/Members/juh/sphinx-a-tool-for-self-publisher)
> 
> I now want to give LyX a try, I used it years ago but always went back
> to LaTeX.
> 
> I saw that there isn't a no epub support in LyX up to now. I read
> about exporting to html and converting to epub via Calibre. This is a
> workaround I could choose if I had to, but it is not the solution I am
> looking for.
> 
> So what are the plans for the future? I read about a GSOC project
> aiming to implement epub conversion in LyX. Is there a timeframe? In
> the road map of 2.1 epub is not mentioned.
> 
> TIA
> juh

Jan,

I have faced the same problem myself, and have used the HTML route with
very little trouble and with very little effort. I simply export to
LyXHTML and import into Sigil. Some tweaking in Sigil is usually
desirable, if not strictly required. Sigil includes EPUB validation
with FlightCrew (which most publishers require), as well as the
capability to edit all parts of EPUB.

Overall, it is vastly superior to generating an EPUB file from an MS
Word document, which is what most self-publishers (and many publishers)
do. Better results, and less effort.

Les


Re: What about ePub support

2013-05-17 Thread Les Denham
On Fri, 17 May 2013 13:32:51 -0500
stefano franchi  wrote:

>  this may be a silly question, but worth asking perhaps: could the
> "tweaks" to the XHTML code that you carry out in Sigil be easily
> avoided with some, perhaps minor, tweaks to the existing XHTML
> export? In other words:  could we perhaps *completely* replace an
> ePub export function with a XHTML/Sigil export? Relatedly: can Sigil
> be used latex-style, i.e. as a converter/validator from the command
> line?

Stefano,

I don't think so: Sigil is not a command-line tool. Sigil has a
GPL3 license, so I don't see that there would be any problem re-using
code in it to create a command-line tool. But I think it would be
simpler to create such a tool from scratch.

If you just start Sigil from the command line with an HTML file as
the argument, you get a usable EPUB book brought up in the GUI, but it
has a few problems: firstly, the default text file is present but not
referenced; then there are four items of required metadata missing; and
the table of contents is inaccurate. There is also no cover. However,
with no editing the saved EPUB would probably work in most readers.

Fixing these problems takes no more than five minutes, unless you want
a fancy cover image.

Les


Re: What about ePub support

2013-05-17 Thread Les Denham
On Fri, 17 May 2013 22:56:17 +0200
Liviu Andronic  wrote:

> "Actually there's an *undocumented and unsupported* HTML-to-EPUB
> command line conversion option. See main.cpp for details. Did I
> mention the feature is *undocumented and unsupported*? :)
> It's there because a certain company was willing to pay to see it
> included, but I'm opposed to the feature on principle. Sigil is an
> editor, not an automatic converter. If you need one, there's Calibre."
> 
> And here's Calibre's documentation:
> http://manual.calibre-ebook.com/conversion.html#conversion
> http://manual.calibre-ebook.com/cli/ebook-convert.html#ebook-convert
> 
> I don't see why we couldn't support the CLI  tools if someone showed
> us how to use them.

Liviu,

I've used Calibre to convert from HTML to EPUB, and that's why I prefer
to use Sigil. Calibre does a very good job of converting between ebook
formats, such as from EPUB to MOBI. But unless your book is very simple
it tends to run into problems with HTML input.

Les

-- 
http://lrdenham.wordpress.com/


Problems with Windows installation [solved]

2013-02-06 Thread Les Denham
Yesterday I had a friend call me for advice on a Windows XP
installation of Lyx. He had been using LyX for several years without
any problems, and had just updated to 2.0.5.1. Now he could work in
LyX, but could not generate a PDF output. He is running Windows XP on a
netbook.

To investigate how LyX works on Windows so I could give him advice I
borrowed the only computer in the house with Windows, my wife's
netbook, which dual boots Windows 7 and Linux Mint.

I downloaded the bundle, LyX-2.0.5.1-Bundle-4.exe, and installed it in
Windows 7. I found I had exactly the same problems my friend was
reporting.

To investigate what was happening, I tried to export LaTeX(pdflatex),
using the splash file (examples/splash.lyx) as a test case. It exported
what looked like a perfectly good LaTeX file. I looked around for a way
of testing this file, and found TeXworks, which comes with MikTeX. It
generated a perfect PDF file with no errors.

So I went back to LyX, opened the Messages box to watch where the error
occurred, and tried to export a PDF(pdflatex) file. It worked without
any errors.

So I tried another file (the User's Guide, doc/UserGuide.lyx). This
also worked without any errors, but I observed that before generating
the PDF MikTeX downloaded some additional packages.

So I suggested to my friend that he try exporting a LaTeX file,
typesetting it using TeXworks, then trying again with LyX. Sure enough,
after using TeXworks to generate one PDF file, LyX can create PDF files
normally.

I have to conclude that the MikTeX installer does not finalize the
installation, but leaves something undone. This missing configuration
is then completed the first time TeXworks is used. Perhaps someone more
familiar with MikTeX could explain this.

Les


Problems with Windows installation [solved]

2013-02-06 Thread Les Denham
Yesterday I had a friend call me for advice on a Windows XP
installation of Lyx. He had been using LyX for several years without
any problems, and had just updated to 2.0.5.1. Now he could work in
LyX, but could not generate a PDF output. He is running Windows XP on a
netbook.

To investigate how LyX works on Windows so I could give him advice I
borrowed the only computer in the house with Windows, my wife's
netbook, which dual boots Windows 7 and Linux Mint.

I downloaded the bundle, LyX-2.0.5.1-Bundle-4.exe, and installed it in
Windows 7. I found I had exactly the same problems my friend was
reporting.

To investigate what was happening, I tried to export LaTeX(pdflatex),
using the splash file (examples/splash.lyx) as a test case. It exported
what looked like a perfectly good LaTeX file. I looked around for a way
of testing this file, and found TeXworks, which comes with MikTeX. It
generated a perfect PDF file with no errors.

So I went back to LyX, opened the Messages box to watch where the error
occurred, and tried to export a PDF(pdflatex) file. It worked without
any errors.

So I tried another file (the User's Guide, doc/UserGuide.lyx). This
also worked without any errors, but I observed that before generating
the PDF MikTeX downloaded some additional packages.

So I suggested to my friend that he try exporting a LaTeX file,
typesetting it using TeXworks, then trying again with LyX. Sure enough,
after using TeXworks to generate one PDF file, LyX can create PDF files
normally.

I have to conclude that the MikTeX installer does not finalize the
installation, but leaves something undone. This missing configuration
is then completed the first time TeXworks is used. Perhaps someone more
familiar with MikTeX could explain this.

Les


Problems with Windows installation [solved]

2013-02-06 Thread Les Denham
Yesterday I had a friend call me for advice on a Windows XP
installation of Lyx. He had been using LyX for several years without
any problems, and had just updated to 2.0.5.1. Now he could work in
LyX, but could not generate a PDF output. He is running Windows XP on a
netbook.

To investigate how LyX works on Windows so I could give him advice I
borrowed the only computer in the house with Windows, my wife's
netbook, which dual boots Windows 7 and Linux Mint.

I downloaded the bundle, LyX-2.0.5.1-Bundle-4.exe, and installed it in
Windows 7. I found I had exactly the same problems my friend was
reporting.

To investigate what was happening, I tried to export LaTeX(pdflatex),
using the splash file (examples/splash.lyx) as a test case. It exported
what looked like a perfectly good LaTeX file. I looked around for a way
of testing this file, and found TeXworks, which comes with MikTeX. It
generated a perfect PDF file with no errors.

So I went back to LyX, opened the Messages box to watch where the error
occurred, and tried to export a PDF(pdflatex) file. It worked without
any errors.

So I tried another file (the User's Guide, doc/UserGuide.lyx). This
also worked without any errors, but I observed that before generating
the PDF MikTeX downloaded some additional packages.

So I suggested to my friend that he try exporting a LaTeX file,
typesetting it using TeXworks, then trying again with LyX. Sure enough,
after using TeXworks to generate one PDF file, LyX can create PDF files
normally.

I have to conclude that the MikTeX installer does not finalize the
installation, but leaves something undone. This missing configuration
is then completed the first time TeXworks is used. Perhaps someone more
familiar with MikTeX could explain this.

Les


Re: Including Documents

2013-01-17 Thread Les Denham
On Thu, 17 Jan 2013 16:12:40 +1100
Doug Laidlaw laidl...@hotkey.net.au wrote:

 (Re-posted: original seems to have got lost in transit.)
 
 I am writing a Family History with the koma-book style. I have a
 master document which is little more than a container for the
 chapters.  Each chapter is a separate Lyx file, a child of the master.
 
 My problem is, that when I print the complete book, each chapter has
 its own 
 empty Contents page, and a concluding identifier page.  How can I
 suppress these, and not have them allowed for in the page numbering?
 It must have been asked many times before.
 
 Doug.
 
 

Doug,

This should not happen. I do the same thing you are doing all the time
with koma book and never have that problem. I can probably see what the
problem is if you post a sample chapter on the list (or send it to me
offline if you prefer). It's possible the problem is with the master
document, but most likely it is with each chapter document.

The chapter files should contain just the contents of the chapter. The
chapter headings should be in the master document.

Les


Re: Including Documents

2013-01-17 Thread Les Denham
On Thu, 17 Jan 2013 16:12:40 +1100
Doug Laidlaw laidl...@hotkey.net.au wrote:

 (Re-posted: original seems to have got lost in transit.)
 
 I am writing a Family History with the koma-book style. I have a
 master document which is little more than a container for the
 chapters.  Each chapter is a separate Lyx file, a child of the master.
 
 My problem is, that when I print the complete book, each chapter has
 its own 
 empty Contents page, and a concluding identifier page.  How can I
 suppress these, and not have them allowed for in the page numbering?
 It must have been asked many times before.
 
 Doug.
 
 

Doug,

This should not happen. I do the same thing you are doing all the time
with koma book and never have that problem. I can probably see what the
problem is if you post a sample chapter on the list (or send it to me
offline if you prefer). It's possible the problem is with the master
document, but most likely it is with each chapter document.

The chapter files should contain just the contents of the chapter. The
chapter headings should be in the master document.

Les


Re: Including Documents

2013-01-17 Thread Les Denham
On Thu, 17 Jan 2013 16:12:40 +1100
Doug Laidlaw  wrote:

> (Re-posted: original seems to have got lost in transit.)
> 
> I am writing a Family History with the koma-book style. I have a
> master document which is little more than a container for the
> chapters.  Each chapter is a separate Lyx file, a child of the master.
> 
> My problem is, that when I print the complete book, each chapter has
> its own 
> empty Contents page, and a concluding identifier page.  How can I
> suppress these, and not have them allowed for in the page numbering?
> It must have been asked many times before.
> 
> Doug.
> 
> 

Doug,

This should not happen. I do the same thing you are doing all the time
with koma book and never have that problem. I can probably see what the
problem is if you post a sample chapter on the list (or send it to me
offline if you prefer). It's possible the problem is with the master
document, but most likely it is with each chapter document.

The chapter files should contain just the contents of the chapter. The
chapter headings should be in the master document.

Les


Re: Large reports - consider moving from Libre/OOo/Word to LYX

2013-01-04 Thread Les Denham
On Fri, 4 Jan 2013 09:43:24 +0100
Jan Helebrant jan.helebr...@gmail.com wrote:

 2) to move to LYX, but I am unsure whether it is possible to at least
 partially import current work or whether I would have to define all the
 styles again from scratch. I still will have all input files for the
 report as DOC or DOCX files. Second, I assume that LYX should be able to
 handle large texts as books etc. but have no practical experience with
 it so would be fine to know how it could behave.

Jan,

Firstly, LyX can definitely handle the type of document you are talking
about. I have often used LyX for very large reports. A recent example was
a technical report with the following attributes:

* 368 pages in the PDF file.
* over 250 figures.
* six appendices
* a detailed index
* a detailed table of contents
* a detailed list of figures
* a Bibtex bibliography
* hundreds of footnotes
* every figure correctly cross-referenced in the text with clickable links
  in the PDF
* color logos in header and footer on every page
* file size about 400MB

For this project I used the Koma Book class in LyX. The contributions from
other members of the project team were largely supplied to me in PDF form
(generated usually in PowerPoint or MS Word). I copied text from the PDF
files using the Acrobat Reader select tool and pasted it directly into LyX.
For figures I used the Acrobat Reader snapshot tool and pasted the
captured image into Gimp, or used pdfimages. Where the contribution
included full page vector images in the PDF file I occasionally used pdftk
to extract a one-page PDF for use in the LyX file.

There are tools to import files from Word/LibreOffice, but in my
experience they don't work very well. I have had the best results when I
exported HTML from Libre Office or Word, but in most cases the copy 
paste is less hassle than fixing the glitches generated in importing files.

Les


Re: Large reports - consider moving from Libre/OOo/Word to LYX

2013-01-04 Thread Les Denham
On Fri, 4 Jan 2013 09:43:24 +0100
Jan Helebrant jan.helebr...@gmail.com wrote:

 2) to move to LYX, but I am unsure whether it is possible to at least
 partially import current work or whether I would have to define all the
 styles again from scratch. I still will have all input files for the
 report as DOC or DOCX files. Second, I assume that LYX should be able to
 handle large texts as books etc. but have no practical experience with
 it so would be fine to know how it could behave.

Jan,

Firstly, LyX can definitely handle the type of document you are talking
about. I have often used LyX for very large reports. A recent example was
a technical report with the following attributes:

* 368 pages in the PDF file.
* over 250 figures.
* six appendices
* a detailed index
* a detailed table of contents
* a detailed list of figures
* a Bibtex bibliography
* hundreds of footnotes
* every figure correctly cross-referenced in the text with clickable links
  in the PDF
* color logos in header and footer on every page
* file size about 400MB

For this project I used the Koma Book class in LyX. The contributions from
other members of the project team were largely supplied to me in PDF form
(generated usually in PowerPoint or MS Word). I copied text from the PDF
files using the Acrobat Reader select tool and pasted it directly into LyX.
For figures I used the Acrobat Reader snapshot tool and pasted the
captured image into Gimp, or used pdfimages. Where the contribution
included full page vector images in the PDF file I occasionally used pdftk
to extract a one-page PDF for use in the LyX file.

There are tools to import files from Word/LibreOffice, but in my
experience they don't work very well. I have had the best results when I
exported HTML from Libre Office or Word, but in most cases the copy 
paste is less hassle than fixing the glitches generated in importing files.

Les


Re: Large reports - consider moving from Libre/OOo/Word to LYX

2013-01-04 Thread Les Denham
On Fri, 4 Jan 2013 09:43:24 +0100
Jan Helebrant  wrote:

> 2) to move to LYX, but I am unsure whether it is possible to at least
> partially import current work or whether I would have to define all the
> styles again from scratch. I still will have all input files for the
> report as DOC or DOCX files. Second, I assume that LYX should be able to
> handle large texts as books etc. but have no practical experience with
> it so would be fine to know how it could behave.

Jan,

Firstly, LyX can definitely handle the type of document you are talking
about. I have often used LyX for very large reports. A recent example was
a technical report with the following attributes:

* 368 pages in the PDF file.
* over 250 figures.
* six appendices
* a detailed index
* a detailed table of contents
* a detailed list of figures
* a Bibtex bibliography
* hundreds of footnotes
* every figure correctly cross-referenced in the text with clickable links
  in the PDF
* color logos in header and footer on every page
* file size about 400MB

For this project I used the Koma Book class in LyX. The contributions from
other members of the project team were largely supplied to me in PDF form
(generated usually in PowerPoint or MS Word). I copied text from the PDF
files using the Acrobat Reader select tool and pasted it directly into LyX.
For figures I used the Acrobat Reader snapshot tool and pasted the
captured image into Gimp, or used pdfimages. Where the contribution
included full page vector images in the PDF file I occasionally used pdftk
to extract a one-page PDF for use in the LyX file.

There are tools to import files from Word/LibreOffice, but in my
experience they don't work very well. I have had the best results when I
exported HTML from Libre Office or Word, but in most cases the copy &
paste is less hassle than fixing the glitches generated in importing files.

Les


Re: Please help!

2012-10-18 Thread Les Denham
On Thu, 18 Oct 2012 23:03:35 +0200
jezZiFeR iMap jezzi...@gmail.com wrote:

 2.
 Maybe I subsribed with one of the following:
 jezzi...@gmail.com
 jezzi...@googlemail.com
 
 Unfortunately I don’t have the welcome message anymore…

Have you tried unsubscribing using these two addresses? I don't use
Gmail, so I  don't know whether this is feasible sending from Gmail,
but with SMTP it is certainly possible to set the From field as
something other than the actual sender.

Note that the mail server is almost certainly case-sensitive, so while
it may send an email addressed to jezzi...@gmail.com to the same place
as an email addressed to jezzi...@gmail.com, it might not regard them
as the same address when editing lists.

Les


Re: Please help!

2012-10-18 Thread Les Denham
On Thu, 18 Oct 2012 23:03:35 +0200
jezZiFeR iMap jezzi...@gmail.com wrote:

 2.
 Maybe I subsribed with one of the following:
 jezzi...@gmail.com
 jezzi...@googlemail.com
 
 Unfortunately I don’t have the welcome message anymore…

Have you tried unsubscribing using these two addresses? I don't use
Gmail, so I  don't know whether this is feasible sending from Gmail,
but with SMTP it is certainly possible to set the From field as
something other than the actual sender.

Note that the mail server is almost certainly case-sensitive, so while
it may send an email addressed to jezzi...@gmail.com to the same place
as an email addressed to jezzi...@gmail.com, it might not regard them
as the same address when editing lists.

Les


Re: Please help!

2012-10-18 Thread Les Denham
On Thu, 18 Oct 2012 23:03:35 +0200
jezZiFeR iMap  wrote:

> 2.
> Maybe I subsribed with one of the following:
> jezzi...@gmail.com
> jezzi...@googlemail.com
> 
> Unfortunately I don’t have the welcome message anymore…

Have you tried unsubscribing using these two addresses? I don't use
Gmail, so I  don't know whether this is feasible sending from Gmail,
but with SMTP it is certainly possible to set the "From" field as
something other than the actual sender.

Note that the mail server is almost certainly case-sensitive, so while
it may send an email addressed to jezzi...@gmail.com to the same place
as an email addressed to jezzi...@gmail.com, it might not regard them
as the same address when editing lists.

Les


Re: bibliography mixed with floats

2012-10-02 Thread Les Denham
On Tue, 2 Oct 2012 15:42:50 +0100
Jim Maas jimmaa...@gmail.com wrote:

 I'm using a specific class file specified by a journal, and thus have
 put all the figures and tables at the end of the document as floats.
 Then I put in page break and then the Bibtex Bibliography. However
 lyx mixes the references in with the floats and I can not get it to
 start on its own page at the end. What have I done wrong?

Put a Clear Page (Insert-Formatting-Clear Page) after the last float
and before the bibliography.

Les


Re: bibliography mixed with floats

2012-10-02 Thread Les Denham
On Tue, 2 Oct 2012 15:42:50 +0100
Jim Maas jimmaa...@gmail.com wrote:

 I'm using a specific class file specified by a journal, and thus have
 put all the figures and tables at the end of the document as floats.
 Then I put in page break and then the Bibtex Bibliography. However
 lyx mixes the references in with the floats and I can not get it to
 start on its own page at the end. What have I done wrong?

Put a Clear Page (Insert-Formatting-Clear Page) after the last float
and before the bibliography.

Les


Re: bibliography mixed with floats

2012-10-02 Thread Les Denham
On Tue, 2 Oct 2012 15:42:50 +0100
Jim Maas  wrote:

> I'm using a specific class file specified by a journal, and thus have
> put all the figures and tables at the end of the document as floats.
> Then I put in page break and then the Bibtex Bibliography. However
> lyx mixes the references in with the floats and I can not get it to
> start on its own page at the end. What have I done wrong?

Put a Clear Page (Insert->Formatting->Clear Page) after the last float
and before the bibliography.

Les


Re: Key - 1 [1]

2012-09-27 Thread Les Denham
On Tue, 25 Sep 2012 17:37:06 -0400
Eric Weir eew...@bellsouth.net wrote:

 
 The characters in the subject heading now appear in a LyX document
 the bibliography between the heading and the bibliographic list. I do
 not remember it being there before. When compiled [1] appears in
 the same place in the compiled document. Again, I do not remember it
 being there before. 
 
 If I delete the characters in the LyX document the heading is
 deleted. How do I---can I?---get rid of these characters?
 

Eric,

I had exactly the same problem a few months ago, and I did eventually
fix it. But I was never sure exactly how I did it.

I think the problem arose when I did some cutting and pasting among the
references.

Les


Re: Key - 1 [1]

2012-09-27 Thread Les Denham
On Tue, 25 Sep 2012 17:37:06 -0400
Eric Weir eew...@bellsouth.net wrote:

 
 The characters in the subject heading now appear in a LyX document
 the bibliography between the heading and the bibliographic list. I do
 not remember it being there before. When compiled [1] appears in
 the same place in the compiled document. Again, I do not remember it
 being there before. 
 
 If I delete the characters in the LyX document the heading is
 deleted. How do I---can I?---get rid of these characters?
 

Eric,

I had exactly the same problem a few months ago, and I did eventually
fix it. But I was never sure exactly how I did it.

I think the problem arose when I did some cutting and pasting among the
references.

Les


Re: Key - 1 [1]

2012-09-27 Thread Les Denham
On Tue, 25 Sep 2012 17:37:06 -0400
Eric Weir  wrote:

> 
> The characters in the subject heading now appear in a LyX document
> the bibliography between the heading and the bibliographic list. I do
> not remember it being there before. When compiled "[1]" appears in
> the same place in the compiled document. Again, I do not remember it
> being there before. 
> 
> If I delete the characters in the LyX document the heading is
> deleted. How do I---can I?---get rid of these characters?
> 

Eric,

I had exactly the same problem a few months ago, and I did eventually
fix it. But I was never sure exactly how I did it.

I think the problem arose when I did some cutting and pasting among the
references.

Les


Re: presentation (beamer) and bibtex inputenc

2012-08-23 Thread Les Denham
On Thu, 23 Aug 2012 21:29:24 +0200
Michael Bach pha...@gmail.com wrote:

 Dear LyX Users and Developers,
 
 I am using the presentation (beamer) document class with the german 
 option. I have a BibTeX bibliography that I inserted via the Insert  
 ... mechanism.
 
 Now when I try to compile the file, I get inputenc errors. It stems
 from the usage of the german ß character in the title of the
 reference. From the full log:
 
 ! Package inputenc Error: Keyboard character used is undefined
 (inputenc)in inputencoding `latin9'.
 
 Now I am wondering why this does not work in the presentation
 (beamer) document class when it does work in another file with the
 article document class.
 
 Any ideas?
 
 Michael
 

Michael,

I have had similar problems with beamer and BibTeX in English when a
name in the bibliography had an accented character (é I think).

I did figure out a workaround, but I don't remember exactly how. I
think it involved putting the offending reference in a separate .bib
file, but I don't remember the details and no longer have the files.

Les


Re: presentation (beamer) and bibtex inputenc

2012-08-23 Thread Les Denham
On Thu, 23 Aug 2012 21:29:24 +0200
Michael Bach pha...@gmail.com wrote:

 Dear LyX Users and Developers,
 
 I am using the presentation (beamer) document class with the german 
 option. I have a BibTeX bibliography that I inserted via the Insert  
 ... mechanism.
 
 Now when I try to compile the file, I get inputenc errors. It stems
 from the usage of the german ß character in the title of the
 reference. From the full log:
 
 ! Package inputenc Error: Keyboard character used is undefined
 (inputenc)in inputencoding `latin9'.
 
 Now I am wondering why this does not work in the presentation
 (beamer) document class when it does work in another file with the
 article document class.
 
 Any ideas?
 
 Michael
 

Michael,

I have had similar problems with beamer and BibTeX in English when a
name in the bibliography had an accented character (é I think).

I did figure out a workaround, but I don't remember exactly how. I
think it involved putting the offending reference in a separate .bib
file, but I don't remember the details and no longer have the files.

Les


Re: presentation (beamer) and bibtex inputenc

2012-08-23 Thread Les Denham
On Thu, 23 Aug 2012 21:29:24 +0200
Michael Bach  wrote:

> Dear LyX Users and Developers,
> 
> I am using the presentation (beamer) document class with the "german" 
> option. I have a BibTeX bibliography that I inserted via the Insert > 
> ... mechanism.
> 
> Now when I try to compile the file, I get inputenc errors. It stems
> from the usage of the german "ß" character in the title of the
> reference. From the full log:
> 
> ! Package inputenc Error: Keyboard character used is undefined
> (inputenc)in inputencoding `latin9'.
> 
> Now I am wondering why this does not work in the presentation
> (beamer) document class when it does work in another file with the
> article document class.
> 
> Any ideas?
> 
> Michael
> 

Michael,

I have had similar problems with beamer and BibTeX in English when a
name in the bibliography had an accented character (é I think).

I did figure out a workaround, but I don't remember exactly how. I
think it involved putting the offending reference in a separate .bib
file, but I don't remember the details and no longer have the files.

Les


Re: beamer question

2012-08-01 Thread Les Denham
On Wed, 01 Aug 2012 20:15:29 +0100
paul sutton zl...@zleap.net wrote:

 Hi
 
 Now we have the raspberry PI out,  I can perhaps use a raspberry Pi as
 part of a display system for a TV,  sort of scroll through slides etc.
 
 if i create a presentation in beamer does this allow for auto changing
 of slides as in if I set the pi to auto boot to x, auto login and
 start a presentation,  I want it to run the presentation and when it
 gets to the end,  start over from the beginning without having to
 press a keyboard to go to next slide.
 
 Just wondered if this is possible or another package should be used.
 
 Paul
 
Paul,

Look at \transduration in the the Beamer User Guide
(http://mirrors.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf)

I haven't used it myself, but it seems as if it should do what you're
asking.

Or you could use Impressive
(http://impressive.sourceforge.net/index.php)
which can be used to automate any PDF presentation.

You might need to write a simple loop in some scripting language (I'd
use Perl, but Python, bash, etc. would work) to repeat the show.

Les


Re: beamer question

2012-08-01 Thread Les Denham
On Wed, 01 Aug 2012 20:15:29 +0100
paul sutton zl...@zleap.net wrote:

 Hi
 
 Now we have the raspberry PI out,  I can perhaps use a raspberry Pi as
 part of a display system for a TV,  sort of scroll through slides etc.
 
 if i create a presentation in beamer does this allow for auto changing
 of slides as in if I set the pi to auto boot to x, auto login and
 start a presentation,  I want it to run the presentation and when it
 gets to the end,  start over from the beginning without having to
 press a keyboard to go to next slide.
 
 Just wondered if this is possible or another package should be used.
 
 Paul
 
Paul,

Look at \transduration in the the Beamer User Guide
(http://mirrors.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf)

I haven't used it myself, but it seems as if it should do what you're
asking.

Or you could use Impressive
(http://impressive.sourceforge.net/index.php)
which can be used to automate any PDF presentation.

You might need to write a simple loop in some scripting language (I'd
use Perl, but Python, bash, etc. would work) to repeat the show.

Les


Re: beamer question

2012-08-01 Thread Les Denham
On Wed, 01 Aug 2012 20:15:29 +0100
paul sutton  wrote:

> Hi
> 
> Now we have the raspberry PI out,  I can perhaps use a raspberry Pi as
> part of a display system for a TV,  sort of scroll through slides etc.
> 
> if i create a presentation in beamer does this allow for auto changing
> of slides as in if I set the pi to auto boot to x, auto login and
> start a presentation,  I want it to run the presentation and when it
> gets to the end,  start over from the beginning without having to
> press a keyboard to go to next slide.
> 
> Just wondered if this is possible or another package should be used.
> 
> Paul
> 
Paul,

Look at \transduration in the the Beamer User Guide
(http://mirrors.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf)

I haven't used it myself, but it seems as if it should do what you're
asking.

Or you could use Impressive
(http://impressive.sourceforge.net/index.php)
which can be used to automate any PDF presentation.

You might need to write a simple loop in some scripting language (I'd
use Perl, but Python, bash, etc. would work) to repeat the show.

Les


Re: Graphics Tools

2012-07-17 Thread Les Denham
On Mon, 16 Jul 2012 08:44:55 -0700
William R. Buckley w...@wrbuckley.com wrote:

 Working with TeX is a bit of a challenge, since it seems not to 
 include much support for abstract drawing.  I have need for figures 
 to appear in a paper, and am not familiar with the toolset usually 
 employed for use to make drawn images suitable for use with TeX.
 
 Can you please make a few suggestions.
 
 wrb
 

One tool I haven't seem mentioned is Grace
(http://plasma-gate.weizmann.ac.il/Grace/).

I've found this a very versatile program, and (on Linux at least) it
has native support from LyX. Look at
http://plasma-gate.weizmann.ac.il/Grace/gallery/
for  examples of what can be done.

Les


Re: Graphics Tools

2012-07-17 Thread Les Denham
On Mon, 16 Jul 2012 08:44:55 -0700
William R. Buckley w...@wrbuckley.com wrote:

 Working with TeX is a bit of a challenge, since it seems not to 
 include much support for abstract drawing.  I have need for figures 
 to appear in a paper, and am not familiar with the toolset usually 
 employed for use to make drawn images suitable for use with TeX.
 
 Can you please make a few suggestions.
 
 wrb
 

One tool I haven't seem mentioned is Grace
(http://plasma-gate.weizmann.ac.il/Grace/).

I've found this a very versatile program, and (on Linux at least) it
has native support from LyX. Look at
http://plasma-gate.weizmann.ac.il/Grace/gallery/
for  examples of what can be done.

Les


Re: Graphics Tools

2012-07-17 Thread Les Denham
On Mon, 16 Jul 2012 08:44:55 -0700
"William R. Buckley"  wrote:

> Working with TeX is a bit of a challenge, since it seems not to 
> include much support for abstract drawing.  I have need for figures 
> to appear in a paper, and am not familiar with the toolset usually 
> employed for use to make drawn images suitable for use with TeX.
> 
> Can you please make a few suggestions.
> 
> wrb
> 

One tool I haven't seem mentioned is Grace
(http://plasma-gate.weizmann.ac.il/Grace/).

I've found this a very versatile program, and (on Linux at least) it
has native support from LyX. Look at
http://plasma-gate.weizmann.ac.il/Grace/gallery/
for  examples of what can be done.

Les


Re: Lyx 2.0.4 for Linux

2012-07-09 Thread Les Denham
On Mon, 09 Jul 2012 11:03:50 -0400
UD ehud.kap...@gmail.com wrote:

 I keep forgetting where I might be able to get the latest Lyx
 releases for Linux.
 I think Liviu maintains a site which has it, but what is it?
 Thanks,
 EK
 
 

I just did an emerge --sync and found that LyX 2.0.4 is already
available in Gentoo Portage.

Les


Re: Lyx 2.0.4 for Linux

2012-07-09 Thread Les Denham
On Mon, 09 Jul 2012 11:03:50 -0400
UD ehud.kap...@gmail.com wrote:

 I keep forgetting where I might be able to get the latest Lyx
 releases for Linux.
 I think Liviu maintains a site which has it, but what is it?
 Thanks,
 EK
 
 

I just did an emerge --sync and found that LyX 2.0.4 is already
available in Gentoo Portage.

Les


Re: Lyx 2.0.4 for Linux

2012-07-09 Thread Les Denham
On Mon, 09 Jul 2012 11:03:50 -0400
UD  wrote:

> I keep forgetting where I might be able to get the latest Lyx
> releases for Linux.
> I think Liviu maintains a site which has it, but what is it?
> Thanks,
> EK
> 
> 

I just did an "emerge --sync" and found that LyX 2.0.4 is already
available in Gentoo Portage.

Les


Re: Thank You!

2012-06-21 Thread Les Denham
On Thu, 21 Jun 2012 21:12:22 +0200
Påvel Nicklasson pavel223...@gmail.com wrote:

 My wishlist includes an Adobe Distiller type of program for Linux and
 that more printing houses would learn about LaTeX/LyX and offer
 support and advice.

Påvel,

One of my problems has been that most printing companies insist on if
providing a PDF it must be distilled using Adobe for PDF files. That's
a quote from Lulu.com, and while they do accept other PDF files for
private printing, if you want it published by them you have to comply.
Other publishers have similar wording.

I have heard that Lulu.com will accept a PostScript file, though they
do not say so on their website.

So if you want to use Linux only for writing a book to be published, you
pretty much have the choice of finding a publisher who will accept
PostScript, or paying for Adobe's online service (I think they accept
PostScript).

Some publishers will accept other graphics files, such as JPEG or PDF
for covers, and if they will do this Scribus is quite good for putting
a cover together (with some of the graphic bits produced by Gimp).

But I certainly join you in wishing for more LaTeX support among
publishers. I don't worry so much about LyX support: if a publisher
will accept LaTeX it is quite easy to generate that from LyX.

Les


Re: Thank You!

2012-06-21 Thread Les Denham
On Thu, 21 Jun 2012 21:12:22 +0200
Påvel Nicklasson pavel223...@gmail.com wrote:

 My wishlist includes an Adobe Distiller type of program for Linux and
 that more printing houses would learn about LaTeX/LyX and offer
 support and advice.

Påvel,

One of my problems has been that most printing companies insist on if
providing a PDF it must be distilled using Adobe for PDF files. That's
a quote from Lulu.com, and while they do accept other PDF files for
private printing, if you want it published by them you have to comply.
Other publishers have similar wording.

I have heard that Lulu.com will accept a PostScript file, though they
do not say so on their website.

So if you want to use Linux only for writing a book to be published, you
pretty much have the choice of finding a publisher who will accept
PostScript, or paying for Adobe's online service (I think they accept
PostScript).

Some publishers will accept other graphics files, such as JPEG or PDF
for covers, and if they will do this Scribus is quite good for putting
a cover together (with some of the graphic bits produced by Gimp).

But I certainly join you in wishing for more LaTeX support among
publishers. I don't worry so much about LyX support: if a publisher
will accept LaTeX it is quite easy to generate that from LyX.

Les


Re: Thank You!

2012-06-21 Thread Les Denham
On Thu, 21 Jun 2012 21:12:22 +0200
Påvel Nicklasson  wrote:

> My wishlist includes an Adobe Distiller type of program for Linux and
> that more printing houses would learn about LaTeX/LyX and offer
> support and advice.

Påvel,

One of my problems has been that most printing companies insist on "if
providing a PDF it must be distilled using Adobe" for PDF files. That's
a quote from Lulu.com, and while they do accept other PDF files for
private printing, if you want it published by them you have to comply.
Other publishers have similar wording.

I have heard that Lulu.com will accept a PostScript file, though they
do not say so on their website.

So if you want to use Linux only for writing a book to be published, you
pretty much have the choice of finding a publisher who will accept
PostScript, or paying for Adobe's online service (I think they accept
PostScript).

Some publishers will accept other graphics files, such as JPEG or PDF
for covers, and if they will do this Scribus is quite good for putting
a cover together (with some of the graphic bits produced by Gimp).

But I certainly join you in wishing for more LaTeX support among
publishers. I don't worry so much about LyX support: if a publisher
will accept LaTeX it is quite easy to generate that from LyX.

Les


Re: How to get rid of excessive vertical whitespace

2012-06-16 Thread Les Denham
On Sat, 16 Jun 2012 12:53:50 -0700
Roger House rho...@sonic.net wrote:

 I'm using Lyx for the first time and find it, by and large, quite
 nice. However, I've run into a situation where Lyx's automatic
 vertical layout is creating ugly output.  Example:
 
input
  text
  small figure
  caption
  text
  large figure (taking an entire page)
 
output
  PAGE BREAK
  text
  small figure
  LOTS OF VERTICAL WHITESPACE
  caption
  LOTS OF VERTICAL WHITESPACE
  text
  PAGE BREAK
  large figure (taking an entire page)
 
 I want a page break before the large figure, so that works fine.  
.
.
.
 
 I would greatly appreciate any advice on how to prevent the layout
 shown above.
 
Roger,

The obvious solution would be to put a vertical
fill (Insert-Formatting-Vertical Space-VFill) after the second
text, and follow it with a page break (Ctrl-Enter).

However, I'd suggest you reconsider the need for having the large
figure quite so large (so it would fit on the same page) or,
alternatively, making the small figure larger, so it fills some of the
empty space.

But make sure your document has pretty much its final content, and you
are happy with the margins and font size (etc.) before you start making
changes to get the page breaks making sense: changing these  things
will change the page breaks anyway.

Les



Re: How to get rid of excessive vertical whitespace

2012-06-16 Thread Les Denham
On Sat, 16 Jun 2012 12:53:50 -0700
Roger House rho...@sonic.net wrote:

 I'm using Lyx for the first time and find it, by and large, quite
 nice. However, I've run into a situation where Lyx's automatic
 vertical layout is creating ugly output.  Example:
 
input
  text
  small figure
  caption
  text
  large figure (taking an entire page)
 
output
  PAGE BREAK
  text
  small figure
  LOTS OF VERTICAL WHITESPACE
  caption
  LOTS OF VERTICAL WHITESPACE
  text
  PAGE BREAK
  large figure (taking an entire page)
 
 I want a page break before the large figure, so that works fine.  
.
.
.
 
 I would greatly appreciate any advice on how to prevent the layout
 shown above.
 
Roger,

The obvious solution would be to put a vertical
fill (Insert-Formatting-Vertical Space-VFill) after the second
text, and follow it with a page break (Ctrl-Enter).

However, I'd suggest you reconsider the need for having the large
figure quite so large (so it would fit on the same page) or,
alternatively, making the small figure larger, so it fills some of the
empty space.

But make sure your document has pretty much its final content, and you
are happy with the margins and font size (etc.) before you start making
changes to get the page breaks making sense: changing these  things
will change the page breaks anyway.

Les



Re: How to get rid of excessive vertical whitespace

2012-06-16 Thread Les Denham
On Sat, 16 Jun 2012 12:53:50 -0700
Roger House  wrote:

> I'm using Lyx for the first time and find it, by and large, quite
> nice. However, I've run into a situation where Lyx's automatic
> vertical layout is creating ugly output.  Example:
> 
>input
>  text
>  small figure
>  caption
>  text
>  large figure (taking an entire page)
> 
>output
>  PAGE BREAK
>  text
>  small figure
>  LOTS OF VERTICAL WHITESPACE
>  caption
>  LOTS OF VERTICAL WHITESPACE
>  text
>  PAGE BREAK
>  large figure (taking an entire page)
> 
> I want a page break before the large figure, so that works fine.  
.
.
.
> 
> I would greatly appreciate any advice on how to prevent the layout
> shown above.
> 
Roger,

The obvious solution would be to put a "vertical
fill" (Insert->Formatting->Vertical Space->VFill) after the second
text, and follow it with a page break (Ctrl-Enter).

However, I'd suggest you reconsider the need for having the large
figure quite so large (so it would fit on the same page) or,
alternatively, making the small figure larger, so it fills some of the
empty space.

But make sure your document has pretty much its final content, and you
are happy with the margins and font size (etc.) before you start making
changes to get the page breaks making sense: changing these  things
will change the page breaks anyway.

Les



Re: Grey Matter

2012-06-06 Thread Les Denham
On Wed, 6 Jun 2012 19:48:21 +
Beil, Scott scott.b...@ars.usda.gov wrote:

 Lyx,
 
 How do I grey boxes within tables; to make large table easy to read?
 

Scott,

It can be quite easy.

1. Add to the preamble:
\usepackage[table]{xcolor}

2. Put ERT in the document before the first table:
\rowcolors{1}{lightgray}{white}

The result is shown in the attached file.

The methods mentioned by Paul and Liviu also work, but this is easier
for making all your tables the same color layout.

Les

tablebackground.lyx
Description: application/lyx


Re: Grey Matter

2012-06-06 Thread Les Denham
On Wed, 6 Jun 2012 19:48:21 +
Beil, Scott scott.b...@ars.usda.gov wrote:

 Lyx,
 
 How do I grey boxes within tables; to make large table easy to read?
 

Scott,

It can be quite easy.

1. Add to the preamble:
\usepackage[table]{xcolor}

2. Put ERT in the document before the first table:
\rowcolors{1}{lightgray}{white}

The result is shown in the attached file.

The methods mentioned by Paul and Liviu also work, but this is easier
for making all your tables the same color layout.

Les

tablebackground.lyx
Description: application/lyx


Re: Grey Matter

2012-06-06 Thread Les Denham
On Wed, 6 Jun 2012 19:48:21 +
"Beil, Scott"  wrote:

> Lyx,
> 
> How do I grey boxes within tables; to make large table easy to read?
> 

Scott,

It can be quite easy.

1. Add to the preamble:
\usepackage[table]{xcolor}

2. Put ERT in the document before the first table:
\rowcolors{1}{lightgray}{white}

The result is shown in the attached file.

The methods mentioned by Paul and Liviu also work, but this is easier
for making all your tables the same color layout.

Les

tablebackground.lyx
Description: application/lyx


Re: Music (not music theory) books in Lyx

2012-05-18 Thread Les Denham
On Thu, 17 May 2012 16:28:36 -0700 (PDT)
ski_phreak mfu...@gmail.com wrote:


 
 So my big challenge is: How should I create non-printing Title,
 Composer and Lyricist references for my indexing.
 
 Thanks in advance for sharing your knowledge.
 
 Mike The Ski_Phreak
 
 --
 View this message in context:
 http://lyx.475766.n2.nabble.com/Music-not-music-theory-books-in-Lyx-tp7564697.html
 Sent from the LyX - Users mailing list archive at Nabble.com.

Mike,

This should be quite easy to achieve. An index entry does not itself
show on the page: it just has to be on the right page.

LyX 2.0 handles multiple indices natively, so having the three
different ones should be simple.

See: http://wiki.lyx.org/Tips/Indexing

Les


Re: Music (not music theory) books in Lyx

2012-05-18 Thread Les Denham
On Thu, 17 May 2012 16:28:36 -0700 (PDT)
ski_phreak mfu...@gmail.com wrote:


 
 So my big challenge is: How should I create non-printing Title,
 Composer and Lyricist references for my indexing.
 
 Thanks in advance for sharing your knowledge.
 
 Mike The Ski_Phreak
 
 --
 View this message in context:
 http://lyx.475766.n2.nabble.com/Music-not-music-theory-books-in-Lyx-tp7564697.html
 Sent from the LyX - Users mailing list archive at Nabble.com.

Mike,

This should be quite easy to achieve. An index entry does not itself
show on the page: it just has to be on the right page.

LyX 2.0 handles multiple indices natively, so having the three
different ones should be simple.

See: http://wiki.lyx.org/Tips/Indexing

Les


Re: Music (not music theory) books in Lyx

2012-05-18 Thread Les Denham
On Thu, 17 May 2012 16:28:36 -0700 (PDT)
ski_phreak  wrote:


> 
> So my big challenge is: How should I create non-printing Title,
> Composer and Lyricist references for my indexing.
> 
> Thanks in advance for sharing your knowledge.
> 
> Mike The Ski_Phreak
> 
> --
> View this message in context:
> http://lyx.475766.n2.nabble.com/Music-not-music-theory-books-in-Lyx-tp7564697.html
> Sent from the LyX - Users mailing list archive at Nabble.com.

Mike,

This should be quite easy to achieve. An index entry does not itself
show on the page: it just has to be on the right page.

LyX 2.0 handles multiple indices natively, so having the three
different ones should be simple.

See: http://wiki.lyx.org/Tips/Indexing

Les


Re: Placing figures beside text in Beamer

2012-05-09 Thread Les Denham
On Wed, 09 May 2012 09:42:29 -0700
Tim Wescott t...@wescottdesign.com wrote:

 More Beamer hand-holding needed:
 
 I want to put a figure on the right, with text on the left, as shown
 (this is from an Impress presentation, BTW).
 
 I tried to place two miniboxes on the slide, with the text in one and
 the figure in the other.  These boxes get placed exactly the way I
 want them to if I put text in both -- but as soon as I put the figure
 in the second box, LaTeX wants to put it above and to the right, with
 the text below and to the left.
 
 Surely there is a way to do this.
 

As Jürgen pointed out, the standard Beamer way to do this is to use
columns. I've modified Ingar's example of how to align boxes to give an
example, as the way you use columns is not exactly intuitive.

Les


0628.example_columns.lyx
Description: application/lyx


Re: Placing figures beside text in Beamer

2012-05-09 Thread Les Denham
On Wed, 09 May 2012 09:42:29 -0700
Tim Wescott t...@wescottdesign.com wrote:

 More Beamer hand-holding needed:
 
 I want to put a figure on the right, with text on the left, as shown
 (this is from an Impress presentation, BTW).
 
 I tried to place two miniboxes on the slide, with the text in one and
 the figure in the other.  These boxes get placed exactly the way I
 want them to if I put text in both -- but as soon as I put the figure
 in the second box, LaTeX wants to put it above and to the right, with
 the text below and to the left.
 
 Surely there is a way to do this.
 

As Jürgen pointed out, the standard Beamer way to do this is to use
columns. I've modified Ingar's example of how to align boxes to give an
example, as the way you use columns is not exactly intuitive.

Les


0628.example_columns.lyx
Description: application/lyx


Re: Placing figures beside text in Beamer

2012-05-09 Thread Les Denham
On Wed, 09 May 2012 09:42:29 -0700
Tim Wescott  wrote:

> More Beamer hand-holding needed:
> 
> I want to put a figure on the right, with text on the left, as shown
> (this is from an Impress presentation, BTW).
> 
> I tried to place two miniboxes on the slide, with the text in one and
> the figure in the other.  These boxes get placed exactly the way I
> want them to if I put text in both -- but as soon as I put the figure
> in the second box, LaTeX wants to put it above and to the right, with
> the text below and to the left.
> 
> Surely there is a way to do this.
> 

As Jürgen pointed out, the standard Beamer way to do this is to use
columns. I've modified Ingar's example of how to align boxes to give an
example, as the way you use columns is not exactly intuitive.

Les


0628.example_columns.lyx
Description: application/lyx


Re: Incomplete Document from Letter Template

2012-04-05 Thread Les Denham
On Thu, 05 Apr 2012 19:27:01 +0200
Caterpillar caterpilla...@gmail.com wrote:

 Il 05/04/2012 19:22, Richard Heck ha scritto:
  On 04/05/2012 10:55 AM, Caterpillar wrote:
  Hello, I started using Lyx 2 months ago, so I am a new user
  compared to you :-)
  I am having some troubles with any template of letter kind.
  I opened a topic here, but I don't get answers by some days, and I
  need to fix this problem as soon as possible
  http://latex-community.org/forum/viewtopic.php?f=19t=19307
 
  The problem is:
  If I write a complete letter using any letter template (filling
  name, address, subject, ecc.) and then I click on show document, I
  obtain only a poor document with only the main body.
 
  Please attach a LyX file that causes this problem.
 
  Richard
 
 
 Here is an example

You need to have Opening style. See Help-Additional Features 6.14.3

Les


Re: Incomplete Document from Letter Template

2012-04-05 Thread Les Denham
On Thu, 05 Apr 2012 19:27:01 +0200
Caterpillar caterpilla...@gmail.com wrote:

 Il 05/04/2012 19:22, Richard Heck ha scritto:
  On 04/05/2012 10:55 AM, Caterpillar wrote:
  Hello, I started using Lyx 2 months ago, so I am a new user
  compared to you :-)
  I am having some troubles with any template of letter kind.
  I opened a topic here, but I don't get answers by some days, and I
  need to fix this problem as soon as possible
  http://latex-community.org/forum/viewtopic.php?f=19t=19307
 
  The problem is:
  If I write a complete letter using any letter template (filling
  name, address, subject, ecc.) and then I click on show document, I
  obtain only a poor document with only the main body.
 
  Please attach a LyX file that causes this problem.
 
  Richard
 
 
 Here is an example

You need to have Opening style. See Help-Additional Features 6.14.3

Les


Re: Incomplete Document from Letter Template

2012-04-05 Thread Les Denham
On Thu, 05 Apr 2012 19:27:01 +0200
Caterpillar  wrote:

> Il 05/04/2012 19:22, Richard Heck ha scritto:
> > On 04/05/2012 10:55 AM, Caterpillar wrote:
> >> Hello, I started using Lyx 2 months ago, so I am a new user
> >> compared to you :-)
> >> I am having some troubles with any template of letter kind.
> >> I opened a topic here, but I don't get answers by some days, and I
> >> need to fix this problem as soon as possible
> >> http://latex-community.org/forum/viewtopic.php?f=19=19307
> >>
> >> The problem is:
> >> If I write a complete letter using any letter template (filling
> >> name, address, subject, ecc.) and then I click on show document, I
> >> obtain only a poor document with only the main body.
> >>
> > Please attach a LyX file that causes this problem.
> >
> > Richard
> >
> >
> Here is an example

You need to have Opening style. See Help->Additional Features 6.14.3

Les


Re: psfrag

2012-03-27 Thread Les Denham
On Tue, 27 Mar 2012 09:24:46 + (UTC)
Guenter Milde mi...@users.sf.net wrote:

 On 2012-03-26, Megnin, Christof (IMT) wrote:
  Hallo Lyx-Team,
 
  ich habe die Bilder in Lyx als eps eingefügt und möchte nun
  Versuchen die Schriften innerhalb der Bilder durch das Paket psfrag
  zu ändern.
 
  Wie kann ich das machen oder was muss ich als Latex schreiben,
  damit das funktioniert?
 
 Google for LyX and psfrag. Amongst many posts to this list, you will
 also find
 
 http://lachlan.rogers.name/2007/09/perfect-graph-integration-using-psfrag/
 
Günter,

I don't remember seeing that particular post. But it seems to me that
this might be a solution to a problem I have had from time to time with
PDF files produced from LyX which have non-embedded fonts when I have
done everything obvious to embed the fonts. The problem has turned out
to be PDF figures in the LyX document, figures generated by some other
program which has not embedded the fonts. Or perhaps pdflatex does not
embed fonts embedded in included PDF files?

Using pdftops to convert the figure to EPS, then using psfrag, might be
a better solution to this problem than the solution I have used in the
past: convert the PDF figure to a raster image.

Les


Re: psfrag

2012-03-27 Thread Les Denham
On Tue, 27 Mar 2012 09:24:46 + (UTC)
Guenter Milde mi...@users.sf.net wrote:

 On 2012-03-26, Megnin, Christof (IMT) wrote:
  Hallo Lyx-Team,
 
  ich habe die Bilder in Lyx als eps eingefügt und möchte nun
  Versuchen die Schriften innerhalb der Bilder durch das Paket psfrag
  zu ändern.
 
  Wie kann ich das machen oder was muss ich als Latex schreiben,
  damit das funktioniert?
 
 Google for LyX and psfrag. Amongst many posts to this list, you will
 also find
 
 http://lachlan.rogers.name/2007/09/perfect-graph-integration-using-psfrag/
 
Günter,

I don't remember seeing that particular post. But it seems to me that
this might be a solution to a problem I have had from time to time with
PDF files produced from LyX which have non-embedded fonts when I have
done everything obvious to embed the fonts. The problem has turned out
to be PDF figures in the LyX document, figures generated by some other
program which has not embedded the fonts. Or perhaps pdflatex does not
embed fonts embedded in included PDF files?

Using pdftops to convert the figure to EPS, then using psfrag, might be
a better solution to this problem than the solution I have used in the
past: convert the PDF figure to a raster image.

Les


Re: psfrag

2012-03-27 Thread Les Denham
On Tue, 27 Mar 2012 09:24:46 + (UTC)
Guenter Milde  wrote:

> On 2012-03-26, Megnin, Christof (IMT) wrote:
> > Hallo Lyx-Team,
> 
> > ich habe die Bilder in Lyx als eps eingefügt und möchte nun
> > Versuchen die Schriften innerhalb der Bilder durch das Paket psfrag
> > zu ändern.
> 
> > Wie kann ich das machen oder was muss ich als Latex schreiben,
> > damit das funktioniert?
> 
> Google for LyX and psfrag. Amongst many posts to this list, you will
> also find
> 
> http://lachlan.rogers.name/2007/09/perfect-graph-integration-using-psfrag/
> 
Günter,

I don't remember seeing that particular post. But it seems to me that
this might be a solution to a problem I have had from time to time with
PDF files produced from LyX which have non-embedded fonts when I have
done everything obvious to embed the fonts. The problem has turned out
to be PDF figures in the LyX document, figures generated by some other
program which has not embedded the fonts. Or perhaps pdflatex does not
embed fonts embedded in included PDF files?

Using pdftops to convert the figure to EPS, then using psfrag, might be
a better solution to this problem than the solution I have used in the
past: convert the PDF figure to a raster image.

Les


Re: Embedded Fonts

2012-02-27 Thread Les Denham
On Mon, 27 Feb 2012 13:02:51 +0100
Liviu Andronic landronim...@gmail.com wrote:

 On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas jcredbe...@gmail.com
 wrote:
  Dear all, I would like to use Lulu.com to print a book.
  Nevertheless, the ask for the fonts to be embedded in the PDF. Does
  Lyx do that by default?
 
 Mos often, yes. To verify, open the PDF in acroread or evince and
 access ctrl+d and alt+enter, respectively. In the Fonts tab you should
 have information on whether they're embedded or not.
 
 Liviu

One potential source of non-embedded fonts is figures (usually in PDF
format) with non-embedded fonts. If the PDF reader tells you there are
fonts in the document which are not embedded, check any PDF figures the
same way. The solution for non-embedded fonts in PDF figures depends on
the source of the figures: if you didn't generate the figures yourself,
embedding the fonts could be tricky. The ultimate solution is to
convert the PDF figures to raster images (PNG is best) at high enough
resolution to meet your final requirements. But this can generate very
large PDF files.

Les


Re: Embedded Fonts

2012-02-27 Thread Les Denham
On Mon, 27 Feb 2012 13:02:51 +0100
Liviu Andronic landronim...@gmail.com wrote:

 On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas jcredbe...@gmail.com
 wrote:
  Dear all, I would like to use Lulu.com to print a book.
  Nevertheless, the ask for the fonts to be embedded in the PDF. Does
  Lyx do that by default?
 
 Mos often, yes. To verify, open the PDF in acroread or evince and
 access ctrl+d and alt+enter, respectively. In the Fonts tab you should
 have information on whether they're embedded or not.
 
 Liviu

One potential source of non-embedded fonts is figures (usually in PDF
format) with non-embedded fonts. If the PDF reader tells you there are
fonts in the document which are not embedded, check any PDF figures the
same way. The solution for non-embedded fonts in PDF figures depends on
the source of the figures: if you didn't generate the figures yourself,
embedding the fonts could be tricky. The ultimate solution is to
convert the PDF figures to raster images (PNG is best) at high enough
resolution to meet your final requirements. But this can generate very
large PDF files.

Les


Re: Embedded Fonts

2012-02-27 Thread Les Denham
On Mon, 27 Feb 2012 13:02:51 +0100
Liviu Andronic  wrote:

> On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas 
> wrote:
> > Dear all, I would like to use Lulu.com to print a book.
> > Nevertheless, the ask for the fonts to be embedded in the PDF. Does
> > Lyx do that by default?
> >
> Mos often, yes. To verify, open the PDF in acroread or evince and
> access ctrl+d and alt+enter, respectively. In the Fonts tab you should
> have information on whether they're embedded or not.
> 
> Liviu

One potential source of non-embedded fonts is figures (usually in PDF
format) with non-embedded fonts. If the PDF reader tells you there are
fonts in the document which are not embedded, check any PDF figures the
same way. The solution for non-embedded fonts in PDF figures depends on
the source of the figures: if you didn't generate the figures yourself,
embedding the fonts could be tricky. The ultimate solution is to
convert the PDF figures to raster images (PNG is best) at high enough
resolution to meet your final requirements. But this can generate very
large PDF files.

Les


Re: Recommended third-party tools

2012-02-18 Thread Les Denham
On Sat, 18 Feb 2012 15:45:52 -0800
Russell D Brunelle rdb...@uw.edu wrote:

 Here's the draft I have so far, which builds on something I mentioned
 on this list a while ago: http://russellb.livejournal.com/1335718.html

I'm sure everyone has different preferences, but here are some of my
preferences.

Firstly, the version of Linux is not all that important. I've had good
experiences with Ubuntu in the past, but thanks to some idiotic (in my
opinion) decisions recently by the maintainers of both Gnome and KDE
and by Ubuntu for its default desktop, I've given up on Ubuntu, Gnome,
and KDE, all three of which I have used happily in the past. For the
average user now I would recommend Linux Mint (which just works even
more smoothly than Ubuntu) and, for those willing to learn a little or a
lot about what is behind the pretty windows, either Sabayon or Gentoo.
Whichever distro you choose, change the window manager to XFCE or LXDE.

For attractive graphics, I would generally agree. You have left out two
tools I find very versatile and useful: for easy publication-quality
data plotting I think xmgrace (which has a graphical interface, but can
also be used on the command line and in scripts) is easier to use than
gnuplot; and if maps of any kind are needed, you need GMT (Generic
Mapping Tools).

If you are using PDF for everything else you definitely need
pdfimages (part of the Poppler library) and pdftk.

And for things like the title pages Steve Litt says you need to do with
something other than LyX, you need Scribus.

Finally, if you want to make your document into an ebook, you need
Calibre.

Les


  1   2   3   4   5   6   7   >