Re: LyX and Kindle books

2011-12-02 Thread Guenter Milde
On 2011-12-02, Steve Litt wrote:

 LyX plus eLyXer plus a few other tools can make the PERFECT PERFECT 
 PERFECT authoring tool for flowable text eBooks (Kindle, iPad, etc).

The internal HTML output should be usable for eBook creation as well.

Any work on eBook modules and backands should be compatible with both 
HTML writers.

...
 I 

 There needs to be a way to insert all info needed by Kindle into the 
 LyX file, and having eLyXer or other similar executables do things like 
 split out the chapters, split out the table of contents and index, 
 make the .opf file and the .ncx file. It might require a special layout 
 file -- I can create that. Or maybe just layout modules.

IMO, LyX (as open source software) should concentrate on supporting the
open ePub format. Generating of kindle (or other proprietary) eBook
formats would then pick up the relevant information from the ePub
document.

Splitting a document into several HTML files is non-trivial, as we need
to consider the cross-links. Maybe we can support a set of cross-linked
HTML from Master/Child documents?


Günter



Re: PDF won't generate

2011-12-02 Thread Erich Studerus
I get the following error message:

09:22:05.374: Generiere Vorschau ...
09:22:05.390: (buffer-view: Ctrl+R)
09:22:05.499: pdflatex  Neues_Dokument1.tex
09:22:06.702: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (Web2C 2011)
09:22:06.702:  restricted \write18 enabled.
09:22:06.702: entering extended mode
09:22:06.717: ! I can't find file `Neues_Dokument1.tex'.
09:22:06.717: * Neues_Dokument1.tex
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


Re: LyX and Kindle books

2011-12-02 Thread Steve Litt
On Friday, December 02, 2011 04:13:53 AM Guenter Milde wrote:
 On 2011-12-02, Steve Litt wrote:
  LyX plus eLyXer plus a few other tools can make the PERFECT
  PERFECT PERFECT authoring tool for flowable text eBooks (Kindle,
  iPad, etc).
 
 The internal HTML output should be usable for eBook creation as
 well.
 
 Any work on eBook modules and backands should be compatible with
 both HTML writers.

OK. I'll make sure any work I do is compatible with both, although I 
could swear LyX's internal HTML exporter is simply eLyXer, as it 
outputs eLyXer messages.

 
 ...
  I
 
  There needs to be a way to insert all info needed by Kindle into
  the LyX file, and having eLyXer or other similar executables do
  things like split out the chapters, split out the table of
  contents and index, make the .opf file and the .ncx file. It
  might require a special layout file -- I can create that. Or
  maybe just layout modules.
 
 IMO, LyX (as open source software) should concentrate on supporting
 the open ePub format. 

ePub shouldn't be neglected, but it shouldn't be concentrated either. 
A well employed list is a happy and productive list, and Kindle/iPad 
provides a revenue stream for authors (most of whom do quite a bit of 
open contributions). For example, many of the LyX derived print books 
we discussed in this afternoon's thread are proprietary -- you can't 
download them and must pay for them.

 Generating of kindle (or other proprietary)
 eBook formats would then pick up the relevant information from the
 ePub document.

That sounds good on the surface, but my experience with ePub and 
Kindle tells me it's a detour where you'd get complex with the ePub, 
only to unwind the ePub back into simple HTML to be used by kindlegen.

What would be excellent is for some loosely formed group of people 
list all the data needed to generate a Kindle, necessary to generate 
an iPad book, a Nook book, and an open ePub. If we can get that list 
complete, then we have a list of what needs to go in the LyX file or 
possibly a companion file. Once we have those specifications, writing 
the actual converters would be a secretarial task. As a matter of 
fact, if the additional data was put in a companion file, then eLyXer 
and the internal converter wouldn't have to change all that much, and 
the whole thing might be more modular.

 
 Splitting a document into several HTML files is non-trivial, as we
 need to consider the cross-links. Maybe we can support a set of
 cross-linked HTML from Master/Child documents?

Alex -- how does eLyXer work with Master/Child documents?

Thanks Gunter!

SteveT 
 
Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Broken lines in tables

2011-12-02 Thread Bianca Kranzusch
Hi!

I'm still working on my diploma thesis, and another issue has come up.

In some of my tables, I get broken horizontal lines. I have not been
able so far to find out why this happens in some tables, and in others
it doesn't. But it's really annoying.
I have appended an example file with one of the tables that do this.

Can anyone tell me how to avoid or fix this?
Any help, as always, greatly appreciated!

Thank you!
Bianca


Diplomarbeit_fixit.lyx
Description: Binary data


line spacing in lyxlist type lists

2011-12-02 Thread Csikos Bela
Hello:

How can I set or change the line spacing of the lyxlist style in lyx 2?
I would like to set the distance between the list items, and also the linespace 
within the item. It is also fine if I have to use latex code, or edit the 
preamble.

Thanks,

bcsikos




Re: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello:

 How can I set or change the line spacing of the lyxlist style in lyx 2?
 I would like to set the distance between the list items, and also the 
 linespace within the item. It is also fine if I have to use latex code, or 
 edit the preamble.

Look into the docs of the 'enumitem' module.

Liviu


 Thanks,

 bcsikos





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: line spacing in lyxlist type lists

2011-12-02 Thread Csikos Bela
Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello:

 How can I set or change the line spacing of the lyxlist style in lyx 2?
 I would like to set the distance between the list items, and also the 
 linespace within the item. It is also fine if I have to use latex code, or 
 edit the preamble.

Look into the docs of the 'enumitem' module.


Thanks.

I looked at the lyx's user guide and I found the following in section 3.3.7.3:

You can decrease the space by adding an optional argument to the first item of 
the list. There add the command nolistsep to get no additional list space like 
in this example:
• A bullet list
• without additional
• vertical space

If I understand correctly I have to add '\nolistsep' in TEX code, but I don't 
know where.  If add it right before the first item I get error message:

 \item \nolistsepa
 
The control sequence at the end of the top line
of your error message was never \def'ed.

The lyx user guide is very obscure in regard how and where to insert the 
commands.

bcsikos




Re: Broken lines in tables

2011-12-02 Thread Kornel Benko
Am Freitag, 2. Dezember 2011 um 12:47:14, schrieb Bianca Kranzusch 
bia...@kranzusch.net
 Hi!
 
 I'm still working on my diploma thesis, and another issue has come up.
 
 In some of my tables, I get broken horizontal lines. I have not been
 able so far to find out why this happens in some tables, and in others
 it doesn't. But it's really annoying.
 I have appended an example file with one of the tables that do this.
 
 Can anyone tell me how to avoid or fix this?
 Any help, as always, greatly appreciated!
 
 Thank you!
 Bianca
As soon as I remove the width spec of the table, there are no problems.
(You have specified width = 100 % \textwidth)

Don't know, why this shows this behaviour though.

Kornel

signature.asc
Description: This is a digitally signed message part.


Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Nate
Hi, I have just failed installing the 2.0.2 binaries on my OS X 10.4.11. After I
installed it, I double clicked on the App to run it, but nothing happened, the
Lyx did not show up at all. On my Mac, it is the same problem for both
LyX-2.0.2+qt4-cocoa.dmg and LyX-2.0.2+qt4-tiger.dmg. 

I just tried, and found I can install and run Lyx 1.6.9 successfully with
LyX-1.6.9-Mac-Universal.dmg.

Could someone please help? Thanks.



Re: LyX and Kindle books

2011-12-02 Thread Rob Oakes
I am working on an ePub compatible module right now (document class at any 
rate). It's for a talk I'm giving at a publishing conference next week. I will 
try and post something about it next week.

Does anyone know of a visual CSS editor that is open source? I'm trying to find 
something that can spit out just CSS code.

Sent from Rob's Palm

On Dec 2, 2011, at 3:12 AM, Steve Litt sl...@troubleshooters.com wrote:

 On Friday, December 02, 2011 04:13:53 AM Guenter Milde wrote:
 On 2011-12-02, Steve Litt wrote:
 LyX plus eLyXer plus a few other tools can make the PERFECT
 PERFECT PERFECT authoring tool for flowable text eBooks (Kindle,
 iPad, etc).
 
 The internal HTML output should be usable for eBook creation as
 well.
 
 Any work on eBook modules and backands should be compatible with
 both HTML writers.
 
 OK. I'll make sure any work I do is compatible with both, although I 
 could swear LyX's internal HTML exporter is simply eLyXer, as it 
 outputs eLyXer messages.
 
 
 ...
 I
 
 There needs to be a way to insert all info needed by Kindle into
 the LyX file, and having eLyXer or other similar executables do
 things like split out the chapters, split out the table of
 contents and index, make the .opf file and the .ncx file. It
 might require a special layout file -- I can create that. Or
 maybe just layout modules.
 
 IMO, LyX (as open source software) should concentrate on supporting
 the open ePub format. 
 
 ePub shouldn't be neglected, but it shouldn't be concentrated either. 
 A well employed list is a happy and productive list, and Kindle/iPad 
 provides a revenue stream for authors (most of whom do quite a bit of 
 open contributions). For example, many of the LyX derived print books 
 we discussed in this afternoon's thread are proprietary -- you can't 
 download them and must pay for them.
 
 Generating of kindle (or other proprietary)
 eBook formats would then pick up the relevant information from the
 ePub document.
 
 That sounds good on the surface, but my experience with ePub and 
 Kindle tells me it's a detour where you'd get complex with the ePub, 
 only to unwind the ePub back into simple HTML to be used by kindlegen.
 
 What would be excellent is for some loosely formed group of people 
 list all the data needed to generate a Kindle, necessary to generate 
 an iPad book, a Nook book, and an open ePub. If we can get that list 
 complete, then we have a list of what needs to go in the LyX file or 
 possibly a companion file. Once we have those specifications, writing 
 the actual converters would be a secretarial task. As a matter of 
 fact, if the additional data was put in a companion file, then eLyXer 
 and the internal converter wouldn't have to change all that much, and 
 the whole thing might be more modular.
 
 
 Splitting a document into several HTML files is non-trivial, as we
 need to consider the cross-links. Maybe we can support a set of
 cross-linked HTML from Master/Child documents?
 
 Alex -- how does eLyXer work with Master/Child documents?
 
 Thanks Gunter!
 
 SteveT 
 
 Steve Litt
 Author: The Key to Everyday Excellence
 http://www.troubleshooters.com/bookstore/key_excellence.htm
 Twitter: http://www.twitter.com/stevelitt
 


