[Seaside] PDF generation

Nicolas Vanni seasidepharo at yahoo.fr
Mon Nov 22 21:03:28 UTC 2010


hello

the meaning of  it doesn't work is 

"Unknown variable: OSProcess please correct or cancel" and next, few choices 
like "define a new class", "declare global", and "declare class variable".



for more information, i give the code generating the error.

|aFile aFileName|
aFileName := 'coucou'.
aFile := CrLFileStream fileNamed, '.tex'.
aFile lineEndConvention: #crlf.
self startOn: aFile.
aFile nextPutAll 'here is my first message';cr.
self endOn: aFile.
aFile close.

OSProcess waitForCommand: 'pdflatex coucou.tex'.

the code works until the OSProcess instruction.

my OS is ubuntu 10.4 i dont know if it has any impact but in doubt ...

thank you very much for you answer.




have a nice day



________________________________
De : Vaidotas Didžbalis <vaidasd at gmail.com>
À : Seaside - general discussion <seaside at lists.squeakfoundation.org>
Envoyé le : Dim 21 novembre 2010, 13h 46min 19s
Objet : Re: Re : [Seaside] PDF generation

Could you describe that happens when it "does not work"? It works for me.

On Fri, Nov 19, 2010 at 11:21 PM, Nicolas Vanni <seasidepharo at yahoo.fr> wrote:
> thanks.
> finally I'm using Latex generation but last codeline seems to do not work.
>
>         OSProcess waitForCommand:'pdflatex usecase.tex'
>
> Any idea ?
>
> ________________________________
> De : Philippe Marschall <philippe.marschall at gmail.com>
> À : Seaside - general discussion <seaside at lists.squeakfoundation.org>
> Envoyé le : Ven 19 novembre 2010, 16h 34min 36s
> Objet : Re: [Seaside] PDF generation
>
> 2010/11/19 Nicolas Vanni <seasidepharo at yahoo.fr>:
>> hello
>> I'm using seaside 3.0 with squeak and pharo.
>> can someone help me about PDF generation ?
>
> There's a pretty good summary at [1]
>
> [1] http://www.seaside.st/documentation/pdfs
>
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20101122/7d8c14e0/attachment.htm


More information about the seaside mailing list