Re: Lyx, Kindle, epub

2014-08-23 Thread Steve Litt
On Sun, 13 Jul 2014 18:00:39 -0500
Les Denham lden...@hal-pc.org wrote:

 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

Thanks Les!

The preceding helps a lot if I want to convert my existing LyX written
books to ePub. For new construction my plan is to use either (Docbook)
XMLMind, which outputs both PDF and ePub, or to write my books in Sigil
and make some scripts to convert Xhtml to LaTeX.

A few additions to your instructions:

After deleting ?xml version=1.0 encoding=UTF-8?, you can import
the HTML file like this:

sigil myexport.html

Then, within Sigil, File/Save. Upon using ebook-viewer to view the new
ebook, you might get a message something like this:

File Section0001.xhtml not in OPF file.

If that happens, look in toc.ncx and remove the entire element set for
Section0001.xhtml, and this error should vanish.

You should also make sure to place your downloaded

Within Sigil, you can Tools-contents to produce both the HTML contents
that go in the front of the book, and the device contents you get when
you press the contents button on the device.

Next, make CSS local by downloading the web-linked CSS file linked in
the HTML (text) portion, importing it into the Styles directory of your
ePub, and changing the link accordingly. This can all be done using the
Sigil GUI, you don't need to code it, IIRC. You'll probably have to
manually delete the old, web based CSS file reference manually, though.

Now that you have local CSS files, you can change the appearance of
whatever you want, and can add new CSS files for niche purposes.

Next, search out all ERT from the old LyX file. ERT is copied right
into the ePub as text, so you need to back it out and substitute CSS
styles for all ERT. Remember all those years I championed ERT for the
frontmatter? Well, now that there's ePub, my old suggestion is the kiss
of death. ALL appearance should be implemented through styles, even if
that means making a style for a single paragraph or phrase in the book.
If you do new-construction ePub authoring from LyX (and I don't
recommend doing so), you need to author styles-only, with absolutely no
ERT anywhere in the document. Also, when doing new construction, don't
use figure frames for illustrations: Just dump the .jpg or whatever
right into the Lyx, and make them small enough to view on a small
screen.

Tables, unless they're very narrow, don't do well in an ePub, as would
be expected. Sometimes expressing something as a table is a great way
of expressing it, but not if one of your outputs will be flowing-text
files destined for small devices. Consider finding a way of expressing
the info, other than tables. By the way, this would be true if you
authored straight into Sigil: You just can't put wide things in a file
destined for a device.

After completing all patch-up, you need to comply with the 

Re: Lyx, Kindle, epub

2014-08-23 Thread Steve Litt
On Sun, 13 Jul 2014 18:00:39 -0500
Les Denham lden...@hal-pc.org wrote:

 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

Thanks Les!

The preceding helps a lot if I want to convert my existing LyX written
books to ePub. For new construction my plan is to use either (Docbook)
XMLMind, which outputs both PDF and ePub, or to write my books in Sigil
and make some scripts to convert Xhtml to LaTeX.

A few additions to your instructions:

After deleting ?xml version=1.0 encoding=UTF-8?, you can import
the HTML file like this:

sigil myexport.html

Then, within Sigil, File/Save. Upon using ebook-viewer to view the new
ebook, you might get a message something like this:

File Section0001.xhtml not in OPF file.

If that happens, look in toc.ncx and remove the entire element set for
Section0001.xhtml, and this error should vanish.

You should also make sure to place your downloaded

Within Sigil, you can Tools-contents to produce both the HTML contents
that go in the front of the book, and the device contents you get when
you press the contents button on the device.

Next, make CSS local by downloading the web-linked CSS file linked in
the HTML (text) portion, importing it into the Styles directory of your
ePub, and changing the link accordingly. This can all be done using the
Sigil GUI, you don't need to code it, IIRC. You'll probably have to
manually delete the old, web based CSS file reference manually, though.

Now that you have local CSS files, you can change the appearance of
whatever you want, and can add new CSS files for niche purposes.

Next, search out all ERT from the old LyX file. ERT is copied right
into the ePub as text, so you need to back it out and substitute CSS
styles for all ERT. Remember all those years I championed ERT for the
frontmatter? Well, now that there's ePub, my old suggestion is the kiss
of death. ALL appearance should be implemented through styles, even if
that means making a style for a single paragraph or phrase in the book.
If you do new-construction ePub authoring from LyX (and I don't
recommend doing so), you need to author styles-only, with absolutely no
ERT anywhere in the document. Also, when doing new construction, don't
use figure frames for illustrations: Just dump the .jpg or whatever
right into the Lyx, and make them small enough to view on a small
screen.

Tables, unless they're very narrow, don't do well in an ePub, as would
be expected. Sometimes expressing something as a table is a great way
of expressing it, but not if one of your outputs will be flowing-text
files destined for small devices. Consider finding a way of expressing
the info, other than tables. By the way, this would be true if you
authored straight into Sigil: You just can't put wide things in a file
destined for a device.

