Re: [GSoC 2014] Introduction

2014-04-28 Thread Charles de Miramon
Prannoy Pilligundla wrote:

Hi Prannoy,

I use, praise (and sometimes curse) Tex4ht to convert lyx/latex 
files 
to odt and msword.

Tex4ht is a powerful software but complex and fragile. In the many 
years, I have been using Tex4ht, I have found that :

- The overloading of the latex macros that tex4ht does can create 
complex bugs. 

- The xtpipes program that zip the different xml files into an odt 
file is also very fragile like so many java programs. 

Your project is therefore very exciting. 

The strength of Tex4ht is that it reuses the latex/tex parser and 
your idea to create a lua macro that could plug into lualatex to 
spit 
some xml seems great. I see that there is already some code on the 
Net to do something like that.
 https://github.com/michal-h21/lua4ht

On the other end, to make a convertor more robust on the long term, 
we should try to move away from tex4ht to more standard tools. 
Creating a program in Python with a library like ODFPY to handle the 
creation of the odf file will make it much more easier to hack, 
debug  
test and attract more people to help. The success of eLyXer shows 
that python is a good tool to create converters.

If you can find a way to keep the best of tex4ht and bring it to 
more 
modern tools, your project will be a success.

Charles

https://joinup.ec.europa.eu/software/odfpy/home



Re: [GSoC 2014] Introduction

2014-04-28 Thread Prannoy Pilligundla
Hi Everyone.

I updated the wiki for this Project and from now on I will constantly
record my progress there. Here is the link
http://wiki.lyx.org/GSoC/LyxToWordConversion

Thanks and Regards
Prannoy Pilligundla
ᐧ


On Mon, Apr 28, 2014 at 2:03 PM, Prannoy Pilligundla prannoy.b...@gmail.com
 wrote:

 Hi Everyone,

 I am Prannoy Pilligundla, a second year undergrad from India. I will be
 working on Roundtrip Conversion from Lyx to ODT throughout the Summer as a
 part of Google Summer of Code 2014. First of all I want to thank the
 community for keeping faith in my abilities and selecting my proposal, I
 will definitely put in my best efforts to complete this project. Also
 Congratulations to the Co-GSoCer Sushant Raikar, all the best to you too.

 I have already started work and currently my focus is to get accustomed to
 TeX4ht. To start with I am fixing issues with some styles one by one. My
 mid-term milestone
 is to have Lyx to ODT conversion working for the decided feature set. After
 tuning the export to ODT as per the requirements next thing to do would be
 to replace the last step of TeX4ht with a Lua module in LuaTeX  which
 relies on the same *.4ht files. In the last step TeX4ht processes the DVI
 file which has special instructions to complete the conversion. A package
 needs to be written in Lua which has full access to the nodes created by
 LuaTeX and loads tex4ht.sty to have access to the *.4ht files. This needs
 to be done because TeX4ht doesn’t support fonts without a tfm table,which
 means that opentype and truetype fonts used by fontspec cannot be used.
 After completing this part I will work on prototyping the reverse
 conversion.

 This is the brief overview of my project and I will definitely seek your
 help,advice and suggestions for all the difficulties that arise on the
 course of completing this project.

 Looking forward for an exciting Summer!!

 Thanks and Regards
 Prannoy Pilligundla
 ᐧ



Re: [GSoC 2014] Introduction

2014-04-28 Thread Georg Baum
Prannoy Pilligundla wrote:

 Hi Everyone,
 
 I am Prannoy Pilligundla, a second year undergrad from India. I will be
 working on Roundtrip Conversion from Lyx to ODT throughout the Summer as a
 part of Google Summer of Code 2014. First of all I want to thank the
 community for keeping faith in my abilities and selecting my proposal, I
 will definitely put in my best efforts to complete this project. Also
 Congratulations to the Co-GSoCer Sushant Raikar, all the best to you too.

Welcome to both of you! I might not always be the quickest one to respond, 
but I'll try to help wherever needed.


Georg



Re: [GSoC 2014] Introduction

2014-04-28 Thread Tommaso Cucinotta
On 28/04/14 09:33, Prannoy Pilligundla wrote:
 Hi Everyone,

 I am Prannoy Pilligundla, a second year undergrad from India.

Hi Prannoy,

welcome to the LyX devels community! I hope you'll enjoy spending time with us.

Looking forward for this fantastic enhancement to LyX-LibreOffice roundtrips, 
that's a highly desired feature.

Bye,

Tommaso



