Re: [NTG-context] preview-context

2007-12-24 Thread Gour
On Sun, 23 Dec 2007 19:29:00 -0500 (EST)
Aditya Mahajan [EMAIL PROTECTED] wrote:

 I disagree. I was grately impressed by preview-latex when I tried it 
 (around 2 years ago), so much so that I even considered moving to
 emacs from vim. It is extremely useful for mathematics and images:
 you can see the typeset result rather than a bunch of code. This
 means that you can proofread in the editor rather than a pdf (or dvi)
 reader.

Besides the above use-cases (I do not need math), I'm thinking about the 
tables - having some visual help can, imho, help a lot.

 What is needed for an improved support of preview-latex in context?
 Last time I looked into preview.sty, I could not understand how it
 works. If I were to do the same thing, this is how I would do it.
 
 Run context with a custom module, which writes the content of each 
 \startformula formula \stopformula into a temporary file as
 \startTEXpage \startformula formula \stopformula \stopTEXpage.
 Lilypond and gnuplot modules already do something similar. Then
 process the temporary tex file. You will get a pdf file with one
 formula on each page. Convert each page into png, and use some lisp
 magic to insert the image at appropriate places in the buffer.
 Obviously I am missing a lot of things. But, am I correct in assuming
 that from the context end, the problem is simple?

Thank you for your insight...

Let me become more familiar with the emacs and Context first, then we can take a
closer look at elisp  preview-latex...

Sincerely,
Gour

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] preview-context

2007-12-24 Thread Gour
On Sun, 23 Dec 2007 17:20:41 +0100
Patrick Gundlach [EMAIL PROTECTED] wrote:

 Hi Gour,
 
 I'm the guy who created etexshow.

I recognize your name from the past ;)

 No there is not. I don't use emacs any more (for ConTeXt). 

:-(

 I will  take a look at texshow.contextgarden.net in the first quarter of 2008;
 perhaps I'll have a look at etexshow at the same time. 

Thanks a lot.

 And if you are interested in AUCTeX development, don't hesitate. elisp
 is not that hard and very, very interesting to program in. A lot of
 people will be greatful!

I'll try my best...the problem is that I only have 24hrs per day ;)

Sincerely,
Gour
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] preview-context

2007-12-24 Thread Hans Hagen
Aditya Mahajan wrote:

 Run context with a custom module, which writes the content of each 
 \startformula formula \stopformula into a temporary file as
 \startTEXpage \startformula formula \stopformula \stopTEXpage. Lilypond 
 and gnuplot modules already do something similar. Then process the 
 temporary tex file. You will get a pdf file with one formula on each page. 
 Convert each page into png, and use some lisp magic to insert the image at 
 appropriate places in the buffer. Obviously I am missing a lot of things.
 But, am I correct in assuming that from the context end, the problem is 
 simple?

that's what i meant with components (formulas and such) and that should 
be doable (i just wonder why previewing snippets of pdf is no option so 
that you can avoid the png stage)

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] preview-context

2007-12-23 Thread Gour
Hi!

I've asked on auctex ml about the prospects of getting preview-context, similar
to preview-latex and here is the reply:

There are no ConTeXt users among the active developers (actually, there
is not even much activity in the LaTeX area, but the status quo is
rather more advanced).  As long as that does not change, I don't see
much of a point to talk vapour. 

(see  http://article.gmane.org/gmane.emacs.auctex.general/2387)

Since I plan to move to ConTeXt using AUCTeX, I'm interested to hear if
there is some interest here (amongst emacs users) to have preview-context
withing AUCTeX package?

otoh, I'm interested if there is newer version of  etexshow
(Browser for ConTeXt commands) ?

Sincerely,
Gour


signature.asc
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] preview-context

2007-12-23 Thread Roger Mason
Gour [EMAIL PROTECTED] writes:

 Since I plan to move to ConTeXt using AUCTeX, I'm interested to hear if
 there is some interest here (amongst emacs users) to have preview-context
 withing AUCTeX package?

I'm interested in improved Context support in Auctex in general.  I am
a recent convert to Context, using it for my first project at the
moment.  I find much of the discussion on this list to be over my head
still.

