Re: [NTG-context] Strange behavior of framed text

2008-02-21 Thread Wolfgang Schuster
On Thu, Feb 21, 2008 at 4:09 AM, Aditya Mahajan [EMAIL PROTECTED] wrote:
 Hi,

 In core-rul.tex we have

 %D We define the general (and original) case by just saying:
 \defineframedtext[\v!framedtext]

This defines

\startframedtext ... \stopframedtext and \framedtext{...}

 This gives strange user behavior. Consider the following

 \defineframedtext[test][width=broad]

 \showframe
 \starttext

 \starttest
   \input tufte
 \stoptest

 \startframedtext[test]
   \input tufte
 \stopframedtext

This should be:

\dostartframedtext[test]
...
\dostopframedtext

The [test] is interpreted as optional argument for the predefined
\startframedtext ... \stopframedtext environment.

 \stoptext

 The two framedtext have different widths. Why not say

 \def\startframedtext
   {\dosingleempty\dostartframedtext}

 \def\stopframedtext{\dostopframedtext}

Take a look into core-rul.tex,

\startframedtext is a short form for \dostartframedtext[framedtext]
and \starttest for \dostartframedtext[test].

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Adobe Reader, PNG transparency and colors

2008-02-21 Thread Michal Kvasnička
Many thanks for your answer.

 If I include some transparent stuff on a light background (i.e. a
  metapost figure on a light gray screen), there's a visible rectangle
 around it (on
  the screen).

Yes, it's unfortunately normal at least in Acrobat 7 and 8, also in
 Apple's PDF viewer (in Preview, Mail etc.).
 In my experience esp. transparent (or flattened) elements show a fine
 white border - but if you zoom in, it stays the same fine line or
 sometimes disappeares. And it never shows in print.



However, what I meant was slightly different: not a tiny white line around
but a solid (full) rectangle with light gray background. You can see it
here: http://www.econ.muni.cz/~qasar/tmp/inst-slide02.pdf, page 3 (the ugly
background in the figure on the page 2 is my fault).

I guess the light gray background might be another bug in the AdobeReader,
since it's not visible in xpdf. However, I thought so with the previous bug
(it was visible in the AdobeReader, but not in the xpdf too), and it was
actually a bug in the pdfTeX.

Have you any idea what's wrong? (Well, this is much less annoying than the
previous problem.)

Many thanks and greeting from rainy Brno.
Michal
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Adobe Reader, PNG transparency and colors

2008-02-21 Thread Taco Hoekwater


Hans Hagen wrote:
 However, what I meant was slightly different: not a tiny white line around
 but a solid (full) rectangle with light gray background. You can see it
 here: http://www.econ.muni.cz/~qasar/tmp/inst-slide02.pdf, page 3 (the ugly
 background in the figure on the page 2 is my fault).

I am looking at in in AR 7.0.8 on linux, and it looks fine, no weird
artifacts at all.

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Adobe Reader, PNG transparency and colors

