Re: SVG files with linked bitmap

2011-12-13 Thread Julien Rioux

On 12/12/2011 7:26 PM, Phil wrote:

Guenter Mildemildeat  users.sf.net  writes:



LyX copies *all* required files into a temporary directory in order not
to pollute the working directory. (Earlier versions had an option to
use the working directory (giving an empty value as path to the
tempdir).)


The problem here is that is does not know about all the required files.  The
linked bitmap in the SVG is required but Lyx doesn't / can't know about it.


As there are several use cases where compiling in the pwd is
preferable, you might consider filing a feature request.


Is there a feature request tracker or is it the same as the bug tracker?

Phil





They are the same. From what I gather, the problem is already reported here:
http://www.lyx.org/trac/ticket/4931

--
Julien



Re: argmax operator?

2011-12-13 Thread Julien Rioux

On 12/12/2011 11:21 AM, Ignacio Martinez wrote:

Hi I'm trying to add the operator argmax to my LyX document.

I added the following to my preamble:

\DeclareMathOperator*{\argmax}{arg\,max}


But is not working. I write in math mode \argmax but the operator does not
work.


What am I doing wrong?


Thanks!


-Ignacio



DeclareMathOperator is described in Section 10.4 Self-defined 
Operators of the Math help manual. It doesn't display nicely in LyX if 
that's what you mean by does not work. But compiling your document to 
pdf should work. If it did not, please describe what kind of errors you 
are getting.


Cheers,
Julien



Re: Layout for KOMA-script article class?

2011-12-13 Thread Eric Weir

On Dec 12, 2011, at 4:23 PM, Guenter Milde wrote:

 On 2011-12-12, Eric Weir wrote:
 On Dec 12, 2011, at 9:54 AM, Richard Heck wrote:
 
 The scrartcl.layout file is a layout for that class. Do you mean
 something else?
 
 No, that's it. I didn't find it in the LyX folder in my user directory.
 I see there are layouts for all the KOMA classes in the layouts folder
 in the LyX package.  Should I copy them into the layouts folder in my
 user directory? It's currently empty.
 
 Copy files from the system lyx dir to your user dir, if you want to
 modify them. (Usually also rename them to avoid later confusion.)

Thanks, Guenter.

 in hanging onto my TeX Live 2010
 distribution?
 
 As long as you do not run into problems or limitations - keeping saves time
 and bandwidth...

I have such a small number of documents created with the 2010 
distribution--just those created while doing the tutorial--that I'm trashing it.

Thanks again,
--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

What does it mean...that the world is so beautiful? 

- Mary Oliver 








OT: publishing - recommendations?

2011-12-13 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

first my apologies for this OT topic, but I rahter ask here then go
into another forum where I have no idea who knows what.

So please reply off-list (unless you think this is on topic).

I am going to write a guidelines book (management, alien invasive
species, South Afica) which will be around 50 pages (I guess). To make
it available in printed form as well, I am planning to publish it in
something like print-on-demand, but would also make the pdf available
for free download (or a very low cost). The guidelines will likely be
read mostly in South Africa.
In addition, these guidelines should have an ISBN number.

I will obviously writing the guidelines in LyX.

OK - my question is, how can I achieve this? I guess something like
lulu.com is the easiest option? Any recommendations, specifically
concerning the fact that most books will go to South Africa (likely
bulk order)?

Any self-publishing houses in Europe which are recommendet?

Again - sorry for the OT - I hope it is not to bad,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7nTLkACgkQoYgNqgF2egqjIQCdF0bqFP8igQFEZzynzXuhDNrC
YtwAnjsZrZcyTLbPdQq+SXtytWcLxbap
=BlZt
-END PGP SIGNATURE-


Re: OT: publishing - recommendations?

2011-12-13 Thread Rich Shepard

On Tue, 13 Dec 2011, Rainer M Krug wrote:


OK - my question is, how can I achieve this? I guess something like
lulu.com is the easiest option? Any recommendations, specifically
concerning the fact that most books will go to South Africa (likely bulk
order)?

Any self-publishing houses in Europe which are recommendet?


Rainer,

  Rick van der Laans lives in the Netherlands and published his SQLite book
via lulu.com. I have a copy of that as well as his most excellent
Introduction to SQL, 4th Ed. published by a conventional publisher.

  At 50 pages your proposed book is quite small. You can probably find a
local publisher or printer who could produce bound copies for you.

Rich


Re: OT: publishing - recommendations?

2011-12-13 Thread Anthony Campbell
On 13 Dec 2011, Rich Shepard wrote:
 On Tue, 13 Dec 2011, Rainer M Krug wrote:
 
 OK - my question is, how can I achieve this? I guess something like
 lulu.com is the easiest option? Any recommendations, specifically
 concerning the fact that most books will go to South Africa (likely bulk
 order)?
 
 Any self-publishing houses in Europe which are recommendet?
 
 Rainer,
 
   Rick van der Laans lives in the Netherlands and published his SQLite book
 via lulu.com. I have a copy of that as well as his most excellent
 Introduction to SQL, 4th Ed. published by a conventional publisher.
 
   At 50 pages your proposed book is quite small. You can probably find a
 local publisher or printer who could produce bound copies for you.
 
 Rich

