[Scilab-users] Export vector graphics produced by Scilab 5.4.1

2013-04-12 Thread CRETE Denis
Hello,
I am trying to transfer graphical images (produced using "plot2d", with Scilab 
5.4.1 under Windows XP) to LibreOffice. 
When I use the "scratchpad", nothing appears in LO Writer, neither in LO 
Impress, neither "as well" in Word 2007: there seem to be a problem both for 
the Scilab command "Copy to ScratchPad" and the Ctrl+C shortcut.
Additionally,
- Exporting the file to a vectorial format such as EPS allows to obtain the 
result in Word 2007, but not in LibreOffice.
- Exporting an SVG file is almost correct for FireFox, but LibreOffice Writer 
does not display text (font compatibility?).
- Trying to export an EMF format, I get an error message requesting to install 
Ghostscript first. So I did, although I tried to visit the URL indicated in the 
error message: the page www.ghostscript.com/awki does not exist !-( On 
www.ghostscript.com the Welcome page begins with "Welcome to Ghostscript, an 
interpreter for the PostScript language and for PDF." = I still don't see the 
relation with EMF generation... but even installation of GS, the error message 
of Scilab is always asking for installation of GS...
- EPS is recognized by Word 2007; but my first attempt with LibreOffice failed.
I hope my report is correct.
Thank you in advance for any help,
Denis

-Message d'origine-
De : users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org] De 
la part de Mike Page
Envoyé : vendredi 12 avril 2013 11:16
À : International users mailing list for Scilab.
Objet : Re: [Scilab-users] non access to sci files

Hi,

I tried Sci2C once (a while ago now), but I found it had too many limitations.  
For me the lack of support for hypermatrices was enough to make it not usable.  
There is (I think) an example of Sci2C that shows how it works, but I don't 
remember where - sorry.

One other way to solve your problem is to use SendScilabJob.  This enables you 
to send Scilab commands from C code to the Scilab engine.  I use this quite a 
lot.  Then your Scilab code would only exist as a set of string constants 
inside C and could be compiled and hidden.

I posted an example of using SendScilabJob a while back - you can search the 
user group for "sendscilabjob" and you will find all the threads.

HTH,
Mike.


-Original Message-
From: users-boun...@lists.scilab.org
[mailto:users-boun...@lists.scilab.org]On Behalf Of Carrico, Paul
Sent: 12 April 2013 09:53
To: International users mailing list for Scilab.
Subject: Re: [Scilab-users] non access to sci files


Hi

It's look promissing ... I installed it but i'm spending a lot of time in 
finding some docs / help file and so on ...

Where are they ?

Cheers

Paul

-Message d'origine-
De : users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org]
De la part de David Chèze
Envoyé : vendredi 12 avril 2013 09:34
À : users@lists.scilab.org
Objet : Re: [Scilab-users] non access to sci files

Hi Paul,

did you already have a look at:
http://atoms.scilab.org/toolboxes/scilab2c

I've never used this module and i assume there are some limitations but it's 
worth giving a try...

David




--
View this message in context:
http://mailinglists.scilab.org/Scilab-users-non-access-to-sci-files-tp402650
8p4026525.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users




Le présent mail et ses pièces jointes sont confidentiels et destinés à la 
personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par 
erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de 
votre système. Toute divulgation, copie ou distribution de cet e-mail est 
strictement interdite.

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please contact the sender and delete 
the email from your system. If you are not the named addressee you should not 
disseminate, distribute or copy this email.

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3272 / Virus Database: 3162/6239 - Release Date: 04/11/13


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Export vector graphics produced by Scilab 5.4.1

2013-04-12 Thread Adrien Vogt-Schilb

Hi

The "copy to clipboard" function is now known to be broken in sci 5.4: 
http://bugzilla.scilab.org/show_bug.cgi?id=11648


For the other problem, do you know if the path to ghosscript is included 
in your environment variable PATH ?

if you have no idea what this means, try the following two lines in Scilab:

 unix_g("path")
strindex(unix_g("path"),"gs")

and report here the answer

regards


 Original Message ----
Subject:    [Scilab-users] Export vector graphics produced by Scilab 5.4.1
Date:   Fri, 12 Apr 2013 14:29:21 +0200
From:   CRETE Denis 
Reply-To: 	International users mailing list for Scilab. 


To: International users mailing list for Scilab. 



