TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this project in which I need to write something like a workspace for LaTeX.

Basically I need to make split window. In one you would write the TeX code and in the other you would see the live result of your doing. And I have to add some other small things like coloring the syntax, changing the compile method (LaTeX, XeLatex...) etc.

I know and I've written some documents in LaTeX, so I know LaTeX fairly.

But!!! Where should I start? I don't know anything about it. Is there maybe some simple code to begin with? is there a small example? anything?

I'm not lazy. I went through the internet and found very few things about it.

Would like to hear some advice.

share|improve this question

closed as off topic by Claudio Fiandrino, Yiannis Lazarides, Joseph Wright Jan 4 '13 at 9:42

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

You sound like you are asking about LaTeX editors: there is a question about these in general. The way you describe the layout you want is available in several editors: I use TeXworks, which has a split 'one side code, one side output' approach, but so do many other editors. – Joseph Wright Jan 4 '13 at 8:14
Although I need to write it myself. So I will use only the latex exe to interpret the code or whatever exe to do so. – MaD Jan 4 '13 at 8:19
If I get you right then you are trying to program your own simple LaTeX editor. Therefore your question is maybe better placed within a section of sx that is more focussed on programming. For this you should maybe abstract it a bit more and first ask for some code that has an editor component in on half of the window and a second area where the content of the editor window is built by some random compiler. From there you could go on to get more LaTeX specific. – Benedikt Bauer Jan 4 '13 at 8:22
@Benedikt-Bauer I guess you right. Please can you clarify what is "section of sx"? I would do as advised. Thanks – MaD Jan 4 '13 at 8:27
@MaD sx is the shorthand for "stackexchange" and for example tex.sx is a section of stackexchange. Maybe it's best to start at the stackexchange.com site and see which sections would best fit your needs. – Benedikt Bauer Jan 4 '13 at 8:32