It would appear that on Sep 24, Andrew Parsloe did say: > Have you considered exporting to rich text format and opening the resulting > rtf document in LibreOffice? I'm on windows, but I've found the program > latex2rtf does a pretty good job of handling even quite complicated LyX > objects (like tables, simple equations, footnotes). For straightforward text > (section headings, paragraphs, emphasised text etc.) it could save you a *lot* > of effort.
Actually no, I hadn't considered that. Probably because I didn't know how. And if I needed tables, footnotes etc... I'd be all over that like white on rice. Might try it anyway. Though I doubt it would save me as much effort as you think. Because the smashwords meatgrinder is very picky about how things are formatted. And leaving the tables and stuff out of it, almost all formatting needs to be defined in paragraph styles. Any direct formatting, aside from toggling italics, boldface, and underlining, that isn't done with a paragraph style will cause errors. For the kind of books that need tables and footnotes, there is another process. But it's a lot more work, to manually make all the output epub, mobi, etc... file formats that the meatgrinder would create. At least to make them to the exacting standards that I'd need, if smashwords is going to submit them to all those ebook retailers for me. So I would most likely need to mark the entire mainmatter, and clear all formatting, and then apply my carefully defined paragraph styles anyway. But it would probably save me from having to manually create a working TOC. And even if it doesn't save me any work on my smashwords submissions. Sooner or later the ability to export to RTF will come in handy. So I thank you very much for the suggestion. > The main problem for me was setting the thing up. You need to ensure the rich > text format is defined in Tools > Preferences > File Handling > File Formats > and then set up a converter from latex to rtf. > > In my windows set up this is > > c:/PROGRA~2/latex2rtf/latex2rt.exe -P c:progra~2/latex2rtf/cfg $$i > > In linux, the paths will obviously be different. The critical part was the -P > option which points latex2rtf to its cfg file. Yeah, the paths would certainly be different. But Your post will get saved to my linux-clues folder, so that I can find your helpful instructions when I get around to setting that up. Thanks -- JtWdyP
