From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32608 invoked from network); 12 Sep 2023 09:49:53 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 12 Sep 2023 09:49:53 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id D3D2D483035 for ; Tue, 12 Sep 2023 11:49:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 88xS8sE0MWEj for ; Tue, 12 Sep 2023 11:49:19 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id D73A4483036 for ; Tue, 12 Sep 2023 11:48:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C3190482EE1 for ; Tue, 12 Sep 2023 11:48:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L_kmpbvhOFlT for ; Tue, 12 Sep 2023 11:48:28 +0200 (CEST) Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 766FE482EDC for ; Tue, 12 Sep 2023 11:48:28 +0200 (CEST) Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-529fb04a234so7110747a12.3 for ; Tue, 12 Sep 2023 02:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694512108; x=1695116908; darn=ntg.nl; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:from:to:cc:subject:date :message-id:reply-to; bh=MD2Su5iwW26C7wgD6SuOf9bKw8q6z0KJqbTzu52P+Q8=; b=p0rfgENSQosvQ5wnWH79f1CprPaRt7oedmWXWNq5E5WkEaji2cyQwxZy3odIbG1mqt UKquNEnRmKeuOUD41wxoFExjeqwm8v1I86GnaU/gCLxocQk9U1mJcLoewBhScftDTZh8 9nQn9VRfoxBtWH2T/8DzCdSNEQsGt30eF2dK0S2OdxaQ8hcol2SN3Jhrd0khRnzDvpN5 FtsFcfjzlqD/K6hHZChwxaNTvFqHKtC5aQv6BunU/ktBFVpO27xQXAaGScqIjoql3t0B Fwkmgpcd7VkvMO1jBUxy9+TLko1HnP9yFeCZ0QJpA+HZjWirDQ+69Wy2SziBSlxNqt7f rIeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694512108; x=1695116908; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MD2Su5iwW26C7wgD6SuOf9bKw8q6z0KJqbTzu52P+Q8=; b=dpr3wP9IYK5irg3Gbyq/AmjWpJovEU+Kc17XNafr0bwJi2O0HAGM1ua4Q2TPVJfGIB ZFjThcq7gXwvnYvL+501v2fygEPvU8HL3mmOpC07936OT2KoINOIbOcBWxU0KfTrLBDp cHHXE2hMUSmIgIxzDwjh3bcPA0PoE8sMq8azXfIREWihV7OIb+n1RxPM3F+ntobi44wz AzHo9Arsvr7FnYQR4qoIH5aoVKWdMkHlAN6DCSjBz0wKhoNZQKCh2kVBoXEW8vmjWEC1 /NNWglwUSUK8sqzrLhjACAVTTHjvob5HT3v9QHeRuKv0GtbyQACc9NzX7P91UD2CFtI4 y5UQ== X-Gm-Message-State: AOJu0YyhemQyu6M3JTw6GHlp7pP9C7SlIresEPwWdYz80ZJAGB//jjQ4 3NYgjPYSPzThO5f8Iz+if4s= X-Google-Smtp-Source: AGHT+IFvh8jqBV4MCpaDBtxT98nUm1pn96U91U5Q7fxx4V6EcE35g7WYcX+1g3O9nH4wItON0MMMKw== X-Received: by 2002:a17:907:788e:b0:9a5:bce9:ffb7 with SMTP id ku14-20020a170907788e00b009a5bce9ffb7mr11274576ejc.19.1694512107724; Tue, 12 Sep 2023 02:48:27 -0700 (PDT) Received: from ?IPv6:2a00:11b1:1061:7138:58a3:4b4a:9aa:39b4? ([2a00:11b1:1061:7138:58a3:4b4a:9aa:39b4]) by smtp.gmail.com with ESMTPSA id z7-20020a1709060ac700b0099bc08862b6sm6661544ejf.171.2023.09.12.02.48.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2023 02:48:27 -0700 (PDT) To: mailing list for ConTeXt users , Ursula Hermann References: <3f1f8c9e9ac64397826f21f0608a5dfc@univie.ac.at> From: Wolfgang Schuster Message-ID: Date: Tue, 12 Sep 2023 11:48:25 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 MIME-Version: 1.0 In-Reply-To: <3f1f8c9e9ac64397826f21f0608a5dfc@univie.ac.at> Content-Language: en-US Message-ID-Hash: 72KUENIN5QG4KL3XPKI74QE54TVTJKIL X-Message-ID-Hash: 72KUENIN5QG4KL3XPKI74QE54TVTJKIL X-MailFrom: wolfgang.schuster.lists@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: \dontleavethemode List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============6916385619048604024==" This is a multi-part message in MIME format. --===============6916385619048604024== Content-Type: multipart/alternative; boundary="------------B1FDD6BB5597369ACC4F8252" Content-Language: en-US This is a multi-part message in MIME format. --------------B1FDD6BB5597369ACC4F8252 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Ursula Hermann schrieb am 12.09.2023 um 11:19: > > Dear List, > > I have done an little example with a \blackrule: > > \setuppapersize[A8,landscape] > > \setuplayout[leftmargin=2.5cm, > > leftmargindistance=0.2cm, > > backspace=2.9cm, > > width=4cm] > > \starttext > > \margintext{\blackrule[color=black, height=0.05ex, > width=1cm]\\Me}\blackrule[color=black, height=0.05ex, width=4cm] > > \startformula > > a^n + b^n = c^n. > > \stopformula > > \stoptext > > My Question is , where to put margintext, with \dontleavethemode, with > blackrule, because if I put it after \starttext: > > \margintext{\blackrule\\{Me}}\dontleavehmode\blackrule > > Before : > > \margintext{\blackrule[color=black, height=0.05ex, > width=1cm]\\Me}\blackrule[color=black, height=0.05ex, width=4cm] there > is no pdf after compiling. > > [...] > > > >     \margintext{\blackrule\\{Me}}\dontleavethemode > > \blackrule > > [...] > > The control sequence at the end of the top line of your error message > was never > > \def'ed. You can just continue as I'll forget about whatever was > undefined. > > mtx-context | fatal error: return code: 1 > You get a error message because you have a spelling error in the name of the \dontleavehmode command. You wrote "dontleave*the*mode" but the correct name "dontleave*h*mode". Wolfgang --------------B1FDD6BB5597369ACC4F8252 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit Ursula Hermann schrieb am 12.09.2023 um 11:19:

Dear List,

 

I have done an little example with a \blackrule:

 

\setuppapersize[A8,landscape]

\setuplayout[leftmargin=2.5cm,

             leftmargindistance=0.2cm,

             backspace=2.9cm,

             width=4cm]

\starttext

\margintext{\blackrule[color=black, height=0.05ex, width=1cm]\\Me}\blackrule[color=black, height=0.05ex, width=4cm]

\startformula

a^n + b^n = c^n.

\stopformula

\stoptext

 

My Question is , where to put margintext, with \dontleavethemode, with blackrule, because if I put it after \starttext:

\margintext{\blackrule\\{Me}}\dontleavehmode\blackrule

Before :

\margintext{\blackrule[color=black, height=0.05ex, width=1cm]\\Me}\blackrule[color=black, height=0.05ex, width=4cm] there is no pdf after compiling.

 

[...]

 

<line 3.7>

    \margintext{\blackrule\\{Me}}\dontleavethemode

    \blackrule

 

[...]

The control sequence at the end of the top line of your error message was never

\def'ed. You can just continue as I'll forget about whatever was undefined.

mtx-context     | fatal error: return code: 1


You get a error message because you have a spelling error in the name of the \dontleavehmode command.

You wrote "dontleave*the*mode" but the correct name "dontleave*h*mode".

Wolfgang

--------------B1FDD6BB5597369ACC4F8252-- --===============6916385619048604024== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============6916385619048604024==--