Re: Text class not found

2001-11-21 Thread Christopher M. Jones

Edit->Reconfigure and restart lyx.

On Wednesday 21 November 2001 11:08 pm, you wrote:
> I'm getting "Document uses an unknown text class X" when opening an
> document.
> How do I fix this? I put the file X.layout in /usr/share/lyx/layouts and
> also in my ~/.lyx/layouts catalog
> but is something more needed for LyX to find the file?
>
> Martin S



Text class not found

2001-11-21 Thread Martin

I'm getting "Document uses an unknown text class X" when opening an
document.
How do I fix this? I put the file X.layout in /usr/share/lyx/layouts and
also in my ~/.lyx/layouts catalog 
but is something more needed for LyX to find the file?

Martin S






Re: PNG gets transalted multiple times?

2001-11-21 Thread Laurent Duperval

On 21 Nov, Dekel Tsur wrote:
> 1) HTML
> This seems like a problem of the latex2html converter (do you use
> latex2html ?). Some converters (e.g. tth) will not create PNG if they
> find existing PNG.

Ys, I use l2h.

> You can solve the problem with latex2html by using the following ERT
> for each image:
> 
> \latex{insert image inset here}
> \begin{rawhtml}\end{rawhtml}
> 
> Since it is tiresome to do it for each image, you can write a perl
> script that takes a latex file, and replaces each
> \includegraphics{foo.eps} command by
>  \latex{\includegraphics{foo.eps}}
>  \begin{rawhtml}\end{rawhtml}
> 

Ok, I'll look at that.

> 2) PDF
> Lyx doesn't do any image conversion when creating PDF.
> Do you use an external script (tex2pdf), or do you use the CVS version
> of lyx ?

I'm using the CVS version of lyx.

L

-- 
Laurent Duperval 

On ne chiffrera jamais assez  le prix de la honte!
 -Le commerçant d'Achille Talon




Re: A couple of LyX usage questions

2001-11-21 Thread Laurent Duperval

On 21 Nov, Dekel Tsur wrote:
>> Sigh, I should sleep more. I've got *figures* with only text in them
>> and they come out as images in the HTML output. They're fine in PDF
>> and Postscript, though.
> 
> This is a problem of latex2html.
> tth can convert text in floats fine.

Ok, guess I'll try tth.

L

-- 
Laurent Duperval 

Noël sans sapin, c'est comme un théorème sans corrolaire: ça ne
ressemble à rien!
 -Achille Talon




Condensing spacing in table of contents?

2001-11-21 Thread Steve Litt

Hi all,

When taken down to level 4 (subsection), my table of contents is 30 pages 
long, which is too long for a mail order book. The lines appear to be double 
spaced, which I think is overkill. Anyone know how to reduce the spacing 
between lines in the table of contents?

Thanks

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.







Re: BibTeX style problem

2001-11-21 Thread Guido

Many thanks again to those who suggested me to use natbib. It works 
very well  when the publisher asks an "American type" of 
quotation. For an Italian style (similar to the "oxford" family) I 
still must find a perfect style and I think I'll try to adapt 
oxford to the Italian needs.

All the best from here,
gm

 --
 E-Mail: Guido Milanese <[EMAIL PROTECTED]>
 Vocal Ensemble Ars Antiqua, Genova, Italia
 Homepage: http://www.arsantiqua.org
 + + + + + + NON NOBIS DOMINE + + + + + + +
 --



Pybliographic problem

2001-11-21 Thread Guido

[slightly OT, excuse me]
After re-installing pybliographic, I found some little problems. Checking the 
messages produced both by pybliographer (= command line) and pybliographic 
(GUI) I read this and similar messages:

WARNING: Python C API version mismatch for module _recode:
  This Python has API version 1009, module _recode has version 1010.
WARNING: Python C API version mismatch for module _bibtex:
  This Python has API version 1009, module _bibtex has version 1010.

What should I do? I have python 2.0; I am not familiar with that language.

Thanks!
gm

Guido Milanese
Ars Antiqua, Genova, Italy
http://www.arsantiqua.org





Re: Enumerate and figures: numbering starts at '1' again

