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 helge.haft...@hist.nowrote:

 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: 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 helge.haft...@hist.nowrote:

 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: 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 <helge.haft...@hist.no>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


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: 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: 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: 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)



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: 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: 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


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-18 Thread Luca Carlon

Guenter Milde wrote:

On 2009-11-17, Luca Carlon wrote:

Helge Hafting helge.haft...@... 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-18 Thread Luca Carlon

Guenter Milde wrote:

On 2009-11-17, Luca Carlon wrote:

Helge Hafting helge.haft...@... 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-18 Thread Luca Carlon

Guenter Milde wrote:

On 2009-11-17, Luca Carlon wrote:

Helge Hafting <helge.haft...@...> 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)



Re: Problems with PDF files generated by LyX

2009-11-17 Thread Luca Carlon
Helge Hafting helge.haft...@... 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-17 Thread Luca Carlon
Rainer M Krug r.m.k...@... 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
Rainer M Krug r.m.k...@... 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
Anders Ekberg a...@... 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 LyXReconfigure).
 
 /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
On Tue, Nov 17, 2009 at 3:57 PM, Anders Ekberg a...@mac.com 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
Helge Hafting helge.haft...@... 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-17 Thread Luca Carlon
Rainer M Krug r.m.k...@... 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
Rainer M Krug r.m.k...@... 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
Anders Ekberg a...@... 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 LyXReconfigure).
 
 /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
On Tue, Nov 17, 2009 at 3:57 PM, Anders Ekberg a...@mac.com 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
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-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
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
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
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-12 Thread Luca Carlon
Steve Litt sl...@... 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-12 Thread Luca Carlon
Anders Ekberg a...@... 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 sl...@... 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-12 Thread Luca Carlon
Anders Ekberg a...@... 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-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



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: Problems with PDF files generated by LyX

2009-11-11 Thread Luca Carlon
Liviu Andronic landronim...@... 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



Re: Problems with PDF files generated by LyX

2009-11-11 Thread Luca Carlon
Guenter Milde mi...@... 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!



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: Problems with PDF files generated by LyX

2009-11-11 Thread Luca Carlon
Liviu Andronic landronim...@... 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



Re: Problems with PDF files generated by LyX

2009-11-11 Thread Luca Carlon
Guenter Milde mi...@... 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!



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: 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



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: lyx and pdf fonts

2009-11-10 Thread Luca Carlon
ask2 joakim.askl...@... 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: lyx and pdf fonts

2009-11-10 Thread Luca Carlon
ask2 joakim.askl...@... 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: 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



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: Problems with shortcuts

2009-11-08 Thread Luca Carlon
Guenter Milde mi...@... 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 ToolsSettingsEditShortcuts 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: Problems with shortcuts

2009-11-08 Thread Luca Carlon
Guenter Milde mi...@... 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 ToolsSettingsEditShortcuts 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: 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



Re: slides with line control and audio track

2009-11-02 Thread Luca Carlon
Pol xtek...@... 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



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



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



Re: Cannot export to pdf in Mac OSX Snow Leopard

2009-11-02 Thread Luca Carlon
Luca De Marini luca.darkmas...@... 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



Re: slides with line control and audio track

2009-11-02 Thread Luca Carlon
Pol xtek...@... 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



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



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



Re: Cannot export to pdf in Mac OSX Snow Leopard

2009-11-02 Thread Luca Carlon
Luca De Marini luca.darkmas...@... 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



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



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



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



Re: Cannot export to pdf in Mac OSX Snow Leopard

2009-11-02 Thread Luca Carlon
Luca De Marini <luca.darkmas...@...> 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



Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Luca Carlon
Jan David Hauck jdha...@... 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: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Luca Carlon
Jan David Hauck jdha...@... 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: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Luca Carlon
Jan David Hauck <jdha...@...> 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



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



Re: DVI preview

2009-10-28 Thread Luca Carlon
Luca Carlon carlon.l...@... 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



Re: DVI preview

2009-10-28 Thread Luca Carlon
Luca Carlon carlon.l...@... 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



Re: DVI preview

2009-10-28 Thread Luca Carlon
Luca Carlon <carlon.l...@...> 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



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!




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!




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!




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: References in program listings

2009-10-14 Thread Luca Carlon
Sam Liddicott s...@... 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(reference) 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: References in program listings

2009-10-14 Thread Luca Carlon
Sam Liddicott s...@... 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(reference) 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: 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



Re: Setting the width of cells

2009-10-13 Thread Luca Carlon
James C. Sutherland james.sutherl...@... 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-13 Thread Luca Carlon
Jürgen Spitzmüller sp...@... 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 james.sutherl...@... 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-13 Thread Luca Carlon
Jürgen Spitzmüller sp...@... 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-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



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!



Re: Setting the width of cells

2009-10-12 Thread Luca Carlon
James C. Sutherland james.sutherl...@... 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}



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 james.sutherl...@... 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


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!



Re: Setting the width of cells

2009-10-12 Thread Luca Carlon
James C. Sutherland james.sutherl...@... 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}



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 james.sutherl...@... 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


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!



  1   2   >