2008-02-21 Thread Michal Kvasnička
Oops. You've seen my Marx pictures. I'm ashamed I was caught. :-( (Well, no,
I'm not a Marxist.) :-)

I think the alpha channel is not the cause, since I can see the light gray
rectangles under the MetaPost figures, not under PNG with transparency. I
don't know how precisely the transparency is done in the MetaPost, but I
guess there is no background under curves and shapes I draw in the MetaPost.
At least there is nothing visible in the figure on the page 10 of
http://www.econ.muni.cz/~qasar/tmp/inst-slide02.pdf. However, some
background is visible under all MetaPost figures on pages 3 to 6. The
background under the figures is different from the background around them.
Or don't you see it? Then it might be a problem just under some versions of
the AdobeReader, perhaps only under Linux.

Many thanks for your answers. Have a nice day.
Michal

2008/2/21, Hans Hagen [EMAIL PROTECTED]:

 Michal Kvasnička wrote:
  Many thanks for your answer.
 
  If I include some transparent stuff on a light background (i.e. a
  metapost figure on a light gray screen), there's a visible rectangle
  around it (on
  the screen).
  Yes, it's unfortunately normal at least in Acrobat 7 and 8, also in
  Apple's PDF viewer (in Preview, Mail etc.).
  In my experience esp. transparent (or flattened) elements show a fine
  white border - but if you zoom in, it stays the same fine line or
  sometimes disappeares. And it never shows in print.
 
 
 
  However, what I meant was slightly different: not a tiny white line
 around
  but a solid (full) rectangle with light gray background. You can see it
  here: http://www.econ.muni.cz/~qasar/tmp/inst-slide02.pdf, page 3 (the
 ugly
  background in the figure on the page 2 is my fault).


 isn't that alpha channel stuff? i never looked into that but your marx
 picture does not have the gray background .. maybe compare the internals
 of these graphics adn see what happens inside


 -

Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
   | www.pragma-pod.nl
 -


 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Adobe Reader, PNG transparency and colors

2008-02-21 Thread Martin Schröder
2008/2/21, Taco Hoekwater [EMAIL PROTECTED]:
 I am looking at in in AR 7.0.8 on linux, and it looks fine, no weird
  artifacts at all.

Same here with AR 8.1.2 @ Linux.

Best
   Martin
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Adobe Reader, PNG transparency and colors

2008-02-21 Thread Hans Hagen
Michal Kvasnička wrote:
 Oops. You've seen my Marx pictures. I'm ashamed I was caught. :-( (Well, no,
 I'm not a Marxist.) :-)

well, there is nothing wrong with being a marxist; it's the 
implementation that matters / makes the difference -)


Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] problem using mptopdf

2008-02-21 Thread Hans Hagen
[EMAIL PROTECTED] wrote:
 Hello.
 
 I am trying to use mptopdf, but unsuccessfully. When I do this:
 
 in test.mp:
 
 beginfig(1);
 draw (0,0)--(10,10);
 endfig;
 end
 
 - mptopdf test.mp
 
 It does not generate any .pdf file neither gives any output in the shell. I 
 am using mptopdf installed with MikTex2.7.
 
 Can you give me a help here?

is perl installed (mptopdf.pl is a perl script)
is there an mptopdf.fmt file on your system (the tex related format)


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] suggestion for books on (typo)graphic design

2008-02-21 Thread Andrea Valle
Ah, thanks Idris, I was thinking about it. My class is in Italian but  
for a cosmopolitan audience, so English is ok.


Best

-a-


On 21 Feb 2008, at 14:33, Idris Samawi Hamid wrote:


Hi Andrea,

http://www.amazon.com/Elements-Typographic-Style-Robert-Bringhurst/ 
dp/0881792063/ref=sr_1_1?ie=UTF8s=booksqid=1203600674sr=8-1


is fundamental and indispensable (Zapf calls it the Typographer's  
Bible),

but if your class is in Italian...

Best wishes
Idris

On Thu, 21 Feb 2008 03:00:07 -0700, Andrea Valle  
[EMAIL PROTECTED] wrote:



Hi to all and sorry for the OT,

but here on the list there are some of the most competent people I
know on the topic.
I will start a course on graphic communication. The students are
ground-zero programmers, all on mac, so I would like to use Nodebox
(http://nodebox.net/).
(Unluckily no time/space to introduce ConTeXt).
I will focus on data visualization, so I was considering to adopt
Tufte's classic The Visual Display etc. I've still not read
Envisioning Information and Visual Explanations.
Any ideas?
I will have also to introduce basic elements of graphic communication
(e.g. fonts, page composition, color usage etc).


--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
__ 
_
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] suggestion for books on (typo)graphic design

2008-02-21 Thread Idris Samawi Hamid
Hi Andrea,

http://www.amazon.com/Elements-Typographic-Style-Robert-Bringhurst/dp/0881792063/ref=sr_1_1?ie=UTF8s=booksqid=1203600674sr=8-1

