ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Lucida lVert rVert - no glyph printed
@ 2012-01-14 15:28 Daniel Edwards
  0 siblings, 0 replies; only message in thread
From: Daniel Edwards @ 2012-01-14 15:28 UTC (permalink / raw)
  To: ntg-context

Hello everybody,

Problem 1: I just notices that (at least for me) the $\lVert$ / $\rVert$
commands print no glyph with Lucida New Math. I search in the source
files a bit, and found that in char-def.lua the lVert character is
defined as U+02016 but in lucida-math.lfg it is mapped as U+02225.

I was only able to reproduce this with context-current because with the
beta I got some font-related internal errors when including lucida - but
I guess this is another story :) but the two files are identical in
those points in current and beta.

According to gucharmap U+02225 is the "parallel"-symbol used to denote
that eg. two lines are parallel and the U+02016 is the character usually
used to denote the norm of a matrix/vector.

Solution 1: I changed the entry in lucida-math.lfg from U+02225 to U
+02016 and the lVert command produces the right glyph (any glyph at
all :). As far as I can say, the spacing is a bit bigger than that of
the absolute value $\lvert$ and $\rvert$, but that may be intentional.

Just wanted to post this, if anyone has that problem too :)

Problem 2: TikZ is not working in context-beta right now.

a) When simply doing \usemodule[tikz] you get many errors "Undefined
control sequence" for the \active command. I think this happens due some
changes in the catc-ini module. I simply redefined \active with the
\activecatcode macro and it compiles.

b) But even then, parts of the diagram are shifted (see the examples
below).

I have prepared some minimal examples here:

http://www.stud.mathematik.uni-stuttgart.de/~edwarddl/

I use TikZ mainly for drawing such diagramms, as it it relatively easy
to use, but I use the current version for that and I simply testes the
beta and it seemed not to work.

Sincerely,
Daniel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-14 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-14 15:28 Lucida lVert rVert - no glyph printed Daniel Edwards

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).