It depends what you want to do. If you want a book for sale that will be
distributed to Amazon etc, Lulu will do this. But note that they are
printers, not publishers -an important distinction.

I've produced five books via Lulu. I had pretty good experiences when I
started several years ago but I like them less now, although I think
they are the best in their category.  At least you don't have to pay
anything in advance.

On the other hand, they are not cheap when it comest to printing and
delivery. If you simply want a quantity of books for distribution to a
specified audience I agree with Rick: cheaper to get the book printed
yourself. This is what I've done myself for two books which I use on
courses I teach; they are printed by Antony Rowe and this is
considerably cheaper and also usually quicker than Lulu. Plus I can
reach them on the phone, which you can't do with Lulu.

More generally, I think that self-publishing printed books for sale,
unless to a very clearly defined market, is unlikely to yield much if
any profit. The future, I'm sure, is in ebooks. Don't use Lulu for that;
Smashwords is better. I have 6 books on Smashwords, including most of
those I published with Lulu, and all are selling regularly.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread CP
What I'd do is enter an author's name in the Author environment, then use
 ctrl-Enter to keep the next line in the same environment. Enter the
 institution on that line new line. Then either space down (with the [Enter]
 key) and repeat or keep all lines together in the same environment with
 ctrl-Enter.
 
 Rich
 
 
Thanks Rich. My question wasn't very clear I realize. If I read your reply
correctly, it is a solution to having authors and their institutions appear one
below the other. I'm trying to have two authors names side by side on one line
and on another line underneath the names have their respective institutions
appear centered below their names. Does that make sense?
C





pdflatex - Unknown Extension EPS - even though no EPS in the Lyx File!

2011-12-13 Thread Onkelbonus

Hello,

as the title suggests I have the problem, that even though I did a 
completly new reinstall of Lyx 2.0.2, I have the problem that I can't 
insert Graphic files into Lyx (png for instance) without getting this 
error in pdflatex.  Even when inserted into a absolutly clean new 
document I get this error for png Graphics. On other PC's my documents 
work and can be created with pdflatex. ps2pdf, which I have been using 
for eps graphics still works. Can you help me?


onkelbonus





Re: Too many hyphens

2011-12-13 Thread Helge Hafting
On 13. des. 2011 03:19,  Frederick FN Noronha फ्रेडरिक नोरोन्या *فريدريك 
نورونيا  wrote:

Dear all:

My book text is showing up too many hyphens. Could you tell me if the
text below is causing it, or what could the solution be?

\usepackage{microtype}
\makeatother
\widowpenalty=1000
\clubpenalty=1
\raggedbottom
\usepackage{titlesec}


microtype will usually lead to fewer hyphens, not more.
Things to consider:
* Make sure the document language is set correctly. That avoids wrong
  hyphenations.
* Consider wider margins, fewer columns or a more narrow font. That
  lessens the need for hyphenation

Also, you can instruct latex to use a higher penalty for hyphens. That 
way, latex will make less hyphens and instead put more space between

words. Use google to find out more about this.

Helge Hafting


Re: argmax operator?

2011-12-13 Thread Ignacio Martinez
thanks!

On Tue, Dec 13, 2011 at 3:22 AM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 12/12/2011 11:21 AM, Ignacio Martinez wrote:

 Hi I'm trying to add the operator argmax to my LyX document.

 I added the following to my preamble:

 \DeclareMathOperator*{\argmax}**{arg\,max}


 But is not working. I write in math mode \argmax but the operator does not
 work.


 What am I doing wrong?


 Thanks!


 -Ignacio


 DeclareMathOperator is described in Section 10.4 Self-defined Operators
 of the Math help manual. It doesn't display nicely in LyX if that's what
 you mean by does not work. But compiling your document to pdf should
 work. If it did not, please describe what kind of errors you are getting.

 Cheers,
 Julien




Re: OT: publishing - recommendations?

2011-12-13 Thread Steve Litt
On Tuesday, December 13, 2011 08:01:45 AM Rainer M Krug wrote:
 Hi
 
 first my apologies for this OT topic, but I rahter ask here then go
 into another forum where I have no idea who knows what.
 
 So please reply off-list (unless you think this is on topic).
 
 I am going to write a guidelines book (management, alien invasive
 species, South Afica) which will be around 50 pages (I guess). To
 make it available in printed form as well, I am planning to
 publish it in something like print-on-demand, but would also make
 the pdf available for free download (or a very low cost). The
 guidelines will likely be read mostly in South Africa.
 In addition, these guidelines should have an ISBN number.
 
 I will obviously writing the guidelines in LyX.

LyX is obviously the best authoring tool for this.

I'm reading your preceding post. If I'm reading you correctly, profit 
isn't a major motive, because you're giving away your PDF free or at 
very low cost (free would be a lot less headaches if profit isn't a 
major motive).

The free or cheap PDF constrains what you can charge for the print 
book. Nobody's going to pay $29.95 for the print version of what they 
can get free.

You can do print-on-demand and pay a lot of money for each book, or do 
a 200 book short run and pay less but have inventory clogging up your 
life. If you take possession of the books, you pay shipping twice (one 
from the printer and one to the reader). Fulfillment of print book 
orders is a hassle. Wrap it, take it to the post office, mail it. One 
out of 100 claim they never got it. These hassles are worth it if 
you're selling the book for $29.95, or $42.50 like the most expensive 
of my print books, but maybe not if you're selling it for $9.95, and 
definitely not if it's $4.95.

