Re: [NTG-context] Total Number of Pages

2012-10-16 Thread Hrothgar Boyce
I've not tested this, but suspect that there may be a difference
between the below two commands
  \lastpage  and
  \totalnumberofpages

possibly depending on whether title pages or preambles are counted.

On Tue, Oct 16, 2012 at 1:12 PM, Marco Patzer  wrote:
> 2012-10-16 Nicholas Ulle:
>
> Hi Nicholas
>
>> How would I go about inserting the total number of pages in my document?
>
> \lastpage
>
>
> 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
> ___
___
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] Context halting (or sub processes) and not completing

2012-10-15 Thread Hrothgar Boyce
Thank you for the help.  I 'm sorry I didn't find that.

On Mon, Oct 15, 2012 at 2:50 PM, Aditya Mahajan  wrote:
> On Mon, 15 Oct 2012, Hrothgar Boyce wrote:
>
>> Platform: cygwin texlive 2012 (from texlive org)
>>
>> Test TeX file:
>> --
>> /stoptext
>> This is a pen
>> /stoptext
>> --
>>
>> Result:
>>
>> -
>> $ texexec -o pdf test.tex
>
>
> -o is not a valid option for texexec.
>
> 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
> ___
___
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] Context halting (or sub processes) and not completing

2012-10-15 Thread Hrothgar Boyce
Platform: cygwin texlive 2012 (from texlive org)

Test TeX file:
--
/stoptext
This is a pen
/stoptext
--

Result:
-
 $ texexec -o pdf test.tex
/usr/local/texlive/2012/texmf-dist/scripts/context/ruby/base/switch.rb:21:
Use RbConfig instead of obsolete and deprecated Config.
/usr/local/texlive/2012/texmf-dist/scripts/context/ruby/base/switch.rb:570:in
`locateseries': undefined method `each' for "o":String (NoMethodError)
from 
/usr/local/texlive/2012/texmf-dist/scripts/context/ruby/base/switch.rb:397:in
`block in expand'
from 
/usr/local/texlive/2012/texmf-dist/scripts/context/ruby/base/switch.rb:392:in
`each'
from 
/usr/local/texlive/2012/texmf-dist/scripts/context/ruby/base/switch.rb:392:in
`expand'
from 
/usr/local/texlive/2012/texmf-dist/scripts/context/ruby/texexec.rb:789:in
`'
---
I must have some sort of configuration or Ruby compatibility problem,
but, I haven't any idea what it is or what to do about it.  Can anyone
help me out or give me some ideas.

Thank you.
___
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] Runtime Error (TeXLive and ConTeXt )

2012-08-20 Thread Hrothgar Boyce
TeXLive Version: 2012  ("--all" updated to August 20th, 2012)
Platform:  CYGWIN_NT-6.0 1.7.16(0.262/5/3) 2012-07-20 22:55
The attempted command which ends in an error is:

   texexec -o pdf 659-water-stations.tex

This results in: "PANIC: unprotected error in call to Lua API
 (zlib library version does not match -
header: 1.2.5, library: 1.2.7)"

However /usr/include/zlib.h  is for version 1.2.7, not the 1.2.5
mentioned in the error message. Any idea of how to fix this, so I
can run ConTexT?
Thanks for any and all help.
___
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
___