Lyx to Booksurge Success

2008-12-22 Thread Jonathan Kroner
I just published a book through Booksurge created from a lyx generated PDF.
 Setting aside pros and cons of that particular publisher, despite their
lengthy and (to me) incomprehensible requirements regarding embedded fonts
etc., they accepted my lyx generated PDF as is.

The book is all text except for line text boxes (simple frame) and a custom
bullet specified from the document settings menu.

If you would like to see the interior, within a week or so Amazon claims it
will display interior text using its "search inside the book" feature.  This
will "scanned" from the same Lyx generated PDF document. Search for
"Dorothy's Oz Dream:  A Guide to Enchantment and Empowerment."

Miscellaneous specs listed below.

A big THANK YOU to Uwe and other Lyz developers,

Jonathan Kroner



Lyz Specifications

Lyx 1.6.0 and Miktex 2.7
Koma script book class, 12 pt palatino font,
Layout: custom   9.5 x 6.25 inches.
margins (inches):
 top 1.0625
 bottom .75
 inner .75
 outer .875
 head sep .31
The 9.5 x 6.25 inches layout was driven by trying to fit ~40,000 words on
fewer than 150 pages.  Why did I care?  Because Booksurge has a wholesale
price point  jump at 150 pp.
Otherwise, 9 x 6 inches is a more standard dimension for US trade
publications.

I used two ERTs
\date{} to get rid of the title page's date
\setlist{nolistsep}  to get rid of space between rown in list enviros (I
used this with the preamble entry "\usepackage{enumitem}", see below.



Excerpt from Preamble:

\usepackage{ifpdf} % part of the hyperref bundle
\ifpdf % if pdflatex is used

 % set fonts for nicer pdf view
 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}

 % link all cross references and URLs in pdf output
 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
 pdfpagelayout=OneColumn, pdfnewwindow=true,
  pdfstartview=XYZ, plainpages=false, pdfpagelabels,
  pdfauthor={Jonathan Kroner}, pdftex,
  pdftitle={Dorothy's Oz Dream},pdfsubject={Guide to Enchantment and
Empowermentl},
  pdfkeywords={Dorothy, Oz, Enchantment, Empowerment}]{hyperref}

\else % if dvi or ps is produced

 % link all cross references and URLs in dvi output
 \usepackage[ps2pdf]{hyperref}

\fi % end if pdflatex is used

% define page head line
\usepackage{scrpage2}
\pagestyle{scrheadings}
\lehead{\pagemark}
\rehead{\leftmark}
\rohead{\pagemark}
\lohead{\rightmark}
\ifoot{}
\cfoot{}
\ofoot{}

% don't number chapter pages
\renewcommand*{\chapterpagestyle}{empty}

\usepackage{microtype}

\usepackage{enumitem}
%this is for elimnitaing rows b/t items with setlist nolistsep

 % the pages of the TOC are numbered roman
 % and a pdf-bookmark for the TOC is added
 \pagenumbering{roman}
 \let\myTOC\tableofcontents
 \renewcommand\tableofcontents{%
   \pdfbookmark[1]{Contents}{}
   \myTOC
   \cleardoublepage
   \pagenumbering{arabic} }

% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
  l\kern-.1667em\lower.25em\hbox{y}\kern-.125e...@}
  {LyX }}


Problems:  The book included a works cited and recommended reading appendix
which I created manually.   I would have liked to have used Lyx's
bibliography feature, but I could not figure out how to make a bibliography
entry and have it appear only in the bibliography, but not in the text.
Because it is a nonacademic text, I did not want to disrupt the text's flow
with citations.   But I did want to tie the references to the text because I
did a lot of cutting and pasting sections from one chapter to another, which
then required me to manually correct the works cited section.

The "microtype" solved a lot of problems with margins.  And I think it
improved the book's look.


-- 
Jonathan Kroner
http://jonathankroner.com/
http://floridafalseclaim.com/
Miami, Florida USA


Edit Header on 1 page of a Koma book

2008-11-28 Thread Jonathan Kroner
How can I change a single page's header?

The last page of a chapter is an odd numbered (right) page.
The next page (even number, left) includes a page number and chapter title
as a header above the otherwise blank page. The following page is the first
page of a new chapter.
How to delete either the chapter title, or the chapter title and the page
number from a chapter's  last even-numbered page when it is blank.
I tried various erts from the Koma manual, but nothing happened.

Thank you.

Jonathan Kroner

The document is under Lyx 1.6.0rc3, Koma Book class and miktex (windows)
with options:
"intoc,refpage,bibtotoc,idxtotoc,BCOR7mm, scrpage, appendixprefix,
chapterprefix, smallheadings"

The latex preamble includes:
% define page head line

\usepackage{scrpage2}

\pagestyle{scrheadings}

\lehead{\pagemark}

\rehead{\leftmark}

\rohead{\pagemark}

\lohead{\rightmark}

\ifoot{}

\cfoot{}

\ofoot{}

% don't number chapter pages

\renewcommand*{\chapterpagestyle}{empty}


Amazon Kindle Conversion from Lyx?

2008-11-18 Thread Jonathan Kroner
If you published a LyX book to an Amazon Kindle what format did you use?
How did you do it?

Amazon accepts only the following file formats for conversion for viewing on
Kindle: MS Word (.DOC),Structured HTML (.HTML, .HTM), .JPEG, .JPG , .GIF,
.PNG, and .BMP.  It will not accept a pdf.