Re: [GSoC 2014] Introduction

2014-04-28 Thread Charles de Miramon
Prannoy Pilligundla wrote:

Hi Prannoy,

I use, praise (and sometimes curse) Tex4ht to convert lyx/latex 
files 
to odt and msword.

Tex4ht is a powerful software but complex and fragile. In the many 
years, I have been using Tex4ht, I have found that :

- The overloading of the latex macros that tex4ht does can create 
complex bugs. 

- The xtpipes program that zip the different xml files into an odt 
file is also very fragile like so many java programs. 

Your project is therefore very exciting. 

The strength of Tex4ht is that it reuses the latex/tex parser and 
your idea to create a lua macro that could plug into lualatex to 
spit 
some xml seems great. I see that there is already some code on the 
Net to do something like that.
 https://github.com/michal-h21/lua4ht

On the other end, to make a convertor more robust on the long term, 
we should try to move away from tex4ht to more standard tools. 
Creating a program in Python with a library like ODFPY to handle the 
creation of the odf file will make it much more easier to hack, 
debug  
test and attract more people to help. The success of eLyXer shows 
that python is a good tool to create converters.

If you can find a way to keep the best of tex4ht and bring it to 
more 
modern tools, your project will be a success.

Charles

https://joinup.ec.europa.eu/software/odfpy/home



Re: [GSoC 2014] Introduction

2014-04-28 Thread Prannoy Pilligundla
Hi Everyone.

I updated the wiki for this Project and from now on I will constantly
record my progress there. Here is the link
http://wiki.lyx.org/GSoC/LyxToWordConversion

Thanks and Regards
Prannoy Pilligundla
ᐧ


On Mon, Apr 28, 2014 at 2:03 PM, Prannoy Pilligundla prannoy.b...@gmail.com
 wrote:

 Hi Everyone,

 I am Prannoy Pilligundla, a second year undergrad from India. I will be
 working on Roundtrip Conversion from Lyx to ODT throughout the Summer as a
 part of Google Summer of Code 2014. First of all I want to thank the
 community for keeping faith in my abilities and selecting my proposal, I
 will definitely put in my best efforts to complete this project. Also
 Congratulations to the Co-GSoCer Sushant Raikar, all the best to you too.

 I have already started work and currently my focus is to get accustomed to
 TeX4ht. To start with I am fixing issues with some styles one by one. My
 mid-term milestone
 is to have Lyx to ODT conversion working for the decided feature set. After
 tuning the export to ODT as per the requirements next thing to do would be
 to replace the last step of TeX4ht with a Lua module in LuaTeX  which
 relies on the same *.4ht files. In the last step TeX4ht processes the DVI
 file which has special instructions to complete the conversion. A package
 needs to be written in Lua which has full access to the nodes created by
 LuaTeX and loads tex4ht.sty to have access to the *.4ht files. This needs
 to be done because TeX4ht doesn’t support fonts without a tfm table,which
 means that opentype and truetype fonts used by fontspec cannot be used.
 After completing this part I will work on prototyping the reverse
 conversion.

 This is the brief overview of my project and I will definitely seek your
 help,advice and suggestions for all the difficulties that arise on the
 course of completing this project.

 Looking forward for an exciting Summer!!

 Thanks and Regards
 Prannoy Pilligundla
 ᐧ



Re: [GSoC 2014] Introduction

2014-04-28 Thread Georg Baum
Prannoy Pilligundla wrote:

 Hi Everyone,
 
 I am Prannoy Pilligundla, a second year undergrad from India. I will be
 working on Roundtrip Conversion from Lyx to ODT throughout the Summer as a
 part of Google Summer of Code 2014. First of all I want to thank the
 community for keeping faith in my abilities and selecting my proposal, I
 will definitely put in my best efforts to complete this project. Also
 Congratulations to the Co-GSoCer Sushant Raikar, all the best to you too.

Welcome to both of you! I might not always be the quickest one to respond, 
but I'll try to help wherever needed.


Georg



Re: [GSoC 2014] Introduction

2014-04-28 Thread Tommaso Cucinotta
On 28/04/14 09:33, Prannoy Pilligundla wrote:
 Hi Everyone,

 I am Prannoy Pilligundla, a second year undergrad from India.

Hi Prannoy,

welcome to the LyX devels community! I hope you'll enjoy spending time with us.

Looking forward for this fantastic enhancement to LyX-LibreOffice roundtrips, 
that's a highly desired feature.

Bye,

Tommaso