Re: LyX and Kindle books

2011-12-02 Thread Richard Heck
On 12/02/2011 05:12 AM, Steve Litt wrote:

 ...I could swear LyX's internal HTML exporter is simply eLyXer, as it 
 outputs eLyXer messages.

The format for the internal exporter is LyXHTML. This should be in
your view and export menus.

Richard




Re: pdf dimensions

2011-12-02 Thread Helge Hafting

On 01. des. 2011 13:30, Rainer M Krug wrote:



2011/12/1 Gian Maria Niccolò Benucci gian.benu...@gmail.com
mailto:gian.benu...@gmail.com



On 1 December 2011 13:09, Csikos Bela bcsikos...@freemail.hu
mailto:bcsikos...@freemail.hu wrote:

Gian Maria Niccolò Benucci gian.benu...@gmail.com
mailto:gian.benu...@gmail.com írta:
 Hi everyone,Is it possible to reduce the dimension of the
compiled pdf in LyX 2.0???Thanks a lot,-- Gian 


Do you mean the page size of the produced page?
It can be set easily under DocumentSettingsPage layoutPaper
formatFormat.

bcsikos




Nope. I meant the dimesion of the produced file.pdf
My thesis has 60 figures and 230 pages so the output is of 70 Mb...
very big! How to reduce it?


Reduce the size of the images. You can use e.g. imagemagik to do this.

This brings us more or less back to an ever re-occurring discussion:
could this be done automatically? It shuld be possible to include this
in the copier, so that the re-sampling is done automatically.

Only for those that really want it. Some people put huge bitmaps in, so 
the book will print nicely on the publisher's pro equipment.


But of course - there could be a document setting for max bitmap 
resolution. It should default to no reduction, but if the writer sets

it to, say 300dpi, then anything in excess of that could be downsampled.

Helge Hafting


Re: Yet another book using LyX

2011-12-02 Thread stefano franchi
 From what I hear, the average properly published nonfiction book
 sells about 3K copies. At that sales quantity, the author fails to

Steve,

you may want to qualify that. The average academic book sells probably
less than 1K, often less than 500 copies. Which is one of the reasons
why the book I just published costs $120: it is targeted at libraries
only.

No one gets rich in academia. In fact we barely survive.


Cheers,

Stefano
-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Re: Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Stephan Witt
Am 02.12.2011 um 15:22 schrieb Nate:

 Hi, I have just failed installing the 2.0.2 binaries on my OS X 10.4.11. 
 After I
 installed it, I double clicked on the App to run it, but nothing happened, the
 Lyx did not show up at all. On my Mac, it is the same problem for both
 LyX-2.0.2+qt4-cocoa.dmg and LyX-2.0.2+qt4-tiger.dmg. 

Really *nothing* happens? That's strange. I'd expect a crash report at least.
Sorry, I don't have a Mac OS with Tiger.

Please, try to the following:
1. Mount the disk image
2. Open the Terminal.app
3. Start LyX with
% /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx

... and report what happens.

Regards,
Stephan

Re: LyX and Kindle books

2011-12-02 Thread Alex Fernandez
Hi,

On Fri, Dec 2, 2011 at 11:12 AM, Steve Litt sl...@troubleshooters.com wrote:
 The internal HTML output should be usable for eBook creation as
 well.

 Any work on eBook modules and backands should be compatible with
 both HTML writers.

 OK. I'll make sure any work I do is compatible with both, although I
 could swear LyX's internal HTML exporter is simply eLyXer, as it
 outputs eLyXer messages.

eLyXer can be used from within LyX, and indeed it was one of the main
use cases considered. In the meantime LyX developed its own limited
XHTML export.

 IMO, LyX (as open source software) should concentrate on supporting
 the open ePub format.

 ePub shouldn't be neglected, but it shouldn't be concentrated either.
 A well employed list is a happy and productive list, and Kindle/iPad
 provides a revenue stream for authors (most of whom do quite a bit of
 open contributions). For example, many of the LyX derived print books
 we discussed in this afternoon's thread are proprietary -- you can't
 download them and must pay for them.

 Generating of kindle (or other proprietary)
 eBook formats would then pick up the relevant information from the
 ePub document.

 That sounds good on the surface, but my experience with ePub and
 Kindle tells me it's a detour where you'd get complex with the ePub,
 only to unwind the ePub back into simple HTML to be used by kindlegen.

Just let me know what you need from eLyXer which it doesn't currently
output! TOC and Index are already output given the appropriate
options.

 What would be excellent is for some loosely formed group of people
 list all the data needed to generate a Kindle, necessary to generate
 an iPad book, a Nook book, and an open ePub. If we can get that list
 complete, then we have a list of what needs to go in the LyX file or
 possibly a companion file. Once we have those specifications, writing
 the actual converters would be a secretarial task. As a matter of
 fact, if the additional data was put in a companion file, then eLyXer
 and the internal converter wouldn't have to change all that much, and
 the whole thing might be more modular.

Yes, that would be fine. Outputting text or binary documents with
formats and indexes is not too hard.

 Splitting a document into several HTML files is non-trivial, as we
 need to consider the cross-links. Maybe we can support a set of
 cross-linked HTML from Master/Child documents?

 Alex -- how does eLyXer work with Master/Child documents?

Master/Child documents are too rigid (but eLyXer works fine). eLyXer
has the option --splitpart which can divide a document into chapters,
sections or subsections. I think it is much more interesting for this
task.

Alex.


Re: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello:

 How can I set or change the line spacing of the lyxlist style in lyx 2?
 I would like to set the distance between the list items, and also the 
 linespace within the item. It is also fine if I have to use latex code, or 
 edit the preamble.

 Look into the docs of the 'enumitem' module.


 Thanks.

 I looked at the lyx's user guide and I found the following in section 3.3.7.3:

Have you looked into 'examples/enumitem.lyx'? It has an example on how
to do this: load the module, and insert the option via C-menu  Insert
Short Title.

Regards
Liviu


 You can decrease the space by adding an optional argument to the first item of 
 the list. There add the command nolistsep to get no additional list space 
 like in this example:
    • A bullet list
    • without additional
    • vertical space

 If I understand correctly I have to add '\nolistsep' in TEX code, but I don't 
 know where.  If add it right before the first item I get error message:

  \item \nolistsepa

 The control sequence at the end of the top line
 of your error message was never \def'ed.

 The lyx user guide is very obscure in regard how and where to insert the 
 commands.

 bcsikos





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX and Kindle books

2011-12-02 Thread Steve Litt
On Friday, December 02, 2011 10:30:17 AM Richard Heck wrote:
 On 12/02/2011 05:12 AM, Steve Litt wrote:
  ...I could swear LyX's internal HTML exporter is simply eLyXer,
  as it outputs eLyXer messages.
 
 The format for the internal exporter is LyXHTML. This should be
 in your view and export menus.
 
 Richard

Found it! As long as I have your attention, how do you tell the export 
what CSS file to use?

Thanks

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: LyX and Kindle books

2011-12-02 Thread Richard Heck
On 12/02/2011 01:56 PM, Steve Litt wrote:
 On Friday, December 02, 2011 10:30:17 AM Richard Heck wrote:
 On 12/02/2011 05:12 AM, Steve Litt wrote:
 ...I could swear LyX's internal HTML exporter is simply eLyXer,
 as it outputs eLyXer messages.
 The format for the internal exporter is LyXHTML. This should be
 in your view and export menus.

 Richard
 Found it! As long as I have your attention, how do you tell the export 
 what CSS file to use?

