Re: [NTG-context] Feature request: Title Case/Start Case

2011-01-31 Thread Wolfgang Schuster

Am 31.01.2011 um 02:11 schrieb Reviczky, Adam:

 Hi,
 
 May I ask for supporting Title Case or Start Case in core ConTeXt?
 Eg: The first letter of each word is capitalized, the rest are lower case.
 
 It would be nice to have something like these:
 \TitleCase{What to capitalize in title case} resulting in What to Capitalize 
 in Title Case
 \StartCase{What to capitalize in start case} resulting in What To Capitalize 
 In Start Case

\setuphead[title][style=\Words]
\starttext
\title{What to capitalize in start case}
\stoptext

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
___


Re: [NTG-context] Feature request: Title Case/Start Case

2011-01-31 Thread Reviczky, Adam
\setuphead[title][style=\Words]
\starttext
\title{What to capitalize in start case}
\stoptext
Thanks, yes, I've seen that, but I was just wondering if this can be done in a 
paragraph, outside a section element.

Adam
___
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: Title Case/Start Case

2011-01-31 Thread Wolfgang Schuster

Am 31.01.2011 um 10:21 schrieb Reviczky, Adam:

 \setuphead[title][style=\Words]
 \starttext
 \title{What to capitalize in start case}
 \stoptext
 Thanks, yes, I've seen that, but I was just wondering if this can be done in 
 a paragraph, outside a section element.


\definestartstop[TitleCase][style=\Words]
\starttext
\Words{What to capitalize in start case}\par
\TitleCase{What to capitalize in start case}\par
\startTitleCase What to capitalize in start case\stopTitleCase
\stoptext

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
___


Re: [NTG-context] Feature request: Title Case/Start Case

2011-01-31 Thread Reviczky, Adam
\definestartstop[TitleCase][style=\Words]
\starttext
\Words{What to capitalize in start case}\par
\TitleCase{What to capitalize in start case}\par
\startTitleCase What to capitalize in start case\stopTitleCase
\stoptext
Excellent, thank you Wolfgang!

Adam
___
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] what about \super and \suber ?

2011-01-31 Thread Peter Münster
Hello,

What about \super and \suber¹? Are these commands replaced by other
commands, obsolete, broken,... ?

¹ http://pmrb.free.fr/contextref.pdf section 19.6, page 340

-- 
   Peter
___
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] Problem switching fonts in MKII

2011-01-31 Thread Taco Hoekwater

Hi,


On 01/30/11 19:18, Tom wrote:
 Kudos for the new documentation chapters on Typography and Fonts. However, I
 still can't completely get my hands around it. Running the following code
 under TexLive MKII doesn't give the desired results in that defining font
 synonyms and switching to those typefaces doesn't seem to work. Obviously,
 I'm doing something wrong.

As far as I know, you cannot define fontsynonyms to typefaces. If you
want to use names like 'TextFont' as a typeface, you have to use
\definetypeface.

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] Multiline formula numbering problems

2011-01-31 Thread Vyatcheslav Yatskovsky

Hi,

I cannot understand why, but multiline formulas are not numbered.

\starttext

% has number
\placeformula \startformula
f(x_0, u_0)=0.
\stopformula

% has no number
\placeformula \startformula \startalign
\NC \dot{x}(t) \NC=f(x(t), u(t)) \NR
\NC y(t) \NC=h(x(t), u(t)), \NR
\stopalign \stopformula


% no numbers even here
\startsubformulas
\placeformula \startformula
\dot{x}(t)=f(x(t), u(t))
\stopformula
\placeformula \startformula
y(t) =h(x(t), u(t)),
\stopformula
\stopsubformulas

\stoptext

Regards,
Vyatcheslav

___
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] Multiline formula numbering problems

2011-01-31 Thread Otared Kavian
Hi Vyatcheslav,

In fact you should say \NR[+] at the end of each line in \startalign in order 
to get numbers.
This works for me:
\starttext

\placeformula 
\startformula 
\startalign
\NC \dot{x}(t) \NC=f(x(t), u(t)) \NR[+]
\NC y(t) \NC=h(x(t), u(t)), \NR[+]
\stopalign
\stopformula

\stoptext
Best regards: OK

