ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* preview-context
@ 2007-12-23 11:48 Gour
  2007-12-23 12:46 ` preview-context Roger Mason
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Gour @ 2007-12-23 11:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 737 bytes --]

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

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: preview-context
  2007-12-23 11:48 preview-context Gour
@ 2007-12-23 12:46 ` Roger Mason
  2007-12-24  6:46   ` preview-context Gour
  2007-12-23 16:20 ` preview-context Patrick Gundlach
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Roger Mason @ 2007-12-23 12:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Gour <ggdasa@gmail.com> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: preview-context
  2007-12-23 11:48 preview-context Gour
  2007-12-23 12:46 ` preview-context Roger Mason
@ 2007-12-23 16:20 ` Patrick Gundlach
  2007-12-24  6:48   ` preview-context Gour
  2007-12-23 17:22 ` preview-context Hans Hagen
  2007-12-23 17:41 ` preview-context Jean Magnan de Bornier
  3 siblings, 1 reply; 10+ messages in thread
From: Patrick Gundlach @ 2007-12-23 16:20 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: preview-context
  2007-12-23 11:48 preview-context Gour
  2007-12-23 12:46 ` preview-context Roger Mason
  2007-12-23 16:20 ` preview-context Patrick Gundlach
@ 2007-12-23 17:22 ` Hans Hagen
  2007-12-24  0:29   ` preview-context Aditya Mahajan
  2007-12-23 17:41 ` preview-context Jean Magnan de Bornier
  3 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2007-12-23 17:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

at some point mkiv may provide proper hooks and functionality for 
partial previewing (e.g. when we can store intermediate states properly)

-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: preview-context
  2007-12-23 11:48 preview-context Gour
                   ` (2 preceding siblings ...)
  2007-12-23 17:22 ` preview-context Hans Hagen
@ 2007-12-23 17:41 ` Jean Magnan de Bornier
  3 siblings, 0 replies; 10+ messages in thread
From: Jean Magnan de Bornier @ 2007-12-23 17:41 UTC (permalink / raw)
  To: ntg-context

Le 23 décembre à 12:48:39 Gour <ggdasa@gmail.com> é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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: preview-context
  2007-12-23 17:22 ` preview-context Hans Hagen
@ 2007-12-24  0:29   ` Aditya Mahajan
  2007-12-24  6:52     ` preview-context Gour
  2007-12-24  8:32     ` preview-context Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: Aditya Mahajan @ 2007-12-24  0:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: preview-context
  2007-12-23 12:46 ` preview-context Roger Mason
@ 2007-12-24  6:46   ` Gour
  0 siblings, 0 replies; 10+ messages in thread
From: Gour @ 2007-12-24  6:46 UTC (permalink / raw)
  To: ntg-context

On Sun, 23 Dec 2007 09:16:04 -0330
Roger Mason <rmason@esd.mun.ca> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: preview-context
  2007-12-23 16:20 ` preview-context Patrick Gundlach
@ 2007-12-24  6:48   ` Gour
  0 siblings, 0 replies; 10+ messages in thread
From: Gour @ 2007-12-24  6:48 UTC (permalink / raw)
  To: ntg-context

On Sun, 23 Dec 2007 17:20:41 +0100
Patrick Gundlach <patrick@gundla.ch> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: preview-context
  2007-12-24  0:29   ` preview-context Aditya Mahajan
@ 2007-12-24  6:52     ` Gour
  2007-12-24  8:32     ` preview-context Hans Hagen
  1 sibling, 0 replies; 10+ messages in thread
From: Gour @ 2007-12-24  6:52 UTC (permalink / raw)
  To: ntg-context

On Sun, 23 Dec 2007 19:29:00 -0500 (EST)
Aditya Mahajan <adityam@umich.edu> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: preview-context
  2007-12-24  0:29   ` preview-context Aditya Mahajan
  2007-12-24  6:52     ` preview-context Gour
@ 2007-12-24  8:32     ` Hans Hagen
  1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2007-12-24  8:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-12-24  8:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-23 11:48 preview-context Gour
2007-12-23 12:46 ` preview-context Roger Mason
2007-12-24  6:46   ` preview-context Gour
2007-12-23 16:20 ` preview-context Patrick Gundlach
2007-12-24  6:48   ` preview-context Gour
2007-12-23 17:22 ` preview-context Hans Hagen
2007-12-24  0:29   ` preview-context Aditya Mahajan
2007-12-24  6:52     ` preview-context Gour
2007-12-24  8:32     ` preview-context Hans Hagen
2007-12-23 17:41 ` preview-context Jean Magnan de Bornier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).