From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104061 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Fabrice L Newsgroups: gmane.comp.tex.context Subject: Re: preparing math exams Date: Tue, 23 Apr 2019 11:57:34 -0400 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3122180980396597260==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="197917"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 23 17:57:56 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hIxnw-000pOo-2Z for gctc-ntg-context-518@m.gmane.org; Tue, 23 Apr 2019 17:57:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 695B212D0AC; Tue, 23 Apr 2019 17:57:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cm8Ud4MpA55l; Tue, 23 Apr 2019 17:57:38 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 86ADB12D0A3; Tue, 23 Apr 2019 17:57:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 136E512D0A2 for ; Tue, 23 Apr 2019 17:57:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QffXVQ38TF8X for ; Tue, 23 Apr 2019 17:57:36 +0200 (CEST) Original-Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 32DD812D09F for ; Tue, 23 Apr 2019 17:57:36 +0200 (CEST) Original-Received: by mail-wm1-f51.google.com with SMTP id z6so2572924wmi.0 for ; Tue, 23 Apr 2019 08:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to; bh=KLdBlRl+N1SG9ANdFcURk+mR13/7bceqkiA1NHV56eo=; b=NVKNNQAyEnFqtG1fINPo3x8StkYYaSCdsG5m1MIJhmjJuyYcGs7nIJnwckrAKKgGqu 2+ETYa3PWKu4UkHdymVvoEKngch43kMNnDWOoHh8loF+Kr1WFANH+3iXnnjq2TgG/+bC w95R1hILJvjoGIZRSOly/+YU0U5cYTghhQU6ajmnbHEva7nvXu+sJcxAPmwuaKY7OILw IH4KSksdJHWlxM8Nl9T4N+oiNSkR8ufxcuCHwy/4Pu+QaWoYX0S8O5XDL7BAb10nea9W TCQFFbh3+yQ++QRnrK1WCwoAeIdkbb0EIFO4YKRDaMnT+qLXwvPjHbs2LAbiTW+i4KL+ 8X/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to; bh=KLdBlRl+N1SG9ANdFcURk+mR13/7bceqkiA1NHV56eo=; b=RAyWxH3RUzE3urx25yMoy44Zui7HjTj/ae4k6vOuJDKejkow+J/VfLJJRg1j6U6zZ1 w8n/zjBlHDgLJ5XlzteiT7JEjUPJs+MoQRpFLDTuaicl5W8/ikynaAEtB7gLT4e+BCf3 ccKyf0UPE9XwYKeAxbkuepQ2ApBnnI1SibF3IXIZetIaSQlJS7pM5G7idVAlOjNOb9k/ XIdCBLVryz9z5PJBb1ppCEkuFIthi8z0e9NH2oTeJSrMEl0b6YYqL0w5GoEF4MB6Caby 1p8UENCYnXoiSlRxmQ67IdLzOjXHSqPusijnPXYi2Hrp3I7V+YXN2/7yRfUUc7b5UY5C 01VQ== X-Gm-Message-State: APjAAAXDIAVO467FyiwnFOkQ0HKlVDiDb/Gktg9d2RJ+jGMQZF+jJXNv PtPhMML0/hvtlTntBlHsA/A8PeQTqQ7ScFh28QACFA== X-Google-Smtp-Source: APXvYqxYRQAGqIUNl+RP4JcY3duTE2HQy9t1GtSgtMdbPfqAvkVunp0EhZILOnb1qMPPKFmEzz0dRpTIdMk8zKKN9cw= X-Received: by 2002:a7b:c446:: with SMTP id l6mr2894964wmi.80.1556035055713; Tue, 23 Apr 2019 08:57:35 -0700 (PDT) Original-Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Tue, 23 Apr 2019 11:57:34 -0400 In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:104061 Archived-At: --===============3122180980396597260== Content-Type: multipart/alternative; boundary="000000000000c0ffba058734a4b0" --000000000000c0ffba058734a4b0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Le 23 avril 2019 =C3=A0 11:10:11, Gour (gour@atmarama.com) a =C3=A9crit: Hello, For regular formulas involving e.g. rational numbers, I'm sure that input language for math is quite sufficient, but wonder about drawing part? Metapost (Metafun) is your best friend here. You can insert directly in context some MetaFun code, like this: \starttext Lorem Ipsum=E2=80=A6 \startMPcode draw ( (0,0) =E2=80=94 (1,0) =E2=80=94 (0,1)) with color red ; \stopMPcode \stoptext Look at this entry in the wiki: https://wiki.contextgarden.net/MetaPost_in_ConTeXt Also, you will find a link to the meta fun manual in this page, this a good place to start ! Fabrice. --000000000000c0ffba058734a4b0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =
Hi,<= /div>

Le 23 avril 2019 =C3=A0 11:10:11, Gour (gour@atmarama.com) a =C3=A9crit:
Hello,

For regular form= ulas involving e.g. rational numbers, I'm sure that
input language f= or math is quite sufficient, but wonder about drawing
part?


Metapost (Metafun) is your best friend = here. You can insert directly in context some MetaFun code, like this:

\starttext
Lorem Ipsum=E2=80=A6
\startMPcode
draw ( (0,0) =E2=80=94 (1,0) =E2=80=94 = (0,1)) with color red ;
\stopMPcode

\stoptext

Look at this entry in the wiki:

Also, you will find a link to the meta fun manual in this page, this a go= od place to start !
Fabrice.
--000000000000c0ffba058734a4b0-- --===============3122180980396597260== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3122180980396597260==--