is fundamental and indispensable (Zapf calls it the Typographer's Bible),  
but if your class is in Italian...

Best wishes
Idris

On Thu, 21 Feb 2008 03:00:07 -0700, Andrea Valle [EMAIL PROTECTED] wrote:

 Hi to all and sorry for the OT,

 but here on the list there are some of the most competent people I
 know on the topic.
 I will start a course on graphic communication. The students are
 ground-zero programmers, all on mac, so I would like to use Nodebox
 (http://nodebox.net/).
 (Unluckily no time/space to introduce ConTeXt).
 I will focus on data visualization, so I was considering to adopt
 Tufte's classic The Visual Display etc. I've still not read
 Envisioning Information and Visual Explanations.
 Any ideas?
 I will have also to introduce basic elements of graphic communication
 (e.g. fonts, page composition, color usage etc).

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] suggestion for books on (typo)graphic design

2008-02-21 Thread John Luciani
On Thu, Feb 21, 2008 at 5:00 AM, Andrea Valle [EMAIL PROTECTED] wrote:
  Hi to all and sorry for the OT,

 but here on the list there are some of the most competent people I know on
 the topic.
 I will start a course on graphic communication. The students are ground-zero
 programmers, all on mac, so I would like to use Nodebox
 (http://nodebox.net/).
 (Unluckily no time/space to introduce ConTeXt).
 I will focus on data visualization, so I was considering to adopt Tufte's
 classic The Visual Display etc. I've still not read Envisioning Information
 and Visual Explanations.
 Any ideas?
 I will have also to introduce basic elements of graphic communication (e.g.
 fonts, page composition, color usage etc).
 Suggestions?

You may want to ask this question at tufte.com

You will probably also find some references in the books you site.

Also at the Tufte lecture there is a recommended reading list handout.
There should be a copy online.

(* jcl *)


-- 
http://www.luciani.org
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] suggestion for books on (typo)graphic design

2008-02-21 Thread Andrea Valle

You mean this, I guess:
http://bloggingbits.com/54-typography-resources-every-designer-should- 
bookmark/


Thanks!

-a-


On 21 Feb 2008, at 17:22, Jeff Smith wrote:


Great links and tips there, but last week I also found this. It's
called 54 Typography Resources Every Designer Should Bookmark.

http://www.digipills.com/tinylink/ajout.php

A couple of links there too, and articles.

Jeff Smith

On Thu, Feb 21, 2008 at 8:45 AM, Andrea Valle [EMAIL PROTECTED]  
wrote:

 Thanks, I'll check the site

Best

-a-


On 21 Feb 2008, at 14:31, John Luciani wrote:


tufte.com


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--



Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty

(Ken Perlin on noise)






_ 
__
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

_ 
__



__ 
_
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--



Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty

(Ken Perlin on noise)





___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] problem using mptopdf

2008-02-21 Thread Stephan Hennig
Hans Hagen schrieb:
 [EMAIL PROTECTED] wrote:
 
 - mptopdf test.mp
 
 It does not generate any .pdf file neither gives any output in the 
 shell. I am using mptopdf installed with MikTex2.7.
 
 Can you give me a help here?
 
 is perl installed (mptopdf.pl is a perl script)
 is there an mptopdf.fmt file on your system (the tex related format)

Mptopdf has been missing in a recent context package update.  That bug
is fixed now.  Additionally, there have been several updates for packages

miktex-pdftex-binand
miktex-runtime-bin

in the last four days.  Try updating MiKTeX.  For me, mptopdf works well.

Best regards,
Stephan Hennig

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] suggestion for books on (typo)graphic design

2008-02-21 Thread Jeff Smith
On Thu, Feb 21, 2008 at 11:47 AM, Andrea Valle [EMAIL PROTECTED] wrote:
  You mean this, I guess:
 http://bloggingbits.com/54-typography-resources-every-designer-should-bookmark/

Oh, yes, I wanted to use TinyLink so the mail wouldn't wrap that link
on two lines, but I copy-pasted TinyLink's homepage instead! Oops!
Thanks for noticing quickly. :-)

Jeff
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] suggestion for books on (typo)graphic design

2008-02-21 Thread Jeff Smith
Great links and tips there, but last week I also found this. It's
called 54 Typography Resources Every Designer Should Bookmark.

http://www.digipills.com/tinylink/ajout.php

A couple of links there too, and articles.

Jeff Smith

On Thu, Feb 21, 2008 at 8:45 AM, Andrea Valle [EMAIL PROTECTED] wrote:
  Thanks, I'll check the site

 Best

 -a-


 On 21 Feb 2008, at 14:31, John Luciani wrote:


 tufte.com


 --
 Andrea Valle
 --
 CIRMA - DAMS
 Università degli Studi di Torino
 -- http://www.cirma.unito.it/andrea/
 -- http://www.myspace.com/andreavalle
 -- [EMAIL PROTECTED]
 --


 
 Think of it as seasoning
 . noise [salt] is boring
 . F(blah) [food without salt] can be boring
 . F(noise, blah) can be really tasty
 
 (Ken Perlin on noise)






 ___
  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  : https://foundry.supelec.fr/projects/contextrev/
  wiki : http://contextgarden.net

 ___


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] References title in Norwegian

