Re: Examples of integration between Lyx, Sage computations, and PDFLateX

2012-04-02 Thread Thomas Coffee
The attachments on this thread have been posted to the wiki (thanks Christian):

http://wiki.lyx.org/Layouts/Modules/#toc7
http://wiki.lyx.org/uploads/Modules/Sage

Note that if you customize the sage.module file, you can load the
changes immediately by entering "layout-reload" in the minibuffer.

As Murat has done: I hereby grant permission to license my
contributions to the sage module for LyX under the GNU General Public
License, version 2 or later.

- Thomas


On Sun, Apr 1, 2012 at 12:03 PM, Murat Yildizoglu  wrote:
> Good idea, thanks a lot for the suggestion Xu. Here is my statement (I put
> the devel list as CC) :
>
> I hereby grant permission to license my contributions to the SAGE module for
> LyX under the GNU
> General Public Licence, version 2 or later.
>
> Murat Yildizoglu
>
>
> 2012/3/31 Xu Wang 
>>
>> Dear Thomas
>>
>> Excellent news! Thank you for your continued work. I have not taken a fine
>> look at this yet, but I also use Ubuntu so it looks like it might be useful.
>>
>> I'm not sure but I think for your contributions to be used you have to
>> give permission explicitly. Look at this email:
>>
>> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg161963.html
>> You can send something like that to the development list, lyx-devel
>>
>> And it could be a good idea for Murat to do the same.
>>
>> I'm not sure though.
>>
>> In any case, thank you for your continued work. I am appreciative. Xu
>>
>>
>>
>> On Sat, Mar 31, 2012 at 3:08 AM, Thomas Coffee 
>> wrote:
>>>
>>> Hi Murat and Xu,
>>>
>>> I found your thread in the archives and did some further work on the
>>> LyX-SageTeX module that Murat posted previously.
>>>
>>> I fixed a few things that did not work for me in the version described
>>> earlier, and expanded the module specification to provide some
>>> additional conveniences for including literate Sage code in LyX
>>> documents. There's still much room for development and customization.
>>>
>>> The attachments comprise a set of files and a shell script "setup.sh"
>>> that should largely automate the configuration process on GNU/Linux
>>> systems.
>>>
>>> *** Help needed:
>>>
>>> For other interested users, I'd like to upload this to
>>> http://wiki.lyx.org/Layouts/Modules, but I get browser errors for
>>> links anywhere under the upload path wiki.lyx.org/ipfm. The page
>>> http://wiki.lyx.org/Site/AboutUploading also tells me I will need
>>> someone to tell me the upload password. Can anyone assist?
>>>
>>> Thanks,
>>>  Thomas
>>>
>>>
>>> > Hi Xu,
>>> >
>>> > Thank you for your appreciation. I cannot advance anymore without any
>>> > help
>>> > from Lyx gurus.
>>> > I think I have extracted all the information I can from the help docs.
>>> > If I
>>> > get any answer to my questions, I can construct a little bit smarter
>>> > module
>>> > but the one we have now is already usable. With some supplementary
>>> > tricks
>>> > from the sagetex documentation and through manual executions of the
>>> > latex-sage-latex chain, it is possible to make a lot of computations.
>>> >
>>> > I was also very agreeably surprised that this module can be used for
>>> > conversion to HTML from LyX, with figures and all.
>>> >
>>> > I attach to this message the module in its actual stage and some
>>> > instruction for making the conversion chain functional. I hope this
>>> > would
>>> > already help some of you.
>>> >
>>> > As soon as I have more information, I will try to complete the module
>>> > file.
>>> >
>>> > Best regards,
>>> >
>>> > Murat
>>> >
>>> > 2011/10/31 Xu Wang 
>>> >
>>> > > Dear Murat,
>>> > >
>>> > > This is great! I have been waiting for something like this for a long
>>> > > time. I also like the Sweave-like philosophy of this. It's more
>>> > > transparent
>>> > > and reproducible.
>>> > >
>>> > > I am looking forward to the final release with much excitement.
>>> > >
>>> > > Thank you for your work!
>>> > >
>>> > > Best,
>>> > >
>>> > > Xu
>

Uploading module to the LyX wiki

2012-03-31 Thread Thomas Coffee
Hello,

I would like to contribute a module to the wiki page at

http://wiki.lyx.org/Layouts/Modules

that provides some integration of LyX with SageTeX, in the style of
Sweave with R.


I can edit the wiki page, but I cannot find a way to upload files:
every link I try to do so takes me to a page of the form

http://wiki.lyx.org/ipfm/ 

which yields the browser error: "Firefox has detected that the server
is redirecting the request for this address in a way that will never
complete."


I am also told at

http://wiki.lyx.org/Site/AboutUploading

that I will need a password to upload files.


I'd appreciate any help you can offer.

Thanks,
 Thomas