ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hraban <angerweit@gmx.net>
Subject: Re: Translating from LaTeX to ConTeXt: environments
Date: Sat, 14 Oct 2000 22:45:38 +0200	[thread overview]
Message-ID: <39E8C5E9.12E7F5DF@gmx.net> (raw)
In-Reply-To: <001c01c035db$85ca1fe0$01460e97@nuovo>

Giuseppe Bilotta wrote:
> The main problem (as Hans suggested, too) is that, while using LaTeX, I had
> an interface that is not "compatible" with ConTeXt (I used [...] to insert
> optional test). How could I do in a ConTeXt-like manner? My startstop needs
> to take at least one argument (text), and optionally another argument (more
> text). The "more text", if present, should go in margin, "text" is typeset
> alongside the normal body text, all with different colors. The main problem
> seems to be that \inmargin does not accept \pars in it, so I need to use \\
> instead of \pars. The second problem: how to know if I passed two {...}{...}
> or only one {...} argument to the macro? I found that with [...] this could
> be achieved wtih complexorsimple; how to do it with {...}?

Sorry, I'm just a ConTeXt beginner, also in LaTeX. I started with LaTeX
and changed over to ConTeXt, because I need grid setting.
"Normally" I work with QuarkXPress and FreeHand...

I solved a similar problem (quotation with footnote) defining separate
\StartSomething and \StopSomething. One of this (or both) could take
your text argument. Perhaps is would be a solution to work with two
args and leave one of them empty, if not needed.

(Sorry, I'm not able to use if/then constructs.)

-- 
Grüßlis vom Hraban!
---
http://angerweit.tikon.ch/


  parent reply	other threads:[~2000-10-14 20:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-05 16:50 Giuseppe Bilotta
2000-10-06 19:20 ` Berend de Boer
2000-10-06 20:33   ` Giuseppe Bilotta
2000-10-08 14:08     ` Giuseppe Bilotta
2000-10-13 19:36       ` Hraban
     [not found]         ` <001c01c035db$85ca1fe0$01460e97@nuovo>
2000-10-14 20:45           ` Hraban [this message]
2000-10-15 20:11             ` Hans Hagen
2000-10-15 20:17         ` Hans Hagen
2000-10-16 18:49           ` music typesetting Hraban

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=39E8C5E9.12E7F5DF@gmx.net \
    --to=angerweit@gmx.net \
    /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).