Re: Unknown graphics extension: eps

2010-01-06 Thread Luca Carlon
Thank you for your answer, but I already discovered what was going on: eps
files cannot be included in the preamble.

On Wed, Jan 6, 2010 at 11:29 AM, Helge Hafting wrote:

> Luca Carlon wrote:
>
>  Anyway, this is a problem related to this specific file, i.e. my thesis,
>> as if I create a new file and I insert in there an eps file, pdflatex
>> correctly produces the PDF. This is happening under both Linux and MacOSX.
>> Any idea why?
>>
>
> I see. your LyX works with .eps files, just not this particular one.
>
> So, either something is wrong with the file itself, or possibly
> the file name.
>
> To check that the file itself is ok, try opening it with some
> PDF viewer (gv, gs, ...) or check that it can be previewed inside LyX.
> (I.e. turn instant preview on in "tools->settings->graphics" and the eps
>  image should show up inside the main window. But of course this may fail if
> LyX has a bug that affects this particular file.)
>
> Now, LyX complains about the file extension of this particular file,
> so maybe there is a problem with the file name.
>
> Does the filename really end in ".eps", or do it end in something
> like ".eps." or ".eps " ?  An extra blank or uppercase letters will
> ruin the file extension for LyX. Also check if the filename
> contains spaces or other unusual characters - LyX has a history of
> problems with such things.
>
> Extra spaces can be hard to see, but the linux command line has a
> little trick for this. Type "ls " followed by the first few characters
> of the filename. Type enough characters so that no other file
> starts with the same sequence. Then press the TAB key. Linux will then
> complete the filename for you. If it contains spaces, then those spaces
> will be prefixed with a backslash so you can see them.
>
> If the file is in some other directory, beware of directories with
> strange names., (spaces etc.) This too has been a problem before.
>
> You can also try copying the file to a different filename (test.eps), and
> then inserting this copy into LyX. That should take care of
> any problem with the filename. Put the copy in the same
> directory as the lyx document, to avoid any problems with
> directory names.
>
> Helge Hafting
>
>


-- 
Luca Carlon
Doctor of Computer Engineering


Re: Printing book on two-sided document

2009-12-06 Thread Luca Carlon

Jürgen Spitzmüller wrote:

Manveru wrote:

The above statement is true only if use design the document for
printing, where the space to bind/glue will be added at final prepress
stage. In case of document printed on laser printer and then manually
binded the inner margins have to be wider than outer.


For this case, the classes provide an additional binding correction, which is 
_not_ to be considered as part of the page layout.


See for instance the BCOR option with KOMA script.

Jürgen

In fact I think that the binding will take a little space, so the sum 
won't be equal to the free space on the outer margin. Is there any way 
to add a correction with the book document class? If I understood 
correctly, if they tell me they need 0.5cm for the binding, I insert a 
correction of 0.5cm, which will be added to the inner margin and I would 
be ok, right?

Thanks for the information!

--
Luca Carlon
Computer Engineering Student
University of Padua (Italy)



Printing book on two-sided document

2009-12-06 Thread Luca Carlon
Hi! Tomorrow I will have to print my final thesis, and I'll have it 
binded. So, I checked in LyX the "two-sided document" checkbox, to have 
it on the two sides to create the book, but I noticed something strange. 
I suppose this is not LyX related, but I don't know: the created 
document is, of course, different when the page is on the right side or 
on the left side, but I noticed as well that the column is not centered, 
and that the wider free space is on the side of the page that will be 
binded. I mean, if the page is a right page, the wider free space is on 
the right, and the column with the text is moved a little on the left. 
Isn't this strange? Shouldn't the wider free space of the page be on the 
side of the page that is going to be bided? Is this correct or maybe 
I've done something wrong?
Than you very much for any help guys (and thank you for all the support 
you have been giving me during my work on my thesis! :-))!

--
Luca Carlon
Computer Engineering Student
University of Padua (Italy)



Re: Unknown graphics extension: eps