2008-02-21 Thread Willi Egger
Hi Trond,

Intreaguing question ...

\mainlanguage[no]
\setupheadtext[no][pubs=Literatur]

Willi

On Feb 21, 2008, at 6:41 PM, Trond Lossius wrote:

 Hi,

 I'm writing a publication in Norwegian containing citations and
 references. I use

 \completepublications[criterium=all]

 at the end of the tex file to get the references. The only problem is
 that the title of it when typeset show up as References in  
 English. Is
 it possible somehow to substitute that for the Norwgeian equivalent
 Litteratur?

 I'm using the MacTex distro from http://www.tug.org/mactex/


 Thanks a lot,
 Trond
 __ 
 _
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 __ 
 _

BOEDE
Book and Electronic Document Engineering
Willi Egger
[EMAIL PROTECTED]
KvK 17138708



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] References title in Norwegian

2008-02-21 Thread Jean Magnan de Bornier
Le 21 février à 18:41:12 Trond Lossius [EMAIL PROTECTED] écrit notamment:

| Hi,

| I'm writing a publication in Norwegian containing citations and 
| references. I use

| \completepublications[criterium=all]

| at the end of the tex file to get the references. The only problem is 
| that the title of it when typeset show up as References in English. Is 
| it possible somehow to substitute that for the Norwgeian equivalent 
| Litteratur?

| I'm using the MacTex distro from http://www.tug.org/mactex/

For a french equivalent to your question, I have this in my preamble:

\setupheadtext[fr][pubs={Références}]  %, with of course:
\mainlanguage[fr]

hth,
-- 
Jean
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \chemical and MKIV

2008-02-21 Thread Peter Münster
Hello,

The following test-file produces an error:

% engine=luatex
\usemodule[chemic]
\starttext
\chemical{CO_2}
\stoptext

ERROR: Undefined control sequence.

--- TeX said ---
argument \s 
  !chemical\c !x1
\setvalue #1-\expandafter \def \csname #1
  \endcsname 
l.2067 \setvalue{\s!chemical\c!x1}
  {0}

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \chemical and MKIV

2008-02-21 Thread Mojca Miklavec
On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster wrote:
 Hello,

  The following test-file produces an error:

  % engine=luatex
  \usemodule[chemic]
  \starttext
  \chemical{CO_2}
  \stoptext

The issue probably needs to be solved, but I happily use Taco's macro
for that purpose (works better in titles). See \molecule on
http://wiki.contextgarden.net/Chemistry.

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] References title in Norwegian

2008-02-21 Thread Charles Doherty

On 21 Feb 2008, at 17:41, Trond Lossius wrote:

 \completepublications[criterium=all]

Dear Trond,

Put the line below before \starttext

\setupheadtext[en][pubs=Litteratur]

Best wishes,
Charlie



 at the end of the tex file to get the references. The only problem is
 that the title of it when typeset show up as References in  
 English. Is
 it possible somehow to substitute that for the Norwgeian equivalent
 Litteratur?

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] References title in Norwegian

2008-02-21 Thread Trond Lossius
Thanks, this works.

I was just about to ask how to do the same concerning the list of 
contents when I realized that it automagically translates itself when using

\mainlanguage[no]

Best,
Trond


  \mainlanguage[no]
  \setupheadtext[no][pubs=Litteratur]
 
  I'm writing a publication in Norwegian containing citations and
  references. I use
 
  \completepublications[criterium=all]
 
  at the end of the tex file to get the references. The only problem is
  that the title of it when typeset show up as References in English. Is
  it possible somehow to substitute that for the Norwgeian equivalent
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] cite-specific question

2008-02-21 Thread Trond Lossius
Hi,

in LaTeX I've been able to do cites in a number of different ways, 
depending on what's needed.

In ConTeXt I've figured out how to do

\cite[key]  Full author list and year
(Watson and Crick 1953)

as well as how to add reference to the page number using
\cite[extras={, page 5}[key].

But I'm wondering if it is possible to get something similar to 
\citeN{key}, \citeNP{key}, etc. in LaTeX:

\cite{key}  Full author list and year
(Watson and Crick 1953)
\citeA{key} Full author list
(Watson and Crick)
\citeN{key} Full author list and year.
Watson and Crick (1953)
\citeyear{key}  Cite year only
(1953)

All the above have an NP variant without parentheses; Ex. \citeNP.


Thanks,
Trond
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___