Show entry type in References

2006-05-17 Thread Ares

Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego


Equation numbering corresponding to section number

2006-05-22 Thread Ares

Hi all,
I tried
\numberwithin{equation}{chapter}
but i get the error messages:
1) Missing \begin{document}
2) Undefined control sequence.
\numberwithin
 {equation}{chapter}

What else should I know?

Thanks for support
Diego


Show entry type in References

2006-06-04 Thread Ares

I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego


Show entry type in References

2006-06-05 Thread Ares

I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option Add
bibliography to TOC in the BibTeX generated bibliography dialog.

What I did is to define the Bibliography section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings -- Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option printheadings (in
Document-Settings-Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package splitbib might help).

Jürgen


Bibliography in TOC [Was: Show entry type in References]

2006-06-05 Thread Ares

I managed to get the Bibliography in TOC in the output file by using the TeX
command \backmatter right before the Bibliography Chapter (not Chapter*) and
preceded by a page break. See:
http://groups.google.com/group/comp.text.tex/browse_thread/thread/ce999aa747cf4a3e/36b1505bedbf3288?q=starred+TOCrnum=1#36b1505bedbf3288


In this way, inside LyX you get the Bibliography chapter numbered, and as an
appendix (if you have, as in my case, appendixes), also appearing in LyX
file TOC. When you view the pdf, for example, you get a nice Bibliography
title (without number) in TOC of the compiled document.

Perhaps it is a dirty trick, but it works...

Anyway the Document settings -- Numbering and TOC pane does not work... is
it a bug? how to report it?

Regards,
Diego



-- Forwarded message --
From: Ares [EMAIL PROTECTED]
Date: 5-giu-2006 10.58
Subject: Show entry type in References
To: lyx-users@lists.lyx.org



I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option Add
bibliography to TOC in the BibTeX generated bibliography dialog.

What I did is to define the Bibliography section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings -- Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option printheadings (in
Document-Settings-Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package splitbib might help).

Jürgen


Hacking bst files... [Was: Show entry type in References]

2006-06-05 Thread Ares

As I wrote in a previous post, I would like the references of my PhD thesis
to be arranged as follows:


References

Articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...


LyX 1.4.1 supports sectioned bibliography, so it is possible to split the
Bibliography chapter in sections.

In order to have the citation as [Art1] and [Book1] etc, I need to hack a
bst file, as suggested by Jürgen. I had a look to plain.bst and it doesn't
sound so easy!

In the end I would just like to add a prefix (Book, Art etc) to the
reference numbering and to use a separate bst file for each entry (Books,
Articles etc), so that the numbering starts with each section.

Is there a resource where I can find how bst files work? or is there someone
who can help me?

Thanks for support,
Diego


Re: lyx-users Digest 8 Jun 2006 00:42:35 -0000 Issue 1922

2006-06-08 Thread Ares

Sara wrote:


I think that a much easier way to get a bst file than to start hack it
is to use the makebst utility. (run latex makebst) Then you get a series
of multiple choice question on how you want to format oyur
bibliographical entries.



I already tried makebst utility but one of the (probably few) things you can
*not* do with it is modifying the label (as I want them, i.e. [Book1],
[Book2] and [Article1], [Article2] etc), unless modifying the dbj file
allows you to do things you cannot do with the makebst interface...
I think hacking the bst file (following the guidelines provided by Richard
Heck in a previous post) is the only way, unless someone already did
exactly  the same thing as I want, which is pretty difficult to find!!!

Thanks anyway,
Diego (Ares)


exporting to html

2006-06-11 Thread Ares

Hello everyone,
I'm trying to export my lyx file to html (on Win) but LyX gets stuck on
it... is it a known bug?

CU
Diego


Re: lyx-users Digest 8 Jun 2006 00:42:35 -0000 Issue 1922

2006-06-17 Thread Ares

Hello everyone,
I exported my PhD thesis LyX file to html by exporting from LyX to
latex and then running htlatex, bibtex'ing each aux file corresponding
to each bib file included (I have sectioned bibliography, i.e. I'm
using bibtopic in LyX, I guess). I also found somewhere that the bug
with exporting to html from LyX may be related to the use of bibtex
itself.

Now I have a new problem: equations in the object html document don't
show as figures but rather as:

  (   )T  G(x,y) =  ∂I, ∂I∂x ∂y -- in Firefox


  (2.1)
    in MS internet explorer

I think it is a mix of misinterpreted figure and text...

I had a look on various discussion groups but couldn't find any
problem report like this. Have any hint on this? What kind of
information is needed to detect the problem source?

Thanks for your support,
Diego


Re: lyx-users Digest 8 Jun 2006 00:42:35 -0000 Issue 1922

2006-06-20 Thread Ares

I think the problem is with ImageMagick (convert utility), which cannot
find GhostScript executable or some related file as gs_init.ps.
ImageMagick in fact uses other programs (as GhostScript) to manage
different file type (as eps). these programs are called coder modules
and must reside in ImageMagick path.

I'm waiting for some feedback from ImageMagick user list on how to add
program directory to ImageMagick coder module search path.

Regards,
Diego

2006/6/20, Stephen Harris [EMAIL PROTECTED]:

Ares wrote:
 Hello everyone,
 I exported my PhD thesis LyX file to html by exporting from LyX to
 latex and then running htlatex, bibtex'ing each aux file corresponding
 to each bib file included (I have sectioned bibliography, i.e. I'm
 using bibtopic in LyX, I guess). I also found somewhere that the bug
 with exporting to html from LyX may be related to the use of bibtex
 itself.

 Now I have a new problem: equations in the object html document don't
 show as figures but rather as:

   (   )T  G(x,y) =  ∂I, ∂I∂x ∂y -- in Firefox


   (2.1)
 in MS internet explorer

 I think it is a mix of misinterpreted figure and text...

 I had a look on various discussion groups but couldn't find any
 problem report like this. Have any hint on this? What kind of
 information is needed to detect the problem source?

 Thanks for your support,
 Diego



you're right (of course I didn't think that there's more than one
utility named convert on my machine...).

I tried

c:\...\convert foo.eps foo.jpg

with both versions 6.2.8-Q16 (dynamic DLL) and 6.2.7.2 (bundled in LyX
win installer) and I get respectively the following error messages

SH: Remember that the generic foo.eps needs to be an
existing file in the directory that you run convert.

http://gallery.menalto.com/node/49736
convert.exe: no decode delegate for this image format

There are several instances of this error message on Google.
Apparently there is a corrupt file or some type of conflict.

http://redux.imagemagick.org/discussion-server/viewtopic.php?t=4450;

ImageMagick Studio appears to be a different product than
ImageMagick. Make sure you didn't use a Linux version that
ends with a tar.gz. Most people thought the problem was with
ImageMagick rather than Ghostscript.

Regards,
Stephen

It is not always safe to have two different versions of the
same .dll, they can cause conflicts just as two different
versions of convert will can conflict. For instance the
Msys sh.exe needed to run LyX scripts works, but not the
sh.exe which comes with Cygwin which some Windows users
have on their machines.

Try renaming the 6.2.8.dll to 6.2.8.dllbak and then run
convert someimagefile.* to a different someimagefile.*
where the * is a jpg or png or eps, some image format
that is small that you have on hand for a test. Run this
from the directory where the LyXWininstaller has put
C:\ImageMagick with the test file in the same directory.

Putting cross-ported program in directories which have
spaces in them, like Program files, can create odd errors.



Re: htlatex html conversion best methods

2006-06-30 Thread Ares

From: Helge Hafting [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 29 Jun 2006 11:10:22 +0200
Subject: Re: htlatex html conversion best methods

Steve Harris wrote:

 Well, both Ares and me use default configurations and my htlatex
 process produces good quality images but his doesn't and they
 display differently to me than the ones I produce.
Maybe you have a better set of fonts?

Helge Hafting


I tried installing Bakoma4LyX (just by copying the fonts in my font
folder or whatever) and it didn't give any better result.

- Diego (Ares)


equation image quality with htlatex [Was: Re: lyx-users Digest 6 Jul 2006 12:56:26 -0000 Issue 1946]

2006-07-06 Thread Ares

From: Eitan Gurari [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 6 Jul 2006 01:03:11 -0400
Subject: Re: lyx-users Digest 26 Jun 2006 15:12:57 - Issue 1937



  It worked very well with a slight exception. I see well close up,
  and the math equations produced are 15-20% too small. Many people
  could not read them as they are. The .jpgs are not the same size
  as the math equations displayed as when .png files are selected.
  No doubt the remedy is already contained in the documentation.
 
  They are very distinct and not blurry, if you see well close up.
  I also noticed that the tex4ht-bin had been updated May 19, 2006
  and I didn't have it. So I downloaded it and it made no apparent
  change to the quality of the htlatex outputted web page/images.

Typically, the quality of images can be improved by using outline
fonts, changing the parameters of the conversion utilities invoked
through the G-scripts of tex4ht.env, and controlling the size of the
fonts used in the source files.  -eitan



I see, but this is not easy to modify tex4ht.env and I don't
understand where I can find (detailed) descriptions about how to do
that on the documentation. maybe it's me, otherwise put it in the wish
list...

Regards,
Diego


My webpage about LY X, LATEX and BibTEX

2006-08-02 Thread Ares

Hello everyone,
I published a page about my tips and tricks on  LyX, LATEX and BibTEX at:

http://www.webalice.it/ares001/job/Tips.htm

Let me know if you find it useful or if you find any error...

Regards,
Diego


threeparttable in LyX?

2006-08-04 Thread Ares

Hello everyone,

does someone know if it is possible to use the threeparttable package
in LyX and how?

Regards,
Diego


Fwd: threeparttable in LyX?

2006-08-05 Thread Ares

From: Ares [EMAIL PROTECTED]
Date: 4-ago-2006 19.47
Subject: threeparttable in LyX?
To: lyx-users@lists.lyx.org

does someone know if it is possible to use the threeparttable package
in LyX and how?



no one is interested in this problem? in the meanwhile I just tried to
put the threeparttable package commands in a ERT box inside the table
float, that is:

|float: Table|
- - - - - - - - - - - - - - - -
|ERT| \begin{center}
\begin{threeparttable}

normal LyX table with footnotes as:
|ERT| \tnote{a}
|ERT| \tnote{b}
and other material

|ERT| \begin{tablenotes}
\item[a] Centre of Mass
\item[b] Centre of pressure
\end{tablenotes}
\end{threeparttable}
\end{center}
- - - - - - - - - - - - - - - -

It works (of course) except that I don't know how to make the
numbering automatic. I guess I should read the documentation of the
threeparttable package!


Regards,
Diego


spellcheck problems when pasting from a document with different language

2006-09-08 Thread Ares

Hello everyone,
I have a problem with the spellchecker language when pasting some text
from a document written in a different language.
To be more specific, I have a paper written in English and a PhD
thesis in Italian. I want to copy and paste some stuff (like formulae,
acronyms etc) from one to the other, but what I get in the document is
test underlined, that is LyX keeps the language information with text
so that when I do spellcheck the spellchecker deals with new text as
if it was in the old language. This would not be annoying, except that
LyX keeps the old language if keep writing on the same line of the
pasted text, so that now I have plenty of pages in Italian that are
treated as English (so no spellchecking!).

I hope I was clear...please tell me if there's some way to tell LyX
that those lines are actually in Italian, or if I made any mistake.

Regards,
Diego


Re: spellcheck problems when pasting from a document with different language

2006-09-09 Thread Ares

2006/9/8, Helge Hafting [EMAIL PROTECTED]:

Ares wrote:
 Hello everyone,
 I have a problem with the spellchecker language when pasting some text
 from a document written in a different language.
 To be more specific, I have a paper written in English and a PhD
 thesis in Italian. I want to copy and paste some stuff (like formulae,
 acronyms etc) from one to the other, but what I get in the document is
 test underlined, that is LyX keeps the language information with text
 so that when I do spellcheck the spellchecker deals with new text as
 if it was in the old language. This would not be annoying, except that
 LyX keeps the old language if keep writing on the same line of the
 pasted text, so that now I have plenty of pages in Italian that are
 treated as English (so no spellchecking!).

 I hope I was clear...please tell me if there's some way to tell LyX
 that those lines are actually in Italian, or if I made any mistake.
Yes, there is an easy way. Mark the Italian text that LyX mistakes
for english. Then use the menu edit-text style  (for lyx 1.4.x)
or layout-tex (for lyx 1.3.x and earlier)

You get a dialog box where one of the things you may change
is language. Set it to Italian and you'll be fine.


Next time, use this dialog as soon as the language goes wrong,
thereby avoiding lots of text marked with the wrong language.


Helge Hafting



thanks, it worked...my problem was I didn't think I could find aome
language setting in the text layout...

Regards,
Diego


Problem with Algorithm label language

2006-09-18 Thread Ares

Hello everyone,
I'm trying to use a Float Algorithm in my document. The language I set
is Italian, but when I export to pdf (pdflatex), The Algorithm label
in the output is in English instead. This does not happen with all the
other labels (Figures and Tables), which are printed correctly (in
Italian) in the output pdf.
Any idea of what's going on?

Thanks for your support,
Diego


Re: Problem with Algorithm label language

2006-09-19 Thread Ares

From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Mon, 18 Sep 2006 09:44:19 +0200
Subject: Re: Problem with Algorithm label language
Ares wrote:
 The Algorithm label
 in the output is in English instead. This does not happen with all the
 other labels (Figures and Tables), which are printed correctly (in
 Italian) in the output pdf.
 Any idea of what's going on?

http://wiki.lyx.org/LyX/I18nLabels

Jürgen



I forgot to mention that I'm using a master document with all included
files. Now I realize that I have problems with referencing to the
algorithm even without trying to change the label language.
In fact, when I export to pdflatex my master.lyx I get the undefined
control sequence error message related to \ref{alg:label}. This
does not happen with other document master-included, so I guess
there's some conflict with other packages I'm using. Anyway I'm sure
that the algo referencing worked before trying to modify the algo
label language

Anyway I also tried
\floatname{algorithm}{Algoritmo}
but it didn't work...

Again, any idea of what's going on?
Diego


Re: Problem with Algorithm label language

2006-09-19 Thread Ares

From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Tue, 19 Sep 2006 13:08:54 +0200
Subject: Re: Problem with Algorithm label language
Ares wrote:
 In fact, when I export to pdflatex my master.lyx I get the undefined
 control sequence error message related to \ref{alg:label}.

Please give the full error message.

Jürgen


I'll be more specific, because this looks quite weird to me (but I
know there's a simple solution to it)...

I have master.lyx, where I insert several child documents (iclude
type: include). I'm using several packages, and there's some extra
line of code in the preamble that worked well so far.
In one of these chile docs I write:

This algorithm [alg:test] is a test:
float: Algorithm: Algorithm#: [alg: tes] Test algorithm

When I do exportpdflatex I get the following error message during 2nd
LaTeX run:

Undefined control sequence
This algorithm \ref{alg: test}
 is a test:
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
mispelled it (cut)


The very strange things are that:
1) I don't get any such error when I do the same with a new set of
files (master  child), or 2) with the original child doc alone (where
the algorithm float is found).
so I guess this might be related to the preamble stuff or so.