Hello,
I am trying to transfer graphical images (produced using "plot2d", with Scilab 
5.4.1 under Windows XP) to LibreOffice.
When I use the "scratchpad", nothing appears in LO Writer, neither in LO Impress, neither "as 
well" in Word 2007: there seem to be a problem both for the Scilab command "Copy to 
ScratchPad" and the Ctrl+C shortcut.
Additionally,
- Exporting the file to a vectorial format such as EPS allows to obtain the 
result in Word 2007, but not in LibreOffice.
- Exporting an SVG file is almost correct for FireFox, but LibreOffice Writer 
does not display text (font compatibility?).
- Trying to export an EMF format, I get an error message requesting to install 
Ghostscript first. So I did, although I tried to visit the URL indicated in the error 
message: the page www.ghostscript.com/awki does not exist !-( On www.ghostscript.com the 
Welcome page begins with "Welcome to Ghostscript, an interpreter for the PostScript 
language and for PDF." = I still don't see the relation with EMF generation... but 
even installation of GS, the error message of Scilab is always asking for installation of 
GS...
- EPS is recognized by Word 2007; but my first attempt with LibreOffice failed.
I hope my report is correct.
Thank you in advance for any help,
Denis


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Export vector graphics produced by Scilab 5.4.1

2013-04-12 Thread David Chèze
Hi Denis,

personnaly (WIN7-32bits scilab5.4.1final) I ever use png export feature for
graphic, I can set the resolution and then i don't really need any scalable
property when writing report (I rather use the insert picture from file than
copy/paste) or similar document.
I tested also pdf export and svg export which performs quite well too :
import in inkscape for modification eventually but in the end I put a
picture only in report.

David



--
View this message in context: 
http://mailinglists.scilab.org/Scilab-users-non-access-to-sci-files-tp4026508p4026532.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Export vector graphics produced by Scilab 5.4.1

2013-04-12 Thread CRETE Denis
Thank you for your help !
However, I included in AUTOEXEC.BAT the DOS command SET PATH=%PATH%; 

Then I restarted my computer, and checked with the DOS command ECHO %PATH% and 
the additional path is appended.
But the error message for EMF export is the same: it asks again to install 
Ghostscript.
Best regards
Denis

De : users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org] De 
la part de Adrien Vogt-Schilb
Envoyé : vendredi 12 avril 2013 14:53
À : International users mailing list for Scilab.
Objet : [Scilab-users] Export vector graphics produced by Scilab 5.4.1

Hi

The "copy to clipboard" function is now known to be broken in sci 5.4: 
http://bugzilla.scilab.org/show_bug.cgi?id=11648

For the other problem, do you know if the path to ghosscript is included in 
your environment variable PATH ?
if you have no idea what this means, try the following two lines in Scilab:

 unix_g("path")
strindex(unix_g("path"),"gs")

and report here the answer

regards


---- Original Message ----
Subject:

[Scilab-users] Export vector graphics produced by Scilab 5.4.1

Date:

Fri, 12 Apr 2013 14:29:21 +0200

From:

CRETE Denis <mailto:denis.cr...@thalesgroup.com>

Reply-To:

International users mailing list for Scilab. 
<mailto:users@lists.scilab.org>

To:

International users mailing list for Scilab. 
<mailto:users@lists.scilab.org>



Hello,

I am trying to transfer graphical images (produced using "plot2d", with Scilab 
5.4.1 under Windows XP) to LibreOffice.

When I use the "scratchpad", nothing appears in LO Writer, neither in LO 
Impress, neither "as well" in Word 2007: there seem to be a problem both for 
the Scilab command "Copy to ScratchPad" and the Ctrl+C shortcut.

Additionally,

- Exporting the file to a vectorial format such as EPS allows to obtain the 
result in Word 2007, but not in LibreOffice.

- Exporting an SVG file is almost correct for FireFox, but LibreOffice Writer 
does not display text (font compatibility?).

- Trying to export an EMF format, I get an error message requesting to install 
Ghostscript first. So I did, although I tried to visit the URL indicated in the 
error message: the page 
www.ghostscript.com/awki<http://www.ghostscript.com/awki> does not exist !-( On 
www.ghostscript.com<http://www.ghostscript.com> the Welcome page begins with 
"Welcome to Ghostscript, an interpreter for the PostScript language and for 
PDF." = I still don't see the relation with EMF generation... but even 
installation of GS, the error message of Scilab is always asking for 
installation of GS...

