ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: An error which is not in .log file
Date: Wed, 16 Aug 2023 12:31:52 +0200 (CEST)	[thread overview]
Message-ID: <nr3q8qs5-3r67-8son-12qn-3n8r71o381p9@hzvpu.rqh> (raw)
In-Reply-To: <25bd0f26-ca5f-0981-4a5b-40adedc9121f@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

On Wed, 16 Aug 2023, Wolfgang Schuster wrote:

> 3. \starttikzpicure doesn't allow arguments which results in font error
> messages (char ... missing). This is an error in the ConTeXt version of the
> \starttikzpicture command and should be fixed.

Looking at m-tikz.mkxl, \starttikzpicture should allow optional arguments. The following works correctly for me with ver 2023.07.18:

\usemodule[tikz]
\usetikzlibrary[patterns]
\starttext
	\starttikzpicture[scale=0.75]
	% recipient
	\draw (0,0) -- (0,10) -- (2,10) -- (2,0) -- cycle;

	% aigua
	\filldraw[pattern=north east lines, pattern color=orange] (0,0) -- (0,4) -- (2,4) -- (2,0) -- cycle;
	\draw (1,2) node[fill=white] {aigua};

	% oli
	\filldraw[pattern=dots, pattern color=blue] (0,4) -- (0,6.5) -- (2,6.5) -- (2,4) -- cycle;
	\draw (1,5.25) node[fill=white] {oli};

	% ròtuls
	\draw (2,2) node[anchor=west] {$2/5$};
	\draw (2,5.25) node[anchor=west] {$1/4$};
	\stoptikzpicture
\stoptext

Aditya

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

      parent reply	other threads:[~2023-08-16 10:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-15 14:50 [NTG-context] " Xavier B.
2023-08-15 15:08 ` [NTG-context] " Hans Hagen
2023-08-15 15:35   ` Xavier B.
2023-08-15 19:18     ` Pablo Rodriguez
2023-08-15 17:46   ` Xavier B.
2023-08-15 17:54     ` Mikael Sundqvist
2023-08-15 19:13     ` Wolfgang Schuster
2023-08-15 19:36       ` Xavier B.
2023-08-15 19:44         ` Wolfgang Schuster
2023-08-15 22:12           ` Xavier B.
2023-08-16  4:27             ` Wolfgang Schuster
2023-08-16  7:15               ` Xavier B.
2023-08-16 15:02                 ` Wolfgang Schuster
2023-08-16 17:52                   ` Xavier B.
2023-08-19  9:28                   ` Xavier B.
2023-08-16 10:31               ` Aditya Mahajan [this message]

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=nr3q8qs5-3r67-8son-12qn-3n8r71o381p9@hzvpu.rqh \
    --to=adityam@umich.edu \
    --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).