I can attach the preamble, or the whole document if you think it helps.

Thanks for your support,
Diego


Re: Problem with Algorithm label language

2006-09-20 Thread Ares

I made some tests and I guess the problem is definetly related to
package hyperref:
\usepackage[bookmarks]{hyperref}

If I don't use it, and remove following code, no problem:

\addcontentsline{toc}{chapter}{Indice}
\listoffigures \addcontentsline{toc}{chapter}{Elenco delle figure}
\listoftables \addcontentsline{toc}{chapter}{Elenco delle tabelle}

I think there's something that messes up things with the algorithm stuff...

Regards,
Diego


Re: Problem with Algorithm label language

2006-09-22 Thread Ares

Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote


Could you try to play with the ordering of the various bits in the
preamble of the TeX file? One reason why we do not support hyperref
directly yet is that loading order seems to be difficult to get right.



there's not much to play with. if I load hyperref in the preamble, I get
everything correct until it comes to the \ref{alg:label} command, where I
get the undefined control sequence error message, as if hyperref
overwrites the alg mechanism but not the other label/references.

Juergen Spitzmueller [EMAIL PROTECTED] wrote


I still don't understand. Please send me a stripped down version of the


document privately.



I attach a sample file in the following. as you can see the label/references
mechanism works fine until the alg stuff.

I hope this helps, and you can help me. Regards,
Diego

- - - - - - - LyX Sample File - - - - - - - -

#LyX 1.4.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass book
\begin_preamble
\usepackage[bookmarks]{hyperref}
\end_preamble
\language italian
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Title
Alg label test
\end_layout

\begin_layout Chapter
Test
\end_layout

\begin_layout Standard
This is a test for compatibility of the hyperref package with the alg
package.
\end_layout

\begin_layout Standard
This is a figure
\begin_inset LatexCommand \ref{fig:Sample-figure}

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Standard
\begin_inset Graphics
   filename Immagine.bmp

\end_inset


\end_layout

\begin_layout Caption
\begin_inset LatexCommand \label{fig:Sample-figure}

\end_inset

Sample figure
\end_layout

\end_inset


\end_layout

\begin_layout Standard
This is an algorithm
\begin_inset LatexCommand \ref{alg:Test}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float algorithm
wide false
sideways false
status open

\begin_layout Caption
\begin_inset LatexCommand \label{alg:Test}

\end_inset

Test
\end_layout

\begin_layout Standard
Try this
\end_layout

\begin_layout Standard
Try that
\end_layout

\end_inset


\end_layout

\end_body
\end_document


Re: Problem with Algorithm label language

2006-09-23 Thread Ares

The hyperref README says:

6 PACKAGE COMPATIBILITY
===

Currently only package loading orders are available:

[...]

algorithm
-
  \usepackage{float}
  \usepackage{hyperref}
  \usepackage[chapter]{algorithm
}

So float (which is modified by hyperref) and hyperref have to be loaded before
algorithm. The problem is that LyX loads algorithm before the user preamble.
So your only chance is probably to load the algorithm package yourself (and
use ERT in the document.


1) If I load algorithm (again) after hyperref, LyX (or LaTeX) ignores
it and always gives me the undefined control sequence error message.
in fact, LyX loads algorithm with the command \newfloat, before the
user preamble, I guess (I exported to plain LaTeX)

2) you can use a package declaration in the preamble only, not after
the \begin{document} command.

so I don't see an escape. like a dog eating his tail (?).

Is there a way not to load a (default) package in LyX? in this case I
could load it manually in the preamble. Is there a way to unload a
package in LaTeX  in the preamle?

I also tried to export to LaTeX and cut the algorithm declarationand
and paste it in the preamble after the hyperref declaration, but I
messed things up.

otherwise I have to choose between bookmarks (which look pretty good
btw) and algorithms I think I'll choose the latter for the moment, and
look for a solution later. but let me know if you have any idea, and
thank you.

Regards,
Diego


Re: Problem with Algorithm label language

2006-09-25 Thread Ares

Juergen wrote:

As I already said in my previous mail: Only by _not_ using the (native)
feature.

(cut)

P.S.: I know, the long term solution is a better package management in LyX.
The developers are aware of that, only nobody volunteered to implement it so
far


I merged your pieces of code in my document, thank you, it should be
ok for the moment, I'll go back to the algorithm-float later. By now I
will press the devel people to solve the problem by writing to the
list... I'm sorry not to be a TeXnician, there's many little things I
would be glad to be helpful with (even though I find LyX/LaTeX is an
extraordinary simple and powerful tool everybody should use!)

Thanks again,
Diego


problem with RevTeX and setspace package

2008-03-02 Thread Ares
Hello everyone,

I have a problem with a file using RevTeX class and setspace package.
When I try to compile the following simple file:

%% LyX 1.5.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,preprint]{revtex4}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{setspace}
\doublespacing

\makeatletter
\usepackage{babel}
\makeatother

\begin{document}

%\doublespacing
I
\\am
\end{document}

I get:

