From: Marco Patzer <homerow@lavabit.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: List of bugs and quirks
Date: Wed, 27 Mar 2013 19:55:22 +0100 [thread overview]
Message-ID: <20130327185522.GP9268@homerow> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 3828 bytes --]
Hi Hans,
> maybe after the current is made (which happens sometime within the
> next two weeks)
>
> best make sure that we have no serious bugs (experimental features apart)
I think it's better to start a new thread for this issue.
I maintain a small list of bugs and quirks which I would like to
share. I don't know if the issues are considered bugs or not. I
posted most of them to the mailing list at some point, but AFAIK
they have not been fixed for whatever reason. Usually there are
simple workarounds or I have some code which fixes the issue. Others
are still unresolved. Act upon as you see fit.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Wrong spacing in \unit when no number is given
\starttext
\starttabulate
\NC wrong spacing \EQ (\unit{micro mol}) \NC\NR
\NC spacing OK \EQ (µmol) \NC\NR
\NC spacing OK \EQ (3\,µmol) \NC\NR
\NC spacing OK \EQ (3 \unit{micro mol}) \NC\NR
\NC spacing OK \EQ (\unit{3 micro mol}) \NC\NR
\stoptabulate
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Newline after \placelegend fails
\starttext
\startplacelegend
\startcontent
Foo
\stopcontent
\startcaption
Bar
\stopcaption
\stopplacelegend
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% way setting does not work in \setupcaptions
%% The way setting cannot be applied globally to all floats using
%% \setupcaptions. For the prefix value it works.
\setupblackrules
[width=4cm, height=1cm]
%% prefix is applied, way is not
\setupcaptions
[prefix=no,
way=bytext]
%% prefix and way are applied
%% \setupcaption
%% [figure, table]
%% [prefix=no,
%% way=bytext]
\starttext
\dorecurse{2}{%
\startchapter [title=Chapter]
\dorecurse{2}{%
\startplacefigure
\blackrule
\stopplacefigure
\startplacetable
\blackrule
\stopplacetable}
\stopchapter}
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Wide descriptions protruding into the margin
\definedescription
[description]
[alternative=hanging,
width=broad]
\starttext
\startdescription{conclusion that}
\input knuth
\stopdescription
\startdescription{conclusion that the designer of a new system must not only be literally}
\input knuth
\stopdescription
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% interaction mode focus=current does not work for footnotes and floats
\setupinteraction
[state=start,focus=standard]
\starttext
\in{figure}[foo]
\startplacefigure [reference=foo]
\stopplacefigure
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% the \stop… line of database module environment must not be indented,
%% spurious line otherwise
\usemodule [database]
\defineseparatedlist
[CSV]
[before=\bTABLE, after=\eTABLE,
first=\bTR, last=\eTR,
left=\bTD, right=\eTD]
\starttext
%% indentation with spaces works
\startCSV
alpha, 10
beta, 20
gamma, 30
\stopCSV
%% indentation with tabs produces spurious extra line
\startCSV
alpha, 10
beta, 20
gamma, 30
\stopCSV
%% some weird indentation works, but looks awkward
\startplacetable
\startCSV
alpha, 10
beta, 20
gamma, 30
\stopCSV
\stopplacetable
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% MetaPost Location throws error
\startuseMPgraphic{foo}
%% works
%% fill Field[Header][Text];
%% error
fill Area[Header][Text] shifted Location[Header][Text];
\stopuseMPgraphic
\starttext
\useMPgraphic{foo}
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Marco
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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 reply other threads:[~2013-03-27 18:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-27 18:55 Marco Patzer [this message]
2013-03-27 20:11 ` Hans Hagen
2013-03-27 20:52 ` Hans Hagen
2013-03-27 21:06 ` Hans Hagen
2013-03-27 22:00 ` Hans Hagen
2013-03-27 22:55 ` Marco Patzer
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=20130327185522.GP9268@homerow \
--to=homerow@lavabit.com \
--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).