2001-11-21 Thread Renaud MICHEL

Le Mercredi 21 Novembre 2001 18:57, vous avez écrit :
> Hi,
>
> I want to make a document which consists of  the LaTeX-code 'enumerate'.
> Some 'sections' have figures in it (.eps). My problem is, that after
> insertion of a figure, the enumeration begins at '1' again.
>
> Like:
>
> 1. bla, bla
> 2. blablabla
>
> 1. blabla
>
> Of course, this isn't what I want.
> Are there possibillities to avoid this.

You must change the depth of the paragraph the figure is in (see sample file)

PS : the wave in your signature is pretty cool :-)

-- 
Je n'ai rien contre les gens qui regardent leur montre quand je parle.
Mais je ne suis pas du tout d'accord quand ils commencent a la secouer
pour etre surs qu'elle marche encore.
-- Lord Birkett

Renaud MICHEL


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language frenchb
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

\begin_float fig 
\layout Standard
\align center 

\begin_inset Figure size 100 100
flags 9

\end_inset 


\hfill 

\begin_inset Figure size 100 100
flags 9

\end_inset 


\layout Caption

\end_float 
\the_end



AW: lyx install on a win 2000 machine

2001-11-21 Thread Steffen Seufert

Hi Kent,

maybe something is wrong with your miktex-installation, not with lyx.
To find this out export your text to latex-format within lyx.
Then open a command prompt and change currentdir to the doc-dir and
use "texify -p mytext.tex".
If that doesn't work, your miktex/bibtex installation is
corrupt.

CU
Steffen

-Ursprüngliche Nachricht-
Von: Kent Kostuk [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 20. November 2001 18:20
An: Steffen Seufert; [EMAIL PROTECTED]
Betreff: Re: lyx install on a win 2000 machine


Thanks for the input, but that didn't resolve the problem.

The only difference between before and after your advice is that now a
windows command window appears during the process.

Kent




Re: Hyphenation in citation reference

2001-11-21 Thread Dekel Tsur

On Wed, Nov 21, 2001 at 10:17:49AM +0100, Giorgio Corani wrote:
> I'm writing a paper, using the class "article".
> The problem I have is that hyphenation works fine on the text, but
> doesn't work with citation reference.
> In facts, lines which terminate with a citation reference go out of the
> right margin. 
> Can someone help me?

Which bibliography style you use ?
DO you use a bibliography package (e.g. harvard,natbib) ? 



Re: PNG gets transalted multiple times?

2001-11-21 Thread Dekel Tsur

On Tue, Nov 20, 2001 at 10:58:43PM -0500, Laurent Duperval wrote:
> I'm working on a document that uses PNG files and when I export to HTML
> or to PDF, it looks like the image gets converted from PNG to EPS back
> to PNG. That slows the process considerably. Is there a way to prevent
> this, and to use the PNG files as is, 'specially for PDF and HTML?

1) HTML
This seems like a problem of the latex2html converter (do you use
latex2html ?). Some converters (e.g. tth) will not create PNG if they find
existing PNG.
You can solve the problem with latex2html by using the following ERT for 
each image:

\latex{insert image inset here}
\begin{rawhtml}\end{rawhtml}

Since it is tiresome to do it for each image, you can write a perl script that
takes a latex file, and replaces each \includegraphics{foo.eps} command
by 
 \latex{\includegraphics{foo.eps}}
 \begin{rawhtml}\end{rawhtml}

2) PDF
Lyx doesn't do any image conversion when creating PDF.
Do you use an external script (tex2pdf), or do you use the CVS version of lyx ?



Re: Automatic indexing?

2001-11-21 Thread Steve Litt

On Sunday 11 November 2001 18:48, Steve Litt wrote:
> I need to index my 117,000 word book, written in a slightly modified Book
> document class. This thing's much too big to go through every page
> inserting indexing entries. What I'd like to do is make a list of words and
> terms, and have Lyx place the indexing entries and build the index.
>
> Worst case I could make a Perl script to find words and phrases, and insert
> the indexing entries. But I bet LyX has a built-in method to do this.
>
> Anyone know?
>
> Thanks
>
> Steve