2009-11-19 Thread Luca Carlon
On Thursday 19 November 2009 02:44:55 pm Helge Hafting wrote:
> It works on debian linux with lyx 1.6.4, so check if you have necessary
> software. Also check that the converter is found in the PATH, otherwise
> LyX won't find it.
> 
> Checking in Tools->Preferences, I see that EPS is listed as a vector
> graphics format, and under "converters", the converter is listed as
> EPS->PDF(ps2pdf): epstopdf --outfile=$$o $$i
> 
> If you have the same, check that "epstopdf" is found if you give the
> command on the command line. If that works, run LyX from the command
> line and see if it works that way. LyX starting from a window manager
> menu / icon may theoretically operate with a different PATH where
> epstopdf cannot be found.
> 
> Strangely, the converter is only for the format PDF(ps2pdf). When
> pdflatex is used, the target format is  PDF(pdflatex), not PDF(ps2pdf).
> 
> It works anyway for me. As an experiment, you may want to create a new
> converter:
> from EPS to PDF(pdflatex). Just copy everything from the
> EPS->PDF(ps2pdf) converter.
> 
> Helge Hafting

epstopdf is in the path and is found by LyX I suppose, in fact I see at the 
buttom that it converts eps files.
When running LyX from the terminal I get:

l...@luca-desktop:~$ lyx
lyx(32608)/ EPSHandler::read: kimgio EPS: starting...
lyx(32608)/ seekToCodeStart: kimgio EPS: normal EPS file
lyx(32608)/ bbox: kimgio EPS BBOX:  90   236   493   560
lyx(32608)/ EPSHandler::read: kimgio EPS: success!

Anyway, this is a problem related to this specific file, i.e. my thesis, as if 
I create a new file and I insert in there an eps file, pdflatex correctly 
produces the PDF. This is happening under both Linux and MacOSX.
Any idea why?

Thanks!
Luca


Re: Problems with PDF files generated by LyX

2009-11-18 Thread Luca Carlon

Guenter Milde wrote:

On 2009-11-17, Luca Carlon wrote:

Helge Hafting  writes:
Can you try pdflatex instead? 



Unfortunaltely no, it is not possible. I use eps graphic files, and as
far as I know, they're not supported by pdflatex.


... however, LyX will convert it to EPS on the fly (if it finds a
converter and if the graphic is not included via ERT).

Günter


I created a new thread on this regard, it seems that here it's not 
working in this document...


--
Luca Carlon
Computer Engineering Student
University of Padua (Italy)



Unknown graphics extension: eps

2009-11-18 Thread Luca Carlon
Hi everyone! I have a document with many graphic files in eps format. 
When I try to generate the PDF using pdflatex, I get many occurrences of 
the following error:


Latex error: unknown graphics extension: .eps.

The PDF is created without errors with ps2pdf. I tried some of these 
files in a new lyx file alone, and pdflatex works correctly as well.
Any idea what there could be wrong? I tried on both MacOSX and Linux 
Kubuntu 9.10.

Thanks!

--
Luca Carlon
Computer Engineering Student
University of Padua (Italy)



Re: Problems with PDF files generated by LyX

2009-11-17 Thread Luca Carlon
On Tue, Nov 17, 2009 at 3:57 PM, Anders Ekberg  wrote:
> No, my mistake. Kornel is right. Possible the easiest for you is to convert 
> to png (you can write png-files directly from your matlab script to make it 
> easier). If you save with the same filename, but with .png you can just do a 
> find and replace in an editor to replace the eps-file names with png-files. 
> (Not a bad idea to save the eps-files too since they are resolution 
> independent).
>
> /Anders
>

Mmh... something strange is happening... I just tried to create the
PDF using pdflatex under Linux Kubuntu 9.10 with LyX 1.6.4 and nothing
changes. Same error message for eps files...

-- 
Luca


Re: Problems with PDF files generated by LyX

2009-11-17 Thread Luca Carlon
Anders Ekberg  writes:
> Hmmm, I think I remember having something like that a long time ago. Have you
made your files in Illustrator?
> Have you tried eps2eps on the file?
> (i guess you have done the standard sudo texhash and LyX>Reconfigure).
> 
> /Anders

No, I created those files with Matlab. No, I didn't try eps2eps... should I try
it on all the eps files?
Yes, I just tried the last two things, nothing changed.
Thanks for your help guys!

