Frankguodong / latex-lab

Automatically exported from code.google.com/p/latex-lab
1 stars 0 forks source link

WYSIWYG ? #138

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 

It would be pretty neat, and extremely useful, if LaTeXlab could be used in
a similar way to how LyX or TeXmacs works.  It seems like it could be
fairly (?) straightfoward if only a restricted subset of Google Docs
formatting is supported, and if you don't immediately add support for
WYSIWYG equation rendering.  Even if just the following features were
supported from a docs-like interface it would be very nice:

- format equations (inline, multi-line, etc.)
- lists (numbered, bulleted)
- tables
- sections/sub-sections
- tables with captions
- images with captions
- image/table location: two options: right justified with text
wrapping or center justified without
- image size
- italics, bold, etc.

Original issue reported on code.google.com by scholar...@gmail.com on 19 May 2010 at 2:19

GoogleCodeExporter commented 9 years ago
In theory it should be possible to plug in a rich text editor and perform an 
HTML -> 
LaTeX conversion before compiling. I'm planning to make a development version 
of LaTeX 
Lab publicly available so that we can try these ideas out and get feedback, 
with 
minimal impact.

Original comment by bobbysoa...@gmail.com on 21 May 2010 at 4:17

GoogleCodeExporter commented 9 years ago
I am also a lyx user, but could live without a lot of its features. The one 
thing that's just so unbelievable useful though is the render-as-you-type-latex 
formula editing mode. I would use latex-lab all the time if it had this. Any 
chance we something like this anytime soon? 

Great work, btw.!

Original comment by sebastian.riedel@gmail.com on 9 Aug 2011 at 7:56

GoogleCodeExporter commented 9 years ago
Yes, please!!

I see this project with a lot of potential in this aspect.

A first step could be to have a pseudo live preview, which could be done by 
performing a simple latex -> html conversion.
No need to look fancy, to have visual feedback you just need to have minimal 
formatting as lyx's success has proved (big titles, emphasis, rendered 
formulae, figures displayed, frames, maybe eq and figure references....). Only 
a subset of latex really needs to be previewed while editing, the rest can be 
left as it is.
The hardest part is formulae, and Mathjax is awesome.
Take a look at elyxer for html conversion. Its output is fantastic, and does 
not require latex installed, since it converts directly lyx to html (only the 
subset of latex that lyx is capable of handling).

Next step could be to edit directly in the live preview. This would be perfect, 
especially for tablets, since lyx is quite heavy and not avaliable for Android 
nor iOS.

Keep the good work!!

Original comment by jalonsom...@gmail.com on 8 Dec 2011 at 2:44

GoogleCodeExporter commented 9 years ago
One more thing, better than WYSIWYG is WYSIWYM (what you see is what you mean).

Original comment by jalonsom...@gmail.com on 8 Dec 2011 at 2:46