I have a 40,000 word Koma book, (146 pp at 6.25 x 9.5 inches) only text
(with chapters, sections, subsections and subsubsections); standard font
palatino 12 pt, some simple frame text boxes, footnotes, page headers and an
index.  Otherwise, no special symbols, math, graphics or color.

My conversion experiments have all been disappointing.  My Lyx to HTML is
unacceptable -- it prints only the first few pages and then stops with what
are for me some unintelligible error messages (LaTeX Error: Lonely
\item–perhaps a missing list environment, LaTeX manual or LaTeX Companion
for explanation.)What it does create in HTML loses the text boxes, adds
gibberish next to the footnote references and includes some other gibberish
spread around the text, such as "cmtt", "cmyk 0 0 0 0" , "1214.5" and many
similar numbers that are not part of my book.

I tried MobiPocket Creator and the result is just as horrible.

My next experiment is pdf to jpg, but I'm not sure what happens when Amazon
converts the jpg to its format.
I'm open to any suggestions.

Thank you


Jonathan Kroner
http://jonathankroner.com/
<http://floridafalseclaim.com/>


Re: ChkTex in Windows

2008-10-31 Thread Jonathan Kroner
Danke, Merci, thank you.


On Thu, Oct 30, 2008 at 4:51 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:

> Jean-Marc Lasgouttes schrieb:
>
>  What would be needed to make it available? Since I am the maintainer
>> nowadays, we can work out a solution.
>>
>
> You are the maintainer of ChkTeX?
>
>  I think you should bundle it in he installer.
>>
>
> This should be delivered by the LaTeX distribution. It turned out that
> ChkTeX is available in TeXLive but not MiKTeX. The MiKTeX maintainer
> reported me once that he had problems to compile it on Windows, but this was
> long ago. I would like when you contact the MiKTeX maintainer (Christian
> Schenk cs/at\miktex*org) and ask what he needs to be able to compile it. I'm
> sure he will add ChkTeX then to MiKTeX.
>
> regards Uwe
>



-- 
Jonathan Kroner
http://jonathankroner.com/
http://floridafalseclaim.com/
305.310.6046


Single space itemize and enumerate

2008-10-29 Thread Jonathan Kroner
Is there an ert to single space itemize and enumerate paragraphs?

I'm using Koma book class and LyX 1.6.0rc3.

Thank you.  Danke.

-- 
Jonathan Kroner
http://jonathankroner.com/
http://floridafalseclaim.com/
305.310.6046


ChkTex in Windows

2008-10-29 Thread Jonathan Kroner
The extended features document at 5.1 starts with "When you to have the
chktex program installed ..."

However, it gives no hint on how to install.

Chktex is not available in the MiKTeX  package manager, but is available in
CTAN.
Is there a different name in MiKTeX?


How does it get installed?

Thank you.

Jonathan Kroner
http://jonathankroner.com/
http://floridafalseclaim.com/


Lyx pdf & Booksurge Self publishing

2008-10-18 Thread Jonathan Kroner
Does Booksurge accept a Lyx generated pdf, or must it be further processed
through acrobat?

 1.   If you have self published through Booksurge, please answer whether
Booksurge accepts LyX generated pdfs.

I will soon be self-publishing a book, preferably through Booksurge.
Booksurge accepts PDF files, but only if they meet Booksurge specifications.
However, they do not explain their specifications. Instead, they only
explain the steps to save/print the PDF from various versions of adobe
acrobat.

In order to find out whether my pdf will meet their requirements they
require full payment of their up-front fee. They will not provide any
additional assistance in determining whether a LyX pdf meets their
requirements.


2.   Most of their specifications do not apply to me since this will be a
black-and-white, no images, text only book. But one area is of more concern.
They instruct:
 *"Under the fonts tab*
**
* Deselect the "subset embedded fonts" option.*
**
* Select ALL of the fonts under Font Source and add them to Always
Embed."*

These instructions are found here for acrobat version 8
 http://www.booksurgepages.com/Downloads/TwoStepstoPDFv8.pdf

 In my Lyx generated PDF document under "Properties" the "Fonts" tab shows a
long list of fonts and following each font is written:"(embedded
subset)   type 1, encoding: custom."

Booksurge claims they could not answer whether "(embedded subset)   type 1,
encoding: custom"  meets their requirements.  Any opinions?

Thank you
 Jonathan Kroner
 LyX 1.6.0rc3, pdflatex, Windows Vista home premium

--
Jonathan Kroner
http://jonathankroner.com/
http://floridafalseclaim.com/
305.310.6046


paragraph indents -- document class book (Polish version by M. W.), MWBK

2008-10-18 Thread Jonathan Kroner
re: paragraph indents -- document class book (Polish version by M. W.), MWBK

1.   Is there a way to remove the indent from the initial paragraph under
chapter, section, subsection titles in the document class book (Polish
version by M. W.)?

2.   Is there a link to document class "options" for MWBK, "Polish version
by M. W." other than those listed in "Extended LyX Features", section 4.19
about the MWBK class?

Thank you, Danke,

Jonathan Kroner

LyX 1.6, Windows Vista home premium,





-- 
Jonathan Kroner
http://jonathankroner.com/
http://floridafalseclaim.com/
305.310.6046