Luca



Re: Problems with PDF files generated by LyX

2009-11-17 Thread Luca Carlon
Rainer M Krug  writes:
> as far as I understand LyX, it uses a chain of converters to convert
> incompatible graphic formats. Under Linux, eps files can be converted to a
> usable format. In contrast, it seems that this is not possible under Mac, or
> the appropriate converters are not installed.
> EPS -> PDF conversion is handled by ps2pdf
> So I would assume if you can install this and reconfigure LyX, it should
> work.
> 
> Rainer

Well... there already is, and I suppose it is working in LyX too as all my eps
are also present as pdf, so I suppose LyX has already converted them. Maybe
dvipdfm did the conversion? Anyway, the command convert is working and epstopdf
is set in LyX and is working as well. I still get that message though.
Thanks!

Luca




Re: Problems with PDF files generated by LyX

2009-11-17 Thread Luca Carlon
Rainer M Krug  writes:
> > Unfortunaltely no, it is not possible. I use eps graphic files, and as far
> > as I
> > know, they're not supported by pdflatex.
> >
> 
> At least under linux, it works.
> 
> Rainer
> 
> >
> > Luca

This is very strange, under MacOSX I get:
Latex error: unknown graphics extension: .eps.
I never tried pdf latex under Linux, but I can try that as well.
Thanks.

Luca



Re: Problems with PDF files generated by LyX

2009-11-17 Thread Luca Carlon
Helge Hafting  writes:
> Can you try pdflatex instead? The pdf will be made with different 
> software, and usually much faster too. The only problem is if you use 
> pstricks or something similiar that isn't supported by pdflatex. You'll 
> notice that immediately though.
> 
> Helgeg Hafting

Unfortunaltely no, it is not possible. I use eps graphic files, and as far as I
know, they're not supported by pdflatex.

Luca



Re: Problems with PDF files generated by LyX

2009-11-12 Thread Luca Carlon
Anders Ekberg  writes:
> I have experienced problems with PDFs created on Mac. I don't know if it can
have anything to do with this:
> http://www.tug.org/mactex/2009/fontcache/fix-font-cache-bug.html
> Anyway the problem appears for, say one in 5 to 10 colleagues with no apparent
clue to where it will and won't
> work. What they report is basically that the fonts disappear (everything is
displayed in Courier). I
> solve it by creating a postscript file and then doing a ps2pdf. That seems to
work for everyone. So if you are
> on a mac, that may be worth trying. Otherwise, why not have her install LyX
and make the pdfs herself 
> 
> /Anders

This is interesting indeed. Anyway, you say ps2pdf should solve the problem? I
use precisely ps2pdf to generate the PDF.
Anyway, this is a good excuse to take advantage of the portability of LyX...
let's create the PDF under Linux! :-)

Unfortunately, I suppose it would be simpler to deliver her a printed copy any
time it's needed rather trying to ask her to install anything :-) The problem is
that I have loads of images, I would prefer not to send all those things.

Thanks for your help!

Luca



Re: Problems with PDF files generated by LyX

2009-11-12 Thread Luca Carlon
Steve Litt  writes:
> Have her email one back to you and see if YOU can open it. That will rule out 
> corruption.
> 
> STeveT

Well, I can do this. I will ask her. Thanks.

Luca



Re: Problems with PDF files generated by LyX

2009-11-11 Thread Luca Carlon
Guenter Milde  writes:
> It rather looks like data corruption on the way (or opening a PDF as
> normal text) How do you transfer the PDFs to her? What happens, if you
> hand her copy on a floppy or USB-stick?
> 
> Günter

I would exclude data corruption as she told me she has never been able to open
the PDFs I sent her... It means at least 5 or 6 completely different PDFs were
corrupted... sounds too strange to me. Unless the department has serious issues
with mail server. Indeed, I trasfer the file through mail.

Never tried to give the file directly, unfortunately she is rarely available for
directly speak. Seems like she's having some local problems, but she sent me
some PDFs too... so the problem is specific of my files. Could this be a problem
of version of the PDF? I really don't think so...

My solution for now is to try sharing the document with google documents.

Thanks for your answers!



Re: Problems with PDF files generated by LyX