What I'm getting at is this: Are you sure you want a print version at 
all? If you have a PDF, plus maybe you distribute it as a few flowable 
text eBook types like Kindle, iPad, Nook, generic EPUB, you'd get it 
out to a lot of people. I've never been to Africa, but I hear in South 
Africa and Africa in general, a lot of people have cell phones due to 
a lack of other infrastructure like cable and landline phone. I'm 
pretty sure that as long as your images are inline and not to the 
right or left of text or other images, images come out OK on a 
flowable text eBook.

By the way, I LOVE the whole concept of invasive species. Living in 
Florida, USA, I see a world teeming with life, with plants growing on 
plants growing on other plants. I don't know if they're foreign, but 
we have these air potato vines that climb trees from the ground all 
the way to the top. We have Spanish Moss hanging from every tree, and 
little mini-vines that completely cover our decorative plants and 
would steal all their light if I didn't rip them off. And then of 
course we have the fire ant 
(http://en.wikipedia.org/wiki/Red_imported_fire_ant) that came here 
from Brazil in the 1930's, liked it here, and made it their home. 
Don't try laying on the grass in Florida.

Anyway, this post isn't really responsive to your question, but a lot 
of other people answered your question precisely, so I thought maybe 
I'd persue this other avenue.

SteveT

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



Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread Rich Shepard

On Tue, 13 Dec 2011, CP wrote:


Thanks Rich. My question wasn't very clear I realize. If I read your reply
correctly, it is a solution to having authors and their institutions
appear one below the other. I'm trying to have two authors names side by
side on one line and on another line underneath the names have their
respective institutions appear centered below their names. Does that make
sense?


  Sure. Look at TLG2 for information on using either minipages or set the
authors as two columns. I think the use of minipages will look better.

Rich


Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread CP
Rich Shepard rshepard at appl-ecosys.com writes:

 
 On Tue, 13 Dec 2011, CP wrote:
 
  Thanks Rich. My question wasn't very clear I realize. If I read your reply
  correctly, it is a solution to having authors and their institutions
  appear one below the other. I'm trying to have two authors names side by
  side on one line and on another line underneath the names have their
  respective institutions appear centered below their names. Does that make
  sense?
 
Sure. Look at TLG2 for information on using either minipages or set the
 authors as two columns. I think the use of minipages will look better.
 
 Rich
 
 
I'm afraid I don't know what TLG2 is. I tried fiddling around with minipages but
didn't quite get the desired look. Where/what is TLG2?
Thanks, C





Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread Rich Shepard

On Tue, 13 Dec 2011, CP wrote:


I'm afraid I don't know what TLG2 is.


  A typo: it should have been The LaTeX Companion, 2nd Edition (TLC2).


I tried fiddling around with minipages but didn't quite get the desired
look. Where/what is TLG2?


  I've used minipages in figures and body text but not for authors. I'm sure
it can be done.

Rich


How to get full image filenames into LaTeX export?

2011-12-13 Thread Steve Litt
Hi all,

I use:

lyx --export latex myfile.lyx

and it creates a very nice LaTeX file. However, for what I need, I 
need it to pass on the full name of each image (e.g. radiator.jpg, not 
just radiator) and not convert to .eps. Yes, I know this won't compile 
under LaTeX if it has a .jpg or .png or .gif extension, but I need it.

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: SVG files with linked bitmap

2011-12-13 Thread Julien Rioux

On 12/12/2011 7:26 PM, Phil wrote:

Guenter Mildemildeat  users.sf.net  writes:



LyX copies *all* required files into a temporary directory in order not
to pollute the working directory. (Earlier versions had an option to
use the working directory (giving an empty value as path to the
tempdir).)


The problem here is that is does not know about all the required files.  The
linked bitmap in the SVG is required but Lyx doesn't / can't know about it.


As there are several use cases where compiling in the pwd is
preferable, you might consider filing a feature request.


Is there a feature request tracker or is it the same as the bug tracker?

Phil





They are the same. From what I gather, the problem is already reported here:
http://www.lyx.org/trac/ticket/4931

--
Julien



Re: argmax operator?

2011-12-13 Thread Julien Rioux

On 12/12/2011 11:21 AM, Ignacio Martinez wrote:

Hi I'm trying to add the operator argmax to my LyX document.

I added the following to my preamble:

\DeclareMathOperator*{\argmax}{arg\,max}


But is not working. I write in math mode \argmax but the operator does not
work.


What am I doing wrong?


Thanks!


-Ignacio



DeclareMathOperator is described in Section 10.4 Self-defined 
Operators of the Math help manual. It doesn't display nicely in LyX if 
that's what you mean by does not work. But compiling your document to 
pdf should work. If it did not, please describe what kind of errors you 
are getting.


Cheers,
Julien



Re: Layout for KOMA-script article class?

2011-12-13 Thread Eric Weir

On Dec 12, 2011, at 4:23 PM, Guenter Milde wrote:

 On 2011-12-12, Eric Weir wrote:
 On Dec 12, 2011, at 9:54 AM, Richard Heck wrote:
 
 The scrartcl.layout file is a layout for that class. Do you mean
 something else?
 
 No, that's it. I didn't find it in the LyX folder in my user directory.
 I see there are layouts for all the KOMA classes in the layouts folder
 in the LyX package.  Should I copy them into the layouts folder in my
 user directory? It's currently empty.
 
 Copy files from the system lyx dir to your user dir, if you want to
 modify them. (Usually also rename them to avoid later confusion.)

Thanks, Guenter.

 in hanging onto my TeX Live 2010
 distribution?
 
 As long as you do not run into problems or limitations - keeping saves time
 and bandwidth...

I have such a small number of documents created with the 2010 
distribution--just those created while doing the tutorial--that I'm trashing it.

Thanks again,
--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

What does it mean...that the world is so beautiful? 

- Mary Oliver 








OT: publishing - recommendations?

2011-12-13 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

first my apologies for this OT topic, but I rahter ask here then go
into another forum where I have no idea who knows what.

So please reply off-list (unless you think this is on topic).

I am going to write a guidelines book (management, alien invasive
species, South Afica) which will be around 50 pages (I guess). To make
it available in printed form as well, I am planning to publish it in
something like print-on-demand, but would also make the pdf available
for free download (or a very low cost). The guidelines will likely be
read mostly in South Africa.
In addition, these guidelines should have an ISBN number.

I will obviously writing the guidelines in LyX.

OK - my question is, how can I achieve this? I guess something like
lulu.com is the easiest option? Any recommendations, specifically
concerning the fact that most books will go to South Africa (likely
bulk order)?

Any self-publishing houses in Europe which are recommendet?

Again - sorry for the OT - I hope it is not to bad,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7nTLkACgkQoYgNqgF2egqjIQCdF0bqFP8igQFEZzynzXuhDNrC
YtwAnjsZrZcyTLbPdQq+SXtytWcLxbap
=BlZt
-END PGP SIGNATURE-


Re: OT: publishing - recommendations?

2011-12-13 Thread Rich Shepard

On Tue, 13 Dec 2011, Rainer M Krug wrote:


OK - my question is, how can I achieve this? I guess something like
lulu.com is the easiest option? Any recommendations, specifically
concerning the fact that most books will go to South Africa (likely bulk
order)?

Any self-publishing houses in Europe which are recommendet?


Rainer,

  Rick van der Laans lives in the Netherlands and published his SQLite book
via lulu.com. I have a copy of that as well as his most excellent
Introduction to SQL, 4th Ed. published by a conventional publisher.

  At 50 pages your proposed book is quite small. You can probably find a
local publisher or printer who could produce bound copies for you.

Rich


Re: OT: publishing - recommendations?

2011-12-13 Thread Anthony Campbell
On 13 Dec 2011, Rich Shepard wrote:
 On Tue, 13 Dec 2011, Rainer M Krug wrote:
 
 OK - my question is, how can I achieve this? I guess something like
 lulu.com is the easiest option? Any recommendations, specifically
 concerning the fact that most books will go to South Africa (likely bulk
 order)?
 
 Any self-publishing houses in Europe which are recommendet?
 
 Rainer,
 
   Rick van der Laans lives in the Netherlands and published his SQLite book
 via lulu.com. I have a copy of that as well as his most excellent
 Introduction to SQL, 4th Ed. published by a conventional publisher.
 
   At 50 pages your proposed book is quite small. You can probably find a
 local publisher or printer who could produce bound copies for you.
 
 Rich

It depends what you want to do. If you want a book for sale that will be
distributed to Amazon etc, Lulu will do this. But note that they are
printers, not publishers -an important distinction.

I've produced five books via Lulu. I had pretty good experiences when I
started several years ago but I like them less now, although I think
they are the best in their category.  At least you don't have to pay
anything in advance.

On the other hand, they are not cheap when it comest to printing and
delivery. If you simply want a quantity of books for distribution to a
specified audience I agree with Rick: cheaper to get the book printed
yourself. This is what I've done myself for two books which I use on
courses I teach; they are printed by Antony Rowe and this is
considerably cheaper and also usually quicker than Lulu. Plus I can
reach them on the phone, which you can't do with Lulu.

More generally, I think that self-publishing printed books for sale,
unless to a very clearly defined market, is unlikely to yield much if
any profit. The future, I'm sure, is in ebooks. Don't use Lulu for that;
Smashwords is better. I have 6 books on Smashwords, including most of
those I published with Lulu, and all are selling regularly.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread CP
What I'd do is enter an author's name in the Author environment, then use
 ctrl-Enter to keep the next line in the same environment. Enter the
 institution on that line new line. Then either space down (with the [Enter]
 key) and repeat or keep all lines together in the same environment with
 ctrl-Enter.
 
 Rich
 
 
Thanks Rich. My question wasn't very clear I realize. If I read your reply
correctly, it is a solution to having authors and their institutions appear one
below the other. I'm trying to have two authors names side by side on one line
and on another line underneath the names have their respective institutions
appear centered below their names. Does that make sense?
C





pdflatex - Unknown Extension EPS - even though no EPS in the Lyx File!

2011-12-13 Thread Onkelbonus

Hello,

as the title suggests I have the problem, that even though I did a 
completly new reinstall of Lyx 2.0.2, I have the problem that I can't 
insert Graphic files into Lyx (png for instance) without getting this 
error in pdflatex.  Even when inserted into a absolutly clean new 
document I get this error for png Graphics. On other PC's my documents 
work and can be created with pdflatex. ps2pdf, which I have been using 
for eps graphics still works. Can you help me?


onkelbonus





Re: Too many hyphens

2011-12-13 Thread Helge Hafting
On 13. des. 2011 03:19,  Frederick FN Noronha फ्रेडरिक नोरोन्या *فريدريك 
نورونيا  wrote:

Dear all:

My book text is showing up too many hyphens. Could you tell me if the
text below is causing it, or what could the solution be?

\usepackage{microtype}
\makeatother
\widowpenalty=1000
\clubpenalty=1
\raggedbottom
\usepackage{titlesec}


microtype will usually lead to fewer hyphens, not more.
Things to consider:
* Make sure the document language is set correctly. That avoids wrong
  hyphenations.
* Consider wider margins, fewer columns or a more narrow font. That
  lessens the need for hyphenation

Also, you can instruct latex to use a higher penalty for hyphens. That 
way, latex will make less hyphens and instead put more space between

words. Use google to find out more about this.

Helge Hafting


Re: argmax operator?

2011-12-13 Thread Ignacio Martinez
thanks!

On Tue, Dec 13, 2011 at 3:22 AM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 12/12/2011 11:21 AM, Ignacio Martinez wrote:

 Hi I'm trying to add the operator argmax to my LyX document.

 I added the following to my preamble:

 \DeclareMathOperator*{\argmax}**{arg\,max}


 But is not working. I write in math mode \argmax but the operator does not
 work.


 What am I doing wrong?


 Thanks!


 -Ignacio


 DeclareMathOperator is described in Section 10.4 Self-defined Operators
 of the Math help manual. It doesn't display nicely in LyX if that's what
 you mean by does not work. But compiling your document to pdf should
 work. If it did not, please describe what kind of errors you are getting.

 Cheers,
 Julien




Re: OT: publishing - recommendations?

2011-12-13 Thread Steve Litt
On Tuesday, December 13, 2011 08:01:45 AM Rainer M Krug wrote:
 Hi
 
 first my apologies for this OT topic, but I rahter ask here then go
 into another forum where I have no idea who knows what.
 
 So please reply off-list (unless you think this is on topic).
 
 I am going to write a guidelines book (management, alien invasive
 species, South Afica) which will be around 50 pages (I guess). To
 make it available in printed form as well, I am planning to
 publish it in something like print-on-demand, but would also make
 the pdf available for free download (or a very low cost). The
 guidelines will likely be read mostly in South Africa.
 In addition, these guidelines should have an ISBN number.
 
 I will obviously writing the guidelines in LyX.

LyX is obviously the best authoring tool for this.

I'm reading your preceding post. If I'm reading you correctly, profit 
isn't a major motive, because you're giving away your PDF free or at 
very low cost (free would be a lot less headaches if profit isn't a 
major motive).

The free or cheap PDF constrains what you can charge for the print 
book. Nobody's going to pay $29.95 for the print version of what they 
can get free.

You can do print-on-demand and pay a lot of money for each book, or do 
a 200 book short run and pay less but have inventory clogging up your 
life. If you take possession of the books, you pay shipping twice (one 
from the printer and one to the reader). Fulfillment of print book 
orders is a hassle. Wrap it, take it to the post office, mail it. One 
out of 100 claim they never got it. These hassles are worth it if 
you're selling the book for $29.95, or $42.50 like the most expensive 
of my print books, but maybe not if you're selling it for $9.95, and 
definitely not if it's $4.95.

What I'm getting at is this: Are you sure you want a print version at 
all? If you have a PDF, plus maybe you distribute it as a few flowable 
text eBook types like Kindle, iPad, Nook, generic EPUB, you'd get it 
out to a lot of people. I've never been to Africa, but I hear in South 
Africa and Africa in general, a lot of people have cell phones due to 
a lack of other infrastructure like cable and landline phone. I'm 
pretty sure that as long as your images are inline and not to the 
right or left of text or other images, images come out OK on a 
flowable text eBook.

By the way, I LOVE the whole concept of invasive species. Living in 
Florida, USA, I see a world teeming with life, with plants growing on 
plants growing on other plants. I don't know if they're foreign, but 
we have these air potato vines that climb trees from the ground all 
the way to the top. We have Spanish Moss hanging from every tree, and 
little mini-vines that completely cover our decorative plants and 
would steal all their light if I didn't rip them off. And then of 
course we have the fire ant 
(http://en.wikipedia.org/wiki/Red_imported_fire_ant) that came here 
from Brazil in the 1930's, liked it here, and made it their home. 
Don't try laying on the grass in Florida.

Anyway, this post isn't really responsive to your question, but a lot 
of other people answered your question precisely, so I thought maybe 
I'd persue this other avenue.

SteveT

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



Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread Rich Shepard

On Tue, 13 Dec 2011, CP wrote:


Thanks Rich. My question wasn't very clear I realize. If I read your reply
correctly, it is a solution to having authors and their institutions
appear one below the other. I'm trying to have two authors names side by
side on one line and on another line underneath the names have their
respective institutions appear centered below their names. Does that make
sense?


  Sure. Look at TLG2 for information on using either minipages or set the
authors as two columns. I think the use of minipages will look better.

Rich


Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread CP
Rich Shepard rshepard at appl-ecosys.com writes:

 
 On Tue, 13 Dec 2011, CP wrote:
 
  Thanks Rich. My question wasn't very clear I realize. If I read your reply
  correctly, it is a solution to having authors and their institutions
  appear one below the other. I'm trying to have two authors names side by
  side on one line and on another line underneath the names have their
  respective institutions appear centered below their names. Does that make
  sense?
 
Sure. Look at TLG2 for information on using either minipages or set the
 authors as two columns. I think the use of minipages will look better.
 
 Rich
 
 
I'm afraid I don't know what TLG2 is. I tried fiddling around with minipages but
didn't quite get the desired look. Where/what is TLG2?
Thanks, C





Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread Rich Shepard

On Tue, 13 Dec 2011, CP wrote:


I'm afraid I don't know what TLG2 is.


  A typo: it should have been The LaTeX Companion, 2nd Edition (TLC2).


I tried fiddling around with minipages but didn't quite get the desired
look. Where/what is TLG2?


  I've used minipages in figures and body text but not for authors. I'm sure
it can be done.

Rich


How to get full image filenames into LaTeX export?

2011-12-13 Thread Steve Litt
Hi all,

I use:

lyx --export latex myfile.lyx

and it creates a very nice LaTeX file. However, for what I need, I 
need it to pass on the full name of each image (e.g. radiator.jpg, not 
just radiator) and not convert to .eps. Yes, I know this won't compile 
under LaTeX if it has a .jpg or .png or .gif extension, but I need it.

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: SVG files with linked bitmap

2011-12-13 Thread Julien Rioux

On 12/12/2011 7:26 PM, Phil wrote:

Guenter Milde  writes:



LyX copies *all* required files into a temporary directory in order not
to "pollute" the working directory. (Earlier versions had an option to
use the working directory (giving an empty value as path to the
"tempdir").)


The problem here is that is does not know about all the required files.  The
linked bitmap in the SVG is required but Lyx doesn't / can't know about it.


As there are several use cases where compiling in the pwd is
preferable, you might consider filing a feature request.


Is there a feature request tracker or is it the same as the bug tracker?

Phil





They are the same. From what I gather, the problem is already reported here:
http://www.lyx.org/trac/ticket/4931

--
Julien



Re: argmax operator?

2011-12-13 Thread Julien Rioux

On 12/12/2011 11:21 AM, Ignacio Martinez wrote:

Hi I'm trying to add the operator argmax to my LyX document.

I added the following to my preamble:

\DeclareMathOperator*{\argmax}{arg\,max}


But is not working. I write in math mode \argmax but the operator does not
work.


What am I doing wrong?


Thanks!


-Ignacio



DeclareMathOperator is described in "Section 10.4 Self-defined 
Operators" of the Math help manual. It doesn't display nicely in LyX if 
that's what you mean by "does not work". But compiling your document to 
pdf should work. If it did not, please describe what kind of errors you 
are getting.


Cheers,
Julien



Re: Layout for KOMA-script article class?

2011-12-13 Thread Eric Weir

On Dec 12, 2011, at 4:23 PM, Guenter Milde wrote:

> On 2011-12-12, Eric Weir wrote:
>> On Dec 12, 2011, at 9:54 AM, Richard Heck wrote:
>>> 
>>> The scrartcl.layout file is a layout for that class. Do you mean
>>> something else?
>> 
>> No, that's it. I didn't find it in the LyX folder in my user directory.
>> I see there are layouts for all the KOMA classes in the layouts folder
>> in the LyX package.  Should I copy them into the layouts folder in my
>> user directory? It's currently empty.
> 
> Copy files from the "system lyx dir" to your user dir, if you want to
> modify them. (Usually also rename them to avoid later confusion.)

Thanks, Guenter.

>> in hanging onto my TeX Live 2010
>> distribution?
> 
> As long as you do not run into problems or limitations - keeping saves time
> and bandwidth...

I have such a small number of documents created with the 2010 
distribution--just those created while doing the tutorial--that I'm trashing it.

Thanks again,
--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

"What does it mean...that the world is so beautiful?" 

- Mary Oliver 








OT: publishing - recommendations?

2011-12-13 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

first my apologies for this OT topic, but I rahter ask here then go
into another forum where I have no idea who knows what.

So please reply off-list (unless you think this is on topic).

I am going to write a guidelines book (management, alien invasive
species, South Afica) which will be around 50 pages (I guess). To make
it available in printed form as well, I am planning to publish it in
something like print-on-demand, but would also make the pdf available
for free download (or a very low cost). The guidelines will likely be
read mostly in South Africa.
In addition, these guidelines should have an ISBN number.

I will obviously writing the guidelines in LyX.

OK - my question is, how can I achieve this? I guess something like
lulu.com is the easiest option? Any recommendations, specifically
concerning the fact that most books will go to South Africa (likely
bulk order)?

Any self-publishing houses in Europe which are recommendet?

Again - sorry for the OT - I hope it is not to bad,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7nTLkACgkQoYgNqgF2egqjIQCdF0bqFP8igQFEZzynzXuhDNrC
YtwAnjsZrZcyTLbPdQq+SXtytWcLxbap
=BlZt
-END PGP SIGNATURE-


Re: OT: publishing - recommendations?

2011-12-13 Thread Rich Shepard

On Tue, 13 Dec 2011, Rainer M Krug wrote:


OK - my question is, how can I achieve this? I guess something like
lulu.com is the easiest option? Any recommendations, specifically
concerning the fact that most books will go to South Africa (likely bulk
order)?

Any self-publishing houses in Europe which are recommendet?


Rainer,

  Rick van der Laans lives in the Netherlands and published his SQLite book
via lulu.com. I have a copy of that as well as his most excellent
"Introduction to SQL, 4th Ed." published by a conventional publisher.

  At 50 pages your proposed book is quite small. You can probably find a
local publisher or printer who could produce bound copies for you.

Rich


Re: OT: publishing - recommendations?

2011-12-13 Thread Anthony Campbell
On 13 Dec 2011, Rich Shepard wrote:
> On Tue, 13 Dec 2011, Rainer M Krug wrote:
> 
> >OK - my question is, how can I achieve this? I guess something like
> >lulu.com is the easiest option? Any recommendations, specifically
> >concerning the fact that most books will go to South Africa (likely bulk
> >order)?
> >
> >Any self-publishing houses in Europe which are recommendet?
> 
> Rainer,
> 
>   Rick van der Laans lives in the Netherlands and published his SQLite book
> via lulu.com. I have a copy of that as well as his most excellent
> "Introduction to SQL, 4th Ed." published by a conventional publisher.
> 
>   At 50 pages your proposed book is quite small. You can probably find a
> local publisher or printer who could produce bound copies for you.
> 
> Rich

It depends what you want to do. If you want a book for sale that will be
distributed to Amazon etc, Lulu will do this. But note that they are
printers, not publishers -an important distinction.

I've produced five books via Lulu. I had pretty good experiences when I
started several years ago but I like them less now, although I think
they are the best in their category.  At least you don't have to pay
anything in advance.

On the other hand, they are not cheap when it comest to printing and
delivery. If you simply want a quantity of books for distribution to a
specified audience I agree with Rick: cheaper to get the book printed
yourself. This is what I've done myself for two books which I use on
courses I teach; they are printed by Antony Rowe and this is
considerably cheaper and also usually quicker than Lulu. Plus I can
reach them on the phone, which you can't do with Lulu.

More generally, I think that self-publishing printed books for sale,
unless to a very clearly defined market, is unlikely to yield much if
any profit. The future, I'm sure, is in ebooks. Don't use Lulu for that;
Smashwords is better. I have 6 books on Smashwords, including most of
those I published with Lulu, and all are selling regularly.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread CP
>What I'd do is enter an author's name in the Author environment, then use
> ctrl-Enter to keep the next line in the same environment. Enter the
> institution on that line new line. Then either space down (with the [Enter]
> key) and repeat or keep all lines together in the same environment with
> ctrl-Enter.
> 
> Rich
> 
> 
Thanks Rich. My question wasn't very clear I realize. If I read your reply
correctly, it is a solution to having authors and their institutions appear one
below the other. I'm trying to have two authors names side by side on one line
and on another line underneath the names have their respective institutions
appear centered below their names. Does that make sense?
C





pdflatex - Unknown Extension EPS - even though no EPS in the Lyx File!

2011-12-13 Thread Onkelbonus

Hello,

as the title suggests I have the problem, that even though I did a 
completly new reinstall of Lyx 2.0.2, I have the problem that I can't 
insert Graphic files into Lyx (png for instance) without getting this 
error in pdflatex.  Even when inserted into a absolutly clean new 
document I get this error for png Graphics. On other PC's my documents 
work and can be created with pdflatex. ps2pdf, which I have been using 
for eps graphics still works. Can you help me?


onkelbonus





Re: Too many hyphens

2011-12-13 Thread Helge Hafting
On 13. des. 2011 03:19,  Frederick FN Noronha फ्रेडरिक नोरोन्या *فريدريك 
نورونيا  wrote:

Dear all:

My book text is showing up too many hyphens. Could you tell me if the
text below is causing it, or what could the solution be?

\usepackage{microtype}
\makeatother
\widowpenalty=1000
\clubpenalty=1
\raggedbottom
\usepackage{titlesec}


microtype will usually lead to fewer hyphens, not more.
Things to consider:
* Make sure the document language is set correctly. That avoids wrong
  hyphenations.
* Consider wider margins, fewer columns or a more narrow font. That
  lessens the need for hyphenation

Also, you can instruct latex to use a higher penalty for hyphens. That 
way, latex will make less hyphens and instead put more space between

words. Use google to find out more about this.

Helge Hafting


Re: argmax operator?

2011-12-13 Thread Ignacio Martinez
thanks!

On Tue, Dec 13, 2011 at 3:22 AM, Julien Rioux wrote:

> On 12/12/2011 11:21 AM, Ignacio Martinez wrote:
>
>> Hi I'm trying to add the operator argmax to my LyX document.
>>
>> I added the following to my preamble:
>>
>> \DeclareMathOperator*{\argmax}**{arg\,max}
>>
>>
>> But is not working. I write in math mode \argmax but the operator does not
>> work.
>>
>>
>> What am I doing wrong?
>>
>>
>> Thanks!
>>
>>
>> -Ignacio
>>
>>
> DeclareMathOperator is described in "Section 10.4 Self-defined Operators"
> of the Math help manual. It doesn't display nicely in LyX if that's what
> you mean by "does not work". But compiling your document to pdf should
> work. If it did not, please describe what kind of errors you are getting.
>
> Cheers,
> Julien
>
>


Re: OT: publishing - recommendations?

2011-12-13 Thread Steve Litt
On Tuesday, December 13, 2011 08:01:45 AM Rainer M Krug wrote:
> Hi
> 
> first my apologies for this OT topic, but I rahter ask here then go
> into another forum where I have no idea who knows what.
> 
> So please reply off-list (unless you think this is on topic).
> 
> I am going to write a guidelines book (management, alien invasive
> species, South Afica) which will be around 50 pages (I guess). To
> make it available in printed form as well, I am planning to
> publish it in something like print-on-demand, but would also make
> the pdf available for free download (or a very low cost). The
> guidelines will likely be read mostly in South Africa.
> In addition, these guidelines should have an ISBN number.
> 
> I will obviously writing the guidelines in LyX.

LyX is obviously the best authoring tool for this.

I'm reading your preceding post. If I'm reading you correctly, profit 
isn't a major motive, because you're giving away your PDF free or at 
very low cost (free would be a lot less headaches if profit isn't a 
major motive).

The free or cheap PDF constrains what you can charge for the print 
book. Nobody's going to pay $29.95 for the print version of what they 
can get free.

You can do print-on-demand and pay a lot of money for each book, or do 
a 200 book short run and pay less but have inventory clogging up your 
life. If you take possession of the books, you pay shipping twice (one 
from the printer and one to the reader). Fulfillment of print book 
orders is a hassle. Wrap it, take it to the post office, mail it. One 
out of 100 claim they never got it. These hassles are worth it if 
you're selling the book for $29.95, or $42.50 like the most expensive 
of my print books, but maybe not if you're selling it for $9.95, and 
definitely not if it's $4.95.

What I'm getting at is this: Are you sure you want a print version at 
all? If you have a PDF, plus maybe you distribute it as a few flowable 
text eBook types like Kindle, iPad, Nook, generic EPUB, you'd get it 
out to a lot of people. I've never been to Africa, but I hear in South 
Africa and Africa in general, a lot of people have cell phones due to 
a lack of other infrastructure like cable and landline phone. I'm 
pretty sure that as long as your images are inline and not to the 
right or left of text or other images, images come out OK on a 
flowable text eBook.

By the way, I LOVE the whole concept of invasive species. Living in 
Florida, USA, I see a world teeming with life, with plants growing on 
plants growing on other plants. I don't know if they're foreign, but 
we have these "air potato" vines that climb trees from the ground all 
the way to the top. We have Spanish Moss hanging from every tree, and 
little mini-vines that completely cover our decorative plants and 
would steal all their light if I didn't rip them off. And then of 
course we have the fire ant 
(http://en.wikipedia.org/wiki/Red_imported_fire_ant) that came here 
from Brazil in the 1930's, liked it here, and made it their home. 
Don't try laying on the grass in Florida.

Anyway, this post isn't really responsive to your question, but a lot 
of other people answered your question precisely, so I thought maybe 
I'd persue this other avenue.

SteveT

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



Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread Rich Shepard

On Tue, 13 Dec 2011, CP wrote:


Thanks Rich. My question wasn't very clear I realize. If I read your reply
correctly, it is a solution to having authors and their institutions
appear one below the other. I'm trying to have two authors names side by
side on one line and on another line underneath the names have their
respective institutions appear centered below their names. Does that make
sense?


  Sure. Look at TLG2 for information on using either minipages or set the
authors as two columns. I think the use of minipages will look better.

Rich


Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread CP
Rich Shepard  appl-ecosys.com> writes:

> 
> On Tue, 13 Dec 2011, CP wrote:
> 
> > Thanks Rich. My question wasn't very clear I realize. If I read your reply
> > correctly, it is a solution to having authors and their institutions
> > appear one below the other. I'm trying to have two authors names side by
> > side on one line and on another line underneath the names have their
> > respective institutions appear centered below their names. Does that make
> > sense?
> 
>Sure. Look at TLG2 for information on using either minipages or set the
> authors as two columns. I think the use of minipages will look better.
> 
> Rich
> 
> 
I'm afraid I don't know what TLG2 is. I tried fiddling around with minipages but
didn't quite get the desired look. Where/what is TLG2?
Thanks, C





Re: How to get two authors with centered institutions below on title page?

2011-12-13 Thread Rich Shepard

On Tue, 13 Dec 2011, CP wrote:


I'm afraid I don't know what TLG2 is.


  A typo: it should have been The LaTeX Companion, 2nd Edition (TLC2).


I tried fiddling around with minipages but didn't quite get the desired
look. Where/what is TLG2?


  I've used minipages in figures and body text but not for authors. I'm sure
it can be done.

Rich


How to get full image filenames into LaTeX export?

2011-12-13 Thread Steve Litt
Hi all,

I use:

lyx --export latex myfile.lyx

and it creates a very nice LaTeX file. However, for what I need, I 
need it to pass on the full name of each image (e.g. radiator.jpg, not 
just radiator) and not convert to .eps. Yes, I know this won't compile 
under LaTeX if it has a .jpg or .png or .gif extension, but I need it.

Thanks

SteveT

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