On 31 janv. 2011, at 11:38, Vyatcheslav Yatskovsky wrote:

 \starttext
 
 % has number
 \placeformula \startformula
 f(x_0, u_0)=0.
 \stopformula
 
 % has no number
 \placeformula \startformula \startalign
 \NC \dot{x}(t) \NC=f(x(t), u(t)) \NR
 \NC y(t) \NC=h(x(t), u(t)), \NR
 \stopalign \stopformula
 
 
 % no numbers even here
 \startsubformulas
 \placeformula \startformula
 \dot{x}(t)=f(x(t), u(t))
 \stopformula
 \placeformula \startformula
 y(t) =h(x(t), u(t)),
 \stopformula
 \stopsubformulas
 
 \stoptext
 
 Regards,
 Vyatcheslav

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr




___
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] what about \super and \suber ?

2011-01-31 Thread Hans Hagen

On 31-1-2011 11:03, Peter Münster wrote:

Hello,

What about \super and \suber¹? Are these commands replaced by other
commands, obsolete, broken,... ?


Gone ... mkiv will have _ and ^ as letter and as such there will be no 
active mess going on in text mode any more.


Could be a module if there's real need for it, but no core stuff.

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] Multiline formula numbering problems

2011-01-31 Thread Vyatcheslav Yatskovsky

In fact you should say \NR[+] at the end of each line in \startalign in
order to get numbers.
This works for me:
\starttext

\placeformula
\startformula
\startalign
\NC \dot{x}(t) \NC=f(x(t), u(t)) \NR[+]
\NC y(t) \NC=h(x(t), u(t)), \NR[+]
\stopalign
\stopformula

\stoptext


Wow, that's pure magic! Thanks! )

--
Best Regards,
Vyatcheslav Yatskovsky
___
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] startMPgraphic?

2011-01-31 Thread Hans van der Meer
I just started the conversion of my presentation sheets to ConTeXt mkIV. As 
could be expected, some inconsistencies will turn up. However this one escapes 
me. What I am missing that
   \startMPgraphic
results in
   ! Undefined control sequence.

I thought that installing the minimals of ConTeXt-beta also installed the 
metafun module. Or has this one macro been deprecated?

Hans van der Meer

___
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] Problem switching fonts in MKII

2011-01-31 Thread Tom
Hi,


On 01/30/11 19:18, Tom wrote:
 Kudos for the new documentation chapters on Typography and Fonts. However,
I
 still can't completely get my hands around it. Running the following code
 under TexLive MKII doesn't give the desired results in that defining font
 synonyms and switching to those typefaces doesn't seem to work. Obviously,
 I'm doing something wrong.

As far as I know, you cannot define fontsynonyms to typefaces. If you
want to use names like 'TextFont' as a typeface, you have to use
\definetypeface.

Best wishes,
Taco

Thanks, Taco. That did the trick. Now to experiment with more of the fonts
included in the TexLive distribution.

Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com





___
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] Left/right justification and interline-spacing inside natural tables (TABLE)

2011-01-31 Thread Stefan Müller

Hi list,

this is probably pretty easy to solve, but I didn't find anything about 
in on wiki or mailing list about it. I'm using ConTeXt MkIV.


How can I get the text in the following example to be left and right 
justified, i.e. the default alignment behaviour of text outside a TABLE 
(\starttext \input knuth \stoptext)?


\starttext
\bTABLE \bTR[width=10cm]
\bTD \input knuth \eTD
\eTR \eTABLE
\stoptext

In addition: is it possible to increase or decrease the 
interline-spacing of the text inside the TABLE cell? How?


Thanks in advance,
Stefan
___
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] startMPgraphic?

2011-01-31 Thread Hans van der Meer
Some further digging brings to ligt that my metapost files cannot be found by 
the luatex run.
The following is hown in the log:

mplib   : initializing instance 'metafun' using format 'metafun'
mplib   : loading 'metafun.mp' (experimental metapost version two)
mplibmp terminal: ! I can't open file `hvdm'.
* ...core : input mp-core.mp ; fi ; ;\input hvdm
   def init_pens = pickup pe...
Please type another input file name

Now that is strange, because looking into the ls-R in texmf-local I see them 
present:

./tex/context/user/metapost:
.DS_Store
.svn
hvdm.mp
mygraph.mp

So, why is hvdm.mp not found? Other files mentioned in ls-R, for example:
./tex/context/user/context-user:
hvdm-cas.tex
hvdm-dvd.tex
etcetera, are indeed found.