2009-11-11 Thread Luca Carlon
Liviu Andronic  writes:
> I usually check my PDFs with Adobe Reader (here, on Linux). Did you try it?
> Liviu

Yes, of course. Tried with Adobe under MacOSX, Linux and Windows XP and Vista.
No problems...

Luca



Problems with PDF files generated by LyX

2009-11-11 Thread Luca Carlon
Hi guys! I know this is not the right place to ask this, but maybe you could be
patient and at least try to give me some hints.

I'm writing my thesis with LyX, and I produce PDF's using the ps2pdf command for
my supervisor. The problem is that now, she's telling me she's never been able
to read those PDFs but only my printings as the PDFs are not readable. She
complains that after every word it goes to a newline... So, she can't print nor
read it... I tried those PDFs on 7 systems, 4 OS's and a least 3 different PDF
readers... no problem. Even google documents is reading correctly. I suppose
she's using Adobe under Windows XP. Does anyone have any idea what there could
be wrong? I know its not directly LyX related, but maybe you guys have an idea
of what I could do. Anyone who experienced this problem before?
Thanks for any advice!

Luca



Re: lyx and pdf fonts

2009-11-10 Thread Luca Carlon
ask2  writes:
> Hi
> I try out LYX maybe once a year. What I am looking for when I try it is if
> the pdf files I can get is of high quality. Unfortunaltely that never is the
> case.
> 
> So am I just stupid or is there a way to get really high quality pdf from
> LYX?
> 
> Main purpose is to read on the computer so both images and text should be
> suitable for that.

Sorry, but what do you mean by high quality? As far as I can see, my documents
are perfect. I can zoom to whatever level and quality is perfect. I use eps
graphics, and it is highest possible quality as well. Could it be your PDF
reader the problem?

Luca



Re: Problems with shortcuts

2009-11-08 Thread Luca Carlon
Guenter Milde  writes:
> I would really be surprised, if "option+è" (i.e. option + LATIN SMALL
> LETTER E WITH GRAVE) resulted in a opening square bracket by default!
> 
> It sound like on your keyboard the square brackets are not on the same
> position as on a US keyboard (similar to my German keyboard, where I
> acces them with AltGr+8 and AltGr+9).
> 
> As a quick fix, you might want to define a custom keybinding for the
> function that inserts the opening bracket or the pair of brackets
> (go to Tools>Settings>Edit>Shortcuts and search for math-delim).
> 
> For future working out-of the box, you might need to file a bug report
> with exact specification of your keyboard layout / system language setting.
> 
> Günter

Sorry, my keyboard is, indeed, an italian keyboard. System is set to work with
an italian keyboard. alt+è does result in an open square bracket anywhere,
including LyX... I'll report this.
Thanks!

Luca



Problems with shortcuts