Package: `setspace' 6.7 2000/12/01
)
! Undefined control sequence.
\setstretch ...ef \baselinestretch [EMAIL PROTECTED]

l.7 \doublespacing

I googled for the problem but couldn't find anything useful. Any hint?
I found a workaround, that is using the preprint option for the revtex
package and setting to single the line spacing in the document
properties panel (or deleting the \doublespacing command in the tex
file).

Regards,
-- 
Diego
http://www.ares001.altervista.org/


centering chapter heading

2006-10-19 Thread Ares

is there a way to modify the formatting of chapter or section headings to
have them centered ?



Try the fancyheader package (fancyhdr) and use something like:

\usepackage{fancyhdr}
\pagestyle{fancy}
\chead{\chaptermark}

I'm new to this package so I'm sure you can get better results if you read
the documentation through...

Hope this works, regards - Diego


Re: ohm symbol

2006-11-23 Thread Ares

Uwe Stöhr wrote

 In Lyx, how can i make am ohm symbol??

Ad this line to your document preamble:

\usepackage{textcomp}

In the text use this command in ERT:
\textohm


on LyX 1.4.3 (WinXP) the output of

$\rm\Omega$

still looks better.

David L. Johnson

Well, yes, but this is math code, so in LyX you just go to math-mode and
enter \Omega or choose the symbol from the menu.  Doing it in ERT is
old-school (cut)


I don't see the concern about using math mode and ERT box. it is
sometimes faster and easier (and more sophisticated, too...).

Regards,
Diego


trying to install LyX on Mandriva 2005

2007-02-19 Thread Ares

Hello everyone,

I am a happy LyX user on Win but now I'm trying to move to GNU/Linux.

I downloaded lyx-1.4.4.tar.gz from
ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.4.4.tar.gz
extracted archive content
read install file
tried ./configure but I get the following message:

checking what frontend should be used for the GUI... none
configure: error: Please select a frontend using --with-frontend

Can anyone help me? (even though I know there's a lot of information
missing here about system etc)

Regards,
Diego


--

Diego
http://www.webalice.it/ares001/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


problem with tex4ht

2007-02-21 Thread Ares

Hello everyone,

I wrote a nice user manual for my application in LyX and I wanted to
translate it to html to inlcude it direclty in the user interface (I
know pdf with hyperref can do wonderful things but I want to play with
html now).

After some trouble (always the same problem of compatibility of
hyperref package) I manage to have a good html by:
1. exporting foo.lyx to foo.tex (plain)
2. latex foo
3. bibtex foo
3. latex foo
4. latex foo
3. htlatex foo html

except that figures look very bad (not all) as I suspect they are
converted from png to eps to jpg and resized as well somewhere. but
this is not my concern now.

I try to do:

htlatex foo html,2,frames

as suggested in the tex4ht doc
(file:///C:/Programmi/MiKTeX%202.5/doc/tex4ht/tex4ht/mn.html) to
break up the output into separate web pages, in accordance to the two
top sectioning levels of the document and to place the content and
table of contents in separate frames.

what I get is a single file, in one single frame.

The funny thing is that I managed to achive the desired result some
time ago on the same machine. by the way I'm on WinXP, LyX 1.4.3,
freshly updated MiKTeX 2.5

I attach a rar file with a simple example (lyx, tex files etc)

Any suggestion? thanks in advance for your supprort.

Regards,
Diego

--

Diego
http://www.webalice.it/ares001/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


htlatex_example.rar
Description: application/unknown


[Re] problem with tex4ht ### SOLVED ###

2007-02-28 Thread Ares

From: Ares [EMAIL PROTECTED]
Hello everyone,

I wrote a nice user manual for my application in LyX and I wanted to
translate it to html to inlcude it direclty in the user interface (I
know pdf with hyperref can do wonderful things but I want to play with
html now).

After some trouble (always the same problem of compatibility of
hyperref package) I manage to have a good html by:
1. exporting foo.lyx to foo.tex (plain)
2. latex foo
3. bibtex foo
3. latex foo
4. latex foo
3. htlatex foo html

except that figures look very bad (not all) as I suspect they are
converted from png to eps to jpg and resized as well somewhere. but
this is not my concern now.


try
\usepackage{graphicx}
in the preamble, and
\DeclareGraphicsExtensions{.png,.eps,.ps}
in your document. This shall avoid useless file conversions.



I try to do:

htlatex foo html,2,frames

as suggested in the tex4ht doc
(file:///C:/Programmi/MiKTeX%202.5/doc/tex4ht/tex4ht/mn.html) to
break up the output into separate web pages, in accordance to the two
top sectioning levels of the document and to place the content and
table of contents in separate frames.

what I get is a single file, in one single frame.

The funny thing is that I managed to achive the desired result some
time ago on the same machine. by the way I'm on WinXP, LyX 1.4.3,
freshly updated MiKTeX 2.5


To solve this problem, try renaming the htlatex.exe file (which is
equivalent to deleting it while saving it for later) and moving the
htlatex.bat file to the htlatex.exe folder (you have to locate these
two files - exe and bat - on your machine). thanks to Eitan M. Gurari.

--

Diego
http://www.webalice.it/ares001/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: CV templates

2007-03-12 Thread Ares

From: Uwe St=F6hr [EMAIL PROTECTED]

Besides LyX's cv-class there are much better cv-classes available:

- europecv (following exactly the guidelines given by the European Unio=

n,

   required for some job applies in the EU)
   example:
   ftp://dante.ctan.org/tex-archive/macros/latex/contrib/europecv/templat=

es/cv_template_en.pdf

- moderncv (in my opinion the best looking CV)
   example:
   ftp://dante.ctan.org/tex-archive/macros/latex/contrib/moderncv/example=

s/jdoe_casual.pdf

- ecv
   example:
   ftp://dante.ctan.org/tex-archive/macros/latex/contrib/ecv/template/CV-=

template_en.pdf

you need login and password to access this resources

regards,
Diego

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


still problems exporting from LyX to LaTeX to html

2007-03-20 Thread Ares

Hello everyone,

I'm still playing with LyX and tex4ht to convert my documents (this
time it is lecture notes) to html. I run into a few problems I would
like to discuss here (if you're interested!)

1) the process fails in generating images if such images are inserted
in LyX from a folder which is one level up with respect to the LyX
file. To be clearer, I would use

\includegraphics{../image_folder/image_name.png}

(once for all, I'm using source PNG images if it is important)
I noticed that in the output LaTeX (plain) file, dots are converted in
lyxdot, which I unsuccessfully searched for on the web. I tried to
change this lyxdot into normal dots . in the tex file but nothing
changed.

2) this is a issue more related to tex4ht I guess. If I include
graphics in LyX and resize them

\includegraphics[scale=0.75]{myfig.png}

the image output in the html document look bad, though the
intermediate EPS are fine.

3) I get a lot of error messages during latex and htlatex runs. one of
those (latex) says no bb file has been found for the images.

4) there's no hyper link to figures in the html file (this is *annoying*)

5) some questions about tex4ht options (found in the notes in the
htlatex log file): if I do:

htlatex foo html,2,sec-filename

(to name output files according to section name) there's no
bibliography in the output.

6) another tex4ht option: imgdir:.../ does not work for me. I tried
replacing the ... with both an existing and a non-existing folder
name, but nothing, the generated images are placed in the same folder
as the html output (which is not exactly professional, but still
works)


I'm using LyX 1.4.3 with freshly updated MiKTeX system on Windows XP.

Kind regards,

Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: Newbie question: export to tex

2007-03-29 Thread Ares

From: N.W. England [EMAIL PROTECTED]
I am trying to export a lyx file to latex, and it seems impossible.


just some stupid questions: which directory are you in? are you on MS
Windows and do you have administrator privileges? do you have the
rights to write on the folder you're in? are you using extra-packages?
are you connected to the web when compiling?

I suppose the answer is yes. but I experienced (almost) the same
problem when exporting to pdf (pdflatex). I do fileexportpdf but
nothing happens.

I'm on MS Win. I copied myfile.lyx to a directory in  C:\ as the
administrator. Then , with a non-admin account, I tried to export and
I get an error (the temporary pdf file does not exist). I switch back
to the admin account and it works. therefore I suggest you also check
for your rights to write on disk.

another problem could be related to the extra package. Depending on
the mode you're in (ask for package installation or not) you won't
compile if you're not connected and LyX cannot download the package
(BTW this could be something to me fixed).

I hope this was useful to someone. Regards,
--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


RE: Citing websites?

2007-04-05 Thread Ares

-- Messaggio inoltrato --
From: John Pye [EMAIL PROTECTED]


What is the easiest way to cite websites in this case, such that they
come up in my bibliograpy showing a clickable URL, and hopefully a
last-accessed date?


I use the \url coomand in the howpublished field of the MISC entry

@MISC{cam_calib_toolbox,
 howpublished = {\url{http://www.vision.caltech.edu/bouguetj/calib_doc/}},
 owner = {Utente},
 timestamp = {2007.01.11},
 url = {www.vision.caltech.edu/bouguetj/calib_doc/}
}

this won't do the last-accessed date thing though...
--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: how to insert a blank page

2007-04-11 Thread Ares

-- Messaggio inoltrato --
From: Lennart [EMAIL PROTECTED]

I have a document written in the book class. I want a white blank page after
the title page. So that the table of contents isn't printed on the back of the
title page when I print it double sided.  I know it's against the lyx
philosofy and I know how to fix it outside lyx. But I think it could be also
done in lyx. I have tried \newpage \cleardoublepage pagebreak..nothing works.
How do I insert a blank page?


what about using two-sided document? do document -- settings and in
the Page Layout panel check the two-sided document box.

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


aspell question

2007-04-12 Thread Ares

someone can tell me where aspell writes new words? i noticed that I
have to re-add new words each time i spell-check! this is quite
annoying... tip: I do not have administrator privileges...

regards,
Diego

http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: aspell question

2007-04-13 Thread Ares

2007/4/13, Helge Hafting [EMAIL PROTECTED]:

Ares wrote:
 someone can tell me where aspell writes new words? i noticed that I
 have to re-add new words each time i spell-check! this is quite
 annoying... tip: I do not have administrator privileges...

This depends on the language.
New english words goes into the hidden file file  .aspell.en.pws
New norwegian words goes into the file .aspell.nb.pws
and so on. Each language has a code of its own.

No privileges are needed, as the files are stored in
your home directory.


I have two sets of pws files (which btw are named simply en.pws not
.aspell.en.pws) and this I think depends on the mess i made with
multiple aspell installation!

the newest pws files are in documents and settings\all
users\application data\aspell\personal that is, afaik, supposed to be
a shared folder. but I logged as an administrator and checked if my
non-admin account has the rights to change the folder, and it does
not. So I changed this setting and aspell seems to record the words
now when I use LyX as a normal user.

OT: It is annoying having to change the right settings on all folders
you use as a non-administrator user (I had to do so with many other
programs, and for some of them it didn't even work). but this is a
windows-related issue (at least on XP) - not aspell's or LyX's!

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: how to insert a blank page

2007-04-13 Thread Ares

From: Lennart [EMAIL PROTECTED]


 what about using two-sided document? do document -- settings and in
 the Page Layout panel check the two-sided document box.



Thanks! it works!

Some problems left with the numbering (lyx puts a 2 on the blank page while I am
using Italic numbers (I II IV) bu I think I can solve that myself)



I don't know if this works for you, but what I did for my PhD thesis
was creating the first pages in my favourite fashion, with:

 - first page: images (logo of my university), non standard author
names (me and my advisor), custom spacing (using vfill)
- second page: blank
- 3rd page: a quotation (it is always cool to quote someone!)
- 4th page blank

to achieve this I used the command \thispagestyle{empty} in an ERT box
(for each page) and page breakes. I know this is not in the LyX/LaTeX
philosophy but it was pretty quicker to achieve what I wanted.

Then i used the \frontmatter command (hence the roman numbering),
inserted an introduction, TOC's, \mainmatter command (arabic
numbering), the core of the thesis, and finally \backmatter with
appendices, bibliography etc

Here you can find a template for a PhD thesis based on this principles:
http://ares001.altervista.org/job/downloads/LyX_temp.rar

otherwise I can send you the whole thesis!

see you - Diego

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: Spellchecker problems on Windows

2007-05-05 Thread Ares

From: KTl [EMAIL PROTECTED]


Hi,
I can't add words to the dictionary. Does anybody know a solution to
that please?


Are you on WinXP? Do you work in LyX as an administrator or a
non-administrator user?

I had the same problem I guess, see

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg55105.html

new english words go in a file named en.pws, new italian words go in
it.pws etc. For me these files are in documents and settings\all
users\application data\aspell\personal

The point is that you need the rights to change the folder where such
files reside.

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: Spellchecker problems on Windows

2007-05-07 Thread Ares

2007/5/7, KTl [EMAIL PROTECTED]:

Hi,

thanks for your answer.
Yes, I am running WinXP. I tried running spell checker in LyX as an
administrator without success in adding new words to a dictionary. So
there should not be a conflict with the rights management.
Any other suggestions please?



as an administrator... mumble, did you install aspell as the same
administrator? If this does not solve the case I have no other idea...


-- kurt

  Hi,
  I can't add words to the dictionary. Does anybody know a solution to
  that please?

 Are you on WinXP? Do you work in LyX as an administrator or a
 non-administrator user?

 I had the same problem I guess, see

 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg55105.html

 new english words go in a file named en.pws, new italian words go in
 it.pws etc. For me these files are in documents and settings\all
 users\application data\aspell\personal

 The point is that you need the rights to change the folder where such
 files reside.

 --
 Diego
 http://www.ares001.altervista.org/

  |   __o| It is easier
  |  _`\(,_  |  to get forgiveness
  | (_)/ (_) |  than permission





--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


moving to linux...

2007-06-06 Thread Ares

Hi all,

I have been using LyX on windows XP since a while now and i am trying
to move to Linux. I have not tried to install LyX on Linux yet (I am
sorry but i already know that it won't be easy, I already tried once
with no success) but my question is different now.

When I view my old documents (i.e. the pdf files generated by LyX on
Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
is related to the installed fonts. maybe once I install LyX I will get
it working as expected? please let me know if you have any
suggestion...

--
Diego
http://www.ares001.altervista.org/


Re: moving to linux...

2007-06-06 Thread Ares

From: Vaclav Smidl [EMAIL PROTECTED]


I have been using LyX on windows XP since a while now and i am trying
to move to Linux. I have not tried to install LyX on Linux yet (I am
sorry but i already know that it won't be easy, I already tried once
with no success) but my question is different now.


*** On ubuntu it should be as easy as typing
$ apt-get install lyx
on the command line, or selecting lyx in synaptic and pressing apply button.
(assuming that you are connected to the internet)

I'll give it a try, but LyX is not on the Synaptic manager, as far as
I can see (on Ubuntu 7.04)... is it of your (= the LyX developers)
concern?



When I view my old documents (i.e. the pdf files generated by LyX on
Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
is related to the installed fonts.


*** can you be a little bit more specific? What exactly is bad?
1) bitmap fonts, as explained in http://wiki.lyx.org/FAQ/PDF#toc5
2) you use some special fonts that are not embedded in the final pdf.
(cut)
Pdf's, by definition, should not depend on any LyX files.
Check http://wiki.lyx.org/FAQ/PDF and if you do not find a solution send a
minimal example of your pdf.


I thought that pdf, being a portable document format, didn't need
any special setting on the machine you use. Anyway you can view a
sample pdf generated on my machine (BTW with pdflatex) at:

http://ares001.altervista.org/job/downloads/dispense.pdf


From: Paul Smith [EMAIL PROTECTED]

## I think I understand the problem that Diego reports. The pdf viewers
in Linux are more accurate and if the fonts are not included in the
pdf file, the quality of the document on the screen looks not so god,
although on paper it looks perfect. If you are using the default LaTeX
font, then put the following line in the preamble of your LyX
document:

\usepackage{lmodern}

and your pdf files will look great on screen.


I think I didn't get all of the 1st part of your reply, but I tried
the suggestion it 2nd part with no success (at least on my machine):
the output pdf is empty.
I tried to export to pdf first as a normal user on windows: LyX
prompted me to install the lmodern package, but it did not produce any
result since I suspect that MiKTeX simply does *not* install the
packages because it does not have write access to its folder (under a
non-administrator account).
Then I tried as an administrator and there it came the mess! No prompt
for package installation and no output.

Is it normal I can't even find the lmoder package on the MiKTeX Package Manager?



--
Diego
http://www.ares001.altervista.org/

ps: thanks for replying. I don't know whether you're using windows or
linux, but I have to say that people here in the lyx-users list are
much more available and prompt than on any (other) linux-related list,
as I could observe in these days of experimentations on linux!


Re: moving to linux...

2007-06-07 Thread Ares

Thanks all for the advices, I don't even attach the last mails cause
they are too many! anyway I tried the three programs you suggested
(adoberead, kpdf and xpdf) and I really can't tell which works best
...
I'll check for trutype fonts installations on ubuntu later: I have to
install LyX first (so I am afraid that the moving to linux... will
become a series!)

Thank you all again
--
Diego
http://www.ares001.altervista.org/


Re: moving to linux...

2007-06-08 Thread Ares

From: Vaclav Smidl [EMAIL PROTECTED]


*** On ubuntu it should be as easy as typing
$ apt-get install lyx
on the command line, or selecting lyx in synaptic and pressing apply
button. (assuming that you are connected to the internet)

I'll give it a try, but LyX is not on the Synaptic manager, as far as
I can see (on Ubuntu 7.04)... is it of your (= the LyX developers)
concern?


# # # # This depends on your repositories. LyX is in the universe
repository. Do you have this one enabled?

I have all repositories enabled and I can't see LyX. I have Ubuntu
7.04. I'll try apt-get install lyx instead...

--
Diego
http://www.ares001.altervista.org/


Re: moving to linux...

2007-06-08 Thread Ares

2007/6/8, Bob Lounsbury [EMAIL PROTECTED]:

On 6/8/07, Ares [EMAIL PROTECTED] wrote:
 I have all repositories enabled and I can't see LyX. I have Ubuntu
 7.04. I'll try apt-get install lyx instead...

 --
 Diego
 http://www.ares001.altervista.org/



You did hit the Reload button in Synaptic after enabling the repositories
correct? This is the only thing I think of that would cause LyX to not show
up.

Bob




I put a couple of screenshots here

http://ares001.altervista.org/images/Screenshot-Add-Remove_Applications.png

and here

http://ares001.altervista.org/images/Screenshot-Software_Sources.png

as far as I can see I open the Add/Remove... applet (fig 1), press
Preferences button to show the Software Sources panel (fig2) where
universe box is already checked, so the Apply button is disabled
when I close back... and LyX is not there yet... please notice that
this is not a problem to me (since I managed to install LyX very
easily from the command line) but a problem for LyX (which won't show
up for Ububntu users)!

BTW how do you manage LaTeX packages in GNU/Linux? I mean what is the
equivalent of MiKTeX package manager in Windows?

Regards,
--
Diego
http://www.ares001.altervista.org/


Re: Bibliography list

2007-06-13 Thread Ares

From: Valter Filipe Silva [EMAIL PROTECTED]


Supose in my bib file i have two kind of reference (ex. my papers and

other's papers).
There are any way to list my papers in a separete chapter ??
I notice there is a multibib package to do it, however i must change all
\cite in the text, because the new one has more arguments.

my solution is to open the DocumentSettings panel, check the
sectioned bibliography box in the Bibliography tab (which means using
the bibtopic package as far as I understood), create a Bibliography
chapter with sections (in my case I separated the bibliography sources
in books, papers, thesis etc) and InsertList/TOCBibTeX Bibliography
in each section. The drawback is that you have to insert different
BibTeX files for each section, thus spread the biblio sources in
separate files (but you do not need to change the \cite command in the
body).

Hope it helps


--
Diego
http://www.ares001.altervista.org/


moving to linux... part 2 - tetex package installation

2007-06-13 Thread Ares

As announced, I am back with a new, stupid question on LyX under
GNU/Linux. I will ask it again since the question got lost in the
previous thread. It concerns tetex package installation. I'll ask it
as a dummy windows user.

when I was under windows (a long, long time ago), when exporting to
pdf from LyX, I was prompted by LyX to install missing packages and,
if I had an internet connection, everything worked smoothly.
Now under GNU/Linux do I have to install missing packages manually (I
know how to do it - more or less)? but then the question is: is there
a way to download all new files from command line in one step?

thanks in advance for the sympathetic advices...
--
Diego
http://www.ares001.altervista.org/


Re: moving to linux... part 2 - tetex package installation

2007-06-13 Thread Ares

2007/6/13, Helge Hafting [EMAIL PROTECTED]:

Ares wrote:
 As announced, I am back with a new, stupid question on LyX under
 GNU/Linux. I will ask it again since the question got lost in the
 previous thread. It concerns tetex package installation. I'll ask it
 as a dummy windows user.

 when I was under windows (a long, long time ago), when exporting to
 pdf from LyX, I was prompted by LyX to install missing packages and,
 if I had an internet connection, everything worked smoothly.
 Now under GNU/Linux do I have to install missing packages manually (I
 know how to do it - more or less)? but then the question is: is there
 a way to download all new files from command line in one step?

 thanks in advance for the sympathetic advices...
This depends on what linux distribution you use - I don't know
the details of them all. Pleace specify that the next time you ask
a linux install question.


you're right ... I am on Ubuntu 7.04 and just installed LyX
1.4.3-2ubuntu1 from the synaptic package manager from system menu.
I'll try apt-get



Debian and ubuntu certainly lets you install everything you
need with one command:

apt-get install list of package names here

Debian example:
apt-get install texlive-full lyx imagemagick xpdf

This will install the packages mentioned, as well as
any other packages these packages need to work. The
above command might pull in 50 packages or so.

You are probably using some other distribution, seeing
that you ask about tetex. On debian, texlive is a replacement
for tetex, as tetex is being phased out.

Most other distributions use the rpm packaging system.
It is a long time since I used those - one usually had to
download lots of rpm files and then give a command to install
them all. The main difference from the apt command above was
that you had to gather the files yourself, and then install all in
one go. rpm would then tell you if anything else was missing,
then you download that and try again until you have all you need.
I have heard that the rpm-based systems also have automatic
downloading these days, simplifying this process.


Helge Hafting




--
Diego
http://www.ares001.altervista.org/


Re: moving to linux... part 2 - tetex package installation

2007-06-13 Thread Ares

2007/6/13, Bob Lounsbury [EMAIL PROTECTED]:

On 6/13/07, killermike [EMAIL PROTECTED] wrote:
 On Wednesday 13 June 2007 07:47, Ares wrote:
 
  when I was under windows (a long, long time ago), when exporting to
  pdf from LyX, I was prompted by LyX to install missing packages and,
  if I had an internet connection, everything worked smoothly.
  Now under GNU/Linux do I have to install missing packages manually (I
  know how to do it - more or less)? but then the question is: is there
  a way to download all new files from command line in one step?
 
  thanks in advance for the sympathetic advices...

 On Kubuntu, with a fresh install, I generally install LyX from the package
 manager. This means that all of the supporting tools are automatically
 installed along with LyX. This tends to be a relatively old version, and
as I
 have had quite good luck with the 1.5.0betas, I then manually build a more
 uptodate version.

 --
 http://www.unmusic.co.uk - about me, music, geek sitcom etc.
 http://www.unmusic.co.uk/amhs/ - alt.music.home-studio

I think what were trying to explain to you is that in general if you
install tetex or texlive you won't need to install any additional packages
like you needed to under Windoze. Just install either tetex or texlive and
use LyX and if you run into an instance of needing a package then post back
to the list and we'll be more than happy to explain how to install those.

Also, remember that the synaptic package manager and apt-get install are the
same thing. So every package available to the system will be listed in
synaptic.

Bob




Example: I have a lyx document using the acronym package .when I
export to pdf (pdflatex) I get an error like nolist option for
acronym package, which depends (I guess) on the fact that the acronym
package shipped with tetex (and lyx) via synaptic is an old on. in
fact there was no nolist declaration in the original acronym.sty
file on my tetex tree.
so I re-installed acronym (I know how to do that, thanks) and
everything worked. So, again, if I use a new package I have to install
it manually with apt-get. I am not complaining, it is easy I find. but
I didn't know tetex comes with *all* (or almost all) available
packages...

Regards,
Diego
http://www.ares001.altervista.org/


moving to linux...part3: preferred bibtex editor

2007-06-14 Thread Ares

Here I am back with a new, silly question: what is the most favourite
bibtex editor under GNU/linux? I have been using JabRef under Windows,
but I realised that it runs under the Java Runtime Environment, and I
do not want to install new components if I do not really need them...

So, let's go with the poll!

--
Diego
http://www.ares001.altervista.org/


Re: moving to linux...part3: preferred bibtex editor

2007-06-15 Thread Ares

2007/6/14, Richard Heck [EMAIL PROTECTED]:

Ares wrote:
 Here I am back with a new, silly question: what is the most favourite
 bibtex editor under GNU/linux? I have been using JabRef under Windows,
 but I realised that it runs under the Java Runtime Environment, and I
 do not want to install new components if I do not really need them...
JabRef seems to be the most popular around here. It runs fine under
Linux, but you have to install Sun's JVM, as it won't work under Gnu's.
One reason to prefer JabRef is that the developer of BibLaTeX, soon to
be the new standard, is paying attention to JabRef. But there are a lot
of options, as always with Linux: pybliographer, kbibtex, etc.





Then I'll stick to JabRef for now...



thanks to all
--
Diego
http://www.ares001.altervista.org/


Show entry type in References

2006-05-17 Thread Ares

Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego


Equation numbering corresponding to section number

2006-05-22 Thread Ares

Hi all,
I tried
\numberwithin{equation}{chapter}
but i get the error messages:
1) Missing \begin{document}
2) Undefined control sequence.
\numberwithin
 {equation}{chapter}

