Re: Problem with pdf-view in Lyx 1.6.0

2008-11-18 Thread Guenter Milde
Matthias Schmidt [EMAIL PROTECTED] schrieb:

 But I have some problems with pdf-view, that I had not with Lyx 1.5.6.

It turns out to be a LaTeX problem (see below).

 Problem with help-file userguide.lyx:
...
LaTeX Error: File `wasysym.sty' not found.

 Problem with help-file extended.lyx:
...
LaTeX Error: File `caption.sty' not found.

This are LaTeX packages that are pretty standard and part of all major
distributions but not installed in every case by default.

 Problem with help-file embeddedobjects.lyx:
...
 1. Font U/psy/m/n/12=psyr at 12.0pt not loadable
...

This points out that a used font is not available (for LaTeX) on your
machine.

 I don't know, whether there are other problems with other lyx-files.
 Might be an incomplete lyx-installation the reason for this? Or what
 could it be?

It's an incomplete LaTeX installation. LaTeX is a highly modular system,
so normally it is a good decision not to install all available packages.
Opinions on what is regarded a complete installation differ.

If you do not need the PDF version of the help documents, you can just
ignore this (until you possibly need the mentioned packages for your own
documents).

Otherwise, install the required LaTeX packages, re-configure LyX and try
again.

For more detailled help we need to know:
What LaTeX distribution do you use? On what system?

Günter



Re: can't use in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Micha wrote:

 When I use the  (quote) in hebrew under lyx I get the following error:
 LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
 I have to change language to english in order to insert the symbol.
 Is there a problem with my setup or is this a problem with lyx?

A problem with LaTeX/LyX. As a workaround, you can either mark the quotation 
mark as English or use \char`\ in ERT.

Jürgen



Re: can't use in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

 When I use the  (quote) in hebrew under lyx I get the following error:
 LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
 I have to change language to english in order to insert the symbol.
 Is there a problem with my setup or is this a problem with lyx?
 
 A problem with LaTeX/LyX. As a workaround, you can either mark the
 quotation mark as English or use \char`\ in ERT.

The problem is that Paragraph::Private::latexSpecialT1 is called after checking 
(lyxrc.fontenc == T1), but hebrew resets the font encoding internally to LHE 
(same applies probably to other languages), which is not noticed by LyX.

Should we add an additional language check?

Jürgen



headings

2008-11-18 Thread Vittorio Zuccala'
Hello,
sorry for my bad english...
I'd like to have particular headings. How can i change them?
In other words, i want somethings as follow:

\begin_example_heading

LOGO.jpg company name
company address
company tel/fax


\end_example_heading

How can i perform it?
Or where can i go to read about personalize headings?
Thanks!


-- 
Vittorio Zuccalà


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: Amazon Kindle Conversion from Lyx?

2008-11-18 Thread Manveru
2008/11/18 Jonathan Kroner [EMAIL PROTECTED]:
 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.

I know it do not help you. But Kindle is much worst device in world of
e-book readers than iPhone in world of smartphones. Kindle only do
good first impression, everything else is Amazon idea to tie customer
with Amazon. This is quite similar to Apple's strategy.

In technical terms JPEG was not invented to store text documents and I
think effect would be horrible too. If discrete cosine transform and
quantization is did on text all edges become strongly blurred except
when you use no-compression. But no-compression (lossy, because
Huffman is still there) means large bitmaps of pages stored in device.

Accepting only DOC format as document format in open world is suicide...
-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Standard State Symbol in Lyx

2008-11-18 Thread Tilman Schmidt
Hi,

how may I use the standard state symbol (\stst) in Lyx math mode?
Entering as TEX doesn't work (Undefined Control Sequence).

Please  compare
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Page 91 on how the symbol looks.

Thanks for your suggestions.

Regards,

Tilman Schmidt


Re: Print list of notes

2008-11-18 Thread Jürgen Spitzmüller
Nick Bell wrote:

 Thanks for that, but how do I print a list of comments? Nick