2009-11-08 Thread Luca Carlon
Hi! I've written many formulas, but I still can't figure out how to use the
shortcut to write square parenthesis in a formula under MacOSX. I read I have to
use option-M and then the [, but if I press option+è I get 'unknown function'.
Round parenthesis are ok, but the others are not... am I doing something wrong?
Thanks!

Luca



Re: Cannot export to pdf in Mac OSX Snow Leopard

2009-11-02 Thread Luca Carlon
Luca De Marini  writes:

> 
> Hallo people, I'm having an hard time using Lyx in Snow Leopard...
> I'm usin Lyx 1.6.3 right now because I cannot in any mode connect to the Lyx
> page and all relative pages (wiki, download, etc...), I don't know if the
> problem depends on that but I don't think so. I think there's some problem
> with Tex itself..
[cut]
> So, any guess on what could my problem be please?
> 
> greetings everyone,
> 
> Luca

I use LyX under MacOSX Snow Leopard and I have no problem at all. I suspect this
is related to lack of some software needed. Try to see if you have ps2pdf and
anything else LyX depends on. Mactex should solve the problem I suppose.

Luca Carlon



Creation of A5 documents

2009-11-02 Thread Luca Carlon
Hi! I wrote my thesis using the A4 format. Unfortunately now, I see that my
university requires me to produce a copy in A5 format. I tried switching from A4
to A5, but I get that equations and algorithms don't fit anymore in the page. I
don't know how to handle this. Is it possible to simply reduce everything
proportionally to the page size? I will have very small symbols in formulas, but
I don't think there is anything else I can do...
Thanks for any advice.

Luca



Insert a frontpage

2009-11-02 Thread Luca Carlon
Hi! I'm writing my thesis in LyX using the document class 'book'. This is very
good and I'd like not to change it. I need to insert a frontpage with some
informations, but I see this document class doesn't allow an abstract and some
other things, like the address. Thus I would need to insert a single page with a
different document class, like an AMS article. Is this possible? I tried to
include a LyX file written with this document class to have the frontpage, but I
get an error stating the included document has a different document class. Is
there any other way?
Thanks!

Luca



Re: slides with line control and audio track

2009-11-02 Thread Luca Carlon
Pol  writes:

> 
> I would like to create slides with the following features: 
> 
> - slide gradually reveals successive lines of text

This can be done with beamer.

Luca



Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Luca Carlon
Jan David Hauck  writes:

> 
> Referring to the recent discussion on LyX having problems on Snow Leopard, I
> can state, that the problem solved itself somehow. In fact LyX crashed
> "really" one time (I think when I accidentally wanted to paste a footnote
> inside a footnote or something) but after that no more problems even with
> autosave enabled (and on 3 minutes). I made System Update recently maybe
> that fixed it. Anybody else resolved it?

I tried to turn off autosave but it seems there is a bug in turning it off
(reported). Then I tried to set to 100 minutes the autosave interval, so that I
could work without it somehow (seems to me there is a bug there too, I had to
restart some times before 100 minutes were actually placed between autosavings).
I still get the error message some times, but very rarely. Anyay, I suppose the
bug is still there.

Luca Carlon



Re: DVI preview

2009-10-28 Thread Luca Carlon
Luca Carlon  writes:

> 
> Hi! My document is becoming larger and larger, so I read it is possible to use
> DVI to have quick previews. I tried it, but TeXShop is opened without showing
> anything. I tried previewing a guide with DVI and it works correctly. Is there
> any way to understand why my DVI preview is not showed? No error appears. 
> Maybe
> the problem is that I have eps images?
> Thanks!
> 
> Luca

Oops, sorry. I understood it was working this way as no DVI viewer is available.
TeXShop converts to pdf first.

Luca



DVI preview

2009-10-28 Thread Luca Carlon
Hi! My document is becoming larger and larger, so I read it is possible to use
DVI to have quick previews. I tried it, but TeXShop is opened without showing
anything. I tried previewing a guide with DVI and it works correctly. Is there
any way to understand why my DVI preview is not showed? No error appears. Maybe
the problem is that I have eps images?
Thanks!

Luca



Font in formulas

2009-10-25 Thread Luca Carlon
Hi! I'm trying to create a presentation with beamer, but I found out formulas
are written with a different font than that I commonly use.
Is it possible to change this? I've been able to change the font of the text but
not that of formulas.
Thanks!




Re: References in program listings

2009-10-14 Thread Luca Carlon
Sam Liddicott  writes:
> Do you want to reference other parts of the document or other listings?
> 
> If you use newfangle:
> http://repo.or.cz/w/newfangle.git
> 
> then you can create references between code blocks, or references within 
> the document to a code block from the document, using the \chunkref{} 
> command.
> 
> However you may want to consider using the lstset escapeinside option.
> 
> Newfangle uses:
>\lstset{escapeinside={=<}{>}}
> You could put this in the document preamble directly:
> 
> You can then insert LaTeX like this:
> 
> =<\ref{myref}>
> 
> in the listing - sort of like an ERT for listings.
> 
> I used =< and > for the latex delimiters because =< is not valid in any 
> language I know.
> 
> Sam

mmh... no, I don't think this is what I'm trying to do. I would like to insert
inside a listing a reference to other parts of the document, a Chapter for
instance, or an equation. For examples, in a C listing I could have:

// According to Equation() I can compute...

So that I have a reference to an equation inside the listing.
Is this possible?
Thanks!

Luca



References in program listings

2009-10-14 Thread Luca Carlon
Hi! Is it possible to insert references in program listings? I tried to do that
but the button apply is disabled. I tried even to copy and paste a reference but
the reference doesn't appear in the PDF. Is there any reason why this is not
possible?
Thanks!

Luca



Re: Setting the width of cells

2009-10-13 Thread Luca Carlon
Jürgen Spitzmüller  writes:
> This is no bug at all. The width of your 4 cells alone make 100% textwidth. 
> But then, there's also the space between the columns (\tabcolsep) and the 
> width of the lines, which will be added to the width.
> 
> Jürgen

There is something I don't understand here... There is no space between the
columns. Only a line of less than a mm. If you intend that the space between the
columns is used so that the text inside the cells doesn't touch the border, then
is there any way to have the cells to be actually exactly x% of the text column?
Thanks!

Luca



Re: Setting the width of cells

2009-10-13 Thread Luca Carlon
James C. Sutherland  writes:

> 
> Ahh.  You are indeed correct.  I can verify that the table over-runs  
> the page margins.  I suspect that this may be a LaTeX problem rather  
> than a LyX problem, but the LaTeX gurus on the list would need to  
> verify that.

So, should I report the bug or should I wait because it's not LyX related?
Thanks for your help!

Luca



Re: Setting the width of cells

2009-10-12 Thread Luca Carlon
Yes, the attached works. I attach the LyX file from which I took the latex
source I gave you and the PDF is the result.

On Mon, Oct 12, 2009 at 6:22 PM, James C. Sutherland <
james.sutherl...@utah.edu> wrote:

>
> On Oct 12, 2009, at 10:12 AM, Luca Carlon wrote:
>
>  James C. Sutherland  writes:
>>
>>> I cannot duplicate this with 1.6.4.1 on Mac OSX 10.6.1.  What version
>>> of LyX are you using?  What platform/OS are you on?  Can you post a
>>> minimal example?
>>>
>>
>> I don't know how to post an attachment here. I can post the Latex code. Is
>> this
>> ok? I'm using LyX 1.6.4.1 under 10.6.1 as well.
>>
>>  Does the attached file work for you?  You may have a problem with your
> LaTeX installation?  Your LaTeX example works for me...
>
>
-- 
Luca Carlon
Computer Engineering Student
University of Padua (Italy)


newfile2.lyx
Description: application/lyx


newfile2.pdf
Description: Adobe PDF document


Re: Setting the width of cells

2009-10-12 Thread Luca Carlon
James C. Sutherland  writes:
> I cannot duplicate this with 1.6.4.1 on Mac OSX 10.6.1.  What version  
> of LyX are you using?  What platform/OS are you on?  Can you post a  
> minimal example?

I don't know how to post an attachment here. I can post the Latex code. Is this
ok? I'm using LyX 1.6.4.1 under 10.6.1 as well.

\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{array}

\makeatletter

%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

\makeatother

\usepackage{babel}

\begin{document}
Test test test test test test test test test test test test test test
test test test test test test test test test test test test test test
test test test test test test test test test test test test test test
test test test test test test test test test test test test test test
test test test test test test test test test test test test test test
test test test test test test test test test test test test test test
test test test test test test test test.

%
\begin{table}
\begin{tabular}{|>{\centering}p{0.25\textwidth}|
>{\centering}p{0.25\textwidth}|>{\centering}
p{0.25\textwidth}|>{\centering}p{0.25\textwidth}|}
\hline 
 &  &  & \tabularnewline
\hline
\hline 
 &  &  & \tabularnewline
\hline 
 &  &  & \tabularnewline
\hline 
 &  &  & \tabularnewline
\hline
\end{tabular}

\caption{This is a test.}

\end{table}

\end{document}



Setting the width of cells

2009-10-12 Thread Luca Carlon
Hi! I was trying to set a table so that it takes the entire column of my
document. I have 4 columns, so I selected each entire column and I set the width
as 20% of the text width. The problem is that, at the end, the table doesn't
take 100% of the text width, but it takes far more. Am I doing something wrong
or is this a bug?
Thanks!



Redefinition of paragraphs styles

2009-10-09 Thread Luca Carlon
Hi! I'm using the book document style and I'm using the modules Theorems (AMS),
Theorems (AMS extended) and Theorems (By Chapter). I modified theorems-ams.inc
to be able to redefine some environments, such as definitions and examples, to
be italic. Anyway, I see that remarks are italic in LyX, whereas definitions and
examples are italic only when the pdf is created. Is there any way to change the
style of those paragraphs even in the LyX interface? This would make my document
clearer during editing.
Thanks!

Luca



Re: Making tables 100% text width

2009-10-09 Thread Luca Carlon
James C. Sutherland  writes:
> You can right-click on a cell and then choose "Settings".  There you  
> will find an option to specify the cell width.  You can set it as a  
> percentage of the text column width.

Thank you very much! This seems to fit my needs!

Luca



Making tables 100% text width

2009-10-07 Thread Luca Carlon
Hi! Is it possible somehow to make the tables take the entire column of the
text? I have a sequence of tables and I would like to make them all the same
size, the entire column if possible. I see I can do this for figures, is is
possible to do this for tables as well?
Thanks!



Disable autosaving

2009-09-18 Thread Luca Carlon
Hi! Is it possible somehow to disable autosaving? I'm experiencing a bug with
autosaving related to Snow Leopard, and I would relly like to disable
autosaving. The checkbox in the preferencing seems to be broken (reported this
bug). I disabled it and changed the interval, but I still get autosavings every
5 minutes. Is there any other way to stop autosaving?
Thanks!

Luca



Re: Vertical spacing of matrices

2009-09-10 Thread Luca Carlon
Uwe Stöhr  writes:
> You can use the commands \arraycolsep and \arraystretch. Have a look at the
Math manual, section 4, 
> that you find in LyX's Help menu.
> 
> regards Uwe

Thanks! This is great! Anyway, I noticed it increses the space for tables in
floats too. Isn't it possible to do this only for matrices? It's not too
comfortable to change i continuously...
Thanks again!

Luca



Vertical spacing of matrices

2009-09-10 Thread Luca Carlon
Hi! I'm writing some matrices where I put inside some quite big terms (dfracs
for instance). I noticed that it is frequent that some term is too close, almost
overlapping, to the element over it. Is it possible somehow to increase the
vertical spacing?
Thanks!



Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Abdelrazak Younes  writes:
> > Also, 
> > 
> > "Alt-P " should popup the combo box too (even in full-screen).
> 
> In branch?
> 
> Abdel.