By the way, why are all the .svn (subversion) directories included in ls-R? 
Cannot .svn/* be excluded? 

Hans van der Meer


 
On 31 jan 2011, at 14:08, Hans van der Meer wrote:

 I just started the conversion of my presentation sheets to ConTeXt mkIV. As 
 could be expected, some inconsistencies will turn up. However this one 
 escapes me. What I am missing that
   \startMPgraphic
 results in
   ! Undefined control sequence.
 
 I thought that installing the minimals of ConTeXt-beta also installed the 
 metafun module. Or has this one macro been deprecated?
 
 Hans van der Meer
 
 ___
 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
___


[NTG-context] [***SPAM***] Re: Left/right justification and interline-spacing inside natural tables (TABLE)

2011-01-31 Thread Peter Münster
Stefan Müller warrence@gmx.de writes:

 \starttext
 \bTABLE   \bTR[width=10cm]
   \bTD \input knuth \eTD
 \eTR \eTABLE
 \stoptext

\starttext
\bTABLE \bTR[width=10cm, align=yes]
\bTD \setupinterlinespace[5ex] \input knuth \eTD
\eTR \eTABLE
\stoptext

-- 
   Peter
___
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] including pdf

2011-01-31 Thread Andrea Valle
Hi list!

I have to create the proceedings of a conference.
I'm collecting A4 pdfs (from word/latex templates), and I have to stick them 
together, adding cover, toc etc

Now, I've used copypages.
The fact is that the included pdfs do not bleed over all the page, their 
inclusion seems to depend on 
some dimension I'm not able to control via setuplayout.
So, I tested startpagefigure. Works fine but I can include (well, I'm able to) 
a single page.
More, it seems that numbers of page disappear (while I need them)

Any hints?

Thanks a lot


-a-

___
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***] Re: Left/right justification and interline-spacing inside natural tables (TABLE)

2011-01-31 Thread Stefan Müller

Amazing! Thank you very much for that. Your example works.

However, for some reason the following does not work. Only the space 
before the first line and the space between the first line and second 
line are changed (not even to the same dimension). Any ideas?


\starttext
\bTABLE \bTR[width=10cm, align=yes]
	\bTD \setupinterlinespace[10ex] Lorem ipsum dolor sit amet, consectetur 
adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore 
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco 
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor 
in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla 
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa 
qui officia deserunt mollit anim id est laborum. \eTD

\eTR \eTABLE
\stoptext

Kind regards,
Stefan.

On 31.01.2011 15:20, Peter Münster wrote:

Stefan Müllerwarrence@gmx.de  writes:


\starttext
\bTABLE \bTR[width=10cm]
\bTD \input knuth \eTD
\eTR \eTABLE
\stoptext


\starttext
\bTABLE \bTR[width=10cm, align=yes]
\bTD \setupinterlinespace[5ex] \input knuth \eTD
\eTR \eTABLE
\stoptext


___
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***] Re: [***SPAM***] Re: Left/right justification and interline-spacing inside natural tables (TABLE)

2011-01-31 Thread Peter Münster
Stefan Müller warrence@gmx.de writes:

 However, for some reason the following does not work. Only the space before
 the first line and the space between the first line and second line are
 changed (not even to the same dimension). Any ideas?

 deserunt mollit anim id est laborum. \eTD

deserunt mollit anim id est laborum. \par \eTD

-- 
   Peter
___
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] startMPgraphic?

2011-01-31 Thread Hans Hagen

On 31-1-2011 3:14, Hans van der Meer wrote:

Some further digging brings to ligt that my metapost files cannot be found by 
the luatex run.
The following is hown in the log:

mplib   : initializing instance 'metafun' using format 'metafun'
mplib   : loading 'metafun.mp' (experimental metapost version two)
mplib  mp terminal: ! I can't open file `hvdm'.
*  ...core : input mp-core.mp ; fi ; ;\input hvdm

  ^

\input for an mp file?

-
  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] Left/right justification and interline-spacing inside natural tables (TABLE)

2011-01-31 Thread Stefan Müller

Thank you, that did the magic.
Stefan.

On 31.01.2011 16:05, Peter Münster wrote:

Stefan Müllerwarrence@gmx.de  writes:


However, for some reason the following does not work. Only the space before
the first line and the space between the first line and second line are
changed (not even to the same dimension). Any ideas?

deserunt mollit anim id est laborum. \eTD


deserunt mollit anim id est laborum. \par \eTD

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

2011-01-31 Thread Hans Hagen

Hi,

I uploaded a new beta.

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] startMPgraphic?

2011-01-31 Thread Aditya Mahajan

On Mon, 31 Jan 2011, Hans van der Meer wrote:


Now that is strange, because looking into the ls-R in texmf-local I see them 
present:

./tex/context/user/metapost:
.DS_Store
.svn
hvdm.mp
mygraph.mp


That is a strange location for mp files, which are usually stored in 
$TEXMF/metapost/ (and not in $TEXMF/tex/context/...). So, you should 
either move the files to a more traditional location, or modify MPINPUTS 
to also search in tex/context/ subtree.


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] beta

2011-01-31 Thread Otared Kavian
Hi Hans,

I uploaded the new beta with the Minimals, but neither mkii nor mkiv work 
anymore…
I get
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
and 
luatools --generate
gives the same result.
Has something changed in first-setup.sh for Mac OS X and other machines (I 
followed the thread about that file being changed for Windows by Mojca, but I 
don't know about other operating systems).

I am reporting this just to let you know: I don't have any problem going back 
to ConTexT version 2011.01.25.

Best regards: OK

On 31 janv. 2011, at 17:49, Hans Hagen wrote:

 Hi,
 
 I uploaded a new beta.
 
 Hans

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

2011-01-31 Thread Thomas Schmitz

On Mon, 31 Jan 2011 18:33:57 +0100
 Otared Kavian ota...@gmail.com wrote:

Hi Hans,

I uploaded the new beta with the Minimals, but neither 
mkii nor mkiv work anymore…

I get
	MTXrun | unknown script 'context.lua' or 
'mtx-context.lua'
and 
	luatools --generate

gives the same result.


This has been deprecated for quite a while now; you have 
to run


mtxrun --generate

Has something changed in first-setup.sh for Mac OS X and 
other machines (I followed the thread about that file 
being changed for Windows by Mojca, but I don't know 
about other operating systems).


I see the same thing on linux: you have to run mtxrun 
--generate and mktexlsr and texexec --make by hand now; 
after that, mkiv and mkii will run.


I assume that's a result of our discussion last week, but 
not quite what Hans and Mojca are aiming at...


Thomas
___
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] beta

2011-01-31 Thread Otared Kavian
Hi Thomas,

Many thanks for your attention: indeed afer doing
mtxrun --generate
and then
context --make --all
I could use mkiv, and had to do
mktexlsr 
and the 
texexec --make --all
in order to use mkii. 
I gues eventually these commands would be integrated somehow in first-setup.sh, 
but I didn't notice that that file was supposed to be updated also.

Best regards: OK

On 31 janv. 2011, at 18:45, Thomas Schmitz wrote:

 On Mon, 31 Jan 2011 18:33:57 +0100
 Otared Kavian ota...@gmail.com wrote:
 Hi Hans,
 I uploaded the new beta with the Minimals, but neither mkii nor mkiv work 
 anymore…
 I get
  MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
 and  luatools --generate
 gives the same result.
 
 This has been deprecated for quite a while now; you have to run
 
 mtxrun --generate
 
 Has something changed in first-setup.sh for Mac OS X and other machines (I 
 followed the thread about that file being changed for Windows by Mojca, but 
 I don't know about other operating systems).
 
 I see the same thing on linux: you have to run mtxrun --generate and mktexlsr 
 and texexec --make by hand now; after that, mkiv and mkii will run.
 
 I assume that's a result of our discussion last week, but not quite what Hans 
 and Mojca are aiming at...
 
 Thomas
 ___
 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
 ___

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr




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

2011-01-31 Thread Otared Kavian
Hi again Hans,

Thanks to Thomas' attention I could make some testing with the latest mkiv beta 
(2011.01.31). It seems that roman numerals is broken in itemize, while it works 
fine in mkii.
Here is a minimal test:
%%% begin test.tex
\starttext
\startitemize[r]
\item Testing items and footnotes\footnote{This is a silly remark\dots}
\stopitemize
\stoptext
%%% end test.tex

and the error message I get:
! Undefined control sequence.
\romannumerals #1-\ctxcommands 
{romannumerals(\number #1)}
l.7 }
 
\doconvertedstructurecounter ...!criterium , } )}
  \endgroup 
to be read again 
   \fi 
\doactualitemnumber ...rrentitemgroupcounter ]\fi 
  \dohandleitemreference \en...
\actualitemnumber ...fi \else \doactualitemnumber 
  \fi 
...
l.5 \item T
   esting items and footnotes\footnote{This is a silly remark\dots}
? 
Process aborted

Best regards: OK

On 31 janv. 2011, at 17:49, Hans Hagen wrote:

 Hi,
 
 I uploaded a new beta.
 
 Hans
 

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

2011-01-31 Thread Hans van der Meer
Surprised this works somewhere. I uploaded the beta with the script I am using 
for sometime now:
#!/bin/bash
mkdir -p $TEXMINIMAL/tex
cd $TEXMINIMAL
ln -s $TEXPRIVATE tex/texmf-local
curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh
sh ./first-setup.sh first-setup.log
cd tex
echo luatools --selfupdate
luatools --selfupdate
echo mtxrun -selfupdate
mtxrun -selfupdate
echo mtxrun -selfupdate
echo installation context minimals done

But now I get an error in running my TeXShop after installing:
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
Confirmed that something is broken by regressing to my previous installation of 
ConTeXt  ver: 2011.01.26 11:02 MKIV  fmt: 2011.1.31  int: english/english
Changing the script to mtxrun --generate do not improve things here.

Thanks for changing things that way between one and the other. I am starting to 
get a bit choleric about all things that constantly seem broken with the next 
update. Sorry for the sour note but these are costing me hours to iron out, 
time I do not have at the moment.

Hans van der Meer


On 31 jan 2011, at 18:45, Thomas Schmitz wrote:

 On Mon, 31 Jan 2011 18:33:57 +0100
 Otared Kavian ota...@gmail.com wrote:
 Hi Hans,
 I uploaded the new beta with the Minimals, but neither mkii nor mkiv work 
 anymore…
 I get
  MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
 and  luatools --generate
 gives the same result.
 
 This has been deprecated for quite a while now; you have to run
 
 mtxrun --generate
 
 Has something changed in first-setup.sh for Mac OS X and other machines (I 
 followed the thread about that file being changed for Windows by Mojca, but 
 I don't know about other operating systems).
 
 I see the same thing on linux: you have to run mtxrun --generate and mktexlsr 
 and texexec --make by hand now; after that, mkiv and mkii will run.
 
 I assume that's a result of our discussion last week, but not quite what Hans 
 and Mojca are aiming at...
 
 Thomas
 ___
 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
___


[NTG-context] Too many column gaps in TABLE

2011-01-31 Thread Stefan Müller

Hi list,

please consider the appended example. I get a gap in the first row after 
the first column because of the \setupTABLE command. However, I also get 
a gap after the second column, because in the second row the first cell 
just ended. Can this be considered a bug? (Mk IV)


If it's not a bug, how can I change this behavior? I only want to have 
one gap right after the first cell in the first row and no other gaps 
between the columns (so the second row shall have no gap at all). Do I 
have to insert a dummy column with width=1em after the first cell and 
change nc=2 to nc=3?


Thanks in advance!
Stefan

\starttext
\setupTABLE[c][1][distance=1em] % Both \setupTABLE commands yield the same
%\setupTABLE[1][1][distance=1em]
\bTABLE
	\bTR \bTD gap after this column \eTD \bTD two \eTD \bTD we don't want a 
gap \eTD \eTR
	\bTR \bTD[nc=2] first cell in second row \eTD \bTD \dots before the 
third column \eTD \eTR

\eTABLE
\stoptext
___
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] beta

2011-01-31 Thread Peter Münster
Hans van der Meer h.vanderm...@uva.nl writes:

 Thanks for changing things that way between one and the other. I am starting
 to get a bit choleric about all things that constantly seem broken with the
 next update. Sorry for the sour note but these are costing me hours to iron
 out, time I do not have at the moment.

See also: http://article.gmane.org/gmane.emacs.gnus.general/76158 ;-)

-- 
   Peter
___
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] beta

2011-01-31 Thread Hans Hagen

On 31-1-2011 6:45, Thomas Schmitz wrote:

On Mon, 31 Jan 2011 18:33:57 +0100
Otared Kavian ota...@gmail.com wrote:

Hi Hans,

I uploaded the new beta with the Minimals, but neither mkii nor mkiv
work anymore…
I get
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
and luatools --generate
gives the same result.


This has been deprecated for quite a while now; you have to run

mtxrun --generate


Has something changed in first-setup.sh for Mac OS X and other
machines (I followed the thread about that file being changed for
Windows by Mojca, but I don't know about other operating systems).


I see the same thing on linux: you have to run mtxrun --generate and
mktexlsr and texexec --make by hand now; after that, mkiv and mkii will
run.

I assume that's a result of our discussion last week, but not quite what
Hans and Mojca are aiming at...


hm, i tested it on a linux machine and it also works at taco's end

however, I see an error in mtxrun under the upgrade bin path so I'll 
have a look at that (it's hard to test minimals without remote)


anyhow, making the databases and formats by hand works ok; the biggest 
change is not yet visible anyway (for myself i want a relocatable tree 
so i'm playing with that, normally that's not something users will deal 
with)


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] problem with \date in beta 2011.01.31 16:59

2011-01-31 Thread Florian Wobbe
Hi,

\date still used to work in beta 2011.01.26 11:02 now I get only v!. What is 
wrong?

\starttext
\date, \date[][year,--,mm,--,dd]
\stoptext

Thanks,
Florian

___
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] Curly quotes was TTF fonts and MKIV

2011-01-31 Thread John Culleton
On Sunday 30 January 2011 16:52:55 Wolfgang Schuster wrote:
 Am 30.01.2011 um 17:29 schrieb John Culleton:
  Thanks for your reply. Are you telling me that \input foo no
  longer works the way it used to?

 \input works but \environment is the “ConTeXt Way” to load your
 personal settings for a document, environment prevents also
 multiple loading of the file when you use context’s document
 structure.

  Let me simplify the example:
  ---
  \setupoutput[pdftex]

 simplefonts is mkiv only, so remove this or don’t use simplefonts

  \definepapersize[bok][width=7.0in,height=10.0in]
  \setuppapersize[bok][bok]
  \usemodule [simplefonts]
  \setmainfont [georgia]
  \starttext
  Here is ``foo''.
  \stoptext
  -
  I still get the same wrong results. In a ttf font like georgia
  the close quote looks OK but the open quote are two left tick
  marks. In Bitstream Charter the close quote is the inch sign and
  the open quote is again two left tick marks. So my original
  question remains: Why do the double quote codes not work as they
  have since the days of plain tex?

 Use “…” or \quotation{…}, we have 2011 and Unicode is available
 since years.

 Wolfgang

 
 ___


\quotation{} works, but nothing else does. 

It is not clear how one sets the main font size. Is this correct?
\setmainfont[charterbt][size=11pt]
?
-- 
John Culleton
Create Book Covers with Scribus:
http://www.booklocker.com/p/books/4055.html
Typesetting and indexing http://wexfordpress.com
book sales http://wexfordpress.net
Free  barcode: http://www.tux.org/~milgram/bookland/

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

2011-01-31 Thread Hans Hagen

On 31-1-2011 7:11, Hans van der Meer wrote:


Thanks for changing things that way between one and the other. I am starting to 
get a bit choleric about all things that constantly seem broken with the next 
update. Sorry for the sour note but these are costing me hours to iron out, 
time I do not have at the moment.


well, no one forces you to update betas

also, as long as we're in transition to mkiv you can expect an 
occasional hickup, after all, i have only a few machines to test


maybe it gives you comfort to know that I spend more hours to iron out 
problems -)


Hans

ps. recently i spent a week ironing out nfs4 problems just to find out 
(by googling) that i'd best revert al machines back to nfs3 and i can 
give more examples; believe it or not, it makes me feel less guilty


-
  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] problem with \date in beta 2011.01.31 16:59

2011-01-31 Thread Hans Hagen

On 31-1-2011 9:11, Florian Wobbe wrote:

Hi,

\date still used to work in beta 2011.01.26 11:02 now I get only v!. What is 
wrong?

\starttext
\date, \date[][year,--,mm,--,dd]
\stoptext


fixed .. side effect of cleaning up some code

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] Curly quotes was TTF fonts and MKIV

2011-01-31 Thread Wolfgang Schuster

Am 31.01.2011 um 21:45 schrieb John Culleton:

 \quotation{} works, but nothing else does. 

just write the quotes: '“' and '”'

 It is not clear how one sets the main font size. Is this correct?
 \setmainfont[charterbt][size=11pt]

\setupsimplefonts[size=11pt]

or

\setupbodyfont[11pt]

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
___


Re: [NTG-context] beta

2011-01-31 Thread Hans Hagen

On 31-1-2011 7:07, Otared Kavian wrote:

Hi again Hans,

Thanks to Thomas' attention I could make some testing with the latest mkiv beta 
(2011.01.31). It seems that roman numerals is broken in itemize, while it works 
fine in mkii.
Here is a minimal test:
%%% begin test.tex
\starttext
\startitemize[r]
\item Testing items and footnotes\footnote{This is a silly remark\dots}
\stopitemize
\stoptext
%%% end test.tex

and the error message I get:
! Undefined control sequence.
\romannumerals #1-\ctxcommands
 {romannumerals(\number #1)}


ah, you got me ... should be singular

fyi: this macro is a shortcut for calling a function in the lua commands 
namespace; eventually all calls at the tex end will call functions in 
the commands namespace but it's a stepwise process to get this done (all 
conversions were adapted so maybe more problems surface, but they're 
just name issues)


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] problem with \date in beta 2011.01.31 16:59

2011-01-31 Thread Florian Wobbe
 \date still used to work in beta 2011.01.26 11:02 now I get only v!. What 
 is wrong?
 
 \starttext
 \date, \date[][year,--,mm,--,dd]
 \stoptext
 
 fixed .. side effect of cleaning up some code

Thank you! I just noticed, that all numbers in front of the pdf bookmark 
entries have gone as well. Partitioned numbers of sections, subsections etc., 
have only the dot left.

\setupinteraction[state=start]
\placebookmarks[chapter,section,subsection]

\starttext
\chapter{A Chapter}
\section{A Section}
\subsection{The Subsection}
\stoptext

Florian

___
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] \date format according to ISO 8601

2011-01-31 Thread Marco
Hi,

in my opinion it makes sense to display the date in ISO 8601 format.

now:  \date  results in: January 31, 2011
ISO 8601: \date  would result in: 2011–01–31

In case Hans does not like this idea, is it possible to change it to make
ISO 8601 the default. Something like

\setupdate [format={year, –, mm, –, day}]

Regards
Marco


___
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] error updating beta WAS: beta

2011-01-31 Thread Marco
Hi,

I get the following error while updating minimals:

MTXrun | run: texexec --make --all --fast --xetex cont-nl cont-enTeXExec | 
using search method 'kpsewhich'
TeXExec | using existing database
TeXExec | using tex engine xetex
TeXExec | using tex format path /nonesuch/texmf/web2c/xetex
TeXExec | generating tex format cont-nl.mkii
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (Web2C 7.5.6) (INITEX)
entering extended mode
! I can't find file `cont-nl.mkii'.
* *cont-nl.mkii
 
(Press Enter to retry, or Control-D to exit)
Please type another input file name: 

Linux x86_64

Regards
Marco


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

2011-01-31 Thread Vnpenguin
On Mon, Jan 31, 2011 at 22:28, Hans Hagen pra...@wxs.nl wrote:
 On 31-1-2011 7:11, Hans van der Meer wrote:

 Thanks for changing things that way between one and the other. I am
 starting to get a bit choleric about all things that constantly seem broken
 with the next update. Sorry for the sour note but these are costing me hours
 to iron out, time I do not have at the moment.

 well, no one forces you to update betas

 also, as long as we're in transition to mkiv you can expect an occasional
 hickup, after all, i have only a few machines to test

It's better to have someone could give you a hand.
In the long term, something like Release Team would be a must for
ConTeXt development. With this team, we can do some Unit testing for
each release in order to minimize problem.
___
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] showing and hiding layers

2011-01-31 Thread Skip Collins
I am trying to create a layer to contain letterhead graphics. I would
like the letterhead to appear by default when a pdf is opened and
printed. But I would also like to be able to hide the letterhead layer
in Acrobat when printing on pre-printed paper.

My simplistic, always-displayed letterhead looks like:

%%% start code %%%
\definelayer[letterhead]
[x=0in,y=0in,width=\paperwidth,height=\paperheight,state=start]
\setlayer[letterhead]
 [hoffset=1in,voffset=0.5in]
 {LetterHeadMark}
\setupbackgrounds[page][background={letterhead}]
\starttext
Hello, World!
\stoptext
%%% stop code %%%

But there is no obvious way to turn this off when printing.
Contextgarden suggests using \defineproperty to create a pdf layer. I
can show and hide this layer in acrobat, but it always opens up
hidden. I am also not sure how to place the letterhead exactly on the
page using this method.

Any suggestions?
___
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
___