What else should I know?

Thanks for support
Diego


Show entry type in References

2006-06-04 Thread Ares

I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego


Show entry type in References

2006-06-05 Thread Ares

I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option Add
bibliography to TOC in the BibTeX generated bibliography dialog.

What I did is to define the Bibliography section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings -- Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option printheadings (in
Document-Settings-Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package splitbib might help).

Jürgen


Bibliography in TOC [Was: Show entry type in References]

2006-06-05 Thread Ares

I managed to get the Bibliography in TOC in the output file by using the TeX
command \backmatter right before the Bibliography Chapter (not Chapter*) and
preceded by a page break. See:
http://groups.google.com/group/comp.text.tex/browse_thread/thread/ce999aa747cf4a3e/36b1505bedbf3288?q=starred+TOCrnum=1#36b1505bedbf3288


In this way, inside LyX you get the Bibliography chapter numbered, and as an
appendix (if you have, as in my case, appendixes), also appearing in LyX
file TOC. When you view the pdf, for example, you get a nice Bibliography
title (without number) in TOC of the compiled document.

Perhaps it is a dirty trick, but it works...

Anyway the Document settings -- Numbering and TOC pane does not work... is
it a bug? how to report it?

Regards,
Diego



-- Forwarded message --
From: Ares [EMAIL PROTECTED]
Date: 5-giu-2006 10.58
Subject: Show entry type in References
To: lyx-users@lists.lyx.org



