Re: [Pub-forum] ebook follies
On 2011-09-11, Richard Heck wrote: On 09/11/2011 03:14 AM, Steve Litt wrote: The man page shows the --export option but fails to list all the possible values for fmt. I'd like to see that list added to the man page. Impossible, since what formats are available depends upon what converters you have installed. However, we could list the internal export options (pdflatex, latex, xetex, HTML) as core export options. Maybe there should, though, be a command line option that would give you a list of these. Easy to implement. Yes Günter
Capitalisation in paper citations
Hello, Lyx users, I have a little problem concerning the Latex output of my bibliography list. Some words in the title of papers appear not capitalised even though it is in the bibtex file. For example there is a name of a person in the title which should begin with a capital letter which is however printed in small letters. I cannot find the reason for this behaviour. Can someone help me? Regards, Ider
Re: Capitalisation in paper citations
On 09/12/2011 06:16 PM, ider ronneberger wrote: Hello, Lyx users, I have a little problem concerning the Latex output of my bibliography list. Some words in the title of papers appear not capitalised even though it is in the bibtex file. For example there is a name of a person in the title which should begin with a capital letter which is however printed in small letters. It's because of the bib style you're using, nothing related to LyX. Try protecting those characters with {}, like in: The way to win {N}obel prize.
Two identical installations of LyX cannot read the same file. What is wrong?
Hello there, I'm a new user and have googled an error message I am receiving but am probably not searching the right places: [1] The layout file: article could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output [2] Due to some error in it, the layout file: AGU-article could not be loaded. A default textclass with defailt layouts will be used. LyX will not be able to produce correct output. Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install from ubuntu 11.04.) Kind Regards, Bjorn
Re: Capitalisation in paper citations
On 09/12/2011 12:27 PM, PhilipPirrip wrote: On 09/12/2011 06:16 PM, ider ronneberger wrote: Hello, Lyx users, I have a little problem concerning the Latex output of my bibliography list. Some words in the title of papers appear not capitalised even though it is in the bibtex file. For example there is a name of a person in the title which should begin with a capital letter which is however printed in small letters. It's because of the bib style you're using, nothing related to LyX. That is to say: Some (even many) of the standard bibliography styles de-capitalize everything for you, automatically. There, you have to do this: Try protecting those characters with {}, like in: The way to win {N}obel prize. with anything that shouldn't be de-capitalized. In general, I think it's a good idea to use capitalized style for everything in the bib file, and let the bib style sort it out. Then if you run into a publisher that wants caps, you just have to change the style. Richard
Re: [Pub-forum] ebook follies
Rob Oakes has also done some work along these lines, but starting with LyX's internal XHTML export. Yes, and still working on it. For plain vanilla books, LyX does a fantastic job for exporting to XHTML (and from there to ePub). But there are a couple of sticking points that aren't quite as polished yet (mostly due to limitations in the current ePub). Specifically: EndNotes and Footnotes are a mess. I'm a little curious as to how eLyXer handles them. I've written some preliminary support into the branch of LyX I hack on (https://launchpad.net/lyx-outline). When specified, it converts FootNotes to EndNotes and places them at the end of the file with a link. I'd be interested in other strategies for dealing with the content. The other thing that I need to add is a method for resampling and downsizing images, so that you can use LyX to target both Web and Print from the same copy. Right now, I've been doing that via branches. (With slightly different layouts for both.) But this results in some duplicated text, which I consider to be a bad thing. Eventually, I would like to build in native support for ePub right into LyX. We've got most of the machinery all ready, but just need to add a UI to it. Unfortunately, real world work has forced me away from side projects, but it's something that I'm definitely working on. Cheers, Rob
Re: Two identical installations of LyX cannot read the same file. What is wrong?
On 09/12/2011 12:28 PM, Bjorn Madsen wrote: Hello there, I'm a new user and have googled an error message I am receiving but am probably not searching the right places: [1] The layout file: article could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output [2] Due to some error in it, the layout file: AGU-article could not be loaded. A default textclass with defailt layouts will be used. LyX will not be able to produce correct output. Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install from ubuntu 11.04.) Both errors are puzzling. Something is wrong with the installation. First, the article.layout file should be installed with LyX, typically at /usr/share/lyx/layouts/. You can look at HelpAbout LyX to find out where the system directory is meant to be. The other case is weirder, in a way, since the layout file is being found---it's surprising that it is there if article.layout is not---but is apparently corrupt. I'd suggest you uninstall LyX and try reinstalling, if you haven't already done so. If you have, then we'll try something else. Richard
Re: Two identical installations of LyX cannot read the same file. What is wrong?
On Monday, September 12, 2011 12:28:46 PM Bjorn Madsen wrote: Hello there, I'm a new user and have googled an error message I am receiving but am probably not searching the right places: [1] The layout file: article could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output [2] Due to some error in it, the layout file: AGU-article could not be loaded. A default textclass with defailt layouts will be used. LyX will not be able to produce correct output. Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install from ubuntu 11.04.) Kind Regards, Bjorn Hi Bjorn, I had an almost identical problem a few months ago, on Ubuntu 11.04. In my case, the solution that fixed the problem was to uninstall LyX through Synaptic, download the latest stable LyX from LyX.org, and then install it the old fashioned way, ./configure;make;make install. Be aware that LyX has some pretty hairy dependencies, especially as concerns Qt4. I basically had to install almost everything having to do with Qt4 to get it to work, but once so installed, LyX worked perfectly. My solution is consistent with the advice given by the LyX mailing list, which is that Ubuntu 11.04 ships with an incomplete LyX guaranteed to screw up. Hope this helps. SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: [Pub-forum] ebook follies
On Monday, September 12, 2011 01:10:07 PM Rob Oakes wrote: Rob Oakes has also done some work along these lines, but starting with LyX's internal XHTML export. Yes, and still working on it. For plain vanilla books, LyX does a fantastic job for exporting to XHTML (and from there to ePub). Because my book was planned and built from the ground up to be a flow- text eBook on small reading devices, my book is incredibly plain- vanilla. To the point where I use all caps instead of emphasis. The most complicated thing I use is enumerate and itemize. But there are a couple of sticking points that aren't quite as polished yet (mostly due to limitations in the current ePub). Specifically: EndNotes and Footnotes are a mess. I'm a little curious as to how eLyXer handles them. I can't say, because I had no endnotes or footnotes. My thought pattern is even if I could make an eBook work with these, they might screw up on the target devices. I've written some preliminary support into the branch of LyX I hack on (https://launchpad.net/lyx-outline). When specified, it converts FootNotes to EndNotes and places them at the end of the file with a link. I'd be interested in other strategies for dealing with the content. My strategy has been to phrase my content so that footnotes aren't necessary. It's not always easy. Footnotes sure are handy when you make an important point in a short sentence, but want to make available to the reader the theory behind, for those readers who want more. Instead, I found other ways of writing the material. The other thing that I need to add is a method for resampling and downsizing images, so that you can use LyX to target both Web and Print from the same copy. My book has no images, in order to make things easy. But I anticipate future books requiring images, and when that time comes it will be nice if my conversion process does them right. Thank you! Right now, I've been doing that via branches. (With slightly different layouts for both.) But this results in some duplicated text, which I consider to be a bad thing. Eventually, I would like to build in native support for ePub right into LyX. We've got most of the machinery all ready, but just need to add a UI to it. Native ePub output would be incredibly studly, always assuming it's constructed in such a way to be non-garbage input for Kindle, iPad and Nook books. When LyX has ePub output suitable for input to Kindle, iPad and Nook, I can probably get a whole bunch of new LyX users, because LyX is probably the best for authoring flowable text eBooks. You know, the main disadvantage of LyX is how difficult it is to make new styles (environment and character styles), but with flowable text eBooks the need for additional styles is negligable, so in my opinion LyX is actually a better tool for flowable text eBooks than it is for print/pdf books, and I've been using LyX for print/pdf books for 9.8 years. Unfortunately, real world work has forced me away from side projects, but it's something that I'm definitely working on. The real world! Can't live with it, can't live without it. Thank you, and every other LyX developer, for making this fantastic authoring tool! SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: Two identical installations of LyX cannot read the same file. What is wrong?
Hello Richard, I tried to do a re-install from the Ubuntu Software Centre with all packages enabled. It didn't help. As I have another installation on my laptop that works (same ubuntu installation), and have done a dryrun rsync between them checking the /usr/share/lyx/ and /bjorn/.lyx as you mentioned below: *You can look at HelpAbout LyX to find out where the system directory is meant to be.* I found that several files were missing, so I rsync'ed them from the laptop to the desktop. Here are the culprits: :~$ rsync -rav 192.168.0.3:/home/bjorn/.lyx/ /home/bjorn/.lyx receiving incremental file list ./ configure.log lyxmodules.lst lyxrc.defaults packages.lst session textclass.lst bind/ cache/ cache/index clipart/ doc/ examples/ images/ kbd/ layouts/ scripts/ templates/ ui/ sent 593 bytes received 78216 bytes 52539.33 bytes/sec total size is 77642 speedup is 0.99 * * *And now lyx works!! -Thank you very much!* On 12 September 2011 18:23, Richard Heck rgh...@comcast.net wrote: On 09/12/2011 12:28 PM, Bjorn Madsen wrote: Hello there, I'm a new user and have googled an error message I am receiving but am probably not searching the right places: [1] The layout file: article could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output [2] Due to some error in it, the layout file: AGU-article could not be loaded. A default textclass with defailt layouts will be used. LyX will not be able to produce correct output. Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install from ubuntu 11.04.) Both errors are puzzling. Something is wrong with the installation. First, the article.layout file should be installed with LyX, typically at /usr/share/lyx/layouts/. You can look at HelpAbout LyX to find out where the system directory is meant to be. The other case is weirder, in a way, since the layout file is being found---it's surprising that it is there if article.layout is not---but is apparently corrupt. I'd suggest you uninstall LyX and try reinstalling, if you haven't already done so. If you have, then we'll try something else. Richard -- Bjorn Madsen *Researcher Complex Systems Research* Ph.: (+44) 0 7792 030 720 Ph.2: (+44) 0 1767 220 828 bjorn.mad...@operationsresearchgroup.com
Re: [Pub-forum] ebook follies
On 09/12/2011 01:10 PM, Rob Oakes wrote: Rob Oakes has also done some work along these lines, but starting with LyX's internal XHTML export. Yes, and still working on it. For plain vanilla books, LyX does a fantastic job for exporting to XHTML (and from there to ePub). But there are a couple of sticking points that aren't quite as polished yet (mostly due to limitations in the current ePub). Specifically: EndNotes and Footnotes are a mess. I'm a little curious as to how eLyXer handles them. I've written some preliminary support into the branch of LyX I hack on (https://launchpad.net/lyx-outline). When specified, it converts FootNotes to EndNotes and places them at the end of the file with a link. I'd be interested in other strategies for dealing with the content. Last time I looked, elyxer did pretty much the same sort of thing, but had footnotes styled with things like float: right;, rather than with the appearing and disappearing act they do in LyX. But the real issue, as we discussed before, is somehow to defer them to the end. The other thing that I need to add is a method for resampling and downsizing images, so that you can use LyX to target both Web and Print from the same copy. Right now, I've been doing that via branches. (With slightly different layouts for both.) But this results in some duplicated text, which I consider to be a bad thing. Eventually, I would like to build in native support for ePub right into LyX. We've got most of the machinery all ready, but just need to add a UI to it. Unfortunately, real world work has forced me away from side projects, but it's something that I'm definitely working on. I'll see if I can't sort out the footnote issue at some point. Last I thought about it, it didn't seem as hard as I'd thought, since we do have a list of all the footnotes in the TOC Richard
Re: [Pub-forum] ebook follies
Hi, On Mon, Sep 12, 2011 at 11:11 PM, Richard Heck rgh...@comcast.net wrote: Last time I looked, elyxer did pretty much the same sort of thing, but had footnotes styled with things like float: right;, rather than with the appearing and disappearing act they do in LyX. But the real issue, as we discussed before, is somehow to defer them to the end. Actually, with eLyXer you can choose several styles for your footnotes: - hover, where the footnote appears when you place the pointer over them; - margin, where they appear on the right; - and end, where they are deferred to the end. They can be combined so footnotes appear at several places. Allow me to refer you to the relevant section of the user guide: http://elyxer.nongnu.org/userguide.html#sub:Footnotes Alex.
Re: Two identical installations of LyX cannot read the same file. What is wrong?
Steve Litt slitt at troubleshooters.com writes: I had an almost identical problem a few months ago, on Ubuntu 11.04. In my case, the solution that fixed the problem was to uninstall LyX through Synaptic, download the latest stable LyX from LyX.org, and then install it the old fashioned way, ./configure;make;make install. Be aware that LyX has some pretty hairy dependencies, especially as concerns Qt4. I basically had to install almost everything having to do with Qt4 to get it to work, but once so installed, LyX worked perfectly. If, like me, you are averse to Adventures in Dependencies (and like to use Synaptic), you can find a DEB package for LyX 2.0.1 at http://www.getdeb.net/updates/Ubuntu/11.04/?q=lyx. Works fine for me.
Re: [Pub-forum] ebook follies
On 2011-09-11, Richard Heck wrote: On 09/11/2011 03:14 AM, Steve Litt wrote: The man page shows the --export option but fails to list all the possible values for fmt. I'd like to see that list added to the man page. Impossible, since what formats are available depends upon what converters you have installed. However, we could list the internal export options (pdflatex, latex, xetex, HTML) as core export options. Maybe there should, though, be a command line option that would give you a list of these. Easy to implement. Yes Günter
Capitalisation in paper citations
Hello, Lyx users, I have a little problem concerning the Latex output of my bibliography list. Some words in the title of papers appear not capitalised even though it is in the bibtex file. For example there is a name of a person in the title which should begin with a capital letter which is however printed in small letters. I cannot find the reason for this behaviour. Can someone help me? Regards, Ider
Re: Capitalisation in paper citations
On 09/12/2011 06:16 PM, ider ronneberger wrote: Hello, Lyx users, I have a little problem concerning the Latex output of my bibliography list. Some words in the title of papers appear not capitalised even though it is in the bibtex file. For example there is a name of a person in the title which should begin with a capital letter which is however printed in small letters. It's because of the bib style you're using, nothing related to LyX. Try protecting those characters with {}, like in: The way to win {N}obel prize.
Two identical installations of LyX cannot read the same file. What is wrong?
Hello there, I'm a new user and have googled an error message I am receiving but am probably not searching the right places: [1] The layout file: article could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output [2] Due to some error in it, the layout file: AGU-article could not be loaded. A default textclass with defailt layouts will be used. LyX will not be able to produce correct output. Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install from ubuntu 11.04.) Kind Regards, Bjorn
Re: Capitalisation in paper citations
On 09/12/2011 12:27 PM, PhilipPirrip wrote: On 09/12/2011 06:16 PM, ider ronneberger wrote: Hello, Lyx users, I have a little problem concerning the Latex output of my bibliography list. Some words in the title of papers appear not capitalised even though it is in the bibtex file. For example there is a name of a person in the title which should begin with a capital letter which is however printed in small letters. It's because of the bib style you're using, nothing related to LyX. That is to say: Some (even many) of the standard bibliography styles de-capitalize everything for you, automatically. There, you have to do this: Try protecting those characters with {}, like in: The way to win {N}obel prize. with anything that shouldn't be de-capitalized. In general, I think it's a good idea to use capitalized style for everything in the bib file, and let the bib style sort it out. Then if you run into a publisher that wants caps, you just have to change the style. Richard
Re: [Pub-forum] ebook follies
Rob Oakes has also done some work along these lines, but starting with LyX's internal XHTML export. Yes, and still working on it. For plain vanilla books, LyX does a fantastic job for exporting to XHTML (and from there to ePub). But there are a couple of sticking points that aren't quite as polished yet (mostly due to limitations in the current ePub). Specifically: EndNotes and Footnotes are a mess. I'm a little curious as to how eLyXer handles them. I've written some preliminary support into the branch of LyX I hack on (https://launchpad.net/lyx-outline). When specified, it converts FootNotes to EndNotes and places them at the end of the file with a link. I'd be interested in other strategies for dealing with the content. The other thing that I need to add is a method for resampling and downsizing images, so that you can use LyX to target both Web and Print from the same copy. Right now, I've been doing that via branches. (With slightly different layouts for both.) But this results in some duplicated text, which I consider to be a bad thing. Eventually, I would like to build in native support for ePub right into LyX. We've got most of the machinery all ready, but just need to add a UI to it. Unfortunately, real world work has forced me away from side projects, but it's something that I'm definitely working on. Cheers, Rob
Re: Two identical installations of LyX cannot read the same file. What is wrong?
On 09/12/2011 12:28 PM, Bjorn Madsen wrote: Hello there, I'm a new user and have googled an error message I am receiving but am probably not searching the right places: [1] The layout file: article could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output [2] Due to some error in it, the layout file: AGU-article could not be loaded. A default textclass with defailt layouts will be used. LyX will not be able to produce correct output. Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install from ubuntu 11.04.) Both errors are puzzling. Something is wrong with the installation. First, the article.layout file should be installed with LyX, typically at /usr/share/lyx/layouts/. You can look at HelpAbout LyX to find out where the system directory is meant to be. The other case is weirder, in a way, since the layout file is being found---it's surprising that it is there if article.layout is not---but is apparently corrupt. I'd suggest you uninstall LyX and try reinstalling, if you haven't already done so. If you have, then we'll try something else. Richard
Re: Two identical installations of LyX cannot read the same file. What is wrong?
On Monday, September 12, 2011 12:28:46 PM Bjorn Madsen wrote: Hello there, I'm a new user and have googled an error message I am receiving but am probably not searching the right places: [1] The layout file: article could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output [2] Due to some error in it, the layout file: AGU-article could not be loaded. A default textclass with defailt layouts will be used. LyX will not be able to produce correct output. Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install from ubuntu 11.04.) Kind Regards, Bjorn Hi Bjorn, I had an almost identical problem a few months ago, on Ubuntu 11.04. In my case, the solution that fixed the problem was to uninstall LyX through Synaptic, download the latest stable LyX from LyX.org, and then install it the old fashioned way, ./configure;make;make install. Be aware that LyX has some pretty hairy dependencies, especially as concerns Qt4. I basically had to install almost everything having to do with Qt4 to get it to work, but once so installed, LyX worked perfectly. My solution is consistent with the advice given by the LyX mailing list, which is that Ubuntu 11.04 ships with an incomplete LyX guaranteed to screw up. Hope this helps. SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: [Pub-forum] ebook follies
On Monday, September 12, 2011 01:10:07 PM Rob Oakes wrote: Rob Oakes has also done some work along these lines, but starting with LyX's internal XHTML export. Yes, and still working on it. For plain vanilla books, LyX does a fantastic job for exporting to XHTML (and from there to ePub). Because my book was planned and built from the ground up to be a flow- text eBook on small reading devices, my book is incredibly plain- vanilla. To the point where I use all caps instead of emphasis. The most complicated thing I use is enumerate and itemize. But there are a couple of sticking points that aren't quite as polished yet (mostly due to limitations in the current ePub). Specifically: EndNotes and Footnotes are a mess. I'm a little curious as to how eLyXer handles them. I can't say, because I had no endnotes or footnotes. My thought pattern is even if I could make an eBook work with these, they might screw up on the target devices. I've written some preliminary support into the branch of LyX I hack on (https://launchpad.net/lyx-outline). When specified, it converts FootNotes to EndNotes and places them at the end of the file with a link. I'd be interested in other strategies for dealing with the content. My strategy has been to phrase my content so that footnotes aren't necessary. It's not always easy. Footnotes sure are handy when you make an important point in a short sentence, but want to make available to the reader the theory behind, for those readers who want more. Instead, I found other ways of writing the material. The other thing that I need to add is a method for resampling and downsizing images, so that you can use LyX to target both Web and Print from the same copy. My book has no images, in order to make things easy. But I anticipate future books requiring images, and when that time comes it will be nice if my conversion process does them right. Thank you! Right now, I've been doing that via branches. (With slightly different layouts for both.) But this results in some duplicated text, which I consider to be a bad thing. Eventually, I would like to build in native support for ePub right into LyX. We've got most of the machinery all ready, but just need to add a UI to it. Native ePub output would be incredibly studly, always assuming it's constructed in such a way to be non-garbage input for Kindle, iPad and Nook books. When LyX has ePub output suitable for input to Kindle, iPad and Nook, I can probably get a whole bunch of new LyX users, because LyX is probably the best for authoring flowable text eBooks. You know, the main disadvantage of LyX is how difficult it is to make new styles (environment and character styles), but with flowable text eBooks the need for additional styles is negligable, so in my opinion LyX is actually a better tool for flowable text eBooks than it is for print/pdf books, and I've been using LyX for print/pdf books for 9.8 years. Unfortunately, real world work has forced me away from side projects, but it's something that I'm definitely working on. The real world! Can't live with it, can't live without it. Thank you, and every other LyX developer, for making this fantastic authoring tool! SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: Two identical installations of LyX cannot read the same file. What is wrong?
Hello Richard, I tried to do a re-install from the Ubuntu Software Centre with all packages enabled. It didn't help. As I have another installation on my laptop that works (same ubuntu installation), and have done a dryrun rsync between them checking the /usr/share/lyx/ and /bjorn/.lyx as you mentioned below: *You can look at HelpAbout LyX to find out where the system directory is meant to be.* I found that several files were missing, so I rsync'ed them from the laptop to the desktop. Here are the culprits: :~$ rsync -rav 192.168.0.3:/home/bjorn/.lyx/ /home/bjorn/.lyx receiving incremental file list ./ configure.log lyxmodules.lst lyxrc.defaults packages.lst session textclass.lst bind/ cache/ cache/index clipart/ doc/ examples/ images/ kbd/ layouts/ scripts/ templates/ ui/ sent 593 bytes received 78216 bytes 52539.33 bytes/sec total size is 77642 speedup is 0.99 * * *And now lyx works!! -Thank you very much!* On 12 September 2011 18:23, Richard Heck rgh...@comcast.net wrote: On 09/12/2011 12:28 PM, Bjorn Madsen wrote: Hello there, I'm a new user and have googled an error message I am receiving but am probably not searching the right places: [1] The layout file: article could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output [2] Due to some error in it, the layout file: AGU-article could not be loaded. A default textclass with defailt layouts will be used. LyX will not be able to produce correct output. Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install from ubuntu 11.04.) Both errors are puzzling. Something is wrong with the installation. First, the article.layout file should be installed with LyX, typically at /usr/share/lyx/layouts/. You can look at HelpAbout LyX to find out where the system directory is meant to be. The other case is weirder, in a way, since the layout file is being found---it's surprising that it is there if article.layout is not---but is apparently corrupt. I'd suggest you uninstall LyX and try reinstalling, if you haven't already done so. If you have, then we'll try something else. Richard -- Bjorn Madsen *Researcher Complex Systems Research* Ph.: (+44) 0 7792 030 720 Ph.2: (+44) 0 1767 220 828 bjorn.mad...@operationsresearchgroup.com
Re: [Pub-forum] ebook follies
On 09/12/2011 01:10 PM, Rob Oakes wrote: Rob Oakes has also done some work along these lines, but starting with LyX's internal XHTML export. Yes, and still working on it. For plain vanilla books, LyX does a fantastic job for exporting to XHTML (and from there to ePub). But there are a couple of sticking points that aren't quite as polished yet (mostly due to limitations in the current ePub). Specifically: EndNotes and Footnotes are a mess. I'm a little curious as to how eLyXer handles them. I've written some preliminary support into the branch of LyX I hack on (https://launchpad.net/lyx-outline). When specified, it converts FootNotes to EndNotes and places them at the end of the file with a link. I'd be interested in other strategies for dealing with the content. Last time I looked, elyxer did pretty much the same sort of thing, but had footnotes styled with things like float: right;, rather than with the appearing and disappearing act they do in LyX. But the real issue, as we discussed before, is somehow to defer them to the end. The other thing that I need to add is a method for resampling and downsizing images, so that you can use LyX to target both Web and Print from the same copy. Right now, I've been doing that via branches. (With slightly different layouts for both.) But this results in some duplicated text, which I consider to be a bad thing. Eventually, I would like to build in native support for ePub right into LyX. We've got most of the machinery all ready, but just need to add a UI to it. Unfortunately, real world work has forced me away from side projects, but it's something that I'm definitely working on. I'll see if I can't sort out the footnote issue at some point. Last I thought about it, it didn't seem as hard as I'd thought, since we do have a list of all the footnotes in the TOC Richard
Re: [Pub-forum] ebook follies
Hi, On Mon, Sep 12, 2011 at 11:11 PM, Richard Heck rgh...@comcast.net wrote: Last time I looked, elyxer did pretty much the same sort of thing, but had footnotes styled with things like float: right;, rather than with the appearing and disappearing act they do in LyX. But the real issue, as we discussed before, is somehow to defer them to the end. Actually, with eLyXer you can choose several styles for your footnotes: - hover, where the footnote appears when you place the pointer over them; - margin, where they appear on the right; - and end, where they are deferred to the end. They can be combined so footnotes appear at several places. Allow me to refer you to the relevant section of the user guide: http://elyxer.nongnu.org/userguide.html#sub:Footnotes Alex.
Re: Two identical installations of LyX cannot read the same file. What is wrong?
Steve Litt slitt at troubleshooters.com writes: I had an almost identical problem a few months ago, on Ubuntu 11.04. In my case, the solution that fixed the problem was to uninstall LyX through Synaptic, download the latest stable LyX from LyX.org, and then install it the old fashioned way, ./configure;make;make install. Be aware that LyX has some pretty hairy dependencies, especially as concerns Qt4. I basically had to install almost everything having to do with Qt4 to get it to work, but once so installed, LyX worked perfectly. If, like me, you are averse to Adventures in Dependencies (and like to use Synaptic), you can find a DEB package for LyX 2.0.1 at http://www.getdeb.net/updates/Ubuntu/11.04/?q=lyx. Works fine for me.
Re: [Pub-forum] ebook follies
On 2011-09-11, Richard Heck wrote: > On 09/11/2011 03:14 AM, Steve Litt wrote: >> The man page shows the --export option but fails to list all the >> possible values for fmt. I'd like to see that list added to the man >> page. > Impossible, since what formats are available depends upon what > converters you have installed. However, we could list the "internal" export options (pdflatex, latex, xetex, HTML) as "core export options". > Maybe there should, though, be a command > line option that would give you a list of these. Easy to implement. Yes Günter
Capitalisation in paper citations
Hello, Lyx users, I have a little problem concerning the Latex output of my bibliography list. Some words in the title of papers appear not capitalised even though it is in the bibtex file. For example there is a name of a person in the title which should begin with a capital letter which is however printed in small letters. I cannot find the reason for this behaviour. Can someone help me? Regards, Ider
Re: Capitalisation in paper citations
On 09/12/2011 06:16 PM, ider ronneberger wrote: Hello, Lyx users, I have a little problem concerning the Latex output of my bibliography list. Some words in the title of papers appear not capitalised even though it is in the bibtex file. For example there is a name of a person in the title which should begin with a capital letter which is however printed in small letters. It's because of the bib style you're using, nothing related to LyX. Try protecting those characters with {}, like in: The way to win {N}obel prize.
Two identical installations of LyX cannot read the same file. What is wrong?
Hello there, I'm a new user and have googled an error message I am receiving but am probably not searching the right places: [1] The layout file: article could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output [2] Due to some error in it, the layout file: AGU-article could not be loaded. A default textclass with defailt layouts will be used. LyX will not be able to produce correct output. Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install from ubuntu 11.04.) Kind Regards, Bjorn
Re: Capitalisation in paper citations
On 09/12/2011 12:27 PM, PhilipPirrip wrote: On 09/12/2011 06:16 PM, ider ronneberger wrote: Hello, Lyx users, I have a little problem concerning the Latex output of my bibliography list. Some words in the title of papers appear not capitalised even though it is in the bibtex file. For example there is a name of a person in the title which should begin with a capital letter which is however printed in small letters. It's because of the bib style you're using, nothing related to LyX. That is to say: Some (even many) of the standard bibliography styles de-capitalize everything for you, automatically. There, you have to do this: Try protecting those characters with {}, like in: The way to win {N}obel prize. with anything that shouldn't be de-capitalized. In general, I think it's a good idea to use capitalized style for everything in the bib file, and let the bib style sort it out. Then if you run into a publisher that wants caps, you just have to change the style. Richard
Re: [Pub-forum] ebook follies
> Rob Oakes has also done some work along these lines, but starting with > LyX's internal XHTML export. Yes, and still working on it. For plain vanilla books, LyX does a fantastic job for exporting to XHTML (and from there to ePub). But there are a couple of sticking points that aren't quite as polished yet (mostly due to limitations in the current ePub). Specifically: EndNotes and Footnotes are a mess. I'm a little curious as to how eLyXer handles them. I've written some preliminary support into the branch of LyX I hack on (https://launchpad.net/lyx-outline). When specified, it converts FootNotes to EndNotes and places them at the end of the file with a link. I'd be interested in other strategies for dealing with the content. The other thing that I need to add is a method for resampling and downsizing images, so that you can use LyX to target both Web and Print from the same copy. Right now, I've been doing that via branches. (With slightly different layouts for both.) But this results in some duplicated text, which I consider to be a bad thing. Eventually, I would like to build in native support for ePub right into LyX. We've got most of the machinery all ready, but just need to add a UI to it. Unfortunately, real world work has forced me away from side projects, but it's something that I'm definitely working on. Cheers, Rob
Re: Two identical installations of LyX cannot read the same file. What is wrong?
On 09/12/2011 12:28 PM, Bjorn Madsen wrote: Hello there, I'm a new user and have googled an error message I am receiving but am probably not searching the right places: [1] The layout file: article could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output [2] Due to some error in it, the layout file: AGU-article could not be loaded. A default textclass with defailt layouts will be used. LyX will not be able to produce correct output. Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install from ubuntu 11.04.) Both errors are puzzling. Something is wrong with the installation. First, the article.layout file should be installed with LyX, typically at /usr/share/lyx/layouts/. You can look at Help>About LyX to find out where the system directory is meant to be. The other case is weirder, in a way, since the layout file is being found---it's surprising that it is there if article.layout is not---but is apparently corrupt. I'd suggest you uninstall LyX and try reinstalling, if you haven't already done so. If you have, then we'll try something else. Richard
Re: Two identical installations of LyX cannot read the same file. What is wrong?
On Monday, September 12, 2011 12:28:46 PM Bjorn Madsen wrote: > Hello there, > I'm a new user and have googled an error message I am receiving but > am probably not searching the right places: > > [1] The layout file: article could not be found. A default > textclass with default layouts will be used. LyX will not be able > to produce correct output [2] Due to some error in it, the layout > file: AGU-article could not be loaded. A default textclass with > defailt layouts will be used. LyX will not be able to produce > correct output. > > Does anyone have a hint for getting it fixed? (LyX 2.0.0 default > install from ubuntu 11.04.) > > Kind Regards, > Bjorn Hi Bjorn, I had an almost identical problem a few months ago, on Ubuntu 11.04. In my case, the solution that fixed the problem was to uninstall LyX through Synaptic, download the latest stable LyX from LyX.org, and then install it the old fashioned way, ./configure;make;make install. Be aware that LyX has some pretty hairy dependencies, especially as concerns Qt4. I basically had to install almost everything having to do with Qt4 to get it to work, but once so installed, LyX worked perfectly. My solution is consistent with the advice given by the LyX mailing list, which is that Ubuntu 11.04 ships with an incomplete LyX guaranteed to screw up. Hope this helps. SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: [Pub-forum] ebook follies
On Monday, September 12, 2011 01:10:07 PM Rob Oakes wrote: > > Rob Oakes has also done some work along these lines, but starting > > with LyX's internal XHTML export. > > Yes, and still working on it. For plain vanilla books, LyX does a > fantastic job for exporting to XHTML (and from there to ePub). Because my book was planned and built from the ground up to be a flow- text eBook on small reading devices, my book is incredibly plain- vanilla. To the point where I use all caps instead of emphasis. The most complicated thing I use is enumerate and itemize. > But > there are a couple of sticking points that aren't quite as > polished yet (mostly due to limitations in the current ePub). > > Specifically: > > EndNotes and Footnotes are a mess. I'm a little curious as to how > eLyXer handles them. I can't say, because I had no endnotes or footnotes. My thought pattern is even if I could make an eBook work with these, they might screw up on the target devices. > I've written some preliminary support into > the branch of LyX I hack on (https://launchpad.net/lyx-outline). > When specified, it converts FootNotes to EndNotes and places them > at the end of the file with a link. I'd be interested in other > strategies for dealing with the content. My strategy has been to phrase my content so that footnotes aren't necessary. It's not always easy. Footnotes sure are handy when you make an important point in a short sentence, but want to make available to the reader "the theory behind", for those readers who want more. Instead, I found other ways of writing the material. > > The other thing that I need to add is a method for resampling and > downsizing images, so that you can use LyX to target both Web and > Print from the same copy. My book has no images, in order to make things easy. But I anticipate future books requiring images, and when that time comes it will be nice if my conversion process does them right. Thank you! > Right now, I've been doing that via > branches. (With slightly different layouts for both.) But this > results in some duplicated text, which I consider to be a bad > thing. > > Eventually, I would like to build in native support for ePub right > into LyX. We've got most of the machinery all ready, but just > need to add a UI to it. Native ePub output would be incredibly studly, always assuming it's constructed in such a way to be non-garbage input for Kindle, iPad and Nook books. When LyX has ePub output suitable for input to Kindle, iPad and Nook, I can probably get a whole bunch of new LyX users, because LyX is probably the best for authoring flowable text eBooks. You know, the main disadvantage of LyX is how difficult it is to make new styles (environment and character styles), but with flowable text eBooks the need for additional styles is negligable, so in my opinion LyX is actually a better tool for flowable text eBooks than it is for print/pdf books, and I've been using LyX for print/pdf books for 9.8 years. > > Unfortunately, real world work has forced me away from side > projects, but it's something that I'm definitely working on. The real world! Can't live with it, can't live without it. Thank you, and every other LyX developer, for making this fantastic authoring tool! SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: Two identical installations of LyX cannot read the same file. What is wrong?
Hello Richard, I tried to do a re-install from the Ubuntu Software Centre with all packages enabled. It didn't help. As I have another installation on my laptop that works (same ubuntu installation), and have done a dryrun rsync between them checking the /usr/share/lyx/ and /bjorn/.lyx as you mentioned below: *You can look at Help>About LyX to find out where the system directory is meant to be.* I found that several files were missing, so I rsync'ed them from the laptop to the desktop. Here are the culprits: :~$ rsync -rav 192.168.0.3:/home/bjorn/.lyx/ /home/bjorn/.lyx receiving incremental file list ./ configure.log lyxmodules.lst lyxrc.defaults packages.lst session textclass.lst bind/ cache/ cache/index clipart/ doc/ examples/ images/ kbd/ layouts/ scripts/ templates/ ui/ sent 593 bytes received 78216 bytes 52539.33 bytes/sec total size is 77642 speedup is 0.99 * * *And now lyx works!! -Thank you very much!* On 12 September 2011 18:23, Richard Heckwrote: > On 09/12/2011 12:28 PM, Bjorn Madsen wrote: > >> Hello there, >> I'm a new user and have googled an error message I am receiving but am >> probably not searching the right places: >> >> [1] The layout file: article could not be found. A default textclass with >> default layouts will be used. LyX will not be able to produce correct output >> [2] Due to some error in it, the layout file: AGU-article could not be >> loaded. A default textclass with defailt layouts will be used. LyX will not >> be able to produce correct output. >> >> Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install >> from ubuntu 11.04.) >> >> Both errors are puzzling. Something is wrong with the installation. > First, the article.layout file should be installed with LyX, typically at > /usr/share/lyx/layouts/. You can look at Help>About LyX to find out where > the system directory is meant to be. > > The other case is weirder, in a way, since the layout file is being > found---it's surprising that it is there if article.layout is not---but is > apparently corrupt. > > I'd suggest you uninstall LyX and try reinstalling, if you haven't already > done so. If you have, then we'll try something else. > > Richard > > -- Bjorn Madsen *Researcher Complex Systems Research* Ph.: (+44) 0 7792 030 720 Ph.2: (+44) 0 1767 220 828 bjorn.mad...@operationsresearchgroup.com
Re: [Pub-forum] ebook follies
On 09/12/2011 01:10 PM, Rob Oakes wrote: Rob Oakes has also done some work along these lines, but starting with LyX's internal XHTML export. Yes, and still working on it. For plain vanilla books, LyX does a fantastic job for exporting to XHTML (and from there to ePub). But there are a couple of sticking points that aren't quite as polished yet (mostly due to limitations in the current ePub). Specifically: EndNotes and Footnotes are a mess. I'm a little curious as to how eLyXer handles them. I've written some preliminary support into the branch of LyX I hack on (https://launchpad.net/lyx-outline). When specified, it converts FootNotes to EndNotes and places them at the end of the file with a link. I'd be interested in other strategies for dealing with the content. Last time I looked, elyxer did pretty much the same sort of thing, but had footnotes styled with things like "float: right;", rather than with the appearing and disappearing act they do in LyX. But the real issue, as we discussed before, is somehow to defer them to the end. The other thing that I need to add is a method for resampling and downsizing images, so that you can use LyX to target both Web and Print from the same copy. Right now, I've been doing that via branches. (With slightly different layouts for both.) But this results in some duplicated text, which I consider to be a bad thing. Eventually, I would like to build in native support for ePub right into LyX. We've got most of the machinery all ready, but just need to add a UI to it. Unfortunately, real world work has forced me away from side projects, but it's something that I'm definitely working on. I'll see if I can't sort out the footnote issue at some point. Last I thought about it, it didn't seem as hard as I'd thought, since we do have a list of all the footnotes in the TOC Richard
Re: [Pub-forum] ebook follies
Hi, On Mon, Sep 12, 2011 at 11:11 PM, Richard Heckwrote: > Last time I looked, elyxer did pretty much the same sort of thing, but had > footnotes styled with things like "float: right;", rather than with the > appearing and disappearing act they do in LyX. But the real issue, as we > discussed before, is somehow to defer them to the end. Actually, with eLyXer you can choose several styles for your footnotes: - hover, where the footnote appears when you place the pointer over them; - margin, where they appear on the right; - and end, where they are deferred to the end. They can be combined so footnotes appear at several places. Allow me to refer you to the relevant section of the user guide: http://elyxer.nongnu.org/userguide.html#sub:Footnotes Alex.
Re: Two identical installations of LyX cannot read the same file. What is wrong?
Steve Litt troubleshooters.com> writes: > > I had an almost identical problem a few months ago, on Ubuntu 11.04. > In my case, the solution that fixed the problem was to uninstall LyX > through Synaptic, download the latest stable LyX from LyX.org, and > then install it the old fashioned way, ./configure;make;make install. > Be aware that LyX has some pretty hairy dependencies, especially as > concerns Qt4. I basically had to install almost everything having to > do with Qt4 to get it to work, but once so installed, LyX worked > perfectly. If, like me, you are averse to Adventures in Dependencies (and like to use Synaptic), you can find a DEB package for LyX 2.0.1 at http://www.getdeb.net/updates/Ubuntu/11.04/?q=lyx. Works fine for me.