After completing all patch-up, you need to comply with the 

Re: Lyx, Kindle, epub

2014-08-23 Thread Steve Litt
On Sun, 13 Jul 2014 18:00:39 -0500
Les Denham  wrote:

> 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

Thanks Les!

The preceding helps a lot if I want to convert my existing LyX written
books to ePub. For new construction my plan is to use either (Docbook)
XMLMind, which outputs both PDF and ePub, or to write my books in Sigil
and make some scripts to convert Xhtml to LaTeX.

A few additions to your instructions:

After deleting , you can import
the HTML file like this:

sigil myexport.html

Then, within Sigil, File/Save. Upon using ebook-viewer to view the new
ebook, you might get a message something like this:

File Section0001.xhtml not in OPF file.

If that happens, look in toc.ncx and remove the entire element set for
Section0001.xhtml, and this error should vanish.

You should also make sure to place your downloaded

Within Sigil, you can Tools->contents to produce both the HTML contents
that go in the front of the book, and the device contents you get when
you press the contents button on the device.

Next, make CSS local by downloading the web-linked CSS file linked in
the HTML (text) portion, importing it into the Styles directory of your
ePub, and changing the link accordingly. This can all be done using the
Sigil GUI, you don't need to code it, IIRC. You'll probably have to
manually delete the old, web based CSS file reference manually, though.

Now that you have local CSS files, you can change the appearance of
whatever you want, and can add new CSS files for niche purposes.

Next, search out all ERT from the old LyX file. ERT is copied right
into the ePub as text, so you need to back it out and substitute CSS
styles for all ERT. Remember all those years I championed ERT for the
frontmatter? Well, now that there's ePub, my old suggestion is the kiss
of death. ALL appearance should be implemented through styles, even if
that means making a style for a single paragraph or phrase in the book.
If you do new-construction ePub authoring from LyX (and I don't
recommend doing so), you need to author styles-only, with absolutely no
ERT anywhere in the document. Also, when doing new construction, don't
use figure frames for illustrations: Just dump the .jpg or whatever
right into the Lyx, and make them small enough to view on a small
screen.

Tables, unless they're very narrow, don't do well in an ePub, as would
be expected. Sometimes expressing something as a table is a great way
of expressing it, but not if one of your outputs will be flowing-text
files destined for small devices. Consider finding a way of expressing
the info, other than tables. By the way, this would be true if you
authored straight into Sigil: You just can't put wide things in a file
destined for a device.

After completing all patch-up, you need to comply with the 

Re: Lyx, Kindle, epub

2014-08-14 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Really grateful to Les for his advice below. This works very well!
Gracias... from India. FN


On 14 July 2014 04:30, Les Denham lden...@hal-pc.org wrote:

 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




-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


Re: Lyx, Kindle, epub

2014-08-14 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Really grateful to Les for his advice below. This works very well!
Gracias... from India. FN


On 14 July 2014 04:30, Les Denham lden...@hal-pc.org wrote:

 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




-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


Re: Lyx, Kindle, epub

2014-08-14 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Really grateful to Les for his advice below. This works very well!
Gracias... from India. FN


On 14 July 2014 04:30, Les Denham  wrote:

> 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
>



-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


Re: Lyx, Kindle, epub

2014-08-05 Thread Steve Litt
This is good news, Frederick, because you're right, flowing-text eBooks
(as opposed to PDF eBooks) are gaining importance now. A few questions:

* Besides changing the doctype on the exported (X)html, what other
  tweaking did you have to do in Sigil?

* Did you try to convert this to a Kindle book (using kindlegen), and
  if so, did it pass muster with the Kindle specifications?

* In the future, do you anticipate that you'd change the book in LyX
  and then reconvert, or will you maintain one version in LyX and one
  in Sigil?

* For images, did you just stick them in without floats? That would be
  my first thought in a book destined for both ePub and PDF.

* Does your ePub have both a device table of contents and an HTML table
  of contents?

Thanks,

SteveT

On Mon, 4 Aug 2014 05:16:37 +0530
 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
fredericknoro...@gmail.com wrote:

 Just to say a big thank you for this, Les, it works very well!
 
 With ebooks gaining in importance now, it would be great if Lyx added
 on more capabilities on this front. To make a great too, better!
 
 Frederick Noronha
 Goa, India
 Founder and Editor
 Goa,1556*
 
 * Published over 70 books so far, nearly all set in LyX! See
 http://goa1556.in
 
 
 On 14 July 2014 04:30, Les Denham lden...@hal-pc.org wrote:
 
  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-08-05 Thread Steve Litt
This is good news, Frederick, because you're right, flowing-text eBooks
(as opposed to PDF eBooks) are gaining importance now. A few questions:

* Besides changing the doctype on the exported (X)html, what other
  tweaking did you have to do in Sigil?

* Did you try to convert this to a Kindle book (using kindlegen), and
  if so, did it pass muster with the Kindle specifications?

* In the future, do you anticipate that you'd change the book in LyX
  and then reconvert, or will you maintain one version in LyX and one
  in Sigil?

* For images, did you just stick them in without floats? That would be
  my first thought in a book destined for both ePub and PDF.

* Does your ePub have both a device table of contents and an HTML table
  of contents?

Thanks,

SteveT

On Mon, 4 Aug 2014 05:16:37 +0530
 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
fredericknoro...@gmail.com wrote:

 Just to say a big thank you for this, Les, it works very well!
 
 With ebooks gaining in importance now, it would be great if Lyx added
 on more capabilities on this front. To make a great too, better!
 
 Frederick Noronha
 Goa, India
 Founder and Editor
 Goa,1556*
 
 * Published over 70 books so far, nearly all set in LyX! See
 http://goa1556.in
 
 
 On 14 July 2014 04:30, Les Denham lden...@hal-pc.org wrote:
 
  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-08-05 Thread Steve Litt
This is good news, Frederick, because you're right, flowing-text eBooks
(as opposed to PDF eBooks) are gaining importance now. A few questions:

* Besides changing the doctype on the exported (X)html, what other
  tweaking did you have to do in Sigil?

* Did you try to convert this to a Kindle book (using kindlegen), and
  if so, did it pass muster with the Kindle specifications?

* In the future, do you anticipate that you'd change the book in LyX
  and then reconvert, or will you maintain one version in LyX and one
  in Sigil?

* For images, did you just stick them in without floats? That would be
  my first thought in a book destined for both ePub and PDF.

* Does your ePub have both a device table of contents and an HTML table
  of contents?

Thanks,

SteveT

On Mon, 4 Aug 2014 05:16:37 +0530
 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
 wrote:

> Just to say a big thank you for this, Les, it works very well!
> 
> With ebooks gaining in importance now, it would be great if Lyx added
> on more capabilities on this front. To make a great too, better!
> 
> Frederick Noronha
> Goa, India
> Founder and Editor
> Goa,1556*
> 
> * Published over 70 books so far, nearly all set in LyX! See
> http://goa1556.in
> 
> 
> On 14 July 2014 04:30, Les Denham  wrote:
> 
> > 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  > 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-08-03 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Just to say a big thank you for this, Les, it works very well!

With ebooks gaining in importance now, it would be great if Lyx added on
more capabilities on this front. To make a great too, better!

Frederick Noronha
Goa, India
Founder and Editor
Goa,1556*

* Published over 70 books so far, nearly all set in LyX! See
http://goa1556.in


On 14 July 2014 04:30, Les Denham lden...@hal-pc.org wrote:

 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




-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


Re: Lyx, Kindle, epub

2014-08-03 Thread Alan L Tyree

If it works, use it! A few additional note however:

- I would run tidy -m file.html on the resulting (X)HTML file to get 
rid of any obvious glitches;


- Calibre can also be useful for converting (X)HTML files to epub; 
current versions of Calibre also allow editing the files


- pandoc provides a simpler html - epub conversion; I have found it to 
be good IF you don't have many cross references in your MS. It fails (in 
the version I have) to make cross references when the html file is split 
by the epub construction process. Calibre does this correctly.


- epubcheck is available as a package for most Linux distributions and, 
I suppose but do not know, for other platforms as well. This allows you 
to do a validation check locally.


Regards,
Alan

On 04/08/14 09:46, Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا 
wrote:

Just to say a big thank you for this, Les, it works very well!

With ebooks gaining in importance now, it would be great if Lyx added 
on more capabilities on this front. To make a great too, better!


Frederick Noronha
Goa, India
Founder and Editor
Goa,1556*

* Published over 70 books so far, nearly all set in LyX! See 
http://goa1556.in



On 14 July 2014 04:30, Les Denham lden...@hal-pc.org 
mailto:lden...@hal-pc.org wrote:


On Mon, 14 Jul 2014 01:08:47 +0530
 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
fredericknoro...@gmail.com mailto: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




--
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org



Re: Lyx, Kindle, epub

2014-08-03 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Just to say a big thank you for this, Les, it works very well!

With ebooks gaining in importance now, it would be great if Lyx added on
more capabilities on this front. To make a great too, better!

Frederick Noronha
Goa, India
Founder and Editor
Goa,1556*

* Published over 70 books so far, nearly all set in LyX! See
http://goa1556.in


On 14 July 2014 04:30, Les Denham lden...@hal-pc.org wrote:

 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




-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


Re: Lyx, Kindle, epub

2014-08-03 Thread Alan L Tyree

If it works, use it! A few additional note however:

- I would run tidy -m file.html on the resulting (X)HTML file to get 
rid of any obvious glitches;


- Calibre can also be useful for converting (X)HTML files to epub; 
current versions of Calibre also allow editing the files


- pandoc provides a simpler html - epub conversion; I have found it to 
be good IF you don't have many cross references in your MS. It fails (in 
the version I have) to make cross references when the html file is split 
by the epub construction process. Calibre does this correctly.


- epubcheck is available as a package for most Linux distributions and, 
I suppose but do not know, for other platforms as well. This allows you 
to do a validation check locally.


Regards,
Alan

On 04/08/14 09:46, Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا 
wrote:

Just to say a big thank you for this, Les, it works very well!

With ebooks gaining in importance now, it would be great if Lyx added 
on more capabilities on this front. To make a great too, better!


Frederick Noronha
Goa, India
Founder and Editor
Goa,1556*

* Published over 70 books so far, nearly all set in LyX! See 
http://goa1556.in



On 14 July 2014 04:30, Les Denham lden...@hal-pc.org 
mailto:lden...@hal-pc.org wrote:


On Mon, 14 Jul 2014 01:08:47 +0530
 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
fredericknoro...@gmail.com mailto: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




--
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org



Re: Lyx, Kindle, epub

2014-08-03 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Just to say a big thank you for this, Les, it works very well!

With ebooks gaining in importance now, it would be great if Lyx added on
more capabilities on this front. To make a great too, better!

Frederick Noronha
Goa, India
Founder and Editor
Goa,1556*

* Published over 70 books so far, nearly all set in LyX! See
http://goa1556.in


On 14 July 2014 04:30, Les Denham  wrote:

> 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
>



-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


Re: Lyx, Kindle, epub

2014-08-03 Thread Alan L Tyree

If it works, use it! A few additional note however:

- I would run tidy -m  on the resulting (X)HTML file to get 
rid of any obvious glitches;


- Calibre can also be useful for converting (X)HTML files to epub; 
current versions of Calibre also allow editing the files


- pandoc provides a simpler html -> epub conversion; I have found it to 
be good IF you don't have many cross references in your MS. It fails (in 
the version I have) to make cross references when the html file is split 
by the epub construction process. Calibre does this correctly.


- epubcheck is available as a package for most Linux distributions and, 
I suppose but do not know, for other platforms as well. This allows you 
to do a validation check locally.


Regards,
Alan

On 04/08/14 09:46, Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا 
wrote:

Just to say a big thank you for this, Les, it works very well!

With ebooks gaining in importance now, it would be great if Lyx added 
on more capabilities on this front. To make a great too, better!


Frederick Noronha
Goa, India
Founder and Editor
Goa,1556*

* Published over 70 books so far, nearly all set in LyX! See 
http://goa1556.in



On 14 July 2014 04:30, Les Denham > wrote:


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




--
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org



Re: Lyx, Kindle, epub

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

 Dear all:
 
 Just seeking your indulgence with some information:
 
 * 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?
 
 Many thanks!
 
 FN for Goa,1556
 http://goa1556.in is an alternative publishers, which has over 70
 books to its credit and is officially committed to using LyX!

Frederick,

What kind of headway have you made on LyX-ePub so far?

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance



Re: Lyx, Kindle, epub

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

 Dear all:
 
 Just seeking your indulgence with some information:
 
 * 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?
 
 Many thanks!
 
 FN for Goa,1556
 http://goa1556.in is an alternative publishers, which has over 70
 books to its credit and is officially committed to using LyX!

Frederick,

What kind of headway have you made on LyX-ePub so far?

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance



Re: Lyx, Kindle, epub

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

> Dear all:
> 
> Just seeking your indulgence with some information:
> 
> * 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?
> 
> Many thanks!
> 
> FN for Goa,1556
> http://goa1556.in is an alternative publishers, which has over 70
> books to its credit and is officially committed to using LyX!

Frederick,

What kind of headway have you made on LyX->ePub so far?

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance



Lyx, Kindle, epub

2014-07-13 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Dear all:

Just seeking your indulgence with some information:

* 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?

Many thanks!

FN for Goa,1556
http://goa1556.in is an alternative publishers, which has over 70 books to
its credit and is officially committed to using LyX!


-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


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


Lyx, Kindle, epub

2014-07-13 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Dear all:

Just seeking your indulgence with some information:

* 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?

Many thanks!

FN for Goa,1556
http://goa1556.in is an alternative publishers, which has over 70 books to
its credit and is officially committed to using LyX!


-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


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


Lyx, Kindle, epub

2014-07-13 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Dear all:

Just seeking your indulgence with some information:

* 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?

Many thanks!

FN for Goa,1556
http://goa1556.in is an alternative publishers, which has over 70 books to
its credit and is officially committed to using LyX!


-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


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