I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option Add
bibliography to TOC in the BibTeX generated bibliography dialog.

What I did is to define the Bibliography section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings -- Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option printheadings (in
Document-Settings-Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package splitbib might help).

Jürgen


Hacking bst files... [Was: Show entry type in References]

2006-06-05 Thread Ares

As I wrote in a previous post, I would like the references of my PhD thesis
to be arranged as follows:


References

Articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...


LyX 1.4.1 supports sectioned bibliography, so it is possible to split the
Bibliography chapter in sections.

In order to have the citation as [Art1] and [Book1] etc, I need to hack a
bst file, as suggested by Jürgen. I had a look to plain.bst and it doesn't
sound so easy!

In the end I would just like to add a prefix (Book, Art etc) to the
reference numbering and to use a separate bst file for each entry (Books,
Articles etc), so that the numbering starts with each section.

Is there a resource where I can find how bst files work? or is there someone
who can help me?

Thanks for support,
Diego


Re: lyx-users Digest 8 Jun 2006 00:42:35 -0000 Issue 1922

2006-06-08 Thread Ares

Sara wrote:


I think that a much easier way to get a bst file than to start hack it
is to use the makebst utility. (run latex makebst) Then you get a series
of multiple choice question on how you want to format oyur
bibliographical entries.



I already tried makebst utility but one of the (probably few) things you can
*not* do with it is modifying the label (as I want them, i.e. [Book1],
[Book2] and [Article1], [Article2] etc), unless modifying the dbj file
allows you to do things you cannot do with the makebst interface...
I think hacking the bst file (following the guidelines provided by Richard
Heck in a previous post) is the only way, unless someone already did
exactly  the same thing as I want, which is pretty difficult to find!!!

Thanks anyway,
Diego (Ares)


exporting to html

2006-06-11 Thread Ares

Hello everyone,
I'm trying to export my lyx file to html (on Win) but LyX gets stuck on
it... is it a known bug?

CU
Diego


Re: lyx-users Digest 8 Jun 2006 00:42:35 -0000 Issue 1922

2006-06-17 Thread Ares

Hello everyone,
I exported my PhD thesis LyX file to html by exporting from LyX to
latex and then running htlatex, bibtex'ing each aux file corresponding
to each bib file included (I have sectioned bibliography, i.e. I'm
using bibtopic in LyX, I guess). I also found somewhere that the bug
with exporting to html from LyX may be related to the use of bibtex
itself.

Now I have a new problem: equations in the object html document don't
show as figures but rather as:

  (   )T  G(x,y) =  ∂I, ∂I∂x ∂y -- in Firefox


  (2.1)
    in MS internet explorer

I think it is a mix of misinterpreted figure and text...

I had a look on various discussion groups but couldn't find any
problem report like this. Have any hint on this? What kind of
information is needed to detect the problem source?

Thanks for your support,
Diego


Re: lyx-users Digest 8 Jun 2006 00:42:35 -0000 Issue 1922

2006-06-20 Thread Ares

I think the problem is with ImageMagick (convert utility), which cannot
find GhostScript executable or some related file as gs_init.ps.
ImageMagick in fact uses other programs (as GhostScript) to manage
different file type (as eps). these programs are called coder modules
and must reside in ImageMagick path.

I'm waiting for some feedback from ImageMagick user list on how to add
program directory to ImageMagick coder module search path.

Regards,
Diego

2006/6/20, Stephen Harris [EMAIL PROTECTED]:

Ares wrote:
 Hello everyone,
 I exported my PhD thesis LyX file to html by exporting from LyX to
 latex and then running htlatex, bibtex'ing each aux file corresponding
 to each bib file included (I have sectioned bibliography, i.e. I'm
 using bibtopic in LyX, I guess). I also found somewhere that the bug
 with exporting to html from LyX may be related to the use of bibtex
 itself.

 Now I have a new problem: equations in the object html document don't
 show as figures but rather as:

   (   )T  G(x,y) =  ∂I, ∂I∂x ∂y -- in Firefox


   (2.1)
 in MS internet explorer

 I think it is a mix of misinterpreted figure and text...

 I had a look on various discussion groups but couldn't find any
 problem report like this. Have any hint on this? What kind of
 information is needed to detect the problem source?

 Thanks for your support,
 Diego



you're right (of course I didn't think that there's more than one
utility named convert on my machine...).

I tried

c:\...\convert foo.eps foo.jpg

with both versions 6.2.8-Q16 (dynamic DLL) and 6.2.7.2 (bundled in LyX
win installer) and I get respectively the following error messages

SH: Remember that the generic foo.eps needs to be an
existing file in the directory that you run convert.

http://gallery.menalto.com/node/49736
convert.exe: no decode delegate for this image format

There are several instances of this error message on Google.
Apparently there is a corrupt file or some type of conflict.

http://redux.imagemagick.org/discussion-server/viewtopic.php?t=4450;

ImageMagick Studio appears to be a different product than
ImageMagick. Make sure you didn't use a Linux version that
ends with a tar.gz. Most people thought the problem was with
ImageMagick rather than Ghostscript.

Regards,
Stephen

It is not always safe to have two different versions of the
same .dll, they can cause conflicts just as two different
versions of convert will can conflict. For instance the
Msys sh.exe needed to run LyX scripts works, but not the
sh.exe which comes with Cygwin which some Windows users
have on their machines.

Try renaming the 6.2.8.dll to 6.2.8.dllbak and then run
convert someimagefile.* to a different someimagefile.*
where the * is a jpg or png or eps, some image format
that is small that you have on hand for a test. Run this
from the directory where the LyXWininstaller has put
C:\ImageMagick with the test file in the same directory.

Putting cross-ported program in directories which have
spaces in them, like Program files, can create odd errors.



Re: htlatex html conversion best methods

2006-06-30 Thread Ares