That is all done through layout files. (It's the LyX way.) Much of the
CSS is automatically generated. E.g., if you set up some character style
with boldface text in LyX, then the XHTML output will generate
appropriate CSS:
span.stevestyle {
font-weight: bold;
}
unless told to generate something else. You can customize what is
generated by adding some layout tags to the InsetLayout declaration:
HTMLStyle
span.stevestyle {
font-weight: bold;
background-color: red;
}
EndHTMLStyle
Given the presence of this tag, the default CSS will no longer be
generated (but can be forced via HTMLForceCSS 1.) But, as I said, if
you just want the obvious thing, LyX will generate it for you. I like
this, because everything is in one place, and you often don't have to do
anything special for XHTML output.

This is why Rob said he was working on layouts for ePub generation.

See section 5.4 of the Customization manual for more.

At present, LyX's XHTML output does not have the ability to split by
chapters and such. I think a more flexible method would be to allow
separate output of child documents. (Right now, LyX just outputs them as
part of the main document.) Then you divide it up how you like. This
shouldn't be too hard. I just haven't had time to do it. Too many other,
more pressing bugs to fix right at the moment.

Richard



Re: Broken lines in tables

2011-12-02 Thread Bianca Kranzusch
2011/12/2 Kornel Benko kornel.be...@berlin.de:

 As soon as I remove the width spec of the table, there are no problems.
 (You have specified width = 100 % \textwidth)

 Don't know, why this shows this behaviour though.

        Kornel

True. But I _want_ my tables to have \textwidth. :(

Bianca


Re: line spacing in lyxlist type lists

2011-12-02 Thread Csikos Bela
Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello:

 How can I set or change the line spacing of the lyxlist style in lyx 2?
 I would like to set the distance between the list items, and also the 
 linespace within the item. It is also fine if I have to use latex code, or 
 edit the preamble.

 Look into the docs of the 'enumitem' module.


 Thanks.

 I looked at the lyx's user guide and I found the following in section 
 3.3.7.3:

Have you looked into 'examples/enumitem.lyx'? It has an example on how
to do this:

I don't have this file in lyx 2.0.1, I have only enumitem.module in
share/lyx/layouts.

load the module, and insert the option via C-menu  Insert
Short Title.

This was exactly what I wanted to do. I loaded the module, but
insertshort title is greyed out when labeling list type is selected.

Thanks,

bcsikos



Re: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 9:46 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela bcsikos...@freemail.hu 
wrote:
 Hello:

 How can I set or change the line spacing of the lyxlist style in lyx 2?
 I would like to set the distance between the list items, and also the 
 linespace within the item. It is also fine if I have to use latex code, or 
 edit the preamble.

 Look into the docs of the 'enumitem' module.


 Thanks.

 I looked at the lyx's user guide and I found the following in section 
 3.3.7.3:

Have you looked into 'examples/enumitem.lyx'? It has an example on how
to do this:

 I don't have this file in lyx 2.0.1, I have only enumitem.module in
 share/lyx/layouts.

You should. Try
liv@liv-laptop:~$ locate enumitem.lyx
/usr/local/share/lyx-svn/examples/enumitem.lyx



load the module, and insert the option via C-menu  Insert
Short Title.

 This was exactly what I wanted to do. I loaded the module, but
 insertshort title is greyed out when labeling list type is selected.

See last list in the attached. I guess it should do what you want.
Liviu


 Thanks,

 bcsikos




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


newfile1.lyx
Description: Binary data


Re: pdf dimensions

2011-12-02 Thread Liviu Andronic
On Thu, Dec 1, 2011 at 2:34 PM, PhilipPirrip p...@net.hr wrote:
 On 12/01/2011 01:24 PM, Gian Maria Niccolò Benucci wrote:

 My thesis has 60 figures and 230 pages so the output is of 70 Mb... very
 big! How to reduce it?


 Well, how big are those 60 figures? You should work on reducing their size
 first (by reducing dimensions, resolution/dpi, using better compression in
 jpg's)


I think that this could be easily addressed with a script using
ImageMagick: clone current dir (or use the export to *.zip, then
unzip in tmp dir), downsize images with IM, generate PDF from *.lyx,
optimize the PDF using Qpdf [1]. You'd need to get it right, but it
doesn't sound that hard. It could even be added to the LyX export
items, I guess.

Regards
Liviu

[1] http://qpdf.sourceforge.net/


Re: Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Jinghua Feng
Hi Stephan, thanks for your help. I have done what you suggest, and below are 
the report:

For the LyX-2.0.2+qt4-tiger.dmg:

$/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
dyld: Symbol not found: _kTISPropertyUnicodeKeyLayoutData
  Referenced from: 
/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui
  Expected in: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon

Trace/BPT trap


As for the LyX-2.0.2+qt4-cocoa.dmg:

$/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
  Reason: Incompatible library version: lyx requires version 7.0.0 or later, 
but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap






 From: Stephan Witt st.w...@gmx.net
To: Nate jinghua.f...@yahoo.com 
Cc: lyx-users@lists.lyx.org 
Sent: Saturday, December 3, 2011 5:04 AM
Subject: Re: Bug of installing the 2.0.2 binaries version on Mac OS X?
 
Am 02.12.2011 um 15:22 schrieb Nate:

 Hi, I have just failed installing the 2.0.2 binaries on my OS X 10.4.11. 
 After I
 installed it, I double clicked on the App to run it, but nothing happened, the
 Lyx did not show up at all. On my Mac, it is the same problem for both
 LyX-2.0.2+qt4-cocoa.dmg and LyX-2.0.2+qt4-tiger.dmg. 

Really *nothing* happens? That's strange. I'd expect a crash report at least.
Sorry, I don't have a Mac OS with Tiger.

Please, try to the following:
1. Mount the disk image
2. Open the Terminal.app
3. Start LyX with
% /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx

... and report what happens.

Regards,
Stephan

Re: Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Stephan Witt
Am 03.12.2011 um 00:10 schrieb Jinghua Feng:

 Hi Stephan, thanks for your help. I have done what you suggest, and below are 
 the report:
 
 For the LyX-2.0.2+qt4-tiger.dmg:
 
 $/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
 dyld: Symbol not found: _kTISPropertyUnicodeKeyLayoutData
   Referenced from: 
 /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui
   Expected in: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
 
 Trace/BPT trap

Sorry, I've used the wrong version of the QtGui framework for packaging.
I have to create the corrected version as soon as possible. But I cannot
do this before tomorrow evening.

 
 
 As for the LyX-2.0.2+qt4-cocoa.dmg:
 
 $/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
 dyld: Library not loaded: /usr/lib/libiconv.2.dylib
   Referenced from: /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
   Reason: Incompatible library version: lyx requires version 7.0.0 or later, 
 but libiconv.2.dylib provides version 5.0.0
 Trace/BPT trap

This is to be expected - this package is for Leopard and newer Mac OS versions.

Regards,
Stephan

Re: LyX and Kindle books

2011-12-02 Thread Guenter Milde
On 2011-12-02, Steve Litt wrote:

 LyX plus eLyXer plus a few other tools can make the PERFECT PERFECT 
 PERFECT authoring tool for flowable text eBooks (Kindle, iPad, etc).

The internal HTML output should be usable for eBook creation as well.

Any work on eBook modules and backands should be compatible with both 
HTML writers.

...
 I 

 There needs to be a way to insert all info needed by Kindle into the 
 LyX file, and having eLyXer or other similar executables do things like 
 split out the chapters, split out the table of contents and index, 
 make the .opf file and the .ncx file. It might require a special layout 
 file -- I can create that. Or maybe just layout modules.

IMO, LyX (as open source software) should concentrate on supporting the
open ePub format. Generating of kindle (or other proprietary) eBook
formats would then pick up the relevant information from the ePub
document.

Splitting a document into several HTML files is non-trivial, as we need
to consider the cross-links. Maybe we can support a set of cross-linked
HTML from Master/Child documents?


Günter



Re: PDF won't generate

2011-12-02 Thread Erich Studerus
I get the following error message:

09:22:05.374: Generiere Vorschau ...
09:22:05.390: (buffer-view: Ctrl+R)
09:22:05.499: pdflatex  Neues_Dokument1.tex
09:22:06.702: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (Web2C 2011)
09:22:06.702:  restricted \write18 enabled.
09:22:06.702: entering extended mode
09:22:06.717: ! I can't find file `Neues_Dokument1.tex'.
09:22:06.717: * Neues_Dokument1.tex
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


Re: LyX and Kindle books

2011-12-02 Thread Steve Litt
On Friday, December 02, 2011 04:13:53 AM Guenter Milde wrote:
 On 2011-12-02, Steve Litt wrote:
  LyX plus eLyXer plus a few other tools can make the PERFECT
  PERFECT PERFECT authoring tool for flowable text eBooks (Kindle,
  iPad, etc).
 
 The internal HTML output should be usable for eBook creation as
 well.
 
 Any work on eBook modules and backands should be compatible with
 both HTML writers.

OK. I'll make sure any work I do is compatible with both, although I 
could swear LyX's internal HTML exporter is simply eLyXer, as it 
outputs eLyXer messages.

 
 ...
  I
 
  There needs to be a way to insert all info needed by Kindle into
  the LyX file, and having eLyXer or other similar executables do
  things like split out the chapters, split out the table of
  contents and index, make the .opf file and the .ncx file. It
  might require a special layout file -- I can create that. Or
  maybe just layout modules.
 
 IMO, LyX (as open source software) should concentrate on supporting
 the open ePub format. 

ePub shouldn't be neglected, but it shouldn't be concentrated either. 
A well employed list is a happy and productive list, and Kindle/iPad 
provides a revenue stream for authors (most of whom do quite a bit of 
open contributions). For example, many of the LyX derived print books 
we discussed in this afternoon's thread are proprietary -- you can't 
download them and must pay for them.

 Generating of kindle (or other proprietary)
 eBook formats would then pick up the relevant information from the
 ePub document.

That sounds good on the surface, but my experience with ePub and 
Kindle tells me it's a detour where you'd get complex with the ePub, 
only to unwind the ePub back into simple HTML to be used by kindlegen.

What would be excellent is for some loosely formed group of people 
list all the data needed to generate a Kindle, necessary to generate 
an iPad book, a Nook book, and an open ePub. If we can get that list 
complete, then we have a list of what needs to go in the LyX file or 
possibly a companion file. Once we have those specifications, writing 
the actual converters would be a secretarial task. As a matter of 
fact, if the additional data was put in a companion file, then eLyXer 
and the internal converter wouldn't have to change all that much, and 
the whole thing might be more modular.

 
 Splitting a document into several HTML files is non-trivial, as we
 need to consider the cross-links. Maybe we can support a set of
 cross-linked HTML from Master/Child documents?

Alex -- how does eLyXer work with Master/Child documents?

Thanks Gunter!

SteveT 
 
Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Broken lines in tables

2011-12-02 Thread Bianca Kranzusch
Hi!

I'm still working on my diploma thesis, and another issue has come up.

In some of my tables, I get broken horizontal lines. I have not been
able so far to find out why this happens in some tables, and in others
it doesn't. But it's really annoying.
I have appended an example file with one of the tables that do this.

Can anyone tell me how to avoid or fix this?
Any help, as always, greatly appreciated!

Thank you!
Bianca


Diplomarbeit_fixit.lyx
Description: Binary data


line spacing in lyxlist type lists

2011-12-02 Thread Csikos Bela
Hello:

How can I set or change the line spacing of the lyxlist style in lyx 2?
I would like to set the distance between the list items, and also the linespace 
within the item. It is also fine if I have to use latex code, or edit the 
preamble.

Thanks,

bcsikos




Re: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello:

 How can I set or change the line spacing of the lyxlist style in lyx 2?
 I would like to set the distance between the list items, and also the 
 linespace within the item. It is also fine if I have to use latex code, or 
 edit the preamble.

Look into the docs of the 'enumitem' module.

Liviu


 Thanks,

 bcsikos





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: line spacing in lyxlist type lists

2011-12-02 Thread Csikos Bela
Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello:

 How can I set or change the line spacing of the lyxlist style in lyx 2?
 I would like to set the distance between the list items, and also the 
 linespace within the item. It is also fine if I have to use latex code, or 
 edit the preamble.

Look into the docs of the 'enumitem' module.


Thanks.

I looked at the lyx's user guide and I found the following in section 3.3.7.3:

You can decrease the space by adding an optional argument to the first item of 
the list. There add the command nolistsep to get no additional list space like 
in this example:
• A bullet list
• without additional
• vertical space

If I understand correctly I have to add '\nolistsep' in TEX code, but I don't 
know where.  If add it right before the first item I get error message:

 \item \nolistsepa
 
The control sequence at the end of the top line
of your error message was never \def'ed.

The lyx user guide is very obscure in regard how and where to insert the 
commands.

bcsikos




Re: Broken lines in tables

2011-12-02 Thread Kornel Benko
Am Freitag, 2. Dezember 2011 um 12:47:14, schrieb Bianca Kranzusch 
bia...@kranzusch.net
 Hi!
 
 I'm still working on my diploma thesis, and another issue has come up.
 
 In some of my tables, I get broken horizontal lines. I have not been
 able so far to find out why this happens in some tables, and in others
 it doesn't. But it's really annoying.
 I have appended an example file with one of the tables that do this.
 
 Can anyone tell me how to avoid or fix this?
 Any help, as always, greatly appreciated!
 
 Thank you!
 Bianca
As soon as I remove the width spec of the table, there are no problems.
(You have specified width = 100 % \textwidth)

Don't know, why this shows this behaviour though.

Kornel

signature.asc
Description: This is a digitally signed message part.


Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Nate
Hi, I have just failed installing the 2.0.2 binaries on my OS X 10.4.11. After I
installed it, I double clicked on the App to run it, but nothing happened, the
Lyx did not show up at all. On my Mac, it is the same problem for both
LyX-2.0.2+qt4-cocoa.dmg and LyX-2.0.2+qt4-tiger.dmg. 

I just tried, and found I can install and run Lyx 1.6.9 successfully with
LyX-1.6.9-Mac-Universal.dmg.

Could someone please help? Thanks.



Re: LyX and Kindle books

2011-12-02 Thread Rob Oakes
I am working on an ePub compatible module right now (document class at any 
rate). It's for a talk I'm giving at a publishing conference next week. I will 
try and post something about it next week.

Does anyone know of a visual CSS editor that is open source? I'm trying to find 
something that can spit out just CSS code.

Sent from Rob's Palm

On Dec 2, 2011, at 3:12 AM, Steve Litt sl...@troubleshooters.com wrote:

 On Friday, December 02, 2011 04:13:53 AM Guenter Milde wrote:
 On 2011-12-02, Steve Litt wrote:
 LyX plus eLyXer plus a few other tools can make the PERFECT
 PERFECT PERFECT authoring tool for flowable text eBooks (Kindle,
 iPad, etc).
 
 The internal HTML output should be usable for eBook creation as
 well.
 
 Any work on eBook modules and backands should be compatible with
 both HTML writers.
 
 OK. I'll make sure any work I do is compatible with both, although I 
 could swear LyX's internal HTML exporter is simply eLyXer, as it 
 outputs eLyXer messages.
 
 
 ...
 I
 
 There needs to be a way to insert all info needed by Kindle into
 the LyX file, and having eLyXer or other similar executables do
 things like split out the chapters, split out the table of
 contents and index, make the .opf file and the .ncx file. It
 might require a special layout file -- I can create that. Or
 maybe just layout modules.
 
 IMO, LyX (as open source software) should concentrate on supporting
 the open ePub format. 
 
 ePub shouldn't be neglected, but it shouldn't be concentrated either. 
 A well employed list is a happy and productive list, and Kindle/iPad 
 provides a revenue stream for authors (most of whom do quite a bit of 
 open contributions). For example, many of the LyX derived print books 
 we discussed in this afternoon's thread are proprietary -- you can't 
 download them and must pay for them.
 
 Generating of kindle (or other proprietary)
 eBook formats would then pick up the relevant information from the
 ePub document.
 
 That sounds good on the surface, but my experience with ePub and 
 Kindle tells me it's a detour where you'd get complex with the ePub, 
 only to unwind the ePub back into simple HTML to be used by kindlegen.
 
 What would be excellent is for some loosely formed group of people 
 list all the data needed to generate a Kindle, necessary to generate 
 an iPad book, a Nook book, and an open ePub. If we can get that list 
 complete, then we have a list of what needs to go in the LyX file or 
 possibly a companion file. Once we have those specifications, writing 
 the actual converters would be a secretarial task. As a matter of 
 fact, if the additional data was put in a companion file, then eLyXer 
 and the internal converter wouldn't have to change all that much, and 
 the whole thing might be more modular.
 
 
 Splitting a document into several HTML files is non-trivial, as we
 need to consider the cross-links. Maybe we can support a set of
 cross-linked HTML from Master/Child documents?
 
 Alex -- how does eLyXer work with Master/Child documents?
 
 Thanks Gunter!
 
 SteveT 
 
 Steve Litt
 Author: The Key to Everyday Excellence
 http://www.troubleshooters.com/bookstore/key_excellence.htm
 Twitter: http://www.twitter.com/stevelitt
 


Re: LyX and Kindle books

2011-12-02 Thread Richard Heck
On 12/02/2011 05:12 AM, Steve Litt wrote:

 ...I could swear LyX's internal HTML exporter is simply eLyXer, as it 
 outputs eLyXer messages.

The format for the internal exporter is LyXHTML. This should be in
your view and export menus.

Richard




Re: pdf dimensions

2011-12-02 Thread Helge Hafting

On 01. des. 2011 13:30, Rainer M Krug wrote:



2011/12/1 Gian Maria Niccolò Benucci gian.benu...@gmail.com
mailto:gian.benu...@gmail.com



On 1 December 2011 13:09, Csikos Bela bcsikos...@freemail.hu
mailto:bcsikos...@freemail.hu wrote:

Gian Maria Niccolò Benucci gian.benu...@gmail.com
mailto:gian.benu...@gmail.com írta:
 Hi everyone,Is it possible to reduce the dimension of the
compiled pdf in LyX 2.0???Thanks a lot,-- Gian 


Do you mean the page size of the produced page?
It can be set easily under DocumentSettingsPage layoutPaper
formatFormat.

bcsikos




Nope. I meant the dimesion of the produced file.pdf
My thesis has 60 figures and 230 pages so the output is of 70 Mb...
very big! How to reduce it?


Reduce the size of the images. You can use e.g. imagemagik to do this.

This brings us more or less back to an ever re-occurring discussion:
could this be done automatically? It shuld be possible to include this
in the copier, so that the re-sampling is done automatically.

Only for those that really want it. Some people put huge bitmaps in, so 
the book will print nicely on the publisher's pro equipment.


But of course - there could be a document setting for max bitmap 
resolution. It should default to no reduction, but if the writer sets

it to, say 300dpi, then anything in excess of that could be downsampled.

Helge Hafting


Re: Yet another book using LyX

2011-12-02 Thread stefano franchi
 From what I hear, the average properly published nonfiction book
 sells about 3K copies. At that sales quantity, the author fails to

Steve,

you may want to qualify that. The average academic book sells probably
less than 1K, often less than 500 copies. Which is one of the reasons
why the book I just published costs $120: it is targeted at libraries
only.

No one gets rich in academia. In fact we barely survive.


Cheers,

Stefano
-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Re: Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Stephan Witt
Am 02.12.2011 um 15:22 schrieb Nate:

 Hi, I have just failed installing the 2.0.2 binaries on my OS X 10.4.11. 
 After I
 installed it, I double clicked on the App to run it, but nothing happened, the
 Lyx did not show up at all. On my Mac, it is the same problem for both
 LyX-2.0.2+qt4-cocoa.dmg and LyX-2.0.2+qt4-tiger.dmg. 

Really *nothing* happens? That's strange. I'd expect a crash report at least.
Sorry, I don't have a Mac OS with Tiger.

Please, try to the following:
1. Mount the disk image
2. Open the Terminal.app
3. Start LyX with
% /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx

... and report what happens.

Regards,
Stephan

Re: LyX and Kindle books

2011-12-02 Thread Alex Fernandez
Hi,

On Fri, Dec 2, 2011 at 11:12 AM, Steve Litt sl...@troubleshooters.com wrote:
 The internal HTML output should be usable for eBook creation as
 well.

 Any work on eBook modules and backands should be compatible with
 both HTML writers.

 OK. I'll make sure any work I do is compatible with both, although I
 could swear LyX's internal HTML exporter is simply eLyXer, as it
 outputs eLyXer messages.

eLyXer can be used from within LyX, and indeed it was one of the main
use cases considered. In the meantime LyX developed its own limited
XHTML export.

 IMO, LyX (as open source software) should concentrate on supporting
 the open ePub format.

 ePub shouldn't be neglected, but it shouldn't be concentrated either.
 A well employed list is a happy and productive list, and Kindle/iPad
 provides a revenue stream for authors (most of whom do quite a bit of
 open contributions). For example, many of the LyX derived print books
 we discussed in this afternoon's thread are proprietary -- you can't
 download them and must pay for them.

 Generating of kindle (or other proprietary)
 eBook formats would then pick up the relevant information from the
 ePub document.

 That sounds good on the surface, but my experience with ePub and
 Kindle tells me it's a detour where you'd get complex with the ePub,
 only to unwind the ePub back into simple HTML to be used by kindlegen.

Just let me know what you need from eLyXer which it doesn't currently
output! TOC and Index are already output given the appropriate
options.

 What would be excellent is for some loosely formed group of people
 list all the data needed to generate a Kindle, necessary to generate
 an iPad book, a Nook book, and an open ePub. If we can get that list
 complete, then we have a list of what needs to go in the LyX file or
 possibly a companion file. Once we have those specifications, writing
 the actual converters would be a secretarial task. As a matter of
 fact, if the additional data was put in a companion file, then eLyXer
 and the internal converter wouldn't have to change all that much, and
 the whole thing might be more modular.

Yes, that would be fine. Outputting text or binary documents with
formats and indexes is not too hard.

 Splitting a document into several HTML files is non-trivial, as we
 need to consider the cross-links. Maybe we can support a set of
 cross-linked HTML from Master/Child documents?

 Alex -- how does eLyXer work with Master/Child documents?

Master/Child documents are too rigid (but eLyXer works fine). eLyXer
has the option --splitpart which can divide a document into chapters,
sections or subsections. I think it is much more interesting for this
task.

Alex.


Re: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello:

 How can I set or change the line spacing of the lyxlist style in lyx 2?
 I would like to set the distance between the list items, and also the 
 linespace within the item. It is also fine if I have to use latex code, or 
 edit the preamble.

 Look into the docs of the 'enumitem' module.


 Thanks.

 I looked at the lyx's user guide and I found the following in section 3.3.7.3:

Have you looked into 'examples/enumitem.lyx'? It has an example on how
to do this: load the module, and insert the option via C-menu  Insert
Short Title.

Regards
Liviu


 You can decrease the space by adding an optional argument to the first item of 
 the list. There add the command nolistsep to get no additional list space 
 like in this example:
    • A bullet list
    • without additional
    • vertical space

 If I understand correctly I have to add '\nolistsep' in TEX code, but I don't 
 know where.  If add it right before the first item I get error message:

  \item \nolistsepa

 The control sequence at the end of the top line
 of your error message was never \def'ed.

 The lyx user guide is very obscure in regard how and where to insert the 
 commands.

 bcsikos





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX and Kindle books

2011-12-02 Thread Steve Litt
On Friday, December 02, 2011 10:30:17 AM Richard Heck wrote:
 On 12/02/2011 05:12 AM, Steve Litt wrote:
  ...I could swear LyX's internal HTML exporter is simply eLyXer,
  as it outputs eLyXer messages.
 
 The format for the internal exporter is LyXHTML. This should be
 in your view and export menus.
 
 Richard

Found it! As long as I have your attention, how do you tell the export 
what CSS file to use?

Thanks

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: LyX and Kindle books

2011-12-02 Thread Richard Heck
On 12/02/2011 01:56 PM, Steve Litt wrote:
 On Friday, December 02, 2011 10:30:17 AM Richard Heck wrote:
 On 12/02/2011 05:12 AM, Steve Litt wrote:
 ...I could swear LyX's internal HTML exporter is simply eLyXer,
 as it outputs eLyXer messages.
 The format for the internal exporter is LyXHTML. This should be
 in your view and export menus.

 Richard
 Found it! As long as I have your attention, how do you tell the export 
 what CSS file to use?

That is all done through layout files. (It's the LyX way.) Much of the
CSS is automatically generated. E.g., if you set up some character style
with boldface text in LyX, then the XHTML output will generate
appropriate CSS:
span.stevestyle {
font-weight: bold;
}
unless told to generate something else. You can customize what is
generated by adding some layout tags to the InsetLayout declaration:
HTMLStyle
span.stevestyle {
font-weight: bold;
background-color: red;
}
EndHTMLStyle
Given the presence of this tag, the default CSS will no longer be
generated (but can be forced via HTMLForceCSS 1.) But, as I said, if
you just want the obvious thing, LyX will generate it for you. I like
this, because everything is in one place, and you often don't have to do
anything special for XHTML output.

This is why Rob said he was working on layouts for ePub generation.

See section 5.4 of the Customization manual for more.

At present, LyX's XHTML output does not have the ability to split by
chapters and such. I think a more flexible method would be to allow
separate output of child documents. (Right now, LyX just outputs them as
part of the main document.) Then you divide it up how you like. This
shouldn't be too hard. I just haven't had time to do it. Too many other,
more pressing bugs to fix right at the moment.

Richard



Re: Broken lines in tables

2011-12-02 Thread Bianca Kranzusch
2011/12/2 Kornel Benko kornel.be...@berlin.de:

 As soon as I remove the width spec of the table, there are no problems.
 (You have specified width = 100 % \textwidth)

 Don't know, why this shows this behaviour though.

        Kornel

True. But I _want_ my tables to have \textwidth. :(

Bianca


Re: line spacing in lyxlist type lists

2011-12-02 Thread Csikos Bela
Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello:

 How can I set or change the line spacing of the lyxlist style in lyx 2?
 I would like to set the distance between the list items, and also the 
 linespace within the item. It is also fine if I have to use latex code, or 
 edit the preamble.

 Look into the docs of the 'enumitem' module.


 Thanks.

 I looked at the lyx's user guide and I found the following in section 
 3.3.7.3:

Have you looked into 'examples/enumitem.lyx'? It has an example on how
to do this:

I don't have this file in lyx 2.0.1, I have only enumitem.module in
share/lyx/layouts.

load the module, and insert the option via C-menu  Insert
Short Title.

This was exactly what I wanted to do. I loaded the module, but
insertshort title is greyed out when labeling list type is selected.

Thanks,

bcsikos



Re: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 9:46 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Liviu Andronic landronim...@gmail.com írta:
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela bcsikos...@freemail.hu 
wrote:
 Hello:

 How can I set or change the line spacing of the lyxlist style in lyx 2?
 I would like to set the distance between the list items, and also the 
 linespace within the item. It is also fine if I have to use latex code, or 
 edit the preamble.

 Look into the docs of the 'enumitem' module.


 Thanks.

 I looked at the lyx's user guide and I found the following in section 
 3.3.7.3:

Have you looked into 'examples/enumitem.lyx'? It has an example on how
to do this:

 I don't have this file in lyx 2.0.1, I have only enumitem.module in
 share/lyx/layouts.

You should. Try
liv@liv-laptop:~$ locate enumitem.lyx
/usr/local/share/lyx-svn/examples/enumitem.lyx



load the module, and insert the option via C-menu  Insert
Short Title.

 This was exactly what I wanted to do. I loaded the module, but
 insertshort title is greyed out when labeling list type is selected.

See last list in the attached. I guess it should do what you want.
Liviu


 Thanks,

 bcsikos




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


newfile1.lyx
Description: Binary data


Re: pdf dimensions

2011-12-02 Thread Liviu Andronic
On Thu, Dec 1, 2011 at 2:34 PM, PhilipPirrip p...@net.hr wrote:
 On 12/01/2011 01:24 PM, Gian Maria Niccolò Benucci wrote:

 My thesis has 60 figures and 230 pages so the output is of 70 Mb... very
 big! How to reduce it?


 Well, how big are those 60 figures? You should work on reducing their size
 first (by reducing dimensions, resolution/dpi, using better compression in
 jpg's)


I think that this could be easily addressed with a script using
ImageMagick: clone current dir (or use the export to *.zip, then
unzip in tmp dir), downsize images with IM, generate PDF from *.lyx,
optimize the PDF using Qpdf [1]. You'd need to get it right, but it
doesn't sound that hard. It could even be added to the LyX export
items, I guess.

Regards
Liviu

[1] http://qpdf.sourceforge.net/


Re: Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Jinghua Feng
Hi Stephan, thanks for your help. I have done what you suggest, and below are 
the report:

For the LyX-2.0.2+qt4-tiger.dmg:

$/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
dyld: Symbol not found: _kTISPropertyUnicodeKeyLayoutData
  Referenced from: 
/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui
  Expected in: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon

Trace/BPT trap


As for the LyX-2.0.2+qt4-cocoa.dmg:

$/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
  Reason: Incompatible library version: lyx requires version 7.0.0 or later, 
but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap






 From: Stephan Witt st.w...@gmx.net
To: Nate jinghua.f...@yahoo.com 
Cc: lyx-users@lists.lyx.org 
Sent: Saturday, December 3, 2011 5:04 AM
Subject: Re: Bug of installing the 2.0.2 binaries version on Mac OS X?
 
Am 02.12.2011 um 15:22 schrieb Nate:

 Hi, I have just failed installing the 2.0.2 binaries on my OS X 10.4.11. 
 After I
 installed it, I double clicked on the App to run it, but nothing happened, the
 Lyx did not show up at all. On my Mac, it is the same problem for both
 LyX-2.0.2+qt4-cocoa.dmg and LyX-2.0.2+qt4-tiger.dmg. 

Really *nothing* happens? That's strange. I'd expect a crash report at least.
Sorry, I don't have a Mac OS with Tiger.

Please, try to the following:
1. Mount the disk image
2. Open the Terminal.app
3. Start LyX with
% /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx

... and report what happens.

Regards,
Stephan

Re: Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Stephan Witt
Am 03.12.2011 um 00:10 schrieb Jinghua Feng:

 Hi Stephan, thanks for your help. I have done what you suggest, and below are 
 the report:
 
 For the LyX-2.0.2+qt4-tiger.dmg:
 
 $/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
 dyld: Symbol not found: _kTISPropertyUnicodeKeyLayoutData
   Referenced from: 
 /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui
   Expected in: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
 
 Trace/BPT trap

Sorry, I've used the wrong version of the QtGui framework for packaging.
I have to create the corrected version as soon as possible. But I cannot
do this before tomorrow evening.

 
 
 As for the LyX-2.0.2+qt4-cocoa.dmg:
 
 $/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
 dyld: Library not loaded: /usr/lib/libiconv.2.dylib
   Referenced from: /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
   Reason: Incompatible library version: lyx requires version 7.0.0 or later, 
 but libiconv.2.dylib provides version 5.0.0
 Trace/BPT trap

This is to be expected - this package is for Leopard and newer Mac OS versions.

Regards,
Stephan

Re: LyX and Kindle books

2011-12-02 Thread Guenter Milde
On 2011-12-02, Steve Litt wrote:

> LyX plus eLyXer plus a few other tools can make the PERFECT PERFECT 
> PERFECT authoring tool for flowable text eBooks (Kindle, iPad, etc).

The internal HTML output should be usable for eBook creation as well.

Any work on "eBook" modules and backands should be compatible with both 
HTML writers.

...
 I 

> There needs to be a way to insert all info needed by Kindle into the 
> LyX file, and having eLyXer or other similar executables do things like 
> split out the chapters, split out the table of contents and index, 
> make the .opf file and the .ncx file. It might require a special layout 
> file -- I can create that. Or maybe just layout modules.

IMO, LyX (as open source software) should concentrate on supporting the
open ePub format. Generating of kindle (or other proprietary) eBook
formats would then pick up the relevant information from the ePub
document.

Splitting a document into several HTML files is non-trivial, as we need
to consider the cross-links. Maybe we can support a set of cross-linked
HTML from Master/Child documents?


Günter



Re: PDF won't generate

2011-12-02 Thread Erich Studerus
I get the following error message:

09:22:05.374: Generiere Vorschau ...
09:22:05.390: (buffer-view: Ctrl+R)
09:22:05.499: pdflatex  "Neues_Dokument1.tex"
09:22:06.702: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (Web2C 2011)
09:22:06.702:  restricted \write18 enabled.
09:22:06.702: entering extended mode
09:22:06.717: ! I can't find file `Neues_Dokument1.tex'.
09:22:06.717: <*> Neues_Dokument1.tex
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


Re: LyX and Kindle books

2011-12-02 Thread Steve Litt
On Friday, December 02, 2011 04:13:53 AM Guenter Milde wrote:
> On 2011-12-02, Steve Litt wrote:
> > LyX plus eLyXer plus a few other tools can make the PERFECT
> > PERFECT PERFECT authoring tool for flowable text eBooks (Kindle,
> > iPad, etc).
> 
> The internal HTML output should be usable for eBook creation as
> well.
> 
> Any work on "eBook" modules and backands should be compatible with
> both HTML writers.

OK. I'll make sure any work I do is compatible with both, although I 
could swear LyX's internal HTML exporter is simply eLyXer, as it 
outputs eLyXer messages.

> 
> ...
>  I
> 
> > There needs to be a way to insert all info needed by Kindle into
> > the LyX file, and having eLyXer or other similar executables do
> > things like split out the chapters, split out the table of
> > contents and index, make the .opf file and the .ncx file. It
> > might require a special layout file -- I can create that. Or
> > maybe just layout modules.
> 
> IMO, LyX (as open source software) should concentrate on supporting
> the open ePub format. 

ePub shouldn't be neglected, but it shouldn't be concentrated either. 
A well employed list is a happy and productive list, and Kindle/iPad 
provides a revenue stream for authors (most of whom do quite a bit of 
open contributions). For example, many of the LyX derived print books 
we discussed in this afternoon's thread are proprietary -- you can't 
download them and must pay for them.

> Generating of kindle (or other proprietary)
> eBook formats would then pick up the relevant information from the
> ePub document.

That sounds good on the surface, but my experience with ePub and 
Kindle tells me it's a detour where you'd get complex with the ePub, 
only to unwind the ePub back into simple HTML to be used by kindlegen.

What would be excellent is for some loosely formed group of people 
list all the data needed to generate a Kindle, necessary to generate 
an iPad book, a Nook book, and an open ePub. If we can get that list 
complete, then we have a list of what needs to go in the LyX file or 
possibly a companion file. Once we have those specifications, writing 
the actual converters would be a secretarial task. As a matter of 
fact, if the additional data was put in a companion file, then eLyXer 
and the internal converter wouldn't have to change all that much, and 
the whole thing might be more modular.

> 
> Splitting a document into several HTML files is non-trivial, as we
> need to consider the cross-links. Maybe we can support a set of
> cross-linked HTML from Master/Child documents?

Alex -- how does eLyXer work with Master/Child documents?

Thanks Gunter!

SteveT 
 
Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Broken lines in tables

2011-12-02 Thread Bianca Kranzusch
Hi!

I'm still working on my diploma thesis, and another issue has come up.

In some of my tables, I get broken horizontal lines. I have not been
able so far to find out why this happens in some tables, and in others
it doesn't. But it's really annoying.
I have appended an example file with one of the tables that do this.

Can anyone tell me how to avoid or fix this?
Any help, as always, greatly appreciated!

Thank you!
Bianca


Diplomarbeit_fixit.lyx
Description: Binary data


line spacing in lyxlist type lists

2011-12-02 Thread Csikos Bela
Hello:

How can I set or change the line spacing of the lyxlist style in lyx 2?
I would like to set the distance between the list items, and also the linespace 
within the item. It is also fine if I have to use latex code, or edit the 
preamble.

Thanks,

bcsikos




Re: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela  wrote:
> Hello:
>
> How can I set or change the line spacing of the lyxlist style in lyx 2?
> I would like to set the distance between the list items, and also the 
> linespace within the item. It is also fine if I have to use latex code, or 
> edit the preamble.
>
Look into the docs of the 'enumitem' module.

Liviu


> Thanks,
>
> bcsikos
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: line spacing in lyxlist type lists

2011-12-02 Thread Csikos Bela
Liviu Andronic  írta:
>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela  wrote:>
> Hello:>
>>
> How can I set or change the line spacing of the lyxlist style in lyx 2?>
> I would like to set the distance between the list items, and also the 
> linespace within the item. It is also fine if I have to use latex code, or 
> edit the preamble.>
>>
Look into the docs of the 'enumitem' module.>
>

Thanks.

I looked at the lyx's user guide and I found the following in section 3.3.7.3:

You can decrease the space by adding an optional argument to the first item of 
the list. There add the command nolistsep to get no additional list space like 
in this example:
• A bullet list
• without additional
• vertical space

If I understand correctly I have to add '\nolistsep' in TEX code, but I don't 
know where.  If add it right before the first item I get error message:

 \item \nolistsepa
 
The control sequence at the end of the top line
of your error message was never \def'ed.

The lyx user guide is very obscure in regard how and where to insert the 
commands.

bcsikos




Re: Broken lines in tables

2011-12-02 Thread Kornel Benko
Am Freitag, 2. Dezember 2011 um 12:47:14, schrieb Bianca Kranzusch 

> Hi!
> 
> I'm still working on my diploma thesis, and another issue has come up.
> 
> In some of my tables, I get broken horizontal lines. I have not been
> able so far to find out why this happens in some tables, and in others
> it doesn't. But it's really annoying.
> I have appended an example file with one of the tables that do this.
> 
> Can anyone tell me how to avoid or fix this?
> Any help, as always, greatly appreciated!
> 
> Thank you!
> Bianca
As soon as I remove the width spec of the table, there are no problems.
(You have specified width = 100 % \textwidth)

Don't know, why this shows this behaviour though.

Kornel

signature.asc
Description: This is a digitally signed message part.


Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Nate
Hi, I have just failed installing the 2.0.2 binaries on my OS X 10.4.11. After I
installed it, I double clicked on the App to run it, but nothing happened, the
Lyx did not show up at all. On my Mac, it is the same problem for both
LyX-2.0.2+qt4-cocoa.dmg and LyX-2.0.2+qt4-tiger.dmg. 

I just tried, and found I can install and run Lyx 1.6.9 successfully with
LyX-1.6.9-Mac-Universal.dmg.

Could someone please help? Thanks.



Re: LyX and Kindle books

2011-12-02 Thread Rob Oakes
I am working on an ePub compatible module right now (document class at any 
rate). It's for a talk I'm giving at a publishing conference next week. I will 
try and post something about it next week.

Does anyone know of a visual CSS editor that is open source? I'm trying to find 
something that can spit out just CSS code.

Sent from Rob's Palm

On Dec 2, 2011, at 3:12 AM, Steve Litt  wrote:

> On Friday, December 02, 2011 04:13:53 AM Guenter Milde wrote:
>> On 2011-12-02, Steve Litt wrote:
>>> LyX plus eLyXer plus a few other tools can make the PERFECT
>>> PERFECT PERFECT authoring tool for flowable text eBooks (Kindle,
>>> iPad, etc).
>> 
>> The internal HTML output should be usable for eBook creation as
>> well.
>> 
>> Any work on "eBook" modules and backands should be compatible with
>> both HTML writers.
> 
> OK. I'll make sure any work I do is compatible with both, although I 
> could swear LyX's internal HTML exporter is simply eLyXer, as it 
> outputs eLyXer messages.
> 
>> 
>> ...
>> I
>> 
>>> There needs to be a way to insert all info needed by Kindle into
>>> the LyX file, and having eLyXer or other similar executables do
>>> things like split out the chapters, split out the table of
>>> contents and index, make the .opf file and the .ncx file. It
>>> might require a special layout file -- I can create that. Or
>>> maybe just layout modules.
>> 
>> IMO, LyX (as open source software) should concentrate on supporting
>> the open ePub format. 
> 
> ePub shouldn't be neglected, but it shouldn't be concentrated either. 
> A well employed list is a happy and productive list, and Kindle/iPad 
> provides a revenue stream for authors (most of whom do quite a bit of 
> open contributions). For example, many of the LyX derived print books 
> we discussed in this afternoon's thread are proprietary -- you can't 
> download them and must pay for them.
> 
>> Generating of kindle (or other proprietary)
>> eBook formats would then pick up the relevant information from the
>> ePub document.
> 
> That sounds good on the surface, but my experience with ePub and 
> Kindle tells me it's a detour where you'd get complex with the ePub, 
> only to unwind the ePub back into simple HTML to be used by kindlegen.
> 
> What would be excellent is for some loosely formed group of people 
> list all the data needed to generate a Kindle, necessary to generate 
> an iPad book, a Nook book, and an open ePub. If we can get that list 
> complete, then we have a list of what needs to go in the LyX file or 
> possibly a companion file. Once we have those specifications, writing 
> the actual converters would be a secretarial task. As a matter of 
> fact, if the additional data was put in a companion file, then eLyXer 
> and the internal converter wouldn't have to change all that much, and 
> the whole thing might be more modular.
> 
>> 
>> Splitting a document into several HTML files is non-trivial, as we
>> need to consider the cross-links. Maybe we can support a set of
>> cross-linked HTML from Master/Child documents?
> 
> Alex -- how does eLyXer work with Master/Child documents?
> 
> Thanks Gunter!
> 
> SteveT 
> 
> Steve Litt
> Author: The Key to Everyday Excellence
> http://www.troubleshooters.com/bookstore/key_excellence.htm
> Twitter: http://www.twitter.com/stevelitt
> 


Re: LyX and Kindle books

2011-12-02 Thread Richard Heck
On 12/02/2011 05:12 AM, Steve Litt wrote:
>
> ...I could swear LyX's internal HTML exporter is simply eLyXer, as it 
> outputs eLyXer messages.
>
The format for the internal exporter is "LyXHTML". This should be in
your view and export menus.

Richard




Re: pdf dimensions

2011-12-02 Thread Helge Hafting

On 01. des. 2011 13:30, Rainer M Krug wrote:



2011/12/1 Gian Maria Niccolò Benucci >



On 1 December 2011 13:09, Csikos Bela > wrote:

"Gian Maria Niccolò Benucci" > írta:
 >Hi everyone,Is it possible to reduce the dimension of the
compiled pdf in LyX 2.0???Thanks a lot,-- Gian >


Do you mean the page size of the produced page?
It can be set easily under Document>Settings>Page layout>Paper
format>Format.

bcsikos




Nope. I meant the dimesion of the produced file.pdf
My thesis has 60 figures and 230 pages so the output is of 70 Mb...
very big! How to reduce it?


Reduce the size of the images. You can use e.g. imagemagik to do this.

This brings us more or less back to an ever re-occurring discussion:
could this be done automatically? It shuld be possible to include this
in the copier, so that the re-sampling is done automatically.

Only for those that really want it. Some people put huge bitmaps in, so 
the book will print nicely on the publisher's pro equipment.


But of course - there could be a document setting for "max bitmap 
resolution". It should default to "no reduction", but if the writer sets

it to, say 300dpi, then anything in excess of that could be downsampled.

Helge Hafting


Re: Yet another book using LyX

2011-12-02 Thread stefano franchi
> From what I hear, the average "properly published" nonfiction book
> sells about 3K copies. At that sales quantity, the author fails to

Steve,

you may want to qualify that. The average academic book sells probably
less than 1K, often less than 500 copies. Which is one of the reasons
why the book I just published costs $120: it is targeted at libraries
only.

No one gets rich in academia. In fact we barely survive.


Cheers,

Stefano
-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Re: Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Stephan Witt
Am 02.12.2011 um 15:22 schrieb Nate:

> Hi, I have just failed installing the 2.0.2 binaries on my OS X 10.4.11. 
> After I
> installed it, I double clicked on the App to run it, but nothing happened, the
> Lyx did not show up at all. On my Mac, it is the same problem for both
> LyX-2.0.2+qt4-cocoa.dmg and LyX-2.0.2+qt4-tiger.dmg. 

Really *nothing* happens? That's strange. I'd expect a crash report at least.
Sorry, I don't have a Mac OS with Tiger.

Please, try to the following:
1. Mount the disk image
2. Open the Terminal.app
3. Start LyX with
% /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx

... and report what happens.

Regards,
Stephan

Re: LyX and Kindle books

2011-12-02 Thread Alex Fernandez
Hi,

On Fri, Dec 2, 2011 at 11:12 AM, Steve Litt  wrote:
>> The internal HTML output should be usable for eBook creation as
>> well.
>>
>> Any work on "eBook" modules and backands should be compatible with
>> both HTML writers.
>
> OK. I'll make sure any work I do is compatible with both, although I
> could swear LyX's internal HTML exporter is simply eLyXer, as it
> outputs eLyXer messages.

eLyXer can be used from within LyX, and indeed it was one of the main
use cases considered. In the meantime LyX developed its own limited
XHTML export.

>> IMO, LyX (as open source software) should concentrate on supporting
>> the open ePub format.
>
> ePub shouldn't be neglected, but it shouldn't be concentrated either.
> A well employed list is a happy and productive list, and Kindle/iPad
> provides a revenue stream for authors (most of whom do quite a bit of
> open contributions). For example, many of the LyX derived print books
> we discussed in this afternoon's thread are proprietary -- you can't
> download them and must pay for them.
>
>> Generating of kindle (or other proprietary)
>> eBook formats would then pick up the relevant information from the
>> ePub document.
>
> That sounds good on the surface, but my experience with ePub and
> Kindle tells me it's a detour where you'd get complex with the ePub,
> only to unwind the ePub back into simple HTML to be used by kindlegen.

Just let me know what you need from eLyXer which it doesn't currently
output! TOC and Index are already output given the appropriate
options.

> What would be excellent is for some loosely formed group of people
> list all the data needed to generate a Kindle, necessary to generate
> an iPad book, a Nook book, and an open ePub. If we can get that list
> complete, then we have a list of what needs to go in the LyX file or
> possibly a companion file. Once we have those specifications, writing
> the actual converters would be a secretarial task. As a matter of
> fact, if the additional data was put in a companion file, then eLyXer
> and the internal converter wouldn't have to change all that much, and
> the whole thing might be more modular.

Yes, that would be fine. Outputting text or binary documents with
formats and indexes is not too hard.

>> Splitting a document into several HTML files is non-trivial, as we
>> need to consider the cross-links. Maybe we can support a set of
>> cross-linked HTML from Master/Child documents?
>
> Alex -- how does eLyXer work with Master/Child documents?

Master/Child documents are too rigid (but eLyXer works fine). eLyXer
has the option --splitpart which can divide a document into chapters,
sections or subsections. I think it is much more interesting for this
task.

Alex.


Re: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela  wrote:
> Liviu Andronic  írta:
>>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela  wrote:>
>> Hello:>
>>>
>> How can I set or change the line spacing of the lyxlist style in lyx 2?>
>> I would like to set the distance between the list items, and also the 
>> linespace within the item. It is also fine if I have to use latex code, or 
>> edit the preamble.>
>>>
> Look into the docs of the 'enumitem' module.>
>>
>
> Thanks.
>
> I looked at the lyx's user guide and I found the following in section 3.3.7.3:
>
Have you looked into 'examples/enumitem.lyx'? It has an example on how
to do this: load the module, and insert the option via C-menu > Insert
Short Title.

Regards
Liviu


> You can decrease the space by adding an optional argument to the first item of 
> the list. There add the command nolistsep to get no additional list space 
> like in this example:
>    • A bullet list
>    • without additional
>    • vertical space
>
> If I understand correctly I have to add '\nolistsep' in TEX code, but I don't 
> know where.  If add it right before the first item I get error message:
>
>  \item \nolistsepa
>
> The control sequence at the end of the top line
> of your error message was never \def'ed.
>
> The lyx user guide is very obscure in regard how and where to insert the 
> commands.
>
> bcsikos
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX and Kindle books

2011-12-02 Thread Steve Litt
On Friday, December 02, 2011 10:30:17 AM Richard Heck wrote:
> On 12/02/2011 05:12 AM, Steve Litt wrote:
> > ...I could swear LyX's internal HTML exporter is simply eLyXer,
> > as it outputs eLyXer messages.
> 
> The format for the internal exporter is "LyXHTML". This should be
> in your view and export menus.
> 
> Richard

Found it! As long as I have your attention, how do you tell the export 
what CSS file to use?

Thanks

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: LyX and Kindle books

2011-12-02 Thread Richard Heck
On 12/02/2011 01:56 PM, Steve Litt wrote:
> On Friday, December 02, 2011 10:30:17 AM Richard Heck wrote:
>> On 12/02/2011 05:12 AM, Steve Litt wrote:
>>> ...I could swear LyX's internal HTML exporter is simply eLyXer,
>>> as it outputs eLyXer messages.
>> The format for the internal exporter is "LyXHTML". This should be
>> in your view and export menus.
>>
>> Richard
> Found it! As long as I have your attention, how do you tell the export 
> what CSS file to use?
>
That is all done through layout files. (It's the LyX way.) Much of the
CSS is automatically generated. E.g., if you set up some character style
with boldface text in LyX, then the XHTML output will generate
appropriate CSS:
span.stevestyle {
font-weight: bold;
}
unless told to generate something else. You can customize what is
generated by adding some layout tags to the InsetLayout declaration:
HTMLStyle
span.stevestyle {
font-weight: bold;
background-color: red;
}
EndHTMLStyle
Given the presence of this tag, the default CSS will no longer be
generated (but can be forced via "HTMLForceCSS 1".) But, as I said, if
you just want the obvious thing, LyX will generate it for you. I like
this, because everything is in one place, and you often don't have to do
anything special for XHTML output.

This is why Rob said he was working on layouts for ePub generation.

See section 5.4 of the Customization manual for more.

At present, LyX's XHTML output does not have the ability to split by
chapters and such. I think a more flexible method would be to allow
separate output of child documents. (Right now, LyX just outputs them as
part of the main document.) Then you divide it up how you like. This
shouldn't be too hard. I just haven't had time to do it. Too many other,
more pressing bugs to fix right at the moment.

Richard



Re: Broken lines in tables

2011-12-02 Thread Bianca Kranzusch
2011/12/2 Kornel Benko :
>
> As soon as I remove the width spec of the table, there are no problems.
> (You have specified width = 100 % \textwidth)
>
> Don't know, why this shows this behaviour though.
>
>        Kornel

True. But I _want_ my tables to have \textwidth. :(

Bianca


Re: line spacing in lyxlist type lists

2011-12-02 Thread Csikos Bela
Liviu Andronic  írta:
>On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela  wrote:>
> Liviu Andronic  írta:>
>>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela  wrote:>>
>> Hello:>>

>> How can I set or change the line spacing of the lyxlist style in lyx 2?>>
>> I would like to set the distance between the list items, and also the 
>> linespace within the item. It is also fine if I have to use latex code, or 
>> edit the preamble.>>

> Look into the docs of the 'enumitem' module.>>
>>>
>>
> Thanks.>
>>
> I looked at the lyx's user guide and I found the following in section 
> 3.3.7.3:>
>>
>Have you looked into 'examples/enumitem.lyx'? It has an example on how>
>to do this:

I don't have this file in lyx 2.0.1, I have only enumitem.module in
share/lyx/layouts.

>load the module, and insert the option via C-menu > Insert>
>Short Title.>

This was exactly what I wanted to do. I loaded the module, but
insert>short title is greyed out when labeling list type is selected.

Thanks,

bcsikos



Re: line spacing in lyxlist type lists

2011-12-02 Thread Liviu Andronic
On Fri, Dec 2, 2011 at 9:46 PM, Csikos Bela  wrote:
> Liviu Andronic  írta:
>>On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela  wrote:>
>> Liviu Andronic  írta:>
>>>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela  
>>>wrote:>>
>>> Hello:>>
>
>>> How can I set or change the line spacing of the lyxlist style in lyx 2?>>
>>> I would like to set the distance between the list items, and also the 
>>> linespace within the item. It is also fine if I have to use latex code, or 
>>> edit the preamble.>>
>
>> Look into the docs of the 'enumitem' module.>>

>>>
>> Thanks.>
>>>
>> I looked at the lyx's user guide and I found the following in section 
>> 3.3.7.3:>
>>>
>>Have you looked into 'examples/enumitem.lyx'? It has an example on how>
>>to do this:
>
> I don't have this file in lyx 2.0.1, I have only enumitem.module in
> share/lyx/layouts.
>
You should. Try
liv@liv-laptop:~$ locate enumitem.lyx
/usr/local/share/lyx-svn/examples/enumitem.lyx



>>load the module, and insert the option via C-menu > Insert>
>>Short Title.>
>
> This was exactly what I wanted to do. I loaded the module, but
> insert>short title is greyed out when labeling list type is selected.
>
See last list in the attached. I guess it should do what you want.
Liviu


> Thanks,
>
> bcsikos
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


newfile1.lyx
Description: Binary data


Re: pdf dimensions

2011-12-02 Thread Liviu Andronic
On Thu, Dec 1, 2011 at 2:34 PM, PhilipPirrip  wrote:
> On 12/01/2011 01:24 PM, Gian Maria Niccolò Benucci wrote:
>>
>> My thesis has 60 figures and 230 pages so the output is of 70 Mb... very
>> big! How to reduce it?
>
>
> Well, how big are those 60 figures? You should work on reducing their size
> first (by reducing dimensions, resolution/dpi, using better compression in
> jpg's)
>
>
I think that this could be easily addressed with a script using
ImageMagick: clone current dir (or use the "export to *.zip", then
unzip in tmp dir), downsize images with IM, generate PDF from *.lyx,
optimize the PDF using Qpdf [1]. You'd need to get it right, but it
doesn't sound that hard. It could even be added to the LyX export
items, I guess.

Regards
Liviu

[1] http://qpdf.sourceforge.net/


Re: Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Jinghua Feng
Hi Stephan, thanks for your help. I have done what you suggest, and below are 
the report:

For the "LyX-2.0.2+qt4-tiger.dmg":

$/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
dyld: Symbol not found: _kTISPropertyUnicodeKeyLayoutData
  Referenced from: 
/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui
  Expected in: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon

Trace/BPT trap


As for the "LyX-2.0.2+qt4-cocoa.dmg":

$/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
  Reason: Incompatible library version: lyx requires version 7.0.0 or later, 
but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap






 From: Stephan Witt 
To: Nate  
Cc: lyx-users@lists.lyx.org 
Sent: Saturday, December 3, 2011 5:04 AM
Subject: Re: Bug of installing the 2.0.2 binaries version on Mac OS X?
 
Am 02.12.2011 um 15:22 schrieb Nate:

> Hi, I have just failed installing the 2.0.2 binaries on my OS X 10.4.11. 
> After I
> installed it, I double clicked on the App to run it, but nothing happened, the
> Lyx did not show up at all. On my Mac, it is the same problem for both
> LyX-2.0.2+qt4-cocoa.dmg and LyX-2.0.2+qt4-tiger.dmg. 

Really *nothing* happens? That's strange. I'd expect a crash report at least.
Sorry, I don't have a Mac OS with Tiger.

Please, try to the following:
1. Mount the disk image
2. Open the Terminal.app
3. Start LyX with
% /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx

... and report what happens.

Regards,
Stephan

Re: Bug of installing the 2.0.2 binaries version on Mac OS X?

2011-12-02 Thread Stephan Witt
Am 03.12.2011 um 00:10 schrieb Jinghua Feng:

> Hi Stephan, thanks for your help. I have done what you suggest, and below are 
> the report:
> 
> For the "LyX-2.0.2+qt4-tiger.dmg":
> 
> $/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
> dyld: Symbol not found: _kTISPropertyUnicodeKeyLayoutData
>   Referenced from: 
> /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui
>   Expected in: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
> 
> Trace/BPT trap

Sorry, I've used the wrong version of the QtGui framework for packaging.
I have to create the corrected version as soon as possible. But I cannot
do this before tomorrow evening.

> 
> 
> As for the "LyX-2.0.2+qt4-cocoa.dmg":
> 
> $/Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
> dyld: Library not loaded: /usr/lib/libiconv.2.dylib
>   Referenced from: /Volumes/LyX-2.0.2/LyX.app/Contents/MacOS/lyx
>   Reason: Incompatible library version: lyx requires version 7.0.0 or later, 
> but libiconv.2.dylib provides version 5.0.0
> Trace/BPT trap

This is to be expected - this package is for Leopard and newer Mac OS versions.

Regards,
Stephan