Re: [NTG-context] referring to floats in xml

2011-03-22 Thread R. Ermers
Thanks very much, Aditya for your advice. I really appreciate it. 
I tried your suggestions.

 On Mon, 21 Mar 2011, R. Ermers wrote:
 
 Thanks, Aditya, The first problem is adequately solved by adding []. I'll 
 prepare an example for the second problem.
 
 A related problem is referring to sections and other blocks.
 
 section id=sec:cowstitleCows/title
 paracows cows cows. As I told in xref 
 linkend=sec:cows//para/section
 
 The title is mapped as follows (lpath):
 \xmlsetsetup{#1}{section/title}{xml:section/title}
 
 \startxmlsetups xml:section:title
 \section{\xmlflush{#1}}
 \stopxmlsetups
 
 The section is not mapped:
 \startxmlsetups xml:section
 \xmlflush{#1}
 \stopxmlsetups
 
 Adding [\xmlatt{#1}{id}] to xml:section:title does not work of course. 
 Using [\xmlatt{#1}{id}] with xml:section puts the id before the \section 
 command. I think one of the other commands has to be used in such a way 
 that the id is flushed forward after the \section command.
 
 Map section to include both id and title. (Untested)
 
 \startxmlsetups xml:section
 \section[\xmlatt{#1}{id}]{\xmlfirst{#1}{/title}}
 % or slightly better
 % \section[\xmlattdef{#1}{id}{+}]{\xmlfirst{#1}{/title}}
The section titles and numbers are doubled now, most likely due to other 
mappings that. The subsection and subsubsection titles need to be mapped as 
such, a generic mapping for all section heads is not feasible (I think).

 % Then flush para separately
 % \xmlall{#1}{/para}

This does not work, because the sections contain all kinds of elements, not 
just para. 
sectionblockquote/sectionparatext/para/sectionparatext/para/section

I tried \xmlall{#1} with other elements, but the result is a mess. I need an 
lpath symbol that refers to all underlying elements. I tried {+}, {*}, {//}, 
etc.

 % or
 % \xmlconcat {#1} {/para} {\par}
 % or better, add a contents tag around the contents
 % section title ... /title
 %   contents ... /contents

 % /section
 % and then use
 % \xmlfirst{#1}{/contents}
 

I had thought about this, but it would ruin the docbook structure of the 
document, and my editor programme would no longer accept it. The programme 
already complains about the change of table to cals:table. The typesetting of 
tables as part of the document is still a problem ...

 \stopxmlsetups
 
 Aditya



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


Re: [NTG-context] setupinteraction

2011-03-22 Thread Peter Rolf
Hi Cecil,

Am 21.03.2011 19:44, schrieb Cecil Westerhof:
 I use setupinteraction to set certain properties. But it looks like that
 subject can not be set. Is this true?

'subtitle=' is probably the keyword you want.
mh, i asked the same some time ago :-)

 Also keywords is a box (in acroread). Would it be possible to get the
 keywords under each-other instead as one long line?

not with the current code. but the keywords are mainly for automatic
indexing of documents and a machine ignores any beauty.

 Would it be possible to change the Document Restrictions? In acroread
 these are shown under security.

use qpdf for that. anyhow, don't waste too much time on this as the
security system of adobe is a bad joke.

Best wishes,  Peter


 -- 
 Cecil Westerhof
 
 
 
 ___
 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
 ___

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


Re: [NTG-context] Endash tlig not working

2011-03-22 Thread Hans Hagen

On 22-3-2011 1:23, C. wrote:

Hello,
the automatic replacement of -- to endash does not work with a certain font.
\endash does work and produces the expected symbol.
I also have these lines in my code:
\definefontfeature[tlig][default][tlig=yes]
\addff{tlig}

I checked that the endash is at position U+2013 in the font.

What else could be wrong here?


the fact that you don't tell what font it concerns and that no minimal 
example is added


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setupinteraction

2011-03-22 Thread Cecil Westerhof
2011/3/22 Peter Rolf indi...@gmx.net

  I use setupinteraction to set certain properties. But it looks like that
  subject can not be set. Is this true?
 
 'subtitle=' is probably the keyword you want.
 mh, i asked the same some time ago :-)


Exactly, thanks.



  Also keywords is a box (in acroread). Would it be possible to get the
  keywords under each-other instead as one long line?
 
 not with the current code. but the keywords are mainly for automatic
 indexing of documents and a machine ignores any beauty.


People can open properties. So if it would be possible it would be nice. But
it is not, so I have to accept it.



  Would it be possible to change the Document Restrictions? In acroread
  these are shown under security.
 
 use qpdf for that. anyhow, don't waste too much time on this as the
 security system of adobe is a bad joke.


Thanks, I look into it. And you have point.

-- 
Cecil Westerhof
___
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
___


[NTG-context] fontserver

2011-03-22 Thread Patrick Gundlach
Hi,

I try to use the font server (mtxrun --script server --auto) and I run into a 
few problems:

* when I click on the font garamondpremrprobd, the server dies with: 

2 shipped pages, 0.379 pages/second

mtx-context | fatal error: return code: 1
ctx-fonttest| entering edit mode for 'garamondpremrprobd'
ctx-fonttest| processing font 
'/Users/patrick/Library/Fonts/GaramondPremrPro-Bd.otf'...tion/tex/texmf-context/tex/context/base/font-mis.lua:28:
 attempt to index field 'enhancers' (a nil value)


* When I click on americantypewriter, I get a strange output (attached). The 
source has a command that is undefined:

\starttext
\setcharactermirroring[1]
\definefontfeature[sample][analyze=yes,mode=node,language=dflt,script=dflt]
\definedfont[name:americantypewriter*sample]
\startTEXpage[offset=3pt]
\detokenize{This is a sample line!}
\stopTEXpage
\stoptext

(the second line with \setcharactermirroring)

Any cure?

Thanks!

Patrick


mtx-server-ctx-fonttest-temp.pdf
Description: Adobe PDF document
___
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
___


[NTG-context] Problems with current experimental branch

2011-03-22 Thread Andreas Harder
Hi Hans,

I don't know it its legible to post problems with the current experimental, so 
tell me if its not.

1) With OpenType math fonts italic will not work.

\setupbodyfont[asana]
% \setupbodyfont[cambria]
% \setupbodyfont[xits]
% \setupbodyfont[euler]

\starttext
{\it test}
\stoptext

2) Actually it's not possible to load Cambria, Xits or Euler at all.

\setupbodyfont[cambria]
% \setupbodyfont[xits]
% \setupbodyfont[euler]
\starttext
test
\stoptext

3) The fit option for itemize causes an error.

\starttext
\startitemize[fit]
\item test
\stopitemize
\stoptext

Greeting
Andreas
___
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
___


Re: [NTG-context] Endash tlig not working

2011-03-22 Thread C.
The font is Whitman (ttf). Minimal example and its output is attached.

 -Ursprüngliche Nachricht-
 Von: Hans Hagen [mailto:pra...@wxs.nl]
 Gesendet: Dienstag, 22. März 2011 10:57
 An: mailing list for ConTeXt users
 Cc: C.
 Betreff: Re: [NTG-context] Endash tlig not working
 
 On 22-3-2011 1:23, C. wrote:
  Hello,
  the automatic replacement of -- to endash does not work with a certain
 font.
  \endash does work and produces the expected symbol.
  I also have these lines in my code:
  \definefontfeature[tlig][default][tlig=yes]
  \addff{tlig}
 
  I checked that the endash is at position U+2013 in the font.
 
  What else could be wrong here?
 
 the fact that you don't tell what font it concerns and that no minimal
example
 is added
 
 Hans
 
 
 -
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
   | www.pragma-pod.nl
 -



minimal.tex
Description: Binary data


minimal.pdf
Description: Adobe PDF document
___
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
___


Re: [NTG-context] Endash tlig not working

2011-03-22 Thread Khaled Hosny
I think you need to add mode=node to your tlig definition.

On Tue, Mar 22, 2011 at 01:57:05PM +0100, C. wrote:
 The font is Whitman (ttf). Minimal example and its output is attached.
 
  -Ursprüngliche Nachricht-
  Von: Hans Hagen [mailto:pra...@wxs.nl]
  Gesendet: Dienstag, 22. März 2011 10:57
  An: mailing list for ConTeXt users
  Cc: C.
  Betreff: Re: [NTG-context] Endash tlig not working
  
  On 22-3-2011 1:23, C. wrote:
   Hello,
   the automatic replacement of -- to endash does not work with a certain
  font.
   \endash does work and produces the expected symbol.
   I also have these lines in my code:
   \definefontfeature[tlig][default][tlig=yes]
   \addff{tlig}
  
   I checked that the endash is at position U+2013 in the font.
  
   What else could be wrong here?
  
  the fact that you don't tell what font it concerns and that no minimal
 example
  is added
  
  Hans
  
  
  -
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___


-- 
 Khaled Hosny
 Egyptian
 Arab
___
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
___


Re: [NTG-context] Problems with current experimental branch

2011-03-22 Thread Hans Hagen

On 22-3-2011 1:01, Andreas Harder wrote:


I don't know it its legible to post problems with the current experimental, so 
tell me if its not.


What exactly is current experimental? Works ok here the real 
experimental -)


Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Feature request: setuppapersize

2011-03-22 Thread Hans Hagen

On 21-3-2011 5:08, Wolfgang Schuster wrote:


Am 21.03.2011 um 00:43 schrieb Aditya Mahajan:


About two months back I had requested that the second argument be made 
optional. Hans had implemented that request, but it does not always work (I 
don't know if this is a regression over the original implemenetation, or it 
never worked correctly).


I doubt if it has ever worked because after i looked at the source for the 
defintion of \setuppapersize i see that Hans (i mean samesized) code can’t work.


well, it works if one specifies [A5][samesize] but it looks like folks 
want even more automatism ... so i changed it a bit in the next beta .. 
i also made middle the default location


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [***SPAM***] [OT] music player for lua lovers!

2011-03-22 Thread Alan BRASLAU
This is off-topic, but I wish to share my experience with
a product using lua (and perl) running on an embarked linux system.
The Logitech Squeezebox Touch is a small network music player
featuring very high quality sound and good ergonometrics.

http://www.logitech.com/en-us/54/5745

The software is programmed in lua and perl and is open source.

I now have two in my apartment: one in my office and now a
second in the kitchen (soon a third in the bedroom?).

Will someone now write an application to compile ConTeXt on it?
Should be close to trivial, in fact!

Alan
___
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
___


Re: [NTG-context] Feature request: setuppapersize

2011-03-22 Thread Aditya Mahajan

On Tue, 22 Mar 2011, Hans Hagen wrote:


On 21-3-2011 5:08, Wolfgang Schuster wrote:


Am 21.03.2011 um 00:43 schrieb Aditya Mahajan:

About two months back I had requested that the second argument be made 
optional. Hans had implemented that request, but it does not always work 
(I don't know if this is a regression over the original implemenetation, 
or it never worked correctly).


I doubt if it has ever worked because after i looked at the source for the 
defintion of \setuppapersize i see that Hans (i mean samesized) code can’t 
work.


well, it works if one specifies [A5][samesize]


Yes, but [A5][A5] is simpler than [A5][samesize] :)


but it looks like folks want even more automatism ...


and easier explanation. The trouble with [A5][A5] is that you need to 
explain the difference between papersize and printpapersize before you can 
explain how to change the papersize. Most users don't care about this 
difference, so the additional syntax gets confusing.


so i changed it a bit in the next beta .. i also made middle the default 
location


Thank you. I will document all this in the next TUGBoat article on 
Context for users.


Aditya___
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
___


[NTG-context] (RSFS) font installation

2011-03-22 Thread mathew
\starttypescript [sans][dingbats][name]
 \definefontsynonym [Sans][file:d05l]
\stoptypescript
\definetypeface [dingbats][ss][sans][dingbats][default]
\starttext
{\getnamedglyphdirect{dingbats}{0x272a}}

Or here's the character directly: ✪
\stoptext

Anyone else running Ubuntu who can confirm that this doesn't work
using the dingbats font installed by Ghostscript?

Also doesn't work if you replace file:d05l with name:dingbats
 and yet:
$ mtxrun --script fonts --list --all --pattern=dingbat*
dingbats dingbats   /usr/share/fonts/type1/gsfonts/d05l.afm
dingbatsnormal   dingbats   /usr/share/fonts/type1/gsfonts/d05l.afm


mathew
___
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
___


Re: [NTG-context] Feature request: setuppapersize

2011-03-22 Thread Cecil Westerhof
2011/3/22 Aditya Mahajan adit...@umich.edu

 well, it works if one specifies [A5][samesize]

 Yes, but [A5][A5] is simpler than [A5][samesize] :)


With the former if the size changes to A6, you only have to change one
thing. So in light of maintenance it is better.

-- 
Cecil Westerhof
___
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
___


Re: [NTG-context] [OT] music player for lua lovers!

2011-03-22 Thread Hans Hagen

On 22-3-2011 3:52, Alan BRASLAU wrote:


This is off-topic, but I wish to share my experience with
a product using lua (and perl) running on an embarked linux system.
The Logitech Squeezebox Touch is a small network music player
featuring very high quality sound and good ergonometrics.

http://www.logitech.com/en-us/54/5745


indeed, and apart from scite using lua as embedded language, it was jive 
that convinced me that lua was a good choice



The software is programmed in lua and perl and is open source.

I now have two in my apartment: one in my office and now a
second in the kitchen (soon a third in the bedroom?).


I have a squeezebox classic in the top floor study, a slim devices 
transporter in the living room (wasn't logitech then), a squeeze radio 
in the kitchen, another squeezebox stares at me right now, and 
squeezepad on the ipad (no touch yet, but I might get one some day) .. 
how else do you think I can work on context -)


(btw, i just run the squeezecenter server on a virtual machine)


Will someone now write an application to compile ConTeXt on it?
Should be close to trivial, in fact!


maybe ...

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [***SPAM***] [OT] music player for lua lovers!

2011-03-22 Thread Arthur Reutenauer
 Will someone now write an application to compile ConTeXt on it?

  I don't even dare asking what the use case would be :-)

 Should be close to trivial, in fact!

  For the programming part, probably, but how should it be used?  I
don't reckon this is the kind of device where the user is expected to
type text, let alone to view a PDF file.  If you remember my talk in
Brejlov, the main part of the work, in developing an iPad application
for TeX, was the user interface, not the TeX compiler proper
(notwithstanding the arbitrary limitations by Apple that do actually
inflict a burden on the programmer).

Arthur
___
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
___


Re: [NTG-context] Problems with current experimental branch

2011-03-22 Thread Andreas Harder
Am 22.03.2011 um 14:07 schrieb Hans Hagen:On 22-3-2011 1:01, Andreas Harder wrote:I don't know it its legible to post problems with the current experimental, so tell me if its not.What exactly is current experimental? Works ok here the real experimental -)I tried again with the one fromhttp://minimals.contextgarden.net/current/context/experimental/\setupbodyfont[cambria]\starttexttest\stoptextLog attached.

otf-math.log
Description: Binary data
The other examples don't work either.Andreas___
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
___


Re: [NTG-context] (RSFS) font installation

2011-03-22 Thread Taco Hoekwater


Hi,

On 03/22/2011 05:08 PM, mathew wrote:

{\getnamedglyphdirect{dingbats}{0x272a}}


this won't do anything unless the glyph's *name* in the font is
actually 0x272a, which is unlikely (in my version of the ghostscript
font, the name of ✪ is a37).


Or here's the character directly: ✪


This does not work for two reasons: First, you have defined a typeface
dingbats, but have not switched to it. There is no font switch in the
line you used, so you are still in the normal latin modern font.

The second, and more important, reason why this does not work,
is because the ghostscript fonts have odd names for the dingbat
glyphs, and context has no way of knowing that they are actually
supposed to be in unicode encoding. So, you need a way to find
the glyph's name.

A (hopefully) working recipe follows.

First, run this file:

  \usemodule[fnt-10]
  \starttext
  \ShowCompleteFont{name:dingbats}{10pt}{1}
  \stoptext

that should give you five or six pages of output in columns:

  used encoding, actual glyph, glyph id, glyph name, aliases

Look at the output, then use the actual glyph to find the glyph
name for ✪ (as I said, for me that is a37). Having found the name,
you can get the glyph with this bit of code:

  \getnamedglyphdirect{name:dingbats}{a37} % for me

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


[NTG-context] Minute not working in unit module?

2011-03-22 Thread Matthias Weber
Dear all,

\usemodule[units]

\starttext
$1 \Minute$
\stoptext

gives an undefined control sequence for \Minute,
both in mk2 and mk4.

Matthias
___
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
___


Re: [NTG-context] Minute not working in unit module?

2011-03-22 Thread Aditya Mahajan

On Tue, 22 Mar 2011, Matthias Weber wrote:


Dear all,

\usemodule[units]

\starttext
$1 \Minute$
\stoptext

gives an undefined control sequence for \Minute,
both in mk2 and mk4.



From m-units.mkiv


\getvalue{\v!unit} [Min]   {min} {\labeltext{u:min}}

So, \Min should work.

Aditya
___
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
___