ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Peter Münster" <pmlists@free.fr>
Subject: Re: Re: listings.sty
Date: Mon, 28 Jun 2004 19:46:18 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0406281838560.6569@gaston.free.fr> (raw)
In-Reply-To: <40E02DA7.7090605@wxs.nl>

On Mon, 28 Jun 2004, Hans Hagen wrote:

> When cooking up a new environment, it's best to separate functionality
> and use built in support when possible. For instance, line numbering,
> layout elements, floating listings are kind of independent of such a
> mechanisms.

Yes, for such features the LaTeX built in mechanisms are used (for example
"\addcontentsline{lol}{lstlisting}{...}". Here the LaTeX interface must be
replaced by a ConTeXt interface.

> If some features are missing in the current verbatim environment (one of
> the older parts of context) i can add them if needed. On the other hand,
> it does not hurt to have multiple alternatives.

In general, the users prefer one solid way to go, instead of multiple
choices but each one with missing features.
If you want to rewrite the verbatim environment anyway, perhaps it's the
easiest way to take listings.sty as starting point?

Personally for me, today I'm just looking for two features:
- line breaking as suggested in my email from 19. June (-> \hyphenatedfile)
- support for C and C++

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_____________________________________
FilmSearch engine: http://f-s.sf.net/

  reply	other threads:[~2004-06-28 17:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-27 17:23 listings.sty Peter Münster
2004-06-28  7:38 ` listings.sty Patrick Gundlach
2004-06-28  8:03   ` listings.sty Hans Hagen
2004-06-28  8:18     ` Morten Høgholm
2004-06-28  8:39     ` Holger Schöner
2004-06-28  9:26     ` Peter Münster
2004-06-28 14:39       ` Hans Hagen
2004-06-28 17:46         ` Peter Münster [this message]
2004-06-28 21:51           ` Nikolai Weibull
2004-07-10  9:44           ` Peter Münster
2008-07-10  0:27 ` listings.sty Mohamed Bana
2008-07-10 12:29   ` listings.sty Aditya Mahajan
2008-07-10 18:26   ` listings.sty nico
2008-07-10 20:34     ` listings.sty Mohamed Bana
2008-07-10 22:02       ` listings.sty Aditya Mahajan
2008-07-10 21:31     ` listings.sty Hans Hagen
2008-07-11 21:51       ` listings.sty Mohamed Bana
2008-07-11 22:53         ` listings.sty Hans Hagen
2008-07-11 22:54         ` listings.sty Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0406281838560.6569@gaston.free.fr \
    --to=pmlists@free.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).