ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Cc: TeX on Mac OS X Mailing List <MacOSX-TeX@email.esm.psu.edu>,
	ntg-context@ntg.nl, a8603365@unet.univie.ac.at
Subject: Re: Soul Package in ConTeXt
Date: Wed, 17 Sep 2003 14:29:01 +0200	[thread overview]
Message-ID: <m2d6dza99u.fsf@levana.de> (raw)
In-Reply-To: <a05210602bb8dfa2fdaac@[213.7.176.96]> (Steffen Wolfrum's message of "Wed, 17 Sep 2003 13:52:54 +0200")

Steffen Wolfrum <xmailings@estfiles.de> writes:

Hi,

> But how?
>
> \input soul.sty
>
> gives me in ConTeXt:
>
>>  (/Users/steffen/Library/texmf/tex/latex/misc/soul.sty
>>  ! Undefined control sequence.
>>  l.49     \NeedsTeXFormat
>>                          {LaTeX2e}
>>  ?

this is because in core-mis.tex, ConTeXt defines \documentclass. I
wonder why. This works, but I don't know about any drawbacks:

\starttext
\let\documentclass\undefined
\input soul.sty 
\textul{foo}
\stoptext

But: (this is for Melchior Franz) IMO there is a newcommand* in
soul.sty where it does not belong (line 89):

\newskip\SOUL@spaceskip
\newif\ifSOUL@ignorespaces
\newcommand*\soulomit{\noexpand\soulomit}
\def\SOUL@stopM{\SOUL@stop}
\let\SOUL@stop\relax

$Id: soul.dtx,v 1.82 2002/05/07 22:09:30 m Exp $

If you replace it with \def{..} everything looks fine.

Patrick

  parent reply	other threads:[~2003-09-17 12:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-17 11:52 Steffen Wolfrum
2003-09-17 12:20 ` Hans Hagen
2003-09-17 12:29 ` Patrick Gundlach [this message]
2003-09-19 10:07   ` Patrick Gundlach
2003-09-19 10:42     ` Hans Hagen
2003-09-19 12:22       ` Patrick Gundlach
2003-09-19 16:49         ` Hans Hagen
2003-09-21 12:55           ` Patrick Gundlach
2003-09-21 14:18             ` Patrick Gundlach
2003-09-21 14:39             ` Hans Hagen

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=m2d6dza99u.fsf@levana.de \
    --to=pg@levana.de \
    --cc=MacOSX-TeX@email.esm.psu.edu \
    --cc=a8603365@unet.univie.ac.at \
    --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).