I asked this question 10 days ago, when I was much younger and much more 
innocent. I've spent the last week indexing my 117,000 word book, and can 
tell you any automated solution would IMHO create an index useless to the 
reader. What to include, what to exclude, what to call it, and the desired 
index hierarchy requires judgement calls based not only on words, but on 
subtleties of their context. 

It's a long, hairy process. When I wrote Samba Unleashed, Macmillan had 
people whose job title was "indexer". These people were experts on indexing a 
book. Whole books have been written on the subtleties of good book indexing. 
We're not talking the technology here -- we're talking the organization and 
inclusion.

If you'll be indexing your book, here are some suggestions:

* If you use Mandrake, there's a bug covered later in this email.
* If you can afford to hire an expert indexer, that might be a good idea.
* Make a list of all words in your book, and use that to give you indexing 
ideas.
* Use your table of contents to give you ideas of very important items to be 
indexed.
* Place your list of see's and seealso's directly above the index. Use that 
list to give yourself ideas about inclusion and hierarchy.
* If an indexed word occurs in a heading, you'll probably want to make its 
entire section a range, using |( in the heading and |) at the end of the 
section. Then don't search individual occurrences of that index term within 
the section.
* Before beginning your indexing tasks, read the following documentation:
** Extended.lyx->1.3 Making an Index
** Reference.lyx->3.5.3 index-insert, 3.5.4 index-print, 
** /usr/share/texmf/doc/makeindex/makeindex.dvi
** In the preceding file, especially read section "When, Why, What and How to 
Index". It gives you technology-independent indexing rules of the road.
** You may want to skim the VERY difficult doc 
/usr/share/texmf/doc/makeindex/ind.dvi, but if it confuses you don't.

* If you're using Mandrake, there's an auto-indexing bug. The workaround is 
this shellscript:

rm -f $1.aux
rm -f $1.dvi
rm -f $1.idx
rm -f $1.ilg
rm -f $1.ind
rm -f $1.log
rm -f $1.tex
rm -f $1.toc
lyx --export latex $1.lyx
latex $1.tex
makeindex $1.idx
konqueror $1.ind $1.ilg

If $1.ilg shows no warnings or errors, copy $1.ind into the bottom of your 
document and make it ERT. (Many thanks to Paul Benham for this workaround).

If $1.ilg shows errors, look up the page number and nature of those errors in 
$1.idx, then find the document section(s) for that page in an up-to-date 
postscript file, and then find the document section in the LyX file and fix 
the problem.

Indexing is like working in the salt mines. It's tedious, uncomfortable, 
exhausting and error prone. Perhaps this email will at least prevent you from 
getting stuck on indexing technologies, allowing you more time to get stuck 
on indexing philosophy. :-)

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.







Re: \mathbb{R}

2001-11-21 Thread Oscar Lopez

[EMAIL PROTECTED] wrote:
> 
> Hola
> 
> Tengo un problema cuando intento poner letras tipo mathbb. Antepongo a
> la letra el codigo latex \mathbb{R}, por ejemplo, pero me da error de
> Latex cuando quiero ver el pdflatex. Trabajo con la version 1.1.6fix1
> 

Layout->Document->Extra->Use AMS Math

and then