I have 1.6.4.1 and here the combo appears.
Thanks!

Luca



Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Abdelrazak Younes  writes:
> Try:
> Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
> Alt-P S for Standard
> 
> Abdel.

Exactly what I needed! Thanks!



Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Hi! Is it possible when in fullscreen mode to set the paragraph style (Chapter,
Section, Standard etc...)? I can't find how to do it and it is bothering to exit
fullscreen mode every time I have to do it.
Thanks!

Luca



Re: Error messages when using book (AMS) document class

2009-08-27 Thread Luca Carlon
rgheck  writes:

> 
> On 08/26/2009 03:20 AM, Luca Carlon wrote:
[...]
> >   ...e provided value lies.}}{59}{algorithm.3.1}
> >
> > A number should have been here; I inserted `0'.
> > (If you can't figure out why I needed to see a number,
> > look up `weird error' in the index to The TeXbook.)
> >
> > Any idea what the problem could be? Thanks!
> >
> >
> Not offhand, no. What's the rest of the code there? If you look through 
> View>Source (or just export to LaTeX), you ought to be able to figure 
> out what's generating the offending code, at least.
> 
> rh
> 
> 

It seems the problem is related to the presence of the list of the algorithms.
The error now is (I don't know why but the error has changed from the time I
wrote the first message):

 \listof{algorithm}{List of Algorithms}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