- EPS is recognized by Word 2007; but my first attempt with LibreOffice failed.

I hope my report is correct.

Thank you in advance for any help,

Denis



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Export vector graphics produced by Scilab 5.4.1

2013-04-12 Thread Adrien Vogt-Schilb

Hi

sorry it didn't work (i have to admit i was not certain that would work)

According to  http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3 you 
also need to install pstoedit


I would install pstoedit, also add it to the PATH.

If from there it still does not work, I would follow the advice provided 
by http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3 and copy paste 
the appropriate dlls from gs and pstoedit in the scilab folder


If you may, report here whether adding gs and pstoedit bin directory to 
the PATH was sufficient, or if you had to copy/paste the binaries as 
suggested by http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3



On 12/04/2013 16:44, CRETE Denis wrote:


Thank you for your help !

However, I included in AUTOEXEC.BAT the DOS command SET PATH=%PATH%; 



Then I restarted my computer, and checked with the DOS command ECHO 
%PATH% and the additional path is appended.


But the error message for EMF export is the same: it asks again to 
install Ghostscript.


Best regards

Denis

*De :*users-boun...@lists.scilab.org 
[mailto:users-boun...@lists.scilab.org] *De la part de* Adrien Vogt-Schilb

*Envoyé :* vendredi 12 avril 2013 14:53
*À :* International users mailing list for Scilab.
*Objet :* [Scilab-users] Export vector graphics produced by Scilab 5.4.1

Hi

The "copy to clipboard" function is now known to be broken in sci 5.4: 
http://bugzilla.scilab.org/show_bug.cgi?id=11648


For the other problem, do you know if the path to ghosscript is 
included in your environment variable PATH ?
if you have no idea what this means, try the following two lines in 
Scilab:


 unix_g("path")
strindex(unix_g("path"),"gs")

and report here the answer

regards



 Original Message ----

*Subject: *

    

[Scilab-users] Export vector graphics produced by Scilab 5.4.1

*Date: *



Fri, 12 Apr 2013 14:29:21 +0200

*From: *



CRETE Denis  
<mailto:denis.cr...@thalesgroup.com>


*Reply-To: *



International users mailing list for Scilab.  
<mailto:users@lists.scilab.org>


*To: *



International users mailing list for Scilab.  
<mailto:users@lists.scilab.org>


Hello,
I am trying to transfer graphical images (produced using "plot2d", with Scilab 
5.4.1 under Windows XP) to LibreOffice.
When I use the "scratchpad", nothing appears in LO Writer, neither in LO Impress, neither "as 
well" in Word 2007: there seem to be a problem both for the Scilab command "Copy to 
ScratchPad" and the Ctrl+C shortcut.
Additionally,
- Exporting the file to a vectorial format such as EPS allows to obtain the 
result in Word 2007, but not in LibreOffice.
- Exporting an SVG file is almost correct for FireFox, but LibreOffice Writer 
does not display text (font compatibility?).
- Trying to export an EMF format, I get an error message requesting to install Ghostscript first. So 
I did, although I tried to visit the URL indicated in the error message: the 
pagewww.ghostscript.com/awki  <http://www.ghostscript.com/awki>  does not exist !-( 
Onwww.ghostscript.com  <http://www.ghostscript.com>  the Welcome page begins with "Welcome 
to Ghostscript, an interpreter for the PostScript language and for PDF." = I still don't see the 
relation with EMF generation... but even installation of GS, the error message of Scilab is always 
asking for installation of GS...
- EPS is recognized by Word 2007; but my first attempt with LibreOffice failed.
I hope my report is correct.
Thank you in advance for any help,
Denis
  




___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Export vector graphics produced by Scilab 5.4.1

2013-04-12 Thread Adrien Vogt-Schilb

Hi

sorry it didn't work (i have to admit i was not certain that would work)

According to  http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3 you 
also need to install pstoedit


I would install pstoedit, also add it to the PATH.

If from there it still does not work, I would follow the advice provided 
by http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3 and copy paste 
the appropriate dlls from gs and pstoedit in the scilab folder


If you may, report here whether adding gs and pstoedit bin directory to 
the PATH was sufficient, or if you had to copy/paste the binaries as 
suggested by http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3