m \mathbb{ R

Please, try to ask your questions in english because the language of the
list is english. If you do so, most people will help you

Hope it helps

> Gracias

-- 
http://www.iit.upco.es/~oscar
Look ere ye leap.
-- John Heywood



Enumerate and figures: numbering starts at '1' again

2001-11-21 Thread Zarathustra

Hi,

I want to make a document which consists of  the LaTeX-code 'enumerate'. Some 
'sections' have figures in it (.eps). My problem is, that after insertion of 
a figure, the enumeration begins at '1' again.

Like:

1. bla, bla
2. blablabla
   
1. blabla

Of course, this isn't what I want.
Are there possibillities to avoid this.

Thanks, Zarathustra

P.S. Lyx_1.1.6fix2 

-- 
http://rawa.fancymarketing.net/s-photos.htm

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
* Don't upgrade to Windows XP
Instead, you better get LINUX for free!
  http://www.linux.org/ *
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø

System: AMD-K6 350, 192MB. OS: SuSE 7.2, Kernel: 2.4.4



Re: A couple of LyX usage questions

2001-11-21 Thread Dekel Tsur

On Tue, Nov 20, 2001 at 10:53:17PM -0500, Laurent Duperval wrote:
> On 20 Nov, Dekel Tsur wrote:
> >> - When exporting HTML, I have some tables with only text in them. Is
> >>   it possible to get the text to remain as text in the HTML output?
> >>   As it stands now, it's text in PDF, PS and DVI but an image in
> >>   HTML.
> > 
> > What is your latex->html converter ?
> > I checked both latex2html and tth, and their both export tables
> > correctly (though tth doesn't work with a longtable).
> > 
> 
> Sigh, I should sleep more. I've got *figures* with only text in them and
> they come out as images in the HTML output. They're fine in PDF and
> Postscript, though.

This is a problem of latex2html.
tth can convert text in floats fine.



\mathbb{R}

2001-11-21 Thread t1804706

Hola

Tengo un problema cuando intento poner letras tipo mathbb. Antepongo a
la letra el codigo latex \mathbb{R}, por ejemplo, pero me da error de
Latex cuando quiero ver el pdflatex. Trabajo con la version 1.1.6fix1

Gracias



\mathbb{R}

2001-11-21 Thread t1804706

Hola

Tengo un problema cuando intento poner letras tipo mathbb. Antepongo a
la letra el codigo latex \mathbb{R}, por ejemplo, pero me da error de
Latex cuando quiero ver el pdflatex. Trabajo con la version 1.1.6fix1

Gracias



Re: Enlarging fonts

2001-11-21 Thread Renaud MICHEL

Le Mercredi 21 Novembre 2001 15:53, vous avez écrit :
> > On Wed, 21 Nov 2001 08:36:55 -0600, "Rem" <[EMAIL PROTECTED]>
> > said:
>
> R> Assuming you want to change the fontsize in your document.  Try
> R> this (if you have not already) Layout > Document fontsize 12
>
> I already tried that, but the fonts are still smaller than ideal.

So you need more then 12 pt, you should try the 
ext{book,article,letter,report} class, they allow you to define smaller (8 
and 9) or bigger (14 17 and 20) font size but you must install first the 
extsizes package (don't remember how I got it, you should search the ML, 
anyone there know?).

-- 
 J'ai eu comme réponse "Votre message a été rejeté parce que c'est un 
 troll gratuit et sans intérêt" Signé Les modérateurs.Est-il possible de
 connaître le nom de messieurs "les modérateurs" de fr.usenet.logiciel?
 -+- DT in GGE : L'intérêt de la modération par l'exemple -+-

Renaud MICHEL



Re: Enlarging fonts

2001-11-21 Thread Lele Gaifax

> On Wed, 21 Nov 2001 08:36:55 -0600, "Rem" <[EMAIL PROTECTED]> said:

R> Assuming you want to change the fontsize in your document.  Try
R> this (if you have not already) Layout > Document fontsize 12

I already tried that, but the fonts are still smaller than ideal.

R> If you are talking about reading it on the screen zoom the
R> document in your pdf viewer. Is your printout okay?

With `pdfscreen' you get a "visual"-friendly version of the document,
where the pages have the same aspect-ratio as the monitor. By zooming
them, the benefit of using it would be lost.

bye&thanx,
lele.
-- 
nickname: Lele Gaifax   | Quando vivro' di quello che ho pensato ieri
real: Emanuele Gaifas   | comincero' ad aver paura di chi mi copia.
email: [EMAIL PROTECTED]  |   -- Fortunato Depero, 1929.




orthographic correction

2001-11-21 Thread Oscar Acosta

How can i make the orthographic correction on-line?
with the words bolded or with the specific markers, when there is an
error.

Odat





Re: Enlarging fonts

2001-11-21 Thread Rem

Assuming you want to change the fontsize in your document.
Try this (if you have not already)
Layout > Document
fontsize 12

If you are talking about reading it on the screen zoom the document in your
pdf viewer. Is your printout okay?

- Original Message -
From: "Lele Gaifax" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 21, 2001 8:28 AM
Subject: Enlarging fonts


> Hi all,
>
> I'm writing a book from which I will derive both a .dvi for
> printing and a .pdf, using pdfscreen, for an interactive read.
>
> Now I'm facing the fact that the fonts are too small in the pdf
> version, and I'd like to enlarge them all. How can it be done?
>
> thanx in advance,
> bye, lele.
> --
> nickname: Lele Gaifax | Quando vivro' di quello che ho pensato ieri
> real: Emanuele Gaifas | comincero' ad aver paura di chi mi copia.
> email: [EMAIL PROTECTED] | -- Fortunato Depero, 1929.
>




Enlarging fonts

2001-11-21 Thread Lele Gaifax

Hi all,

I'm writing a book from which I will derive both a .dvi for
printing and a .pdf, using pdfscreen, for an interactive read.

Now I'm facing the fact that the fonts are too small in the pdf
version, and I'd like to enlarge them all. How can it be done?

thanx in advance,
bye, lele.
-- 
nickname: Lele Gaifax   | Quando vivro' di quello che ho pensato ieri
real: Emanuele Gaifas   | comincero' ad aver paura di chi mi copia.
email: [EMAIL PROTECTED]  |   -- Fortunato Depero, 1929.




Re: Chapter numbering

2001-11-21 Thread Juergen Fenn

Am 21.11.01, 11:19:26, schrieb Lindsey Bangay <[EMAIL PROTECTED]> zum Thema 
Chapter numbering:

> I would like module to have a toc  and an index. If I do them as 2 
separate
> books, then the second book starts at chp 1 not 6. {This should be easily
> done with a counter reset but I am not sure how to do this. 

Include in your LyX document in TeX mode

\setcounter{chapter}{n}

before the first chapter of part two. „n“ stands for the number of the 
chapter part two starts with _minus_one_, as chapter counter is 
incremented with each \chapter command in LaTeX. That is at least what 
Mr. Kopka, author of the German Bible for LaTeX, recommends.

> I have scanned
> Herberts site and the mail archives} If I do them as 2 parts then how do 
I
> get a toc and index for each module?

If you do the modules as two LyX docs each module in the end will be a 
seperate LaTeX document. I think this is the best way to achieve it.

Hope this helps.

Regards,
Juergen.



Chapter numbering

2001-11-21 Thread Lindsey Bangay

HI

I have to set up a document which is printed in 2 parts 

Module 1
toc
  Chp 1 
..
  Chp 5
indx

Module 2
toc
   Chp6 
..
  Chp 12
indx

I would like module to have a toc  and an index. If I do them as 2 separate 
books, then the second book starts at chp 1 not 6. {This should be easily 
done with a counter reset but I am not sure how to do this. I have scanned 
Herberts site and the mail archives} If I do them as 2 parts then how do I 
get a toc and index for each module?

Also, how does one add leader dots in eqn numbering? As in

 maths-eqn (1)

Thanks for your help

Lindsey

Lindsey Bangay
Department of Statistics
Rhodes University, Grahamstown, South Africa
"Views expressed are my own"




Hyphenation in citation reference

2001-11-21 Thread Giorgio Corani

I'm writing a paper, using the class "article".
The problem I have is that hyphenation works fine on the text, but
doesn't work with citation reference.
In facts, lines which terminate with a citation reference go out of the
right margin. 
Can someone help me?

regards, Giorgio



Re: segmentation fault when starting lyx with mandrake 8.0

2001-11-21 Thread Jean-Marc Lasgouttes

> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:

Allan> Without a backtrace from gdb I'm just guessing but it looks
Allan> like you have an xforms library compiled for a different
Allan> version of glibc.

Allan> Get yourself a copy of xforms compiled for glibc-2.1 or later.

Allan> I think Kayvan has one at ftp.sylvan.com/pub/lyx

And there it is also present at ftp.lyx.org/pub/lyx/contrib

JMarc