Re: [GSoC 2014] Introduction

2014-04-28 Thread Charles de Miramon
Prannoy Pilligundla wrote:

Hi Prannoy,

I use, praise (and sometimes curse) Tex4ht to convert lyx/latex 
files 
to odt and msword.

Tex4ht is a powerful software but complex and fragile. In the many 
years, I have been using Tex4ht, I have found that :

- The overloading of the latex macros that tex4ht does can create 
complex bugs. 

- The xtpipes program that zip the different xml files into an odt 
file is also very fragile like so many java programs. 

Your project is therefore very exciting. 

The strength of Tex4ht is that it reuses the latex/tex parser and 
your idea to create a lua macro that could plug into lualatex to 
spit 
some xml seems great. I see that there is already some code on the 
Net to do something like that.
 https://github.com/michal-h21/lua4ht

On the other end, to make a convertor more robust on the long term, 
we should try to move away from tex4ht to more standard tools. 
Creating a program in Python with a library like ODFPY to handle the 
creation of the odf file will make it much more easier to hack, 
debug  
test and attract more people to help. The success of eLyXer shows 
that python is a good tool to create converters.

If you can find a way to keep the best of tex4ht and bring it to 
more 
modern tools, your project will be a success.

Charles

https://joinup.ec.europa.eu/software/odfpy/home



Re: [GSoC 2014] Introduction

2014-04-28 Thread Prannoy Pilligundla
Hi Everyone.

I updated the wiki for this Project and from now on I will constantly
record my progress there. Here is the link
http://wiki.lyx.org/GSoC/LyxToWordConversion

Thanks and Regards
Prannoy Pilligundla
ᐧ


On Mon, Apr 28, 2014 at 2:03 PM, Prannoy Pilligundla  wrote:

> Hi Everyone,
>
> I am Prannoy Pilligundla, a second year undergrad from India. I will be
> working on Roundtrip Conversion from Lyx to ODT throughout the Summer as a
> part of Google Summer of Code 2014. First of all I want to thank the
> community for keeping faith in my abilities and selecting my proposal, I
> will definitely put in my best efforts to complete this project. Also
> Congratulations to the Co-GSoCer Sushant Raikar, all the best to you too.
>
> I have already started work and currently my focus is to get accustomed to
> TeX4ht. To start with I am fixing issues with some styles one by one. My
> mid-term milestone
> is to have Lyx to ODT conversion working for the decided feature set. After
> tuning the export to ODT as per the requirements next thing to do would be
> to replace the last step of TeX4ht with a Lua module in LuaTeX  which
> relies on the same *.4ht files. In the last step TeX4ht processes the DVI
> file which has special instructions to complete the conversion. A package
> needs to be written in Lua which has full access to the nodes created by
> LuaTeX and loads tex4ht.sty to have access to the *.4ht files. This needs
> to be done because TeX4ht doesn’t support fonts without a tfm table,which
> means that opentype and truetype fonts used by fontspec cannot be used.
> After completing this part I will work on prototyping the reverse
> conversion.
>
> This is the brief overview of my project and I will definitely seek your
> help,advice and suggestions for all the difficulties that arise on the
> course of completing this project.
>
> Looking forward for an exciting Summer!!
>
> Thanks and Regards
> Prannoy Pilligundla
> ᐧ
>


Re: [GSoC 2014] Introduction

2014-04-28 Thread Georg Baum
Prannoy Pilligundla wrote:

> Hi Everyone,
> 
> I am Prannoy Pilligundla, a second year undergrad from India. I will be
> working on Roundtrip Conversion from Lyx to ODT throughout the Summer as a
> part of Google Summer of Code 2014. First of all I want to thank the
> community for keeping faith in my abilities and selecting my proposal, I
> will definitely put in my best efforts to complete this project. Also
> Congratulations to the Co-GSoCer Sushant Raikar, all the best to you too.

Welcome to both of you! I might not always be the quickest one to respond, 
but I'll try to help wherever needed.


Georg



Re: [GSoC 2014] Introduction

2014-04-28 Thread Tommaso Cucinotta
On 28/04/14 09:33, Prannoy Pilligundla wrote:
> Hi Everyone,
>
> I am Prannoy Pilligundla, a second year undergrad from India.

Hi Prannoy,

welcome to the LyX devels community! I hope you'll enjoy spending time with us.

Looking forward for this fantastic enhancement to LyX<->LibreOffice roundtrips, 
that's a highly desired feature.

Bye,

Tommaso