Best regards
Adrien


On 12/04/2013 16:44, CRETE Denis wrote:


Thank you for your help !

However, I included in AUTOEXEC.BAT the DOS command SET PATH=%PATH%; 



Then I restarted my computer, and checked with the DOS command ECHO 
%PATH% and the additional path is appended.


But the error message for EMF export is the same: it asks again to 
install Ghostscript.


Best regards

Denis

*De :*users-boun...@lists.scilab.org 
[mailto:users-boun...@lists.scilab.org] *De la part de* Adrien Vogt-Schilb

*Envoyé :* vendredi 12 avril 2013 14:53
*À :* International users mailing list for Scilab.
*Objet :* [Scilab-users] Export vector graphics produced by Scilab 5.4.1

Hi

The "copy to clipboard" function is now known to be broken in sci 5.4: 
http://bugzilla.scilab.org/show_bug.cgi?id=11648


For the other problem, do you know if the path to ghosscript is 
included in your environment variable PATH ?
if you have no idea what this means, try the following two lines in 
Scilab:


 unix_g("path")
strindex(unix_g("path"),"gs")

and report here the answer

regards



 Original Message ----

*Subject: *

    

[Scilab-users] Export vector graphics produced by Scilab 5.4.1

*Date: *



Fri, 12 Apr 2013 14:29:21 +0200

*From: *



CRETE Denis  
<mailto:denis.cr...@thalesgroup.com>


*Reply-To: *



International users mailing list for Scilab.  
<mailto:users@lists.scilab.org>


*To: *



International users mailing list for Scilab.  
<mailto:users@lists.scilab.org>


Hello,
I am trying to transfer graphical images (produced using "plot2d", with Scilab 
5.4.1 under Windows XP) to LibreOffice.
When I use the "scratchpad", nothing appears in LO Writer, neither in LO Impress, neither "as 
well" in Word 2007: there seem to be a problem both for the Scilab command "Copy to 
ScratchPad" and the Ctrl+C shortcut.
Additionally,
- Exporting the file to a vectorial format such as EPS allows to obtain the 
result in Word 2007, but not in LibreOffice.
- Exporting an SVG file is almost correct for FireFox, but LibreOffice Writer 
does not display text (font compatibility?).
- Trying to export an EMF format, I get an error message requesting to install Ghostscript first. So 
I did, although I tried to visit the URL indicated in the error message: the 
pagewww.ghostscript.com/awki  <http://www.ghostscript.com/awki>  does not exist !-( 
Onwww.ghostscript.com  <http://www.ghostscript.com>  the Welcome page begins with "Welcome 
to Ghostscript, an interpreter for the PostScript language and for PDF." = I still don't see the 
relation with EMF generation... but even installation of GS, the error message of Scilab is always 
asking for installation of GS...
- EPS is recognized by Word 2007; but my first attempt with LibreOffice failed.
I hope my report is correct.
Thank you in advance for any help,
Denis
  




___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Export vector graphics produced by Scilab 5.4.1

2013-04-16 Thread Dang, Christophe
Hello,

personally, I export as SVG,
then modify it with Inkscape
(free and open, see http://www.inkscape.org/ )

This allows me to focus on the data rather than on the final layout.

With Inkscape, you can export PDF, PNG, EPS, EMF
(although some problems with surface colours in EMF), ...

Regards

-- 
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error), please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Export vector graphics produced by Scilab 5.4.1

2013-04-16 Thread CRETE Denis
Thank you for the hint! 
However, it looks strange that formats other than SVG are not exported 
correctly... I can survive using InkScape to convert SVG in whatever 
LibreOffice is accepting, but it's much less friendly than just copy/paste. It 
may even be possible to use LibreOffice Draw as a converter.
Best regards
Denis

-Message d'origine-
De : users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org] De 
la part de Dang, Christophe
Envoyé : mardi 16 avril 2013 10:53
À : International users mailing list for Scilab.
Objet : Re: [Scilab-users] Export vector graphics produced by Scilab 5.4.1

Hello,

personally, I export as SVG,
then modify it with Inkscape
(free and open, see http://www.inkscape.org/ )

This allows me to focus on the data rather than on the final layout.

With Inkscape, you can export PDF, PNG, EPS, EMF (although some problems with 
surface colours in EMF), ...

Regards

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error), please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users