and the paragraph is:

% Preview source code for paragraph 5

\listof{algorithm}{List of Algorithms}

If I remove the list of algorithms the document is compiled without problems.
Any idea why?
Thanks!



Re: multi page Algorithm Floats ?

2009-08-26 Thread Luca Carlon
Jaime Huerta Cepas  writes:

> 
> Hi all,
> 
> I wonder if there is any way of allowing Algorithm Float boxes to start in
> the middle of one page, and end in the next one. I'm using these kind of
> floats to include pieces of highlighted source code, so I guess text could
> be perfectly splitted.
> 
> Thanks!
> Jaime
> 

I tried to find a solution to this too, but it seems the only way is to manually
split the algorithm in two floats (this is what I do), or to use just the lyx
code paragraph style. Bye!



Error messages when using book (AMS) document class

2009-08-26 Thread Luca Carlon
Hi! I'm using without problems the book document class. However, I would like to
change it to book (AMS) but I get errors when trying to compile it. All the
errors are more or less like these:

 ...e provided value lies.}}{59}{algorithm.3.1}
  
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


 ...e provided value lies.}}{59}{algorithm.3.1}
  
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

Any idea what the problem could be? Thanks!



Inserting algorithms and codes in documents

2009-08-14 Thread Luca Carlon
Hi! I'm writing my thesis and now I would need to put some algorithms and codes
to my LyX document. I created a float Algorithm and I placed in it a program
listing. I see it is even possible to select many useful options, I think it is
really great and very very comfortable. There one thing I'm not able to fix...
it seems the algorithm doesn't go to the new page... One single page is not
sufficient to contain the entire algorithm... Is it possible to make LyX go to
the new page with the same algorithm?
Thanks!