I have a very little experence programming emacs lisp but have not
practised it for 3 or 4 years.  Currently I have implemented one or
two things I wanted in the form of (not very good!) emacs skeletons.
I'll help as much as I can, even if only with testing.

 otoh, I'm interested if there is newer version of  etexshow
 (Browser for ConTeXt commands) ?

Have you seen http://texshow.contextgarden.net/ ?  I don't know how up
to date it is.

Cheers,
Roger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] preview-context

2007-12-23 Thread Patrick Gundlach
Hi Gour,

I'm the guy who created etexshow.

 otoh, I'm interested if there is newer version of  etexshow
 (Browser for ConTeXt commands) ?

No there is not. I don't use emacs any more (for ConTeXt). I will
take a look at texshow.contextgarden.net in the first quarter of 2008;
perhaps I'll have a look at etexshow at the same time. 

And if you are interested in AUCTeX development, don't hesitate. elisp
is not that hard and very, very interesting to program in. A lot of
people will be greatful!

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] preview-context

2007-12-23 Thread Jean Magnan de Bornier
Le 23 décembre à 12:48:39 Gour [EMAIL PROTECTED] écrit notamment:

| Since I plan to move to ConTeXt using AUCTeX, I'm interested to hear if
| there is some interest here (amongst emacs users) to have preview-context
| withing AUCTeX package?

Well, I certainly am interested!
-- 
Jean
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] preview-context

2007-12-23 Thread Aditya Mahajan
On Sun, 23 Dec 2007, Hans Hagen wrote:

 Gour wrote:
 Hi!

 I've asked on auctex ml about the prospects of getting preview-context, 
 similar
 to preview-latex and here is the reply:

 There are no ConTeXt users among the active developers (actually, there
 is not even much activity in the LaTeX area, but the status quo is
 rather more advanced).  As long as that does not change, I don't see
 much of a point to talk vapour.

 (see  http://article.gmane.org/gmane.emacs.auctex.general/2387)

 Since I plan to move to ConTeXt using AUCTeX, I'm interested to hear if
 there is some interest here (amongst emacs users) to have preview-context
 withing AUCTeX package?

 otoh, I'm interested if there is newer version of  etexshow
 (Browser for ConTeXt commands) ?

 in my opinion previewing contradicts symbolic markup (apart maybe from
 special subconstructs); anyhow, because context sometimes relies on
 multipass info, previewing is no option unless on fast machines

I disagree. I was grately impressed by preview-latex when I tried it 
(around 2 years ago), so much so that I even considered moving to emacs 
from vim. It is extremely useful for mathematics and images: you can see 
the typeset result rather than a bunch of code. This means that you can 
proofread in the editor rather than a pdf (or dvi) reader.

What is needed for an improved support of preview-latex in context? Last 
time I looked into preview.sty, I could not understand how it works. If I 
were to do the same thing, this is how I would do it.

Run context with a custom module, which writes the content of each 
\startformula formula \stopformula into a temporary file as
\startTEXpage \startformula formula \stopformula \stopTEXpage. Lilypond 
and gnuplot modules already do something similar. Then process the 
temporary tex file. You will get a pdf file with one formula on each page. 
Convert each page into png, and use some lisp magic to insert the image at 
appropriate places in the buffer. Obviously I am missing a lot of things.
But, am I correct in assuming that from the context end, the problem is 
simple?

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] preview-context

2007-12-23 Thread Gour
On Sun, 23 Dec 2007 09:16:04 -0330
Roger Mason [EMAIL PROTECTED] wrote:

 I'm interested in improved Context support in Auctex in general.  I am
 a recent convert to Context, using it for my first project at the
 moment.  I find much of the discussion on this list to be over my head
 still.

I was playing with ConTeXt some years ago, so now I can be called an
recent re-convert :-)

 I have a very little experence programming emacs lisp but have not
 practised it for 3 or 4 years.  Currently I have implemented one or
 two things I wanted in the form of (not very good!) emacs skeletons.
 I'll help as much as I can, even if only with testing.

Being quite new with emacs itself, I've taken a brief look at elisp-intro
manual...will go more deeply and I'm ready to help.

Sincerely,
Gour
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___