From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Willi Egger <w.egger@boede.nl>
Subject: Re: Problem with PocketDiary
Date: Sun, 23 Sep 2012 10:42:08 +0200 [thread overview]
Message-ID: <2B68C769-7437-4808-8350-9C54217646F7@gmail.com> (raw)
In-Reply-To: <20120922163008.56305f1c@aga-netbook>
Am 22.09.2012 um 16:30 schrieb Marcin Borkowski <mbork@wmi.amu.edu.pl>:
> Hello,
>
> I have just installed a fresh Standalone and t-pocketdiary, and
> compilation of the example file (from PocketDiary's docs) results in an
> error. (Below I enclose the source and log files.) What is going
> wrong?
It’s a bug in the pocketdiayry code when the \color command is used.
This snippet from the code shows two problems.
context.bTD({style="red"})context(d) context("~") context.labeltext(n) context("~\\color[black]") context.labeltext(f) context.eTD()
1. The color for the table cell is set with “style=red” but the correct setting is “color=red”. Even though it’s wrong the output is correct because context has a \red command which colors the content of the current group red.
2. The \color command takes a argument, e.g. \color[<colorname>]{<text>} but here it’s used like a color switch (e.g. \red) which is active till the end of the group. Changing this will make the error message disappear.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-09-23 8:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-22 14:30 Marcin Borkowski
2012-09-23 8:42 ` Wolfgang Schuster [this message]
2012-09-24 13:21 ` Marcin Borkowski
2012-09-24 18:04 ` Wolfgang Schuster
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=2B68C769-7437-4808-8350-9C54217646F7@gmail.com \
--to=wolfgang.schuster@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=w.egger@boede.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).