Re: Changing the font size in the captions

2009-07-30 Thread Luca Carlon
Erez Yerushalmi  writes:

> 
> Hi,
> You change in documents>settings>fonts>base size> [to whatever you like]
> 
> this changes the fonts size of captions ...
> 
> erez

This seems to change the font in the entire document... and I can only increase
it. Isn't is possible to reduce the size of the font of the captions only?
Thanks!



Changing the font size in the captions

2009-07-30 Thread Luca Carlon
Is it possible to change the size of the font used in all the captions of images
and tables in the document?
Thanks!



Re: Setting paragraph style in document class

2009-07-29 Thread Luca Carlon
Sam Liddicott  writes:
> Where did you get the 'Example' paragraph type from?
> Book doesn't have this by default.
> 
> Sam

Are you sure? I selected 'book' in document class in the document settings. I
selected then Example from the menu of LyX where the are also the types 'Part',
'Chapter', 'Section' etc... Maybe I was wrong and that is not the paragraph
type, sorry, I don't know how it's called. When I select 'Example' I get a new
paragraph with the text 'Example a.b'. I would like the text I write in that
paragraph to be italic. I see in most math and engineering books examples are
italic.
Thanks for your answer!



Setting paragraph style in document class

2009-07-29 Thread Luca Carlon
Hi! I'm writing a book with LyX using the document class book. I just would like
to change the style of the 'Example' paragraph type so that it appears italic.
Is this possible? I would like as well to reduce the font size of the text in
the caption of the images: is this possible too?
Thanks for any suggestion!



Re: Boxed multiline formula

2009-04-30 Thread Luca Carlon
James C. Sutherland  writes:

> I have never figured out how to do this for an eqnarray environment -  
> only in a regular equation.  One possibility would be to use a  
> minipage and frame it.  This doesn't look to great, however...

Well... better than nothing! Unfortunately the box is far larger than the
equation. This is somehow different from the appearance of \boxed.

> >
> > Moreover I really need
> > to have one reference number only (not one for each line). Is this  
> > possible?
> >
> You can just assign a number to one line (e.g. the last line) in the  
> equation.  Within the equation, choose Edit->Math->Number This Line

Oh, ok. My problem was that number appeared on each line (not the same number).
This is ok.
Thank you very much!



Boxed multiline formula

2009-04-30 Thread Luca Carlon
Hi! I'm facing this problem: I would like to write long equations (two or even
three lines are needed) in which (possibly) each line is center aligned in the
page and so that it is possible to box them all together. Moreover I really need
to have one reference number only (not one for each line). Is this possible? I
tried reading the manual but the methods I read about multiline equations seem
not to fit my needs. I have a Tex code which does almost this (it lacks the
center alignment), but I would like to know if it is possible to do this without
the code to have the good looking equation, and not the inline code :-). Is this
possible?
Thanks guys!