Discussion:
Developping an add-on for LyX
a***@dubosc.fr
2014-04-29 07:58:34 UTC
Permalink
Dear LyX community,





I am Master’s engineering student from France (Ecole des Mines de Nantes) and I am currently working on a school project in a team in which I will need to use your software.

My school has recently developed a MOOC hosting Platform named PairForm. The Platform can currently host several types of documents using the software Scenari with the Opale module. My project tutor wants my team to make it possible to host LaTeX documents, using a LaTeX to html converter.

After some research, it seemed that LyX was the most efficient option when it comes to converting .tex files to .html files (as though files written under LyX are not exactly .tex files).




Besides, one of the main features of the documents my school wants to host on the Platform is the possibility for any user of PairForm to comment certain parts of the text : each document will be divided into numbered parts that can be commented.

We thus need to :

either make the LaTeX document authors to use a “mute” command in LaTeX that will be converted in an html command to implement the comment sections.


or develop a little module/add-on on LyX that will enable us to implement comment sections directly under LyX from a .tex file.


In each case, it seems that we need to implement additional features for LyX (be it the whole software itself or only the html converter). I remind you that we don’t own Scenari, so we cannot modify its code.


I wonder if it is possible to do so, what are the best options and most of all, what parts of the code will we need to modify/extend/draw our inspiration from.




I am not sure whether I am clear enough. Software integration is not exactly my field of expertise. I hope someone will answer to my request and tell me what we can do about that. Should you have any questions or remarks, feel free to contact me.







Yours sincerely,




Alexandra DUBOSC




Master’s engineering student specialized in Systems and Technologies applied to Nuclear Reactors

Ecole des Mines de Nantes, France

+33 668 490 826
Tommaso Cucinotta
2014-04-29 21:20:48 UTC
Permalink
Post by a***@dubosc.fr
Dear LyX community,
Hi,
Post by a***@dubosc.fr
My project tutor wants my team to make it possible to host LaTeX documents, using a LaTeX to html converter.
is that software a simple document management system ? Can it host documents in .tex, .html, .lyx, whatever else? Just to let us understand...
Post by a***@dubosc.fr
After some research, it seemed that LyX was the most efficient option when it comes to converting .tex files to .html files (as though files written under LyX are not exactly .tex files).
seems unclear for me why you need to convert .tex into .html. You said the software can host .tex files, so why the .html conversion? Then, that software can only host .html, not .tex, can it?
Post by a***@dubosc.fr
the possibility for any user of PairForm to comment certain parts of the text
FYI, LyX has a change-tracking capability, very similar to the one in MS Word or LibreOffice / OpenOffice.
Post by a***@dubosc.fr
o
either make the LaTeX document authors to use a “mute” command in LaTeX that will be converted in an html command to implement the comment sections.
This makes me think that your "mute" command would actually be the latex export of the LyX change-tracked segments. Not sure how they get converted to HTML, though.
Post by a***@dubosc.fr
o
or develop a little module/add-on on LyX that will enable us to implement comment sections directly under LyX from a .tex file.
You can use LyX to import a .tex file, edit it in LyX, with change-tracking enabled, then export to .html.
Post by a***@dubosc.fr
I remind you that we don’t own Scenari, so we cannot modify its code.
Is this an on-line platform with embedded HTML editing capabilities within the browser ?

Hope my answers are somewhat useful to you. Feel free to write again should you need any further info.

Tommaso
Liviu Andronic
2014-04-29 22:25:13 UTC
Permalink
I remind you that we don’t own Scenari, so we cannot modify its code.
Is this an on-line platform with embedded HTML editing capabilities within the browser ?
http://scenari-platform.org/projects/opale/en/pres/co/
https://en.wikipedia.org/wiki/Scenari

Just for the story, once I had myself a training using this programme,
and I was quite surprised how conceptually it was similar to what LyX
does. In a (very broad) sense, LyX is to LaTeX (.tex) what Scenari is
to Word (.odt). They even piggy-back on WYSIWYM, which to the best of
my knowledge a LyX-derived term. So in a way, Scenari is the closest
competitor of LyX in the desktop publishing business.

Regards,
Liviu

Loading...