With some trickery, you can redefine the LyX comments (not Notes, though) to be 
output as todonotes. Using the todonotes package [1], this gives output that 
might look like what you want. Attached is an example. Provided that you use 
LyX LyX 1.6, you can use the attached module (save it in your (layouts folder), 
which will, if it is loaded, automatically output all your comments as 
todonotes. The list of todonotes is produced by the ERT command \listoftodos.

Shortcomings:
- it gives an error if you have comments with multiple paragraphs and a 
\listoftodos (\todo notes are only for single paragraphs)
- it inserts blanks in the text (this is done by the package)

HTH,
Jürgen

[1] http://ctan.org/tex-archive/macros/latex/contrib/todonotes#\DeclareLyXModule{Todo-notes}
#DescriptionBegin
#Displays the LyX notes in the output. A list of todo notes can be produced
#by inserting \listoftodos in ERT.
#DescriptionEnd
# Author: Juergen Spitzmueller [EMAIL PROTECTED]

Format 11

Preamble
\RequirePackage{todonotes}
EndPreamble

InsetLayout Note:Comment
LabelString   comment/todo
LatexType command
LatexName todo
MultiPar  false
End



todonotes.pdf
Description: Adobe PDF document


Fwd: [Tugindia] Query on printing with 'screens'

2008-11-18 Thread Frederick Noronha [फ़रेदरिक नोरोनया]
Can you please help my friend seeking the info below? FN


-- Forwarded message --
From: Derek Cordeiro [EMAIL PROTECTED]
Date: 2008/11/18
Subject: Re: [Tugindia] Query on printing with 'screens'
To: TUGIndia Mailing List [EMAIL PROTECTED]


On Mon, Nov 17, 2008 at 11:43 AM, Nina Mazumdar [EMAIL PROTECTED] wrote:
 On Mon, Nov 17, 2008 at 10:29 AM, Frederick Noronha [फ़रेदरिक नोरोनया]
 [EMAIL PROTECTED] wrote:
 Hi all:

 I'm a Lyx user in Goa, and hope you won't mind me intruding.

 Every time I go in for a book, to be printed via offset, my printer
 has a problem. He takes the PDF file and attempts to do crazy things
 like importing it into Windows/Corel Draw, etc.

 He says the photos won't print because they don't have a screen.

 True, TeX does not add a screen to images as some of the proprietary
 systems like Quark, et al do.  But that is not an excuse for the

What extra information does an image with a screen have? Is it
half-toning information or something specific to the printer?
Will a higher resolution image or pdf with less compression help?

Regards,
Derek

P.S. I don't see any visible differences in the images in pdfs
generated by Quark or distiller when compared to pdflatex, which is
why I wish to clarify my doubts.
___
Home:http://www.tug.org.in/
TeX FAQ: http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia


-- 
FN * Independent Journalist http://fn.goa-india.org
Blog: http://fredericknoronha.wordpress.com
Tech links from South Asia: http://twitter.com/fn
M: +91-9822122436 P: +91-832-2409490


Re: Open a New Window in read-only mode?

2008-11-18 Thread Paul A. Rubin

Keith Roberts wrote:
Thanks Paul. That sounds feasable. I did edit the document in both 
windows! Maybe there could be an option in preferences to set the second 
or more window(s) to read-only mode? That will stop anyone from 
accidently editing the document in the other opened windows.




That would be IMHO a sensible thing.  You could enter it as an 
enhancement request in bugzilla.


/Paul



Re: Lyx 1.6 on ubuntu 8.04

2008-11-18 Thread Paul A. Rubin

Graham Smith wrote:
Has anyone installed 1.6 on Ubuntu 8.04?  Its available for Jaunty (as 
pointed out elsewhere on this forum), but not sure of the risks that may 
be involved.


I currently have 1.5.5 installed via the Ubuntu repository, should I 
uninstall this before installing 1.6, or is it a bad idea to install 1.6 
before its officially available for 8.04.


I am new to Linux, and still finding my feet with it.



Don't know about 8.04, but I installed LyX 1.6.0-1 on Ubuntu 8.10 
(Intrepid), and so far so good (in limited use).  Rather than building 
it myself, I installed a couple of .deb archives.  The steps are:


1.  Go to http://www.debian.org/mirror/list and pick a secondary mirror 
near you.


2.  In Ubuntu, go to System - Administration - Software Sources - 
Third-Party Software, click Add, and add the mirror you chose.  The 
entry line will look like 'deb http://ftp.someserver.somedomain sid main'.


3.  After entering it, click 'Close' and then, when prompted, click 
'Reload' to update the package list.  Click through any messages you 
get, then wait until the sources window closes on its own.


3a.  I've had some odd results with mirrors not being accepted because 
certificates are out of date or something else goes splat.  So you might 
have to repeat 1-3 with a different mirror.  FWIW, the mirror at 
Michigan State is working for me.


4.  Now run System - Administration - Synaptic Package Manager and 
search for 'lyx'.  Among other things, it should turn up packages 'lyx' 
and 'lyx-common' (both at version 1.6.0-1).  Click 'lyx' and mark for 
installation.  That should also mark 'lyx-common' for installation, I 
think, but if not mark it yourself.  Then click 'Apply' and sit back 
while it installs.


/Paul



Re: Print list of notes

2008-11-18 Thread Nick Bell

Jürgen Spitzmüller wrote:

Nick Bell wrote:


Thanks for that, but how do I print a list of comments? Nick


With some trickery, you can redefine the LyX comments (not Notes,

though) to be output as todonotes. Using the todonotes package [1], this
gives output that might look like what you want. Attached is an example.
Provided that you use LyX LyX 1.6, you can use the attached module (save
it in your (layouts folder), which will, if it is loaded, automatically
output all your comments as todonotes. The list of todonotes is produced
by the ERT command \listoftodos.


Shortcomings: - it gives an error if you have comments with multiple
paragraphs and

a \listoftodos (\todo notes are only for single paragraphs)

- it inserts blanks in the text (this is done by the package)

HTH, Jürgen

[1] http://ctan.org/tex-archive/macros/latex/contrib/todonotes


That's very helpful, thanks. I altered the .module thus:
--todonotes.module
#\DeclareLyXModule{Todo-notes}
#DescriptionBegin
#Displays the LyX notes in the output. A list of todo notes can be produced
#by inserting \listoftodos in ERT.
#DescriptionEnd
# Author: Juergen Spitzmueller [EMAIL PROTECTED]

Format 11

Preamble
	\newcommand{\smalltodo}[1]{\todo[color=yellow, caption={#1}, 
size=\footnotesize]{\begin{spacing}{1}#1\end{spacing}}}	

EndPreamble

InsetLayout Note:Comment
LabelString   comment/todo
LatexType command
LatexName smalltodo
MultiPar  false
End
--

So that all todos are small, yellow and with single line spacing.
I also took the \requirepackage{todonotes} out of the module-preamble, 
and put it in the document manually, so that I can disable todonotes 
from time to time with \usepackage[disabled]{todonotes}.


Note that the todonotes package switches on hyperlinks in citations via 
hyperref, even when the todonotes package is disabled - but you can fix 
this in the Document Settings by enabling hyperref and making sure 'No 
frames around links' is ticked.


I would like to get in touch with the author about (i) the hyperref 
issue and (ii) the additional line space after the end of text in the 
comment box. Does anyone know where I might find him? There's no address 
on http://midtiby.blogspot.com/2008/07/todonotes-version-2008-07-28.html.


Many thanks - this is getting more fun!

Nick


Re: Standard State Symbol in Lyx

2008-11-18 Thread Paul A. Rubin

Tilman Schmidt wrote:

Hi,

how may I use the standard state symbol (\stst) in Lyx math mode?
Entering as TEX doesn't work (Undefined Control Sequence).

Please  compare
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Page 91 on how the symbol looks.

Thanks for your suggestions.

Regards,

Tilman Schmidt



In the letter version of the symbols list, \stst is defined by a 
macro; it is not a standard symbol.  To use it, you need to put the 
definition into the document preamble (then put \stst in the body in TeX).


/Paul



citation style does not mention author et. al. as promised

2008-11-18 Thread Manoj Rajagopalan

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the author et. al. Citation style from the 
Formatting section of the Citation dialog. This is supposed to give me 
reference of the form author et. al. [ref#]  However, when I 
view the DVI I only see text like [ref#] ... without the author's name 
as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


Thanks,
Manoj


Re: Lyx 1.6 on ubuntu 8.04

2008-11-18 Thread Graham Smith

Paul,

Thanks, but I have a a question below.

Don't know about 8.04, but I installed LyX 1.6.0-1 on Ubuntu 8.10 
(Intrepid), and so far so good (in limited use).  Rather than building 
it myself, I installed a couple of .deb archives.  The steps are:


1.  Go to http://www.debian.org/mirror/list and pick a secondary mirror 
near you.


2.  In Ubuntu, go to System - Administration - Software Sources - 
Third-Party Software, click Add, and add the mirror you chose.  The 
entry line will look like 'deb http://ftp.someserver.somedomain sid main'.


Will this result in all packages being updated through the deb 
repository rather than the Ubuntu repository?


Or does the sid bit restrict it to the Lyx files.

You also talk about adding a couple of repositories. but only list 
one. Or, by a couple do you mean lyx and lyx-common ?


Sorry for basic questions :-(

Graham




Re: Amazon Kindle Conversion from Lyx?

2008-11-18 Thread David A. Case
On Tue, Nov 18, 2008, Jonathan Kroner wrote:
 
 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.

Sounds like MS Word is the closest fit to your document, so you might consider
that route.  There are lots of ways to do this, but tex2word (just Google for
it) has worked well for me.  (I have *not* used this to create Kindle files,
just to create Word files).

...good luck...dave case



Re: headings

2008-11-18 Thread rgheck

Vittorio Zuccala' wrote:

Hello,
sorry for my bad english...
I'd like to have particular headings. How can i change them?
In other words, i want somethings as follow:

\begin_example_heading

LOGO.jpg company name
company address
company tel/fax


\end_example_heading

How can i perform it?
Or where can i go to read about personalize headings?
Thanks!

  
I assume you want to do this in a letter? If so, then mostly you just 
have to use some fairly simple LaTeX. You can't really do this in LyX 
itself. The attached file shows you one way to do this kind of thing.


rh


\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{newletter}[2004/10/15]
\RequirePackage{graphicx}
%Main Code
%Fonts for letterhead
\DeclareFixedFont{\HeadFont}{OT1}{cmss}{m}{n}{17.68}
\DeclareFixedFont{\AddrFont}{OT1}{cmss}{m}{n}{10}

%Info for letterhead
\newcommand{\UnivName}{Brown University}
\newcommand{\DeptName}{Department of Philosophy}
\newcommand{\ImageLocation}{/home/rgheck/files/graphics/brown}
\newcommand{\SigLocation}{/home/rgheck/files/graphics/signature}
\newcommand{\FixedAddra}{Department of Philosophy}
\newcommand{\FixedAddrb}{Box 1918}
\newcommand{\FixedAddrc}{Brown University}
\newcommand{\FixedAddrd}{Providence RI 02912}
\newcommand{\FixedAddre}{+1(401)863-2718}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] \name{#1}}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

\renewcommand{\closing}[1]{
  \par\nobreak\vspace{\parskip}%
  \stopbreaks
  \noindent
  [EMAIL PROTECTED]
  \hspace*{\longindentation}\fi
  \parbox{\indentedwidth}{\raggedright
   \ignorespaces #1\\%
   [EMAIL PROTECTED]
   \fromname
   \else \fromsig \fi\strut}%
   \par}

%Margin and papersize info
[EMAIL PROTECTED]@page=1\vskip \z@ \relax\fi}
\setlength\topmargin{0in}
\setlength\topskip{0in}
\setlength\oddsidemargin{0in}
\setlength\textwidth{6.5in}
\setlength\textheight{8.5in}
%Kill footers
[EMAIL PROTECTED]
[EMAIL PROTECTED]

\newlength{\leftside}
\setlength\leftside{3.25in}
\newlength{\rightside}
\setlength\rightside{3.25in}

%Top of letterhead
\newcommand{\LHead}[0]{
\newsavebox{\ShieldBox}
\newsavebox{\UnivBox}
%Shield Box
\sbox{\ShieldBox}{%
\parbox{2.25in}{%
\begin{flushright}%
\includegraphics{\ImageLocation}%
\end{flushright}%
}%
}%end sbox
%Univ Box
\sbox{\UnivBox}{%
\parbox{4.25in}{%
{\HeadFont \DeptName}\\%
{\HeadFont \UnivName}%
}%
}%end sbox
\begin{center}%
\parbox{\textwidth}{%
\usebox{\ShieldBox}%
\usebox{\UnivBox}%
}%
\end{center}%
}%end of \LHead

%Address info below letterhead
\newcommand{\Addresses}{%
\parbox{\textwidth}
{
 {\AddrFont
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
}
}%End \Address

%Page style for first page
[EMAIL PROTECTED]
%\setlength\headsep{1.25in}
%\setlength\textheight{7.5in}
%\setlength\topskip{10in}
[EMAIL PROTECTED]
\parbox{\textwidth}{
\LHead
\Addresses
\rule[-8pt]{\textwidth}{1pt}
\vspace{.12in}
[EMAIL PROTECTED]
}
\vspace{.12in}


}%oddhead

}%end [EMAIL PROTECTED]

%Page style for subsequent pages
[EMAIL PROTECTED]
%\setlength\headheight{5in}
%\setlength\textheight{7.5in}
\setlength\headsep{.5in}
[EMAIL PROTECTED]
{
[EMAIL PROTECTED] \thepage}
\rule{\textwidth}{1pt}
}
[EMAIL PROTECTED]
[EMAIL PROTECTED]@oddhead}
}%end [EMAIL PROTECTED]

%Redefine opening of letter
\renewcommand{\opening}[1]{
\thispagestyle{firstpage}%
\vspace*{1.75in}
\vspace{\parskip}%
%Need to put an \if{\toname is empty} here
{\raggedright\toname\\{}\toaddress\par}
\vspace{2\parskip}%
#1\par\nobreak}%end \opening

%Declare headings page style in effect
\pagestyle{headings}


Re: Amazon Kindle Conversion from Lyx?

2008-11-18 Thread rgheck

Jonathan Kroner wrote:

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'd try various latex to html converters. Some will do a better job than 
others. The latest is plastex, which you could even install in LyX. 
(We'll probably get it in there ourselves before long.)


rh



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread rgheck

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the author et. al. Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form author et. al. [ref#]  However, 
when I view the DVI I only see text like [ref#] ... without the 
author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


The usual reason is that there's an error somewhere in your BibTeX file. 
If BibTeX can't figure out the author and year for some entry, then it 
reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Mon, Nov 17, 2008 at 09:58:50PM +0100, Jean-Marc Lasgouttes wrote:
 Andre Poenitz [EMAIL PROTECTED] writes:
  In fact that's actually the most sensible behaviour since there are only
  very few cases where a new version indeed can replace an older one
  without any existing or imagined problem. 
 
 What's wrong with static linking?

Not much. But it's not very different from per-application shared objects.
In the 'main application' in my previous job most we actually linked
most of the stuff statically - including Qt...

 At least it goes away when the application goes away.

That's a benefit.

Andre'


Re: Lyx 1.6 on ubuntu 8.04

2008-11-18 Thread Paul A. Rubin

Graham Smith wrote:

Paul,

Thanks, but I have a a question below.

Don't know about 8.04, but I installed LyX 1.6.0-1 on Ubuntu 8.10 
(Intrepid), and so far so good (in limited use).  Rather than building 
it myself, I installed a couple of .deb archives.  The steps are:


1.  Go to http://www.debian.org/mirror/list and pick a secondary 
mirror near you.


2.  In Ubuntu, go to System - Administration - Software Sources - 
Third-Party Software, click Add, and add the mirror you chose.  The 
entry line will look like 'deb http://ftp.someserver.somedomain sid 
main'.


Will this result in all packages being updated through the deb 
repository rather than the Ubuntu repository?


Or does the sid bit restrict it to the Lyx files.


No, SID doesn't restrict it to LyX, and you're right in not wanting to 
update other stuff from there.  The trick is to enable the Debian SID 
repository (it will automatically be enabled when you first enter it), 
use Synaptic to install LyX (ignoring any messages to the effect that 
you have updates for 2,387 packages available), then go back into 
Sources (or Settings - Repositories from within Synaptic) and disable 
the mirror (but leave it defined, in case you need it again).  If the 
you have updates bug is still displaying, use the Reload button in 
Synaptic to refresh the package list.


When I did this, Ubuntu did indeed think it found updates in the Debian 
mirror, but as long as you don't install them, no harm done.


You also talk about adding a couple of repositories. but only list 
one. Or, by a couple do you mean lyx and lyx-common ?


Can I just answer 'yes'?  :-)  There are two packages, lyx and 
lyx-common.  I happen to have two Debian SID mirrors set up; I first 
tried the one on my campus, but I got an error message about a missing 
public certificate (which I get again today), so I tried a second one. 
I don't remember which one I installed from, but I think the 
installation works even with the missing certificate glitch.




Sorry for basic questions :-(


Not to worry.  I'm still finding my way around Ubuntu myself.

And thanks to the kind folks who put together the .debs and added them 
to the repository.


/Paul



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Michael Wojcik
Andre Poenitz wrote:
 On Mon, Nov 17, 2008 at 11:07:05AM -0500, Paul A. Rubin wrote:
 I wonder if disk manufacturers are paying M$ to do this?  I've got about  
 54MB of crap in %windir%\winsxs, with multiple versions of each set of  
 files.  Presumably there's no way for Windoze to know that something  
 depending on an older version can use the newer version, so old versions  
 never go away. 
 
 In fact that's actually the most sensible behaviour since there are only
 very few cases where a new version indeed can replace an older one
 without any existing or imagined problem.

I respectfully disagree. I've worked on many projects that maintained
backward compatibility with new releases of the API, and seen a great
many more.

And in this case, we're talking C and C++ runtimes, which should
conform to the ISO standard anyway. There's no need for them to change
every other week.

 In particular that would mean
 not only source and binary but also behavioural compatibility including
 keeping buggy behaviour.

No it doesn't. Undefined behavior is undefined; an application that
relies on it is broken. And for the rare application that does, there
are other Windows mechanisms for tying it to the old version of the DLL.

-- 
Michael Wojcik
Micro Focus
Rhetoric  Writing, Michigan State University



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Michael Wojcik
Jean-Marc Lasgouttes wrote:
 
 What's wrong with static linking? At least it goes away when the
 application goes away.

Completely infeasible on Windows. The loss of shared text would make
the working set of the typical application mix grossly exceed even the
absurd amounts of RAM available in typical machines today. The disk
space problem would be even worse. Many people have done
back-of-the-envelope calculations to demonstrate this; I think I did
some myself, in a post to alt.folklore.computers some time back.

It's a lousy idea in any case, as anyone who remembers compiling all
of BSD 4.2 to switch from local-files resolution to DNS remembers.
Dynamic linking lets you fix the bug or add the feature in one place.
We can't have millions of Windows users downloading a refresh of the
entire OS every time a bug is fixed in one of the prominent DLLs.

Dynamic linking is a good thing. It's worked very well on a number of
OSes. It would work on Windows if Microsoft could figure out 1) how to
version properly, and 2) how to maintain backward compatibility. And
it's not like those are unsolved problems.

-- 
Michael Wojcik
Micro Focus
Rhetoric  Writing, Michigan State University



Re: Lyx 1.6 on ubuntu 8.04

2008-11-18 Thread Graham Smith

Paul
Will this result in all packages being updated through the deb 
repository rather than the Ubuntu repository?


Or does the sid bit restrict it to the Lyx files.


No, SID doesn't restrict it to LyX, and you're right in not wanting to 
update other stuff from there.  The trick is to enable the Debian SID 
repository (it will automatically be enabled when you first enter it), 
use Synaptic to install LyX (ignoring any messages to the effect that 
you have updates for 2,387 packages available), then go back into 
Sources (or Settings - Repositories from within Synaptic) and disable 
the mirror (but leave it defined, in case you need it again).  If the 
you have updates bug is still displaying, use the Reload button in 
Synaptic to refresh the package list.


Thanks again :-)

Graham


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Tue, Nov 18, 2008 at 03:42:52PM -0500, Michael Wojcik wrote:
 Andre Poenitz wrote:
  On Mon, Nov 17, 2008 at 11:07:05AM -0500, Paul A. Rubin wrote:
  I wonder if disk manufacturers are paying M$ to do this?  I've got about  
  54MB of crap in %windir%\winsxs, with multiple versions of each set of  
  files.  Presumably there's no way for Windoze to know that something  
  depending on an older version can use the newer version, so old versions  
  never go away. 
  
  In fact that's actually the most sensible behaviour since there are only
  very few cases where a new version indeed can replace an older one
  without any existing or imagined problem.
 
 I respectfully disagree.

No need to show some special respect here. I believe I can stand ordinary
disagreement rather well.

 I've worked on many projects that maintained backward compatibility
 with new releases of the API, and seen a great many more.

Just for my curiosity: Which projects, which scope? 

I am still pretty convinced that compatibility and progress are
fairly incompatible notions when it comes to the development of _usable_
libraries.

Guaranteeing the behaviour of only a very limited set of property gives
you the opportunity of changing/improving implementations, but reduces
the utility of the library as such. That's the approach taken by e.g.
standardized languages like C++ 

   _or_

you try to provide everything and the kitchen sink, and end up with
design and implementation decisions that need to be re-evaluated from
time to time in the presence of new environments. Java and Python, or
anything including a GUI comes to mind.

 And in this case, we're talking C and C++ runtimes, which should
 conform to the ISO standard anyway.

Ah... should they conform to the Standard or should they be compatible to
older versions? What is supposed to happen if an existing version does 
_not_ conform to the Standard?

 There's no need for them to change every other week.

No. But if problems show up. Non-conformance is a problem for instance.

Also: What am I supposed to do in case there is no obvious standard to
adhere to? I have e.g. a few hundred kLOC of pre-1998 C++ code (done
well before 1998...) around that's uncompilable with todays compilers.
Who is to blame here? Should g++ have sticked to 2.95's view of the
world?

  In particular that would mean not only source and binary but also
  behavioural compatibility including keeping buggy behaviour.
 
 No it doesn't. Undefined behavior is undefined; an application that
 relies on it is broken.

What is an application supposed to do when it lives in an environment
where only buggy libraries are available? 

 And for the rare application that does, there are other Windows
 mechanisms for tying it to the old version of the DLL.

I obviously dispute rare, otherwise Wikipedia would not know about
DLL hell, and I have to admit that I am not aware of a lot of other
Windows mechanisms that scale from, say, Win 3.11^H95 through Vista.
What exactly are you refering to?

Andre'


Re: Steps towards a portable LyX installation on Windows

2008-11-18 Thread Thomas Steffen
On Mon, Nov 17, 2008 at 8:19 PM, Joost Verburg
[EMAIL PROTECTED] wrote:
 The build-in ImageMagick does not rely on registry keys but uses the
 environment variables set by LyXLauncher (see the source for details) to get
 the location of the Ghostscript directories. Note that not only @PSdelegate@
 is relevant but also the font directory etc.

Ok, I did some more tests. I was suspecting the TeX Live environment,
but it has no impact. What I did was:

1. copy the directory c:\Program\LyX16 onto the desktop of a PC
without LyX installed
2. start lyxlauncher.exe

Since there is no tex installed, obviously LyX will not have full
functionality, but the GUI should work. However, two things give
errors:

1. configure fails because it cannot find python
2. LyX fails to convert an EPS to a bitmap, so there is no preview

Is there any way to copy the error messages from LyXLauncher? The
python ones are straight forward, but the ghostscript problem looks
rather confusing - with hundreds of lines of not very helpful
messages.

As for the environment, I found an easy way to see what's going on.

1. copy lyxlauncher.exe, console.dll and system.dll to a new folder
2. add cmd.exe (from c:\windows\system32) and rename it to lyx.exe
3. start lyxlauncher -dbg any /c set

This will show the environment that lyx.exe would have.

Adding the python directory to the path before staring lyxlauncher
fixes the first problem, but EPS preview still fails.

Do you have any idea what convert could be missing?

Regards,
Thomas


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Tue, Nov 18, 2008 at 03:47:45PM -0500, Michael Wojcik wrote:
 Jean-Marc Lasgouttes wrote:
  
  What's wrong with static linking? At least it goes away when the
  application goes away.
 
 Completely infeasible on Windows. The loss of shared text would make
 the working set of the typical application mix grossly exceed even the
 absurd amounts of RAM available in typical machines today. The disk
 space problem would be even worse. Many people have done
 back-of-the-envelope calculations to demonstrate this; I think I did
 some myself, in a post to alt.folklore.computers some time back.

I only trust statistics I rigged  myself.

Some time back I was disputing the sheer possibility to catch a virus
using email. Still ... environments ... came up that made _not catching
one_ an art...  So things done a while back do not count in IT.

Mac OS X pretty much shows that _not_ sharing shared libraries on an
application level is a feasible approach to DLL hell. 

 It's a lousy idea in any case, as anyone who remembers compiling all
 of BSD 4.2 to switch from local-files resolution to DNS remembers.
 Dynamic linking lets you fix the bug or add the feature in one place.

So why go from  libstdc++.so.5  to  libstdc++.so.6  at all, if 
incompatible changes can be, as you seem to say, avoided?

 We can't have millions of Windows users downloading a refresh of the
 entire OS every time a bug is fixed in one of the prominent DLLs.
 
 Dynamic linking is a good thing. It's worked very well on a number of
 OSes.

Examples?

 It would work on Windows if Microsoft could figure out 1) how to
 version properly, and 2) how to maintain backward compatibility. And
 it's not like those are unsolved problems.

I am happy to have learned now that these problems are solved.

Now the only thing I miss is a Star Gate taking me to that
parallel universe.

Andre'

PS: And don't get me wrong: I am painfully aware of what insufficient
hardware means nowadays, and to my best knowledge I am usually not
trying to defend any decision by MS...

PPS: I cut a few smileys from the mail to avoid the embarassing ranking
in the 1.7 smiley-per-mail statistics.



Re: Steps towards a portable LyX installation on Windows

2008-11-18 Thread Joost Verburg

Thomas Steffen wrote:

1. configure fails because it cannot find python
2. LyX fails to convert an EPS to a bitmap, so there is no preview


This is because the directories in Resources\lyxrc.dist are wrong.

Joost



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Jean-Marc Lasgouttes
PPS: I cut a few smileys from the mail to avoid the embarassing  
ranking

in the 1.7 smiley-per-mail statistics.


Chicken! Does not even dare to be rude anymore.

JMarc



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Jean-Marc Lasgouttes

Completely infeasible on Windows. The loss of shared text would make
the working set of the typical application mix grossly exceed even the
absurd amounts of RAM available in typical machines today. The disk
space problem would be even worse.


I meant just for application which feel that they have to distribute  
their own version-of-the-day

of whatever.dll. There is no reason to do it everywhere of course.

JMarc


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Pavel Sanda
 PPS: I cut a few smileys from the mail to avoid the embarassing ranking
 in the 1.7 smiley-per-mail statistics.

feel free to uncover yourself, users list is not evaluated...
pavel


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Tue, Nov 18, 2008 at 11:43:34PM +0100, Pavel Sanda wrote:
  PPS: I cut a few smileys from the mail to avoid the embarassing ranking
  in the 1.7 smiley-per-mail statistics.
 
 feel free to uncover yourself, users list is not evaluated...

Nobody expected the Spanish Inquisition...

Andre'


Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Jürgen Spitzmüller
rgheck wrote:

 If you're not using BibTeX but are entering the references manually,
 then the problem is that you can only use author-year citations if
 you're using BibTeX.

Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

This is a major regression to LyX 1.5.

Jürgen

natbib.lyx
Description: application/lyx
%% LyX 1.5.7 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[authoryear]{natbib}
\usepackage{babel}

\begin{document}
\citet{doe} \citealt{doe} \citealp{doe} \citeyear{doe}.

\begin{thebibliography}{Doe(2008)}
\bibitem[Doe(2008)]{doe}Doe, John (2008): Foo. Bar.
\end{thebibliography}

\end{document}



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Pavel Sanda
 On Tue, Nov 18, 2008 at 11:43:34PM +0100, Pavel Sanda wrote:
   PPS: I cut a few smileys from the mail to avoid the embarassing ranking
   in the 1.7 smiley-per-mail statistics.
  
  feel free to uncover yourself, users list is not evaluated...
 
 Nobody expected the Spanish Inquisition...

of course the next ranking wont be based on emoticons but on the ratio between
vowels and consonants.

pavel


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Richard heck

Andre Poenitz wrote:

PPS: I cut a few smileys from the mail to avoid the embarassing ranking
in the 1.7 smiley-per-mail statistics.

  

Best to start now, eh?

rh



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Richard heck

Jürgen Spitzmüller wrote:

rgheck wrote:

  

If you're not using BibTeX but are entering the references manually,
then the problem is that you can only use author-year citations if
you're using BibTeX.



Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

  
Yes, IF you carefully format the label yourself, as you show. (BibTeX 
just does this for you, yes?) Perhaps we should add a note about this to 
the docs. The question often comes up. People expect to be able just to 
enter the reference data and have author-year work.



However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

  

I just loaded the file into 1.6.1svn and it was fine. ???

rh



Can't get interrupted enumerated list to work

2008-11-18 Thread Stefano Franchi
I'm running into problems using the mdwlist package. I followed the example on 
the wiki page. The example file works fine on my installation (LyX 1.6.0 on 
Kubuntu 8.10), but when I try to replicate the behavior on my files, I cannot 
get them to compile. All I do is:

1. add \usepackage{mdwlist} to the preamble
2. insert pairs of \suspend{enumerate} \resume{enumerate} in my file whenever I 
want to insert text

I get several LaTeX errors, the first of which is:


! LaTeX Error: \begin{document} ended by \end{enumerate}.


Perhaps mdwlist conflicts with other packages and/or should be loaded in a 
specific position? 


Stefano 





-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Koma-script not fully compatible with hyperref package

2008-11-18 Thread Alex
This message is more FYI:

the intoc and bibtotoc options of the report(koma-scrpt) package, as well as
the addchap, addpart and their *-red counterparts to not create the correct
hyperlinks in the PDF document. For the part/chapter, it will link on the page
_before_ the start of your actual section, and the toc options will link below
your chapter name!
This is due to a bug in the packages (hyperref requires the \phantomsection fix,
which koma-scrpt does not currently implement).

Instead of using the above commands, you should use the following Latex code if
you're using hyperref. This example creates a bibliography chapter with the name
List of References. If you want it to not appear in the TOC, omit the line
with a *.

\cleardoublepage
\phantomsection
*   \addcontentsline{toc}{chapter}{\bibname}

Only after this use chapter* or part* instead of the addchap or the addpart
koma-script commands, or if you want to begin the bibliography as in my case,
you would continue with:

\renewcommand{\bibname}{List of References}
\begin{thebibliography}

Have fun LyX-ing!
Alex

P.S. Should I also report this bug somewhere on CTAN where the packages reside?
I can't figure out for the love of God where I can sign up for a user account on
the Koma Script website, though my German is good enough. It only lets
_existing_ users log in or renew passwords though!
http://www.komascript.de/forum/



Error message in LyX 1.5.7

2008-11-18 Thread Alex
I am using 1.5.7 as I think it is the most stable version currently. I
unistalled all other versions of the software and did a clean install. 
I used the new AltInstaller

However, whenever I try to convert to .dvi or .ps, the following 
message comes up:

---
LyX: Cannot Convert File
---
An error occurred whilst running python -tt 
C:/Program Files/LyX 1.5.7/Resources/s
---
OK

... not really OK, but do I have a choice?
Is there anything I can do to fix this, maybe my configuration needs to 
change as LyX doesn't find a file it needs?

Alex

P.S. I assume no one will be fixing any 1.5.7 bugs now that 1.6.0 is 
out? However this new AltInstaller might be causing some of the 
problems.



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Jürgen Spitzmüller
Richard heck wrote:

 Yes, IF you carefully format the label yourself, as you show. (BibTeX
 just does this for you, yes?) Perhaps we should add a note about this to
 the docs. The question often comes up. People expect to be able just to
 enter the reference data and have author-year work.

You just have to use natbib's syntax. The important point is that the round 
brackets in the bibitem optional argument are simply delimiters for the year 
and *not* part of the label, and they must be inserted without space. So

\bibitem[heck(2008)]{foo}

is parsed by natbib as name=heck, year=2008, the brackets are not interpreted 
as brackets (changing the bracket style to [] with \bibpunct thus works).

This is explained in the natbib docs.

 However, I noticed that this has been disabled in 1.6. It even does not
 read old filed correctly (therefore I also attached the *.tex file).

 
 I just loaded the file into 1.6.1svn and it was fine. ???

Can you chose the citation style in the citation dialog? I can't. The list of 
styles is empty, and the combo is disabled. In 1.5, the combo contained all 
necessary styles. Also the label in the LyX window is wrong.

Compare the attached screenshots from 1.5 and 1.6.

Jürgenattachment: natbib-15.pngattachment: natbib-16.png

Re: Error message in LyX 1.5.7

2008-11-18 Thread Jürgen Spitzmüller
Alex wrote:

 P.S. I assume no one will be fixing any 1.5.7 bugs now that 1.6.0 is
 out? However this new AltInstaller might be causing some of the
 problems.

This specific bug will be fixed in the official installer that comes out in a 
few days. And probably Uwe will also implement it in an update of the 
AltInstaller.

Jürgen



Re: Print list of notes

2008-11-18 Thread Jürgen Spitzmüller
Nick Bell wrote:

 I also took the \requirepackage{todonotes} out of the module-preamble,
 and put it in the document manually, so that I can disable todonotes
 from time to time with \usepackage[disabled]{todonotes}.

putting disabled in Document-Class Options will also work.

Jürgen



Re: Problem with pdf-view in Lyx 1.6.0

2008-11-18 Thread Guenter Milde
Matthias Schmidt [EMAIL PROTECTED] schrieb:

 But I have some problems with pdf-view, that I had not with Lyx 1.5.6.

It turns out to be a LaTeX problem (see below).

 Problem with help-file userguide.lyx:
...
LaTeX Error: File `wasysym.sty' not found.

 Problem with help-file extended.lyx:
...
LaTeX Error: File `caption.sty' not found.

This are LaTeX packages that are pretty standard and part of all major
distributions but not installed in every case by default.

 Problem with help-file embeddedobjects.lyx:
...
 1. Font U/psy/m/n/12=psyr at 12.0pt not loadable
...

This points out that a used font is not available (for LaTeX) on your
machine.

 I don't know, whether there are other problems with other lyx-files.
 Might be an incomplete lyx-installation the reason for this? Or what
 could it be?

It's an incomplete LaTeX installation. LaTeX is a highly modular system,
so normally it is a good decision not to install all available packages.
Opinions on what is regarded a complete installation differ.

If you do not need the PDF version of the help documents, you can just
ignore this (until you possibly need the mentioned packages for your own
documents).

Otherwise, install the required LaTeX packages, re-configure LyX and try
again.

For more detailled help we need to know:
What LaTeX distribution do you use? On what system?

Günter



Re: can't use in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Micha wrote:

 When I use the  (quote) in hebrew under lyx I get the following error:
 LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
 I have to change language to english in order to insert the symbol.
 Is there a problem with my setup or is this a problem with lyx?

A problem with LaTeX/LyX. As a workaround, you can either mark the quotation 
mark as English or use \char`\ in ERT.

Jürgen



Re: can't use in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

 When I use the  (quote) in hebrew under lyx I get the following error:
 LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
 I have to change language to english in order to insert the symbol.
 Is there a problem with my setup or is this a problem with lyx?
 
 A problem with LaTeX/LyX. As a workaround, you can either mark the
 quotation mark as English or use \char`\ in ERT.

The problem is that Paragraph::Private::latexSpecialT1 is called after checking 
(lyxrc.fontenc == T1), but hebrew resets the font encoding internally to LHE 
(same applies probably to other languages), which is not noticed by LyX.

Should we add an additional language check?

Jürgen



headings

2008-11-18 Thread Vittorio Zuccala'
Hello,
sorry for my bad english...
I'd like to have particular headings. How can i change them?
In other words, i want somethings as follow:

\begin_example_heading

LOGO.jpg company name
company address
company tel/fax


\end_example_heading

How can i perform it?
Or where can i go to read about personalize headings?
Thanks!


-- 
Vittorio Zuccalà


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: Amazon Kindle Conversion from Lyx?

2008-11-18 Thread Manveru
2008/11/18 Jonathan Kroner [EMAIL PROTECTED]:
 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.

I know it do not help you. But Kindle is much worst device in world of
e-book readers than iPhone in world of smartphones. Kindle only do
good first impression, everything else is Amazon idea to tie customer
with Amazon. This is quite similar to Apple's strategy.

In technical terms JPEG was not invented to store text documents and I
think effect would be horrible too. If discrete cosine transform and
quantization is did on text all edges become strongly blurred except
when you use no-compression. But no-compression (lossy, because
Huffman is still there) means large bitmaps of pages stored in device.

Accepting only DOC format as document format in open world is suicide...
-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Standard State Symbol in Lyx

2008-11-18 Thread Tilman Schmidt
Hi,

how may I use the standard state symbol (\stst) in Lyx math mode?
Entering as TEX doesn't work (Undefined Control Sequence).

Please  compare
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Page 91 on how the symbol looks.

Thanks for your suggestions.

Regards,

Tilman Schmidt


Re: Print list of notes

2008-11-18 Thread Jürgen Spitzmüller
Nick Bell wrote:

 Thanks for that, but how do I print a list of comments? Nick

With some trickery, you can redefine the LyX comments (not Notes, though) to be 
output as todonotes. Using the todonotes package [1], this gives output that 
might look like what you want. Attached is an example. Provided that you use 
LyX LyX 1.6, you can use the attached module (save it in your (layouts folder), 
which will, if it is loaded, automatically output all your comments as 
todonotes. The list of todonotes is produced by the ERT command \listoftodos.

Shortcomings:
- it gives an error if you have comments with multiple paragraphs and a 
\listoftodos (\todo notes are only for single paragraphs)
- it inserts blanks in the text (this is done by the package)

HTH,
Jürgen

[1] http://ctan.org/tex-archive/macros/latex/contrib/todonotes#\DeclareLyXModule{Todo-notes}
#DescriptionBegin
#Displays the LyX notes in the output. A list of todo notes can be produced
#by inserting \listoftodos in ERT.
#DescriptionEnd
# Author: Juergen Spitzmueller [EMAIL PROTECTED]

Format 11

Preamble
\RequirePackage{todonotes}
EndPreamble

InsetLayout Note:Comment
LabelString   comment/todo
LatexType command
LatexName todo
MultiPar  false
End



todonotes.pdf
Description: Adobe PDF document


Fwd: [Tugindia] Query on printing with 'screens'

2008-11-18 Thread Frederick Noronha [फ़रेदरिक नोरोनया]
Can you please help my friend seeking the info below? FN


-- Forwarded message --
From: Derek Cordeiro [EMAIL PROTECTED]
Date: 2008/11/18
Subject: Re: [Tugindia] Query on printing with 'screens'
To: TUGIndia Mailing List [EMAIL PROTECTED]


On Mon, Nov 17, 2008 at 11:43 AM, Nina Mazumdar [EMAIL PROTECTED] wrote:
 On Mon, Nov 17, 2008 at 10:29 AM, Frederick Noronha [फ़रेदरिक नोरोनया]
 [EMAIL PROTECTED] wrote:
 Hi all:

 I'm a Lyx user in Goa, and hope you won't mind me intruding.

 Every time I go in for a book, to be printed via offset, my printer
 has a problem. He takes the PDF file and attempts to do crazy things
 like importing it into Windows/Corel Draw, etc.

 He says the photos won't print because they don't have a screen.

 True, TeX does not add a screen to images as some of the proprietary
 systems like Quark, et al do.  But that is not an excuse for the

What extra information does an image with a screen have? Is it
half-toning information or something specific to the printer?
Will a higher resolution image or pdf with less compression help?

Regards,
Derek

P.S. I don't see any visible differences in the images in pdfs
generated by Quark or distiller when compared to pdflatex, which is
why I wish to clarify my doubts.
___
Home:http://www.tug.org.in/
TeX FAQ: http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia


-- 
FN * Independent Journalist http://fn.goa-india.org
Blog: http://fredericknoronha.wordpress.com
Tech links from South Asia: http://twitter.com/fn
M: +91-9822122436 P: +91-832-2409490


Re: Open a New Window in read-only mode?

2008-11-18 Thread Paul A. Rubin

Keith Roberts wrote:
Thanks Paul. That sounds feasable. I did edit the document in both 
windows! Maybe there could be an option in preferences to set the second 
or more window(s) to read-only mode? That will stop anyone from 
accidently editing the document in the other opened windows.




That would be IMHO a sensible thing.  You could enter it as an 
enhancement request in bugzilla.


/Paul



Re: Lyx 1.6 on ubuntu 8.04

2008-11-18 Thread Paul A. Rubin

Graham Smith wrote:
Has anyone installed 1.6 on Ubuntu 8.04?  Its available for Jaunty (as 
pointed out elsewhere on this forum), but not sure of the risks that may 
be involved.


I currently have 1.5.5 installed via the Ubuntu repository, should I 
uninstall this before installing 1.6, or is it a bad idea to install 1.6 
before its officially available for 8.04.


I am new to Linux, and still finding my feet with it.



Don't know about 8.04, but I installed LyX 1.6.0-1 on Ubuntu 8.10 
(Intrepid), and so far so good (in limited use).  Rather than building 
it myself, I installed a couple of .deb archives.  The steps are:


1.  Go to http://www.debian.org/mirror/list and pick a secondary mirror 
near you.


2.  In Ubuntu, go to System - Administration - Software Sources - 
Third-Party Software, click Add, and add the mirror you chose.  The 
entry line will look like 'deb http://ftp.someserver.somedomain sid main'.


3.  After entering it, click 'Close' and then, when prompted, click 
'Reload' to update the package list.  Click through any messages you 
get, then wait until the sources window closes on its own.


3a.  I've had some odd results with mirrors not being accepted because 
certificates are out of date or something else goes splat.  So you might 
have to repeat 1-3 with a different mirror.  FWIW, the mirror at 
Michigan State is working for me.


4.  Now run System - Administration - Synaptic Package Manager and 
search for 'lyx'.  Among other things, it should turn up packages 'lyx' 
and 'lyx-common' (both at version 1.6.0-1).  Click 'lyx' and mark for 
installation.  That should also mark 'lyx-common' for installation, I 
think, but if not mark it yourself.  Then click 'Apply' and sit back 
while it installs.


/Paul



Re: Print list of notes

2008-11-18 Thread Nick Bell

Jürgen Spitzmüller wrote:

Nick Bell wrote:


Thanks for that, but how do I print a list of comments? Nick


With some trickery, you can redefine the LyX comments (not Notes,

though) to be output as todonotes. Using the todonotes package [1], this
gives output that might look like what you want. Attached is an example.
Provided that you use LyX LyX 1.6, you can use the attached module (save
it in your (layouts folder), which will, if it is loaded, automatically
output all your comments as todonotes. The list of todonotes is produced
by the ERT command \listoftodos.


Shortcomings: - it gives an error if you have comments with multiple
paragraphs and

a \listoftodos (\todo notes are only for single paragraphs)

- it inserts blanks in the text (this is done by the package)

HTH, Jürgen

[1] http://ctan.org/tex-archive/macros/latex/contrib/todonotes


That's very helpful, thanks. I altered the .module thus:
--todonotes.module
#\DeclareLyXModule{Todo-notes}
#DescriptionBegin
#Displays the LyX notes in the output. A list of todo notes can be produced
#by inserting \listoftodos in ERT.
#DescriptionEnd
# Author: Juergen Spitzmueller [EMAIL PROTECTED]

Format 11

Preamble
	\newcommand{\smalltodo}[1]{\todo[color=yellow, caption={#1}, 
size=\footnotesize]{\begin{spacing}{1}#1\end{spacing}}}	

EndPreamble

InsetLayout Note:Comment
LabelString   comment/todo
LatexType command
LatexName smalltodo
MultiPar  false
End
--

So that all todos are small, yellow and with single line spacing.
I also took the \requirepackage{todonotes} out of the module-preamble, 
and put it in the document manually, so that I can disable todonotes 
from time to time with \usepackage[disabled]{todonotes}.


Note that the todonotes package switches on hyperlinks in citations via 
hyperref, even when the todonotes package is disabled - but you can fix 
this in the Document Settings by enabling hyperref and making sure 'No 
frames around links' is ticked.


I would like to get in touch with the author about (i) the hyperref 
issue and (ii) the additional line space after the end of text in the 
comment box. Does anyone know where I might find him? There's no address 
on http://midtiby.blogspot.com/2008/07/todonotes-version-2008-07-28.html.


Many thanks - this is getting more fun!

Nick


Re: Standard State Symbol in Lyx

2008-11-18 Thread Paul A. Rubin

Tilman Schmidt wrote:

Hi,

how may I use the standard state symbol (\stst) in Lyx math mode?
Entering as TEX doesn't work (Undefined Control Sequence).

Please  compare
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Page 91 on how the symbol looks.

Thanks for your suggestions.

Regards,

Tilman Schmidt



In the letter version of the symbols list, \stst is defined by a 
macro; it is not a standard symbol.  To use it, you need to put the 
definition into the document preamble (then put \stst in the body in TeX).


/Paul



citation style does not mention author et. al. as promised

2008-11-18 Thread Manoj Rajagopalan

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the author et. al. Citation style from the 
Formatting section of the Citation dialog. This is supposed to give me 
reference of the form author et. al. [ref#]  However, when I 
view the DVI I only see text like [ref#] ... without the author's name 
as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


Thanks,
Manoj


Re: Lyx 1.6 on ubuntu 8.04

2008-11-18 Thread Graham Smith

Paul,

Thanks, but I have a a question below.

Don't know about 8.04, but I installed LyX 1.6.0-1 on Ubuntu 8.10 
(Intrepid), and so far so good (in limited use).  Rather than building 
it myself, I installed a couple of .deb archives.  The steps are:


1.  Go to http://www.debian.org/mirror/list and pick a secondary mirror 
near you.


2.  In Ubuntu, go to System - Administration - Software Sources - 
Third-Party Software, click Add, and add the mirror you chose.  The 
entry line will look like 'deb http://ftp.someserver.somedomain sid main'.


Will this result in all packages being updated through the deb 
repository rather than the Ubuntu repository?


Or does the sid bit restrict it to the Lyx files.

You also talk about adding a couple of repositories. but only list 
one. Or, by a couple do you mean lyx and lyx-common ?


Sorry for basic questions :-(

Graham




Re: Amazon Kindle Conversion from Lyx?

2008-11-18 Thread David A. Case
On Tue, Nov 18, 2008, Jonathan Kroner wrote:
 
 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.

Sounds like MS Word is the closest fit to your document, so you might consider
that route.  There are lots of ways to do this, but tex2word (just Google for
it) has worked well for me.  (I have *not* used this to create Kindle files,
just to create Word files).

...good luck...dave case



Re: headings

2008-11-18 Thread rgheck

Vittorio Zuccala' wrote:

Hello,
sorry for my bad english...
I'd like to have particular headings. How can i change them?
In other words, i want somethings as follow:

\begin_example_heading

LOGO.jpg company name
company address
company tel/fax


\end_example_heading

How can i perform it?
Or where can i go to read about personalize headings?
Thanks!

  
I assume you want to do this in a letter? If so, then mostly you just 
have to use some fairly simple LaTeX. You can't really do this in LyX 
itself. The attached file shows you one way to do this kind of thing.


rh


\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{newletter}[2004/10/15]
\RequirePackage{graphicx}
%Main Code
%Fonts for letterhead
\DeclareFixedFont{\HeadFont}{OT1}{cmss}{m}{n}{17.68}
\DeclareFixedFont{\AddrFont}{OT1}{cmss}{m}{n}{10}

%Info for letterhead
\newcommand{\UnivName}{Brown University}
\newcommand{\DeptName}{Department of Philosophy}
\newcommand{\ImageLocation}{/home/rgheck/files/graphics/brown}
\newcommand{\SigLocation}{/home/rgheck/files/graphics/signature}
\newcommand{\FixedAddra}{Department of Philosophy}
\newcommand{\FixedAddrb}{Box 1918}
\newcommand{\FixedAddrc}{Brown University}
\newcommand{\FixedAddrd}{Providence RI 02912}
\newcommand{\FixedAddre}{+1(401)863-2718}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] \name{#1}}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

\renewcommand{\closing}[1]{
  \par\nobreak\vspace{\parskip}%
  \stopbreaks
  \noindent
  [EMAIL PROTECTED]
  \hspace*{\longindentation}\fi
  \parbox{\indentedwidth}{\raggedright
   \ignorespaces #1\\%
   [EMAIL PROTECTED]
   \fromname
   \else \fromsig \fi\strut}%
   \par}

%Margin and papersize info
[EMAIL PROTECTED]@page=1\vskip \z@ \relax\fi}
\setlength\topmargin{0in}
\setlength\topskip{0in}
\setlength\oddsidemargin{0in}
\setlength\textwidth{6.5in}
\setlength\textheight{8.5in}
%Kill footers
[EMAIL PROTECTED]
[EMAIL PROTECTED]

\newlength{\leftside}
\setlength\leftside{3.25in}
\newlength{\rightside}
\setlength\rightside{3.25in}

%Top of letterhead
\newcommand{\LHead}[0]{
\newsavebox{\ShieldBox}
\newsavebox{\UnivBox}
%Shield Box
\sbox{\ShieldBox}{%
\parbox{2.25in}{%
\begin{flushright}%
\includegraphics{\ImageLocation}%
\end{flushright}%
}%
}%end sbox
%Univ Box
\sbox{\UnivBox}{%
\parbox{4.25in}{%
{\HeadFont \DeptName}\\%
{\HeadFont \UnivName}%
}%
}%end sbox
\begin{center}%
\parbox{\textwidth}{%
\usebox{\ShieldBox}%
\usebox{\UnivBox}%
}%
\end{center}%
}%end of \LHead

%Address info below letterhead
\newcommand{\Addresses}{%
\parbox{\textwidth}
{
 {\AddrFont
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
}
}%End \Address

%Page style for first page
[EMAIL PROTECTED]
%\setlength\headsep{1.25in}
%\setlength\textheight{7.5in}
%\setlength\topskip{10in}
[EMAIL PROTECTED]
\parbox{\textwidth}{
\LHead
\Addresses
\rule[-8pt]{\textwidth}{1pt}
\vspace{.12in}
[EMAIL PROTECTED]
}
\vspace{.12in}


}%oddhead

}%end [EMAIL PROTECTED]

%Page style for subsequent pages
[EMAIL PROTECTED]
%\setlength\headheight{5in}
%\setlength\textheight{7.5in}
\setlength\headsep{.5in}
[EMAIL PROTECTED]
{
[EMAIL PROTECTED] \thepage}
\rule{\textwidth}{1pt}
}
[EMAIL PROTECTED]
[EMAIL PROTECTED]@oddhead}
}%end [EMAIL PROTECTED]

%Redefine opening of letter
\renewcommand{\opening}[1]{
\thispagestyle{firstpage}%
\vspace*{1.75in}
\vspace{\parskip}%
%Need to put an \if{\toname is empty} here
{\raggedright\toname\\{}\toaddress\par}
\vspace{2\parskip}%
#1\par\nobreak}%end \opening

%Declare headings page style in effect
\pagestyle{headings}


Re: Amazon Kindle Conversion from Lyx?

2008-11-18 Thread rgheck

Jonathan Kroner wrote:

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'd try various latex to html converters. Some will do a better job than 
others. The latest is plastex, which you could even install in LyX. 
(We'll probably get it in there ourselves before long.)


rh



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread rgheck

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the author et. al. Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form author et. al. [ref#]  However, 
when I view the DVI I only see text like [ref#] ... without the 
author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


The usual reason is that there's an error somewhere in your BibTeX file. 
If BibTeX can't figure out the author and year for some entry, then it 
reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Mon, Nov 17, 2008 at 09:58:50PM +0100, Jean-Marc Lasgouttes wrote:
 Andre Poenitz [EMAIL PROTECTED] writes:
  In fact that's actually the most sensible behaviour since there are only
  very few cases where a new version indeed can replace an older one
  without any existing or imagined problem. 
 
 What's wrong with static linking?

Not much. But it's not very different from per-application shared objects.
In the 'main application' in my previous job most we actually linked
most of the stuff statically - including Qt...

 At least it goes away when the application goes away.

That's a benefit.

Andre'


Re: Lyx 1.6 on ubuntu 8.04

2008-11-18 Thread Paul A. Rubin

Graham Smith wrote:

Paul,

Thanks, but I have a a question below.

Don't know about 8.04, but I installed LyX 1.6.0-1 on Ubuntu 8.10 
(Intrepid), and so far so good (in limited use).  Rather than building 
it myself, I installed a couple of .deb archives.  The steps are:


1.  Go to http://www.debian.org/mirror/list and pick a secondary 
mirror near you.


2.  In Ubuntu, go to System - Administration - Software Sources - 
Third-Party Software, click Add, and add the mirror you chose.  The 
entry line will look like 'deb http://ftp.someserver.somedomain sid 
main'.


Will this result in all packages being updated through the deb 
repository rather than the Ubuntu repository?


Or does the sid bit restrict it to the Lyx files.


No, SID doesn't restrict it to LyX, and you're right in not wanting to 
update other stuff from there.  The trick is to enable the Debian SID 
repository (it will automatically be enabled when you first enter it), 
use Synaptic to install LyX (ignoring any messages to the effect that 
you have updates for 2,387 packages available), then go back into 
Sources (or Settings - Repositories from within Synaptic) and disable 
the mirror (but leave it defined, in case you need it again).  If the 
you have updates bug is still displaying, use the Reload button in 
Synaptic to refresh the package list.


When I did this, Ubuntu did indeed think it found updates in the Debian 
mirror, but as long as you don't install them, no harm done.


You also talk about adding a couple of repositories. but only list 
one. Or, by a couple do you mean lyx and lyx-common ?


Can I just answer 'yes'?  :-)  There are two packages, lyx and 
lyx-common.  I happen to have two Debian SID mirrors set up; I first 
tried the one on my campus, but I got an error message about a missing 
public certificate (which I get again today), so I tried a second one. 
I don't remember which one I installed from, but I think the 
installation works even with the missing certificate glitch.




Sorry for basic questions :-(


Not to worry.  I'm still finding my way around Ubuntu myself.

And thanks to the kind folks who put together the .debs and added them 
to the repository.


/Paul



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Michael Wojcik
Andre Poenitz wrote:
 On Mon, Nov 17, 2008 at 11:07:05AM -0500, Paul A. Rubin wrote:
 I wonder if disk manufacturers are paying M$ to do this?  I've got about  
 54MB of crap in %windir%\winsxs, with multiple versions of each set of  
 files.  Presumably there's no way for Windoze to know that something  
 depending on an older version can use the newer version, so old versions  
 never go away. 
 
 In fact that's actually the most sensible behaviour since there are only
 very few cases where a new version indeed can replace an older one
 without any existing or imagined problem.

I respectfully disagree. I've worked on many projects that maintained
backward compatibility with new releases of the API, and seen a great
many more.

And in this case, we're talking C and C++ runtimes, which should
conform to the ISO standard anyway. There's no need for them to change
every other week.

 In particular that would mean
 not only source and binary but also behavioural compatibility including
 keeping buggy behaviour.

No it doesn't. Undefined behavior is undefined; an application that
relies on it is broken. And for the rare application that does, there
are other Windows mechanisms for tying it to the old version of the DLL.

-- 
Michael Wojcik
Micro Focus
Rhetoric  Writing, Michigan State University



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Michael Wojcik
Jean-Marc Lasgouttes wrote:
 
 What's wrong with static linking? At least it goes away when the
 application goes away.

Completely infeasible on Windows. The loss of shared text would make
the working set of the typical application mix grossly exceed even the
absurd amounts of RAM available in typical machines today. The disk
space problem would be even worse. Many people have done
back-of-the-envelope calculations to demonstrate this; I think I did
some myself, in a post to alt.folklore.computers some time back.

It's a lousy idea in any case, as anyone who remembers compiling all
of BSD 4.2 to switch from local-files resolution to DNS remembers.
Dynamic linking lets you fix the bug or add the feature in one place.
We can't have millions of Windows users downloading a refresh of the
entire OS every time a bug is fixed in one of the prominent DLLs.

Dynamic linking is a good thing. It's worked very well on a number of
OSes. It would work on Windows if Microsoft could figure out 1) how to
version properly, and 2) how to maintain backward compatibility. And
it's not like those are unsolved problems.

-- 
Michael Wojcik
Micro Focus
Rhetoric  Writing, Michigan State University



Re: Lyx 1.6 on ubuntu 8.04

2008-11-18 Thread Graham Smith

Paul
Will this result in all packages being updated through the deb 
repository rather than the Ubuntu repository?


Or does the sid bit restrict it to the Lyx files.


No, SID doesn't restrict it to LyX, and you're right in not wanting to 
update other stuff from there.  The trick is to enable the Debian SID 
repository (it will automatically be enabled when you first enter it), 
use Synaptic to install LyX (ignoring any messages to the effect that 
you have updates for 2,387 packages available), then go back into 
Sources (or Settings - Repositories from within Synaptic) and disable 
the mirror (but leave it defined, in case you need it again).  If the 
you have updates bug is still displaying, use the Reload button in 
Synaptic to refresh the package list.


Thanks again :-)

Graham


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Tue, Nov 18, 2008 at 03:42:52PM -0500, Michael Wojcik wrote:
 Andre Poenitz wrote:
  On Mon, Nov 17, 2008 at 11:07:05AM -0500, Paul A. Rubin wrote:
  I wonder if disk manufacturers are paying M$ to do this?  I've got about  
  54MB of crap in %windir%\winsxs, with multiple versions of each set of  
  files.  Presumably there's no way for Windoze to know that something  
  depending on an older version can use the newer version, so old versions  
  never go away. 
  
  In fact that's actually the most sensible behaviour since there are only
  very few cases where a new version indeed can replace an older one
  without any existing or imagined problem.
 
 I respectfully disagree.

No need to show some special respect here. I believe I can stand ordinary
disagreement rather well.

 I've worked on many projects that maintained backward compatibility
 with new releases of the API, and seen a great many more.

Just for my curiosity: Which projects, which scope? 

I am still pretty convinced that compatibility and progress are
fairly incompatible notions when it comes to the development of _usable_
libraries.

Guaranteeing the behaviour of only a very limited set of property gives
you the opportunity of changing/improving implementations, but reduces
the utility of the library as such. That's the approach taken by e.g.
standardized languages like C++ 

   _or_

you try to provide everything and the kitchen sink, and end up with
design and implementation decisions that need to be re-evaluated from
time to time in the presence of new environments. Java and Python, or
anything including a GUI comes to mind.

 And in this case, we're talking C and C++ runtimes, which should
 conform to the ISO standard anyway.

Ah... should they conform to the Standard or should they be compatible to
older versions? What is supposed to happen if an existing version does 
_not_ conform to the Standard?

 There's no need for them to change every other week.

No. But if problems show up. Non-conformance is a problem for instance.

Also: What am I supposed to do in case there is no obvious standard to
adhere to? I have e.g. a few hundred kLOC of pre-1998 C++ code (done
well before 1998...) around that's uncompilable with todays compilers.
Who is to blame here? Should g++ have sticked to 2.95's view of the
world?

  In particular that would mean not only source and binary but also
  behavioural compatibility including keeping buggy behaviour.
 
 No it doesn't. Undefined behavior is undefined; an application that
 relies on it is broken.

What is an application supposed to do when it lives in an environment
where only buggy libraries are available? 

 And for the rare application that does, there are other Windows
 mechanisms for tying it to the old version of the DLL.

I obviously dispute rare, otherwise Wikipedia would not know about
DLL hell, and I have to admit that I am not aware of a lot of other
Windows mechanisms that scale from, say, Win 3.11^H95 through Vista.
What exactly are you refering to?

Andre'


Re: Steps towards a portable LyX installation on Windows

2008-11-18 Thread Thomas Steffen
On Mon, Nov 17, 2008 at 8:19 PM, Joost Verburg
[EMAIL PROTECTED] wrote:
 The build-in ImageMagick does not rely on registry keys but uses the
 environment variables set by LyXLauncher (see the source for details) to get
 the location of the Ghostscript directories. Note that not only @PSdelegate@
 is relevant but also the font directory etc.

Ok, I did some more tests. I was suspecting the TeX Live environment,
but it has no impact. What I did was:

1. copy the directory c:\Program\LyX16 onto the desktop of a PC
without LyX installed
2. start lyxlauncher.exe

Since there is no tex installed, obviously LyX will not have full
functionality, but the GUI should work. However, two things give
errors:

1. configure fails because it cannot find python
2. LyX fails to convert an EPS to a bitmap, so there is no preview

Is there any way to copy the error messages from LyXLauncher? The
python ones are straight forward, but the ghostscript problem looks
rather confusing - with hundreds of lines of not very helpful
messages.

As for the environment, I found an easy way to see what's going on.

1. copy lyxlauncher.exe, console.dll and system.dll to a new folder
2. add cmd.exe (from c:\windows\system32) and rename it to lyx.exe
3. start lyxlauncher -dbg any /c set

This will show the environment that lyx.exe would have.

Adding the python directory to the path before staring lyxlauncher
fixes the first problem, but EPS preview still fails.

Do you have any idea what convert could be missing?

Regards,
Thomas


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Tue, Nov 18, 2008 at 03:47:45PM -0500, Michael Wojcik wrote:
 Jean-Marc Lasgouttes wrote:
  
  What's wrong with static linking? At least it goes away when the
  application goes away.
 
 Completely infeasible on Windows. The loss of shared text would make
 the working set of the typical application mix grossly exceed even the
 absurd amounts of RAM available in typical machines today. The disk
 space problem would be even worse. Many people have done
 back-of-the-envelope calculations to demonstrate this; I think I did
 some myself, in a post to alt.folklore.computers some time back.

I only trust statistics I rigged  myself.

Some time back I was disputing the sheer possibility to catch a virus
using email. Still ... environments ... came up that made _not catching
one_ an art...  So things done a while back do not count in IT.

Mac OS X pretty much shows that _not_ sharing shared libraries on an
application level is a feasible approach to DLL hell. 

 It's a lousy idea in any case, as anyone who remembers compiling all
 of BSD 4.2 to switch from local-files resolution to DNS remembers.
 Dynamic linking lets you fix the bug or add the feature in one place.

So why go from  libstdc++.so.5  to  libstdc++.so.6  at all, if 
incompatible changes can be, as you seem to say, avoided?

 We can't have millions of Windows users downloading a refresh of the
 entire OS every time a bug is fixed in one of the prominent DLLs.
 
 Dynamic linking is a good thing. It's worked very well on a number of
 OSes.

Examples?

 It would work on Windows if Microsoft could figure out 1) how to
 version properly, and 2) how to maintain backward compatibility. And
 it's not like those are unsolved problems.

I am happy to have learned now that these problems are solved.

Now the only thing I miss is a Star Gate taking me to that
parallel universe.

Andre'

PS: And don't get me wrong: I am painfully aware of what insufficient
hardware means nowadays, and to my best knowledge I am usually not
trying to defend any decision by MS...

PPS: I cut a few smileys from the mail to avoid the embarassing ranking
in the 1.7 smiley-per-mail statistics.



Re: Steps towards a portable LyX installation on Windows

2008-11-18 Thread Joost Verburg

Thomas Steffen wrote:

1. configure fails because it cannot find python
2. LyX fails to convert an EPS to a bitmap, so there is no preview


This is because the directories in Resources\lyxrc.dist are wrong.

Joost



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Jean-Marc Lasgouttes
PPS: I cut a few smileys from the mail to avoid the embarassing  
ranking

in the 1.7 smiley-per-mail statistics.


Chicken! Does not even dare to be rude anymore.

JMarc



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Jean-Marc Lasgouttes

Completely infeasible on Windows. The loss of shared text would make
the working set of the typical application mix grossly exceed even the
absurd amounts of RAM available in typical machines today. The disk
space problem would be even worse.


I meant just for application which feel that they have to distribute  
their own version-of-the-day

of whatever.dll. There is no reason to do it everywhere of course.

JMarc


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Pavel Sanda
 PPS: I cut a few smileys from the mail to avoid the embarassing ranking
 in the 1.7 smiley-per-mail statistics.

feel free to uncover yourself, users list is not evaluated...
pavel


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Andre Poenitz
On Tue, Nov 18, 2008 at 11:43:34PM +0100, Pavel Sanda wrote:
  PPS: I cut a few smileys from the mail to avoid the embarassing ranking
  in the 1.7 smiley-per-mail statistics.
 
 feel free to uncover yourself, users list is not evaluated...

Nobody expected the Spanish Inquisition...

Andre'


Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Jürgen Spitzmüller
rgheck wrote:

 If you're not using BibTeX but are entering the references manually,
 then the problem is that you can only use author-year citations if
 you're using BibTeX.

Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

This is a major regression to LyX 1.5.

Jürgen

natbib.lyx
Description: application/lyx
%% LyX 1.5.7 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[authoryear]{natbib}
\usepackage{babel}

\begin{document}
\citet{doe} \citealt{doe} \citealp{doe} \citeyear{doe}.

\begin{thebibliography}{Doe(2008)}
\bibitem[Doe(2008)]{doe}Doe, John (2008): Foo. Bar.
\end{thebibliography}

\end{document}



Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Pavel Sanda
 On Tue, Nov 18, 2008 at 11:43:34PM +0100, Pavel Sanda wrote:
   PPS: I cut a few smileys from the mail to avoid the embarassing ranking
   in the 1.7 smiley-per-mail statistics.
  
  feel free to uncover yourself, users list is not evaluated...
 
 Nobody expected the Spanish Inquisition...

of course the next ranking wont be based on emoticons but on the ratio between
vowels and consonants.

pavel


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-18 Thread Richard heck

Andre Poenitz wrote:

PPS: I cut a few smileys from the mail to avoid the embarassing ranking
in the 1.7 smiley-per-mail statistics.

  

Best to start now, eh?

rh



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Richard heck

Jürgen Spitzmüller wrote:

rgheck wrote:

  

If you're not using BibTeX but are entering the references manually,
then the problem is that you can only use author-year citations if
you're using BibTeX.



Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

  
Yes, IF you carefully format the label yourself, as you show. (BibTeX 
just does this for you, yes?) Perhaps we should add a note about this to 
the docs. The question often comes up. People expect to be able just to 
enter the reference data and have author-year work.



However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

  

I just loaded the file into 1.6.1svn and it was fine. ???

rh



Can't get interrupted enumerated list to work

2008-11-18 Thread Stefano Franchi
I'm running into problems using the mdwlist package. I followed the example on 
the wiki page. The example file works fine on my installation (LyX 1.6.0 on 
Kubuntu 8.10), but when I try to replicate the behavior on my files, I cannot 
get them to compile. All I do is:

1. add \usepackage{mdwlist} to the preamble
2. insert pairs of \suspend{enumerate} \resume{enumerate} in my file whenever I 
want to insert text

I get several LaTeX errors, the first of which is:


! LaTeX Error: \begin{document} ended by \end{enumerate}.


Perhaps mdwlist conflicts with other packages and/or should be loaded in a 
specific position? 


Stefano 





-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Koma-script not fully compatible with hyperref package

2008-11-18 Thread Alex
This message is more FYI:

the intoc and bibtotoc options of the report(koma-scrpt) package, as well as
the addchap, addpart and their *-red counterparts to not create the correct
hyperlinks in the PDF document. For the part/chapter, it will link on the page
_before_ the start of your actual section, and the toc options will link below
your chapter name!
This is due to a bug in the packages (hyperref requires the \phantomsection fix,
which koma-scrpt does not currently implement).

Instead of using the above commands, you should use the following Latex code if
you're using hyperref. This example creates a bibliography chapter with the name
List of References. If you want it to not appear in the TOC, omit the line
with a *.

\cleardoublepage
\phantomsection
*   \addcontentsline{toc}{chapter}{\bibname}

Only after this use chapter* or part* instead of the addchap or the addpart
koma-script commands, or if you want to begin the bibliography as in my case,
you would continue with:

\renewcommand{\bibname}{List of References}
\begin{thebibliography}

Have fun LyX-ing!
Alex

P.S. Should I also report this bug somewhere on CTAN where the packages reside?
I can't figure out for the love of God where I can sign up for a user account on
the Koma Script website, though my German is good enough. It only lets
_existing_ users log in or renew passwords though!
http://www.komascript.de/forum/



Error message in LyX 1.5.7

2008-11-18 Thread Alex
I am using 1.5.7 as I think it is the most stable version currently. I
unistalled all other versions of the software and did a clean install. 
I used the new AltInstaller

However, whenever I try to convert to .dvi or .ps, the following 
message comes up:

---
LyX: Cannot Convert File
---
An error occurred whilst running python -tt 
C:/Program Files/LyX 1.5.7/Resources/s
---
OK

... not really OK, but do I have a choice?
Is there anything I can do to fix this, maybe my configuration needs to 
change as LyX doesn't find a file it needs?

Alex

P.S. I assume no one will be fixing any 1.5.7 bugs now that 1.6.0 is 
out? However this new AltInstaller might be causing some of the 
problems.



Re: citation style does not mention author et. al. as promised

2008-11-18 Thread Jürgen Spitzmüller
Richard heck wrote:

 Yes, IF you carefully format the label yourself, as you show. (BibTeX
 just does this for you, yes?) Perhaps we should add a note about this to
 the docs. The question often comes up. People expect to be able just to
 enter the reference data and have author-year work.

You just have to use natbib's syntax. The important point is that the round 
brackets in the bibitem optional argument are simply delimiters for the year 
and *not* part of the label, and they must be inserted without space. So

\bibitem[heck(2008)]{foo}

is parsed by natbib as name=heck, year=2008, the brackets are not interpreted 
as brackets (changing the bracket style to [] with \bibpunct thus works).

This is explained in the natbib docs.

 However, I noticed that this has been disabled in 1.6. It even does not
 read old filed correctly (therefore I also attached the *.tex file).

 
 I just loaded the file into 1.6.1svn and it was fine. ???

Can you chose the citation style in the citation dialog? I can't. The list of 
styles is empty, and the combo is disabled. In 1.5, the combo contained all 
necessary styles. Also the label in the LyX window is wrong.

Compare the attached screenshots from 1.5 and 1.6.

Jürgenattachment: natbib-15.pngattachment: natbib-16.png

Re: Error message in LyX 1.5.7

2008-11-18 Thread Jürgen Spitzmüller
Alex wrote:

 P.S. I assume no one will be fixing any 1.5.7 bugs now that 1.6.0 is
 out? However this new AltInstaller might be causing some of the
 problems.

This specific bug will be fixed in the official installer that comes out in a 
few days. And probably Uwe will also implement it in an update of the 
AltInstaller.

Jürgen



Re: Print list of notes

2008-11-18 Thread Jürgen Spitzmüller
Nick Bell wrote:

 I also took the \requirepackage{todonotes} out of the module-preamble,
 and put it in the document manually, so that I can disable todonotes
 from time to time with \usepackage[disabled]{todonotes}.

putting disabled in Document-Class Options will also work.

Jürgen



Re: Problem with pdf-view in Lyx 1.6.0

2008-11-18 Thread Guenter Milde
Matthias Schmidt <[EMAIL PROTECTED]> schrieb:

> But I have some problems with pdf-view, that I had not with Lyx 1.5.6.

It turns out to be a LaTeX problem (see below).

> Problem with help-file userguide.lyx:
...
>LaTeX Error: File `wasysym.sty' not found.

> Problem with help-file extended.lyx:
...
>LaTeX Error: File `caption.sty' not found.

This are LaTeX packages that are pretty standard and part of all major
distributions but not installed in every case by default.

> Problem with help-file embeddedobjects.lyx:
...
> 1. Font U/psy/m/n/12=psyr at 12.0pt not loadable
...

This points out that a used font is not available (for LaTeX) on your
machine.

> I don't know, whether there are other problems with other lyx-files.
> Might be an incomplete lyx-installation the reason for this? Or what
> could it be?

It's an incomplete LaTeX installation. LaTeX is a highly modular system,
so normally it is a good decision not to install all available packages.
Opinions on what is regarded a "complete" installation differ.

If you do not need the PDF version of the help documents, you can just
ignore this (until you possibly need the mentioned packages for your own
documents).

Otherwise, install the required LaTeX packages, re-configure LyX and try
again.

For more detailled help we need to know:
What LaTeX distribution do you use? On what system?

Günter



Re: can't use " in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Micha wrote:

> When I use the " (quote) in hebrew under lyx I get the following error:
> LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
> I have to change language to english in order to insert the symbol.
> Is there a problem with my setup or is this a problem with lyx?

A problem with LaTeX/LyX. As a workaround, you can either mark the quotation 
mark as English or use \char`\" in ERT.

Jürgen



Re: can't use " in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

>> When I use the " (quote) in hebrew under lyx I get the following error:
>> LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
>> I have to change language to english in order to insert the symbol.
>> Is there a problem with my setup or is this a problem with lyx?
> 
> A problem with LaTeX/LyX. As a workaround, you can either mark the
> quotation mark as English or use \char`\" in ERT.

The problem is that Paragraph::Private::latexSpecialT1 is called after checking 
(lyxrc.fontenc == "T1"), but hebrew resets the font encoding internally to LHE 
(same applies probably to other languages), which is not noticed by LyX.

Should we add an additional language check?

Jürgen



headings

2008-11-18 Thread Vittorio Zuccala'
Hello,
sorry for my bad english...
I'd like to have particular headings. How can i change them?
In other words, i want somethings as follow:

\begin_example_heading

LOGO.jpg company name
company address
company tel/fax


\end_example_heading

How can i perform it?
Or where can i go to read about personalize headings?
Thanks!


-- 
Vittorio Zuccalà


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/



Re: Amazon Kindle Conversion from Lyx?

2008-11-18 Thread Manveru
2008/11/18 Jonathan Kroner <[EMAIL PROTECTED]>:
> 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.

I know it do not help you. But Kindle is much worst device in world of
e-book readers than iPhone in world of smartphones. Kindle only do
good first impression, everything else is Amazon idea to tie customer
with Amazon. This is quite similar to Apple's strategy.

In technical terms JPEG was not invented to store text documents and I
think effect would be horrible too. If discrete cosine transform and
quantization is did on text all edges become strongly blurred except
when you use no-compression. But no-compression (lossy, because
Huffman is still there) means large bitmaps of pages stored in device.

Accepting only DOC format as document format in open world is suicide...
-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Standard State Symbol in Lyx

2008-11-18 Thread Tilman Schmidt
Hi,

how may I use the standard state symbol (\stst) in Lyx math mode?
Entering as TEX doesn't work (Undefined Control Sequence).

Please  compare
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Page 91 on how the symbol looks.

Thanks for your suggestions.

Regards,

Tilman Schmidt


Re: Print list of notes

2008-11-18 Thread Jürgen Spitzmüller
Nick Bell wrote:

> Thanks for that, but how do I print a list of comments? Nick

With some trickery, you can redefine the LyX comments (not Notes, though) to be 
output as todonotes. Using the todonotes package [1], this gives output that 
might look like what you want. Attached is an example. Provided that you use 
LyX LyX 1.6, you can use the attached module (save it in your (layouts folder), 
which will, if it is loaded, automatically output all your comments as 
todonotes. The list of todonotes is produced by the ERT command \listoftodos.

Shortcomings:
- it gives an error if you have comments with multiple paragraphs and a 
\listoftodos (\todo notes are only for single paragraphs)
- it inserts blanks in the text (this is done by the package)

HTH,
Jürgen

[1] http://ctan.org/tex-archive/macros/latex/contrib/todonotes#\DeclareLyXModule{Todo-notes}
#DescriptionBegin
#Displays the LyX notes in the output. A list of todo notes can be produced
#by inserting \listoftodos in ERT.
#DescriptionEnd
# Author: Juergen Spitzmueller <[EMAIL PROTECTED]>

Format 11

Preamble
\RequirePackage{todonotes}
EndPreamble

InsetLayout Note:Comment
LabelString   comment/todo
LatexType command
LatexName todo
MultiPar  false
End



todonotes.pdf
Description: Adobe PDF document


Fwd: [Tugindia] Query on printing with 'screens'

2008-11-18 Thread Frederick Noronha [फ़रेदरिक नोरोनया]
Can you please help my friend seeking the info below? FN


-- Forwarded message --
From: Derek Cordeiro <[EMAIL PROTECTED]>
Date: 2008/11/18
Subject: Re: [Tugindia] Query on printing with 'screens'
To: TUGIndia Mailing List <[EMAIL PROTECTED]>


On Mon, Nov 17, 2008 at 11:43 AM, Nina Mazumdar <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 17, 2008 at 10:29 AM, Frederick Noronha [फ़रेदरिक नोरोनया]
> <[EMAIL PROTECTED]> wrote:
>> Hi all:
>>
>> I'm a Lyx user in Goa, and hope you won't mind me intruding.
>>
>> Every time I go in for a book, to be printed via offset, my printer
>> has a problem. He takes the PDF file and attempts to do crazy things
>> like importing it into Windows/Corel Draw, etc.
>>
>> He says the photos won't print because they don't have a screen.
>
> True, TeX does not add a screen to images as some of the proprietary
> systems like Quark, et al do.  But that is not an excuse for the

What extra information does an image with a "screen" have? Is it
half-toning information or something specific to the printer?
Will a higher resolution image or pdf with less compression help?

Regards,
Derek

P.S. I don't see any visible differences in the images in pdfs
generated by Quark or distiller when compared to pdflatex, which is
why I wish to clarify my doubts.
___
Home:http://www.tug.org.in/
TeX FAQ: http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia


-- 
FN * Independent Journalist http://fn.goa-india.org
Blog: http://fredericknoronha.wordpress.com
Tech links from South Asia: http://twitter.com/fn
M: +91-9822122436 P: +91-832-2409490


Re: Open a New Window in read-only mode?

2008-11-18 Thread Paul A. Rubin

Keith Roberts wrote:
Thanks Paul. That sounds feasable. I did edit the document in both 
windows! Maybe there could be an option in preferences to set the second 
or more window(s) to read-only mode? That will stop anyone from 
accidently editing the document in the other opened windows.




That would be IMHO a sensible thing.  You could enter it as an 
enhancement request in bugzilla.


/Paul



Re: Lyx 1.6 on ubuntu 8.04

2008-11-18 Thread Paul A. Rubin

Graham Smith wrote:
Has anyone installed 1.6 on Ubuntu 8.04?  Its available for Jaunty (as 
pointed out elsewhere on this forum), but not sure of the risks that may 
be involved.


I currently have 1.5.5 installed via the Ubuntu repository, should I 
uninstall this before installing 1.6, or is it a bad idea to install 1.6 
before its officially available for 8.04.


I am new to Linux, and still finding my feet with it.



Don't know about 8.04, but I installed LyX 1.6.0-1 on Ubuntu 8.10 
(Intrepid), and so far so good (in limited use).  Rather than building 
it myself, I installed a couple of .deb archives.  The steps are:


1.  Go to http://www.debian.org/mirror/list and pick a secondary mirror 
"near" you.


2.  In Ubuntu, go to System -> Administration -> Software Sources -> 
Third-Party Software, click Add, and add the mirror you chose.  The 
entry line will look like 'deb http://ftp.someserver.somedomain sid main'.


3.  After entering it, click 'Close' and then, when prompted, click 
'Reload' to update the package list.  Click through any messages you 
get, then wait until the sources window closes on its own.


3a.  I've had some odd results with mirrors not being accepted because 
certificates are out of date or something else goes splat.  So you might 
have to repeat 1-3 with a different mirror.  FWIW, the mirror at 
Michigan State is working for me.


4.  Now run System -> Administration -> Synaptic Package Manager and 
search for 'lyx'.  Among other things, it should turn up packages 'lyx' 
and 'lyx-common' (both at version 1.6.0-1).  Click 'lyx' and mark for 
installation.  That should also mark 'lyx-common' for installation, I 
think, but if not mark it yourself.  Then click 'Apply' and sit back 
while it installs.


/Paul



Re: Print list of notes

2008-11-18 Thread Nick Bell

Jürgen Spitzmüller wrote:

Nick Bell wrote:


Thanks for that, but how do I print a list of comments? Nick


With some trickery, you can redefine the LyX comments (not Notes,

though) to be output as todonotes. Using the todonotes package [1], this
gives output that might look like what you want. Attached is an example.
Provided that you use LyX LyX 1.6, you can use the attached module (save
it in your (layouts folder), which will, if it is loaded, automatically
output all your comments as todonotes. The list of todonotes is produced
by the ERT command \listoftodos.


Shortcomings: - it gives an error if you have comments with multiple
paragraphs and

a \listoftodos (\todo notes are only for single paragraphs)

- it inserts blanks in the text (this is done by the package)

HTH, Jürgen

[1] http://ctan.org/tex-archive/macros/latex/contrib/todonotes


That's very helpful, thanks. I altered the .module thus:
--todonotes.module
#\DeclareLyXModule{Todo-notes}
#DescriptionBegin
#Displays the LyX notes in the output. A list of todo notes can be produced
#by inserting \listoftodos in ERT.
#DescriptionEnd
# Author: Juergen Spitzmueller <[EMAIL PROTECTED]>

Format 11

Preamble
	\newcommand{\smalltodo}[1]{\todo[color=yellow, caption={#1}, 
size=\footnotesize]{\begin{spacing}{1}#1\end{spacing}}}	

EndPreamble

InsetLayout Note:Comment
LabelString   comment/todo
LatexType command
LatexName smalltodo
MultiPar  false
End
--

So that all todos are small, yellow and with single line spacing.
I also took the \requirepackage{todonotes} out of the module-preamble, 
and put it in the document manually, so that I can disable todonotes 
from time to time with \usepackage[disabled]{todonotes}.


Note that the todonotes package switches on hyperlinks in citations via 
hyperref, even when the todonotes package is disabled - but you can fix 
this in the Document Settings by enabling hyperref and making sure 'No 
frames around links' is ticked.


I would like to get in touch with the author about (i) the hyperref 
issue and (ii) the additional line space after the end of text in the 
comment box. Does anyone know where I might find him? There's no address 
on http://midtiby.blogspot.com/2008/07/todonotes-version-2008-07-28.html.


Many thanks - this is getting more fun!

Nick


Re: Standard State Symbol in Lyx

2008-11-18 Thread Paul A. Rubin

Tilman Schmidt wrote:

Hi,

how may I use the standard state symbol (\stst) in Lyx math mode?
Entering as TEX doesn't work (Undefined Control Sequence).

Please  compare
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Page 91 on how the symbol looks.

Thanks for your suggestions.

Regards,

Tilman Schmidt



In the "letter" version of the symbols list, \stst is defined by a 
macro; it is not a standard symbol.  To use it, you need to put the 
definition into the document preamble (then put \stst in the body in TeX).


/Paul



citation style does not mention " et. al." as promised

2008-11-18 Thread Manoj Rajagopalan

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the " et. al." Citation style from the 
Formatting section of the Citation dialog. This is supposed to give me 
reference of the form " et. al. [ref#] ...". However, when I 
view the DVI I only see text like "[ref#] ..." without the author's name 
as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


Thanks,
Manoj


Re: Lyx 1.6 on ubuntu 8.04

2008-11-18 Thread Graham Smith

Paul,

Thanks, but I have a a question below.

Don't know about 8.04, but I installed LyX 1.6.0-1 on Ubuntu 8.10 
(Intrepid), and so far so good (in limited use).  Rather than building 
it myself, I installed a couple of .deb archives.  The steps are:


1.  Go to http://www.debian.org/mirror/list and pick a secondary mirror 
"near" you.


2.  In Ubuntu, go to System -> Administration -> Software Sources -> 
Third-Party Software, click Add, and add the mirror you chose.  The 
entry line will look like 'deb http://ftp.someserver.somedomain sid main'.


Will this result in all packages being updated through the deb 
repository rather than the Ubuntu repository?


Or does the "sid" bit restrict it to the Lyx files.

You also talk about adding a "couple" of repositories. but only list 
one. Or, by a couple do you mean lyx and lyx-common ?


Sorry for basic questions :-(

Graham




Re: Amazon Kindle Conversion from Lyx?

2008-11-18 Thread David A. Case
On Tue, Nov 18, 2008, Jonathan Kroner wrote:
> 
> 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.

Sounds like MS Word is the closest fit to your document, so you might consider
that route.  There are lots of ways to do this, but tex2word (just Google for
it) has worked well for me.  (I have *not* used this to create Kindle files,
just to create Word files).

...good luck...dave case



  1   2   >