From: Helge Hafting [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 29 Jun 2006 11:10:22 +0200
Subject: Re: htlatex html conversion best methods

Steve Harris wrote:

 Well, both Ares and me use default configurations and my htlatex
 process produces good quality images but his doesn't and they
 display differently to me than the ones I produce.
Maybe you have a better set of fonts?

Helge Hafting


I tried installing Bakoma4LyX (just by copying the fonts in my font
folder or whatever) and it didn't give any better result.

- Diego (Ares)


equation image quality with htlatex [Was: Re: lyx-users Digest 6 Jul 2006 12:56:26 -0000 Issue 1946]

2006-07-06 Thread Ares

From: Eitan Gurari [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 6 Jul 2006 01:03:11 -0400
Subject: Re: lyx-users Digest 26 Jun 2006 15:12:57 - Issue 1937



  It worked very well with a slight exception. I see well close up,
  and the math equations produced are 15-20% too small. Many people
  could not read them as they are. The .jpgs are not the same size
  as the math equations displayed as when .png files are selected.
  No doubt the remedy is already contained in the documentation.
 
  They are very distinct and not blurry, if you see well close up.
  I also noticed that the tex4ht-bin had been updated May 19, 2006
  and I didn't have it. So I downloaded it and it made no apparent
  change to the quality of the htlatex outputted web page/images.

Typically, the quality of images can be improved by using outline
fonts, changing the parameters of the conversion utilities invoked
through the G-scripts of tex4ht.env, and controlling the size of the
fonts used in the source files.  -eitan



I see, but this is not easy to modify tex4ht.env and I don't
understand where I can find (detailed) descriptions about how to do
that on the documentation. maybe it's me, otherwise put it in the wish
list...

Regards,
Diego


My webpage about LY X, LATEX and BibTEX

2006-08-02 Thread Ares

Hello everyone,
I published a page about my tips and tricks on  LyX, LATEX and BibTEX at:

http://www.webalice.it/ares001/job/Tips.htm

Let me know if you find it useful or if you find any error...

Regards,
Diego


threeparttable in LyX?

2006-08-04 Thread Ares

Hello everyone,

does someone know if it is possible to use the threeparttable package
in LyX and how?

Regards,
Diego


Fwd: threeparttable in LyX?

2006-08-05 Thread Ares

From: Ares [EMAIL PROTECTED]
Date: 4-ago-2006 19.47
Subject: threeparttable in LyX?
To: lyx-users@lists.lyx.org

does someone know if it is possible to use the threeparttable package
in LyX and how?



no one is interested in this problem? in the meanwhile I just tried to
put the threeparttable package commands in a ERT box inside the table
float, that is:

|float: Table|
- - - - - - - - - - - - - - - -
|ERT| \begin{center}
\begin{threeparttable}

normal LyX table with footnotes as:
|ERT| \tnote{a}
|ERT| \tnote{b}
and other material

|ERT| \begin{tablenotes}
\item[a] Centre of Mass
\item[b] Centre of pressure
\end{tablenotes}
\end{threeparttable}
\end{center}
- - - - - - - - - - - - - - - -

It works (of course) except that I don't know how to make the
numbering automatic. I guess I should read the documentation of the
threeparttable package!


Regards,
Diego


spellcheck problems when pasting from a document with different language

2006-09-08 Thread Ares

Hello everyone,
I have a problem with the spellchecker language when pasting some text
from a document written in a different language.
To be more specific, I have a paper written in English and a PhD
thesis in Italian. I want to copy and paste some stuff (like formulae,
acronyms etc) from one to the other, but what I get in the document is
test underlined, that is LyX keeps the language information with text
so that when I do spellcheck the spellchecker deals with new text as
if it was in the old language. This would not be annoying, except that
LyX keeps the old language if keep writing on the same line of the
pasted text, so that now I have plenty of pages in Italian that are
treated as English (so no spellchecking!).

I hope I was clear...please tell me if there's some way to tell LyX
that those lines are actually in Italian, or if I made any mistake.

Regards,
Diego


Re: spellcheck problems when pasting from a document with different language

2006-09-09 Thread Ares

2006/9/8, Helge Hafting [EMAIL PROTECTED]:

Ares wrote:
 Hello everyone,
 I have a problem with the spellchecker language when pasting some text
 from a document written in a different language.
 To be more specific, I have a paper written in English and a PhD
 thesis in Italian. I want to copy and paste some stuff (like formulae,
 acronyms etc) from one to the other, but what I get in the document is
 test underlined, that is LyX keeps the language information with text
 so that when I do spellcheck the spellchecker deals with new text as
 if it was in the old language. This would not be annoying, except that
 LyX keeps the old language if keep writing on the same line of the
 pasted text, so that now I have plenty of pages in Italian that are
 treated as English (so no spellchecking!).

 I hope I was clear...please tell me if there's some way to tell LyX
 that those lines are actually in Italian, or if I made any mistake.
Yes, there is an easy way. Mark the Italian text that LyX mistakes
for english. Then use the menu edit-text style  (for lyx 1.4.x)
or layout-tex (for lyx 1.3.x and earlier)

You get a dialog box where one of the things you may change
is language. Set it to Italian and you'll be fine.


Next time, use this dialog as soon as the language goes wrong,
thereby avoiding lots of text marked with the wrong language.


Helge Hafting



thanks, it worked...my problem was I didn't think I could find aome
language setting in the text layout...

Regards,
Diego


Problem with Algorithm label language

2006-09-18 Thread Ares

Hello everyone,
I'm trying to use a Float Algorithm in my document. The language I set
is Italian, but when I export to pdf (pdflatex), The Algorithm label
in the output is in English instead. This does not happen with all the
other labels (Figures and Tables), which are printed correctly (in
Italian) in the output pdf.
Any idea of what's going on?

Thanks for your support,
Diego


Re: Problem with Algorithm label language

2006-09-19 Thread Ares

From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Mon, 18 Sep 2006 09:44:19 +0200
Subject: Re: Problem with Algorithm label language
Ares wrote:
 The Algorithm label
 in the output is in English instead. This does not happen with all the
 other labels (Figures and Tables), which are printed correctly (in
 Italian) in the output pdf.
 Any idea of what's going on?

http://wiki.lyx.org/LyX/I18nLabels

Jürgen



I forgot to mention that I'm using a master document with all included
files. Now I realize that I have problems with referencing to the
algorithm even without trying to change the label language.
In fact, when I export to pdflatex my master.lyx I get the undefined
control sequence error message related to \ref{alg:label}. This
does not happen with other document master-included, so I guess
there's some conflict with other packages I'm using. Anyway I'm sure
that the algo referencing worked before trying to modify the algo
label language

Anyway I also tried
\floatname{algorithm}{Algoritmo}
but it didn't work...

Again, any idea of what's going on?
Diego


Re: Problem with Algorithm label language

2006-09-19 Thread Ares

From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Tue, 19 Sep 2006 13:08:54 +0200
Subject: Re: Problem with Algorithm label language
Ares wrote:
 In fact, when I export to pdflatex my master.lyx I get the undefined
 control sequence error message related to \ref{alg:label}.

Please give the full error message.

Jürgen


I'll be more specific, because this looks quite weird to me (but I
know there's a simple solution to it)...

I have master.lyx, where I insert several child documents (iclude
type: include). I'm using several packages, and there's some extra
line of code in the preamble that worked well so far.
In one of these chile docs I write:

This algorithm [alg:test] is a test:
float: Algorithm: Algorithm#: [alg: tes] Test algorithm

When I do exportpdflatex I get the following error message during 2nd
LaTeX run:

Undefined control sequence
This algorithm \ref{alg: test}
 is a test:
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
mispelled it (cut)


The very strange things are that:
1) I don't get any such error when I do the same with a new set of
files (master  child), or 2) with the original child doc alone (where
the algorithm float is found).
so I guess this might be related to the preamble stuff or so.

I can attach the preamble, or the whole document if you think it helps.

Thanks for your support,
Diego


Re: Problem with Algorithm label language

2006-09-20 Thread Ares

I made some tests and I guess the problem is definetly related to
package hyperref:
\usepackage[bookmarks]{hyperref}

If I don't use it, and remove following code, no problem:

\addcontentsline{toc}{chapter}{Indice}
\listoffigures \addcontentsline{toc}{chapter}{Elenco delle figure}
\listoftables \addcontentsline{toc}{chapter}{Elenco delle tabelle}

I think there's something that messes up things with the algorithm stuff...

Regards,
Diego


Re: Problem with Algorithm label language

2006-09-22 Thread Ares

Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote


Could you try to play with the ordering of the various bits in the
preamble of the TeX file? One reason why we do not support hyperref
directly yet is that loading order seems to be difficult to get right.



there's not much to play with. if I load hyperref in the preamble, I get
everything correct until it comes to the \ref{alg:label} command, where I
get the undefined control sequence error message, as if hyperref
overwrites the alg mechanism but not the other label/references.

Juergen Spitzmueller [EMAIL PROTECTED] wrote


I still don't understand. Please send me a stripped down version of the


document privately.



I attach a sample file in the following. as you can see the label/references
mechanism works fine until the alg stuff.

I hope this helps, and you can help me. Regards,
Diego

- - - - - - - LyX Sample File - - - - - - - -

#LyX 1.4.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass book
\begin_preamble
\usepackage[bookmarks]{hyperref}
\end_preamble
\language italian
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Title
Alg label test
\end_layout

\begin_layout Chapter
Test
\end_layout

\begin_layout Standard
This is a test for compatibility of the hyperref package with the alg
package.
\end_layout

\begin_layout Standard
This is a figure
\begin_inset LatexCommand \ref{fig:Sample-figure}

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Standard
\begin_inset Graphics
   filename Immagine.bmp

\end_inset


\end_layout

\begin_layout Caption
\begin_inset LatexCommand \label{fig:Sample-figure}

\end_inset

Sample figure
\end_layout

\end_inset


\end_layout

\begin_layout Standard
This is an algorithm
\begin_inset LatexCommand \ref{alg:Test}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float algorithm
wide false
sideways false
status open

\begin_layout Caption
\begin_inset LatexCommand \label{alg:Test}

\end_inset

Test
\end_layout

\begin_layout Standard
Try this
\end_layout

\begin_layout Standard
Try that
\end_layout

\end_inset


\end_layout

\end_body
\end_document


Re: Problem with Algorithm label language

2006-09-23 Thread Ares

The hyperref README says:

6 PACKAGE COMPATIBILITY
===

Currently only package loading orders are available:

[...]

algorithm
-
  \usepackage{float}
  \usepackage{hyperref}
  \usepackage[chapter]{algorithm
}

So float (which is modified by hyperref) and hyperref have to be loaded before
algorithm. The problem is that LyX loads algorithm before the user preamble.
So your only chance is probably to load the algorithm package yourself (and
use ERT in the document.


1) If I load algorithm (again) after hyperref, LyX (or LaTeX) ignores
it and always gives me the undefined control sequence error message.
in fact, LyX loads algorithm with the command \newfloat, before the
user preamble, I guess (I exported to plain LaTeX)

2) you can use a package declaration in the preamble only, not after
the \begin{document} command.

so I don't see an escape. like a dog eating his tail (?).

Is there a way not to load a (default) package in LyX? in this case I
could load it manually in the preamble. Is there a way to unload a
package in LaTeX  in the preamle?

I also tried to export to LaTeX and cut the algorithm declarationand
and paste it in the preamble after the hyperref declaration, but I
messed things up.

otherwise I have to choose between bookmarks (which look pretty good
btw) and algorithms I think I'll choose the latter for the moment, and
look for a solution later. but let me know if you have any idea, and
thank you.

Regards,
Diego


Re: Problem with Algorithm label language

2006-09-25 Thread Ares

Juergen wrote:

As I already said in my previous mail: Only by _not_ using the (native)
feature.

(cut)

P.S.: I know, the long term solution is a better package management in LyX.
The developers are aware of that, only nobody volunteered to implement it so
far


I merged your pieces of code in my document, thank you, it should be
ok for the moment, I'll go back to the algorithm-float later. By now I
will press the devel people to solve the problem by writing to the
list... I'm sorry not to be a TeXnician, there's many little things I
would be glad to be helpful with (even though I find LyX/LaTeX is an
extraordinary simple and powerful tool everybody should use!)

Thanks again,
Diego


problem with RevTeX and setspace package

2008-03-02 Thread Ares
Hello everyone,

I have a problem with a file using RevTeX class and setspace package.
When I try to compile the following simple file:

%% LyX 1.5.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,preprint]{revtex4}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{setspace}
\doublespacing

\makeatletter
\usepackage{babel}
\makeatother

\begin{document}

%\doublespacing
I
\\am
\end{document}

I get:

Package: `setspace' 6.7 2000/12/01
)
! Undefined control sequence.
\setstretch ...ef \baselinestretch [EMAIL PROTECTED]

l.7 \doublespacing

I googled for the problem but couldn't find anything useful. Any hint?
I found a workaround, that is using the preprint option for the revtex
package and setting to single the line spacing in the document
properties panel (or deleting the \doublespacing command in the tex
file).

Regards,
-- 
Diego
http://www.ares001.altervista.org/


centering chapter heading

2006-10-19 Thread Ares

is there a way to modify the formatting of chapter or section headings to
have them centered ?



Try the fancyheader package (fancyhdr) and use something like:

\usepackage{fancyhdr}
\pagestyle{fancy}
\chead{\chaptermark}

I'm new to this package so I'm sure you can get better results if you read
the documentation through...

Hope this works, regards - Diego


Re: ohm symbol

2006-11-23 Thread Ares

Uwe Stöhr wrote

 In Lyx, how can i make am ohm symbol??

Ad this line to your document preamble:

\usepackage{textcomp}

In the text use this command in ERT:
\textohm


on LyX 1.4.3 (WinXP) the output of

$\rm\Omega$

still looks better.

David L. Johnson

Well, yes, but this is math code, so in LyX you just go to math-mode and
enter \Omega or choose the symbol from the menu.  Doing it in ERT is
old-school (cut)


I don't see the concern about using math mode and ERT box. it is
sometimes faster and easier (and more sophisticated, too...).

Regards,
Diego


trying to install LyX on Mandriva 2005

2007-02-19 Thread Ares

Hello everyone,

I am a happy LyX user on Win but now I'm trying to move to GNU/Linux.

I downloaded lyx-1.4.4.tar.gz from
ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.4.4.tar.gz
extracted archive content
read install file
tried ./configure but I get the following message:

checking what frontend should be used for the GUI... none
configure: error: Please select a frontend using --with-frontend

Can anyone help me? (even though I know there's a lot of information
missing here about system etc)

Regards,
Diego


--

Diego
http://www.webalice.it/ares001/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


problem with tex4ht

2007-02-21 Thread Ares

Hello everyone,

I wrote a nice user manual for my application in LyX and I wanted to
translate it to html to inlcude it direclty in the user interface (I
know pdf with hyperref can do wonderful things but I want to play with
html now).

After some trouble (always the same problem of compatibility of
hyperref package) I manage to have a good html by:
1. exporting foo.lyx to foo.tex (plain)
2. latex foo
3. bibtex foo
3. latex foo
4. latex foo
3. htlatex foo html

except that figures look very bad (not all) as I suspect they are
converted from png to eps to jpg and resized as well somewhere. but
this is not my concern now.

I try to do:

htlatex foo html,2,frames

as suggested in the tex4ht doc
(file:///C:/Programmi/MiKTeX%202.5/doc/tex4ht/tex4ht/mn.html) to
break up the output into separate web pages, in accordance to the two
top sectioning levels of the document and to place the content and
table of contents in separate frames.

what I get is a single file, in one single frame.

The funny thing is that I managed to achive the desired result some
time ago on the same machine. by the way I'm on WinXP, LyX 1.4.3,
freshly updated MiKTeX 2.5

I attach a rar file with a simple example (lyx, tex files etc)

Any suggestion? thanks in advance for your supprort.

Regards,
Diego

--

Diego
http://www.webalice.it/ares001/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


htlatex_example.rar
Description: application/unknown


[Re] problem with tex4ht ### SOLVED ###

2007-02-28 Thread Ares

From: Ares [EMAIL PROTECTED]
Hello everyone,

I wrote a nice user manual for my application in LyX and I wanted to
translate it to html to inlcude it direclty in the user interface (I
know pdf with hyperref can do wonderful things but I want to play with
html now).

After some trouble (always the same problem of compatibility of
hyperref package) I manage to have a good html by:
1. exporting foo.lyx to foo.tex (plain)
2. latex foo
3. bibtex foo
3. latex foo
4. latex foo
3. htlatex foo html

except that figures look very bad (not all) as I suspect they are
converted from png to eps to jpg and resized as well somewhere. but
this is not my concern now.


try
\usepackage{graphicx}
in the preamble, and
\DeclareGraphicsExtensions{.png,.eps,.ps}
in your document. This shall avoid useless file conversions.



I try to do:

htlatex foo html,2,frames

as suggested in the tex4ht doc
(file:///C:/Programmi/MiKTeX%202.5/doc/tex4ht/tex4ht/mn.html) to
break up the output into separate web pages, in accordance to the two
top sectioning levels of the document and to place the content and
table of contents in separate frames.

what I get is a single file, in one single frame.

The funny thing is that I managed to achive the desired result some
time ago on the same machine. by the way I'm on WinXP, LyX 1.4.3,
freshly updated MiKTeX 2.5


To solve this problem, try renaming the htlatex.exe file (which is
equivalent to deleting it while saving it for later) and moving the
htlatex.bat file to the htlatex.exe folder (you have to locate these
two files - exe and bat - on your machine). thanks to Eitan M. Gurari.

--

Diego
http://www.webalice.it/ares001/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: CV templates

2007-03-12 Thread Ares

From: Uwe St=F6hr [EMAIL PROTECTED]

Besides LyX's cv-class there are much better cv-classes available:

- europecv (following exactly the guidelines given by the European Unio=

n,

   required for some job applies in the EU)
   example:
   ftp://dante.ctan.org/tex-archive/macros/latex/contrib/europecv/templat=

es/cv_template_en.pdf

- moderncv (in my opinion the best looking CV)
   example:
   ftp://dante.ctan.org/tex-archive/macros/latex/contrib/moderncv/example=

s/jdoe_casual.pdf

- ecv
   example:
   ftp://dante.ctan.org/tex-archive/macros/latex/contrib/ecv/template/CV-=

template_en.pdf

you need login and password to access this resources

regards,
Diego

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


still problems exporting from LyX to LaTeX to html

2007-03-20 Thread Ares

Hello everyone,

I'm still playing with LyX and tex4ht to convert my documents (this
time it is lecture notes) to html. I run into a few problems I would
like to discuss here (if you're interested!)

1) the process fails in generating images if such images are inserted
in LyX from a folder which is one level up with respect to the LyX
file. To be clearer, I would use

\includegraphics{../image_folder/image_name.png}

(once for all, I'm using source PNG images if it is important)
I noticed that in the output LaTeX (plain) file, dots are converted in
lyxdot, which I unsuccessfully searched for on the web. I tried to
change this lyxdot into normal dots . in the tex file but nothing
changed.

2) this is a issue more related to tex4ht I guess. If I include
graphics in LyX and resize them

\includegraphics[scale=0.75]{myfig.png}

the image output in the html document look bad, though the
intermediate EPS are fine.

3) I get a lot of error messages during latex and htlatex runs. one of
those (latex) says no bb file has been found for the images.

4) there's no hyper link to figures in the html file (this is *annoying*)

5) some questions about tex4ht options (found in the notes in the
htlatex log file): if I do:

htlatex foo html,2,sec-filename

(to name output files according to section name) there's no
bibliography in the output.

6) another tex4ht option: imgdir:.../ does not work for me. I tried
replacing the ... with both an existing and a non-existing folder
name, but nothing, the generated images are placed in the same folder
as the html output (which is not exactly professional, but still
works)


I'm using LyX 1.4.3 with freshly updated MiKTeX system on Windows XP.

Kind regards,

Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: Newbie question: export to tex

2007-03-29 Thread Ares

From: N.W. England [EMAIL PROTECTED]
I am trying to export a lyx file to latex, and it seems impossible.


just some stupid questions: which directory are you in? are you on MS
Windows and do you have administrator privileges? do you have the
rights to write on the folder you're in? are you using extra-packages?
are you connected to the web when compiling?

I suppose the answer is yes. but I experienced (almost) the same
problem when exporting to pdf (pdflatex). I do fileexportpdf but
nothing happens.

I'm on MS Win. I copied myfile.lyx to a directory in  C:\ as the
administrator. Then , with a non-admin account, I tried to export and
I get an error (the temporary pdf file does not exist). I switch back
to the admin account and it works. therefore I suggest you also check
for your rights to write on disk.

another problem could be related to the extra package. Depending on
the mode you're in (ask for package installation or not) you won't
compile if you're not connected and LyX cannot download the package
(BTW this could be something to me fixed).

I hope this was useful to someone. Regards,
--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


RE: Citing websites?

2007-04-05 Thread Ares

-- Messaggio inoltrato --
From: John Pye [EMAIL PROTECTED]


What is the easiest way to cite websites in this case, such that they
come up in my bibliograpy showing a clickable URL, and hopefully a
last-accessed date?


I use the \url coomand in the howpublished field of the MISC entry

@MISC{cam_calib_toolbox,
 howpublished = {\url{http://www.vision.caltech.edu/bouguetj/calib_doc/}},
 owner = {Utente},
 timestamp = {2007.01.11},
 url = {www.vision.caltech.edu/bouguetj/calib_doc/}
}

this won't do the last-accessed date thing though...
--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: how to insert a blank page

2007-04-11 Thread Ares

-- Messaggio inoltrato --
From: Lennart [EMAIL PROTECTED]

I have a document written in the book class. I want a white blank page after
the title page. So that the table of contents isn't printed on the back of the
title page when I print it double sided.  I know it's against the lyx
philosofy and I know how to fix it outside lyx. But I think it could be also
done in lyx. I have tried \newpage \cleardoublepage pagebreak..nothing works.
How do I insert a blank page?


what about using two-sided document? do document -- settings and in
the Page Layout panel check the two-sided document box.

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


aspell question

2007-04-12 Thread Ares

someone can tell me where aspell writes new words? i noticed that I
have to re-add new words each time i spell-check! this is quite
annoying... tip: I do not have administrator privileges...

regards,
Diego

http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: aspell question

2007-04-13 Thread Ares

2007/4/13, Helge Hafting [EMAIL PROTECTED]:

Ares wrote:
 someone can tell me where aspell writes new words? i noticed that I
 have to re-add new words each time i spell-check! this is quite
 annoying... tip: I do not have administrator privileges...

This depends on the language.
New english words goes into the hidden file file  .aspell.en.pws
New norwegian words goes into the file .aspell.nb.pws
and so on. Each language has a code of its own.

No privileges are needed, as the files are stored in
your home directory.


I have two sets of pws files (which btw are named simply en.pws not
.aspell.en.pws) and this I think depends on the mess i made with
multiple aspell installation!

the newest pws files are in documents and settings\all
users\application data\aspell\personal that is, afaik, supposed to be
a shared folder. but I logged as an administrator and checked if my
non-admin account has the rights to change the folder, and it does
not. So I changed this setting and aspell seems to record the words
now when I use LyX as a normal user.

OT: It is annoying having to change the right settings on all folders
you use as a non-administrator user (I had to do so with many other
programs, and for some of them it didn't even work). but this is a
windows-related issue (at least on XP) - not aspell's or LyX's!

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: how to insert a blank page

2007-04-13 Thread Ares

From: Lennart [EMAIL PROTECTED]


 what about using two-sided document? do document -- settings and in
 the Page Layout panel check the two-sided document box.



Thanks! it works!

Some problems left with the numbering (lyx puts a 2 on the blank page while I am
using Italic numbers (I II IV) bu I think I can solve that myself)



I don't know if this works for you, but what I did for my PhD thesis
was creating the first pages in my favourite fashion, with:

 - first page: images (logo of my university), non standard author
names (me and my advisor), custom spacing (using vfill)
- second page: blank
- 3rd page: a quotation (it is always cool to quote someone!)
- 4th page blank

to achieve this I used the command \thispagestyle{empty} in an ERT box
(for each page) and page breakes. I know this is not in the LyX/LaTeX
philosophy but it was pretty quicker to achieve what I wanted.

Then i used the \frontmatter command (hence the roman numbering),
inserted an introduction, TOC's, \mainmatter command (arabic
numbering), the core of the thesis, and finally \backmatter with
appendices, bibliography etc

Here you can find a template for a PhD thesis based on this principles:
http://ares001.altervista.org/job/downloads/LyX_temp.rar

otherwise I can send you the whole thesis!

see you - Diego

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: Spellchecker problems on Windows

2007-05-05 Thread Ares

From: KTl [EMAIL PROTECTED]


Hi,
I can't add words to the dictionary. Does anybody know a solution to
that please?


Are you on WinXP? Do you work in LyX as an administrator or a
non-administrator user?

I had the same problem I guess, see

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg55105.html

new english words go in a file named en.pws, new italian words go in
it.pws etc. For me these files are in documents and settings\all
users\application data\aspell\personal

The point is that you need the rights to change the folder where such
files reside.

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: Spellchecker problems on Windows

2007-05-07 Thread Ares

2007/5/7, KTl [EMAIL PROTECTED]:

Hi,

thanks for your answer.
Yes, I am running WinXP. I tried running spell checker in LyX as an
administrator without success in adding new words to a dictionary. So
there should not be a conflict with the rights management.
Any other suggestions please?



as an administrator... mumble, did you install aspell as the same
administrator? If this does not solve the case I have no other idea...


-- kurt

  Hi,
  I can't add words to the dictionary. Does anybody know a solution to
  that please?

 Are you on WinXP? Do you work in LyX as an administrator or a
 non-administrator user?

 I had the same problem I guess, see

 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg55105.html

 new english words go in a file named en.pws, new italian words go in
 it.pws etc. For me these files are in documents and settings\all
 users\application data\aspell\personal

 The point is that you need the rights to change the folder where such
 files reside.

 --
 Diego
 http://www.ares001.altervista.org/

  |   __o| It is easier
  |  _`\(,_  |  to get forgiveness
  | (_)/ (_) |  than permission





--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


moving to linux...

2007-06-06 Thread Ares

Hi all,

I have been using LyX on windows XP since a while now and i am trying
to move to Linux. I have not tried to install LyX on Linux yet (I am
sorry but i already know that it won't be easy, I already tried once
with no success) but my question is different now.

When I view my old documents (i.e. the pdf files generated by LyX on
Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
is related to the installed fonts. maybe once I install LyX I will get
it working as expected? please let me know if you have any
suggestion...

--
Diego
http://www.ares001.altervista.org/


Re: moving to linux...

2007-06-06 Thread Ares

From: Vaclav Smidl [EMAIL PROTECTED]


I have been using LyX on windows XP since a while now and i am trying
to move to Linux. I have not tried to install LyX on Linux yet (I am
sorry but i already know that it won't be easy, I already tried once
with no success) but my question is different now.


*** On ubuntu it should be as easy as typing
$ apt-get install lyx
on the command line, or selecting lyx in synaptic and pressing apply button.
(assuming that you are connected to the internet)

I'll give it a try, but LyX is not on the Synaptic manager, as far as
I can see (on Ubuntu 7.04)... is it of your (= the LyX developers)
concern?



When I view my old documents (i.e. the pdf files generated by LyX on
Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this
is related to the installed fonts.


*** can you be a little bit more specific? What exactly is bad?
1) bitmap fonts, as explained in http://wiki.lyx.org/FAQ/PDF#toc5
2) you use some special fonts that are not embedded in the final pdf.
(cut)
Pdf's, by definition, should not depend on any LyX files.
Check http://wiki.lyx.org/FAQ/PDF and if you do not find a solution send a
minimal example of your pdf.


I thought that pdf, being a portable document format, didn't need
any special setting on the machine you use. Anyway you can view a
sample pdf generated on my machine (BTW with pdflatex) at:

http://ares001.altervista.org/job/downloads/dispense.pdf


From: Paul Smith [EMAIL PROTECTED]

## I think I understand the problem that Diego reports. The pdf viewers
in Linux are more accurate and if the fonts are not included in the
pdf file, the quality of the document on the screen looks not so god,
although on paper it looks perfect. If you are using the default LaTeX
font, then put the following line in the preamble of your LyX
document:

\usepackage{lmodern}

and your pdf files will look great on screen.


I think I didn't get all of the 1st part of your reply, but I tried
the suggestion it 2nd part with no success (at least on my machine):
the output pdf is empty.
I tried to export to pdf first as a normal user on windows: LyX
prompted me to install the lmodern package, but it did not produce any
result since I suspect that MiKTeX simply does *not* install the
packages because it does not have write access to its folder (under a
non-administrator account).
Then I tried as an administrator and there it came the mess! No prompt
for package installation and no output.

Is it normal I can't even find the lmoder package on the MiKTeX Package Manager?



--
Diego
http://www.ares001.altervista.org/

ps: thanks for replying. I don't know whether you're using windows or
linux, but I have to say that people here in the lyx-users list are
much more available and prompt than on any (other) linux-related list,
as I could observe in these days of experimentations on linux!


Re: moving to linux...

2007-06-07 Thread Ares

Thanks all for the advices, I don't even attach the last mails cause
they are too many! anyway I tried the three programs you suggested
(adoberead, kpdf and xpdf) and I really can't tell which works best
...
I'll check for trutype fonts installations on ubuntu later: I have to
install LyX first (so I am afraid that the moving to linux... will
become a series!)

Thank you all again
--
Diego
http://www.ares001.altervista.org/


Re: moving to linux...

2007-06-08 Thread Ares

From: Vaclav Smidl [EMAIL PROTECTED]


*** On ubuntu it should be as easy as typing
$ apt-get install lyx
on the command line, or selecting lyx in synaptic and pressing apply
button. (assuming that you are connected to the internet)

I'll give it a try, but LyX is not on the Synaptic manager, as far as
I can see (on Ubuntu 7.04)... is it of your (= the LyX developers)
concern?


# # # # This depends on your repositories. LyX is in the universe
repository. Do you have this one enabled?

I have all repositories enabled and I can't see LyX. I have Ubuntu
7.04. I'll try apt-get install lyx instead...

--
Diego
http://www.ares001.altervista.org/


Re: moving to linux...

2007-06-08 Thread Ares

2007/6/8, Bob Lounsbury [EMAIL PROTECTED]:

On 6/8/07, Ares [EMAIL PROTECTED] wrote:
 I have all repositories enabled and I can't see LyX. I have Ubuntu
 7.04. I'll try apt-get install lyx instead...

 --
 Diego
 http://www.ares001.altervista.org/



You did hit the Reload button in Synaptic after enabling the repositories
correct? This is the only thing I think of that would cause LyX to not show
up.

Bob




I put a couple of screenshots here

http://ares001.altervista.org/images/Screenshot-Add-Remove_Applications.png

and here

http://ares001.altervista.org/images/Screenshot-Software_Sources.png

as far as I can see I open the Add/Remove... applet (fig 1), press
Preferences button to show the Software Sources panel (fig2) where
universe box is already checked, so the Apply button is disabled
when I close back... and LyX is not there yet... please notice that
this is not a problem to me (since I managed to install LyX very
easily from the command line) but a problem for LyX (which won't show
up for Ububntu users)!

BTW how do you manage LaTeX packages in GNU/Linux? I mean what is the
equivalent of MiKTeX package manager in Windows?

Regards,
--
Diego
http://www.ares001.altervista.org/


Re: Bibliography list

2007-06-13 Thread Ares

From: Valter Filipe Silva [EMAIL PROTECTED]


Supose in my bib file i have two kind of reference (ex. my papers and

other's papers).
There are any way to list my papers in a separete chapter ??
I notice there is a multibib package to do it, however i must change all
\cite in the text, because the new one has more arguments.

my solution is to open the DocumentSettings panel, check the
sectioned bibliography box in the Bibliography tab (which means using
the bibtopic package as far as I understood), create a Bibliography
chapter with sections (in my case I separated the bibliography sources
in books, papers, thesis etc) and InsertList/TOCBibTeX Bibliography
in each section. The drawback is that you have to insert different
BibTeX files for each section, thus spread the biblio sources in
separate files (but you do not need to change the \cite command in the
body).

Hope it helps


--
Diego
http://www.ares001.altervista.org/


moving to linux... part 2 - tetex package installation

2007-06-13 Thread Ares

As announced, I am back with a new, stupid question on LyX under
GNU/Linux. I will ask it again since the question got lost in the
previous thread. It concerns tetex package installation. I'll ask it
as a dummy windows user.

when I was under windows (a long, long time ago), when exporting to
pdf from LyX, I was prompted by LyX to install missing packages and,
if I had an internet connection, everything worked smoothly.
Now under GNU/Linux do I have to install missing packages manually (I
know how to do it - more or less)? but then the question is: is there
a way to download all new files from command line in one step?

thanks in advance for the sympathetic advices...
--
Diego
http://www.ares001.altervista.org/


Re: moving to linux... part 2 - tetex package installation

2007-06-13 Thread Ares

2007/6/13, Helge Hafting [EMAIL PROTECTED]:

Ares wrote:
 As announced, I am back with a new, stupid question on LyX under
 GNU/Linux. I will ask it again since the question got lost in the
 previous thread. It concerns tetex package installation. I'll ask it
 as a dummy windows user.

 when I was under windows (a long, long time ago), when exporting to
 pdf from LyX, I was prompted by LyX to install missing packages and,
 if I had an internet connection, everything worked smoothly.
 Now under GNU/Linux do I have to install missing packages manually (I
 know how to do it - more or less)? but then the question is: is there
 a way to download all new files from command line in one step?

 thanks in advance for the sympathetic advices...
This depends on what linux distribution you use - I don't know
the details of them all. Pleace specify that the next time you ask
a linux install question.


you're right ... I am on Ubuntu 7.04 and just installed LyX
1.4.3-2ubuntu1 from the synaptic package manager from system menu.
I'll try apt-get



Debian and ubuntu certainly lets you install everything you
need with one command:

apt-get install list of package names here

Debian example:
apt-get install texlive-full lyx imagemagick xpdf

This will install the packages mentioned, as well as
any other packages these packages need to work. The
above command might pull in 50 packages or so.

You are probably using some other distribution, seeing
that you ask about tetex. On debian, texlive is a replacement
for tetex, as tetex is being phased out.

Most other distributions use the rpm packaging system.
It is a long time since I used those - one usually had to
download lots of rpm files and then give a command to install
them all. The main difference from the apt command above was
that you had to gather the files yourself, and then install all in
one go. rpm would then tell you if anything else was missing,
then you download that and try again until you have all you need.
I have heard that the rpm-based systems also have automatic
downloading these days, simplifying this process.


Helge Hafting




--
Diego
http://www.ares001.altervista.org/


Re: moving to linux... part 2 - tetex package installation

2007-06-13 Thread Ares

2007/6/13, Bob Lounsbury [EMAIL PROTECTED]:

On 6/13/07, killermike [EMAIL PROTECTED] wrote:
 On Wednesday 13 June 2007 07:47, Ares wrote:
 
  when I was under windows (a long, long time ago), when exporting to
  pdf from LyX, I was prompted by LyX to install missing packages and,
  if I had an internet connection, everything worked smoothly.
  Now under GNU/Linux do I have to install missing packages manually (I
  know how to do it - more or less)? but then the question is: is there
  a way to download all new files from command line in one step?
 
  thanks in advance for the sympathetic advices...

 On Kubuntu, with a fresh install, I generally install LyX from the package
 manager. This means that all of the supporting tools are automatically
 installed along with LyX. This tends to be a relatively old version, and
as I
 have had quite good luck with the 1.5.0betas, I then manually build a more
 uptodate version.

 --
 http://www.unmusic.co.uk - about me, music, geek sitcom etc.
 http://www.unmusic.co.uk/amhs/ - alt.music.home-studio

I think what were trying to explain to you is that in general if you
install tetex or texlive you won't need to install any additional packages
like you needed to under Windoze. Just install either tetex or texlive and
use LyX and if you run into an instance of needing a package then post back
to the list and we'll be more than happy to explain how to install those.

Also, remember that the synaptic package manager and apt-get install are the
same thing. So every package available to the system will be listed in
synaptic.

Bob




Example: I have a lyx document using the acronym package .when I
export to pdf (pdflatex) I get an error like nolist option for
acronym package, which depends (I guess) on the fact that the acronym
package shipped with tetex (and lyx) via synaptic is an old on. in
fact there was no nolist declaration in the original acronym.sty
file on my tetex tree.
so I re-installed acronym (I know how to do that, thanks) and
everything worked. So, again, if I use a new package I have to install
it manually with apt-get. I am not complaining, it is easy I find. but
I didn't know tetex comes with *all* (or almost all) available
packages...

Regards,
Diego
http://www.ares001.altervista.org/


  1   2   >