Re: [NTG-context] Caption textcommand option

2010-10-20 Thread Cedric Mauclair
Works for me. Thanks.

-- Cédric



On Tue, Oct 19, 2010 at 22:46, Alan BRASLAU alan.bras...@cea.fr wrote:
 On Tuesday 19 October 2010 20:15:37 Wolfgang Schuster wrote:

 but it’s possible to get the desired result also with a selector, e.g.


 example id=2
 \defineselector[caption][max=2,n=2]

 \startsetups select:caption
 \setupselector[caption][n=1]
 \stopsetups

 \setupcaptions[setups=select:caption]

 \starttext

 This is some text with a reference to a table named \about[tab:table].

 \placetable[here][tab:table]{\select{caption}{My caption.}{My
 caption}}{...}

 \stoptext
 /example


 I sytematically use the selector mechanism for short caption/full caption,
 the short caption gets used for the list of figures and list of tables.
  \setupselector [caption] [n=1]
  \placelistoffigures [criterium=all]

 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
 ___

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

2010-10-20 Thread Hans Hagen

On 20-10-2010 6:25, S Barmeier wrote:

Sorry to keep going on about this, but trying to load the
project/environment with either of

\project myproject
\environment myenvironment

in the component (directly after \startcomponent) gives me an error. It
compiles fine without these commands, but then the \ruby command does
not work. What am I doing wrong?


is \startcomponent followed by a name?

\startcomponent myname


-
  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] \seeindex broken?

2010-10-20 Thread Steffen Wolfrum
Hi,

it seems that \seeindex doesn't work as expected anymore (please run attached 
example).
Or did I do something wrong?

Best,
Steffen
(ConTeXt ver: 2010.10.12 01:03 MKIV)


\starttext

\placeregister[index]

\page

%test \seeindex{index1}{xindex2}test % - here it works

\page

test \index{index1}test \index{xindex2}text

\page

test \index{index1}test \index{xindex2}text

\page

test \index{index1}test \index{xindex2}text

\page

test \seeindex{index1}{xindex2}test % - here it does not

\page

test \index{index1}test \index{xindex2}text

\page

test \index{index1}test \index{xindex2}text

\page

test \index{index1}test \index{xindex2}text

%\page

%test \seeindex{index1}{xindex2}test % - here it does not


\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] itemize

2010-10-20 Thread Herbert Voss
In the documentation I found \setupitemgroup, \setupitemize
and in the list of all commands \setupitems. I didn't
find any example for the \setupitems. However, I can set
all parameters with the other two commands. So the
question is: when do I need \setupitems and has someone
a working example?

Herbert
___
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] itemize

2010-10-20 Thread Philipp Gesang
On 2010-10-20 10:33:40, Herbert Voss wrote:
 In the documentation I found \setupitemgroup, \setupitemize
 and in the list of all commands \setupitems. I didn't
 find any example for the \setupitems. However, I can set
 all parameters with the other two commands. So the
 question is: when do I need \setupitems and has someone
 a working example?

Hi Herbert,

“\setupitems” is the setup for the “\items” command. There is a
demonstration for this in the new manual[1], p. 250.

Hth, Philipp

[1] http://pmrb.free.fr/contextref.pdf


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

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpAHMQWh1kz3.pgp
Description: PGP signature
___
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] itemize

2010-10-20 Thread Herbert Voss
Am 20.10.2010 10:54, schrieb Philipp Gesang:

 “\setupitems” is the setup for the “\items” command. There is a
 demonstration for this in the new manual[1], p. 250.

I see ...
thanks
Herbert
___
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] LuaTeX PPC binary

2010-10-20 Thread Henning Hraban Ramm


Am 2010-10-20 um 11:13 schrieb Robert Blackstone:


Hello Hraban,

This is really very kind of you.
But to tell you the truth, I am a bit at a loss as to what to do  
with this solitary LuaTex binary.


Unzip it and replace the luatex binary in /Users/robert/ConTeXt- 
minimals-17-10-10/bin

(I'm not sure if that's enough, though.)

Comment line 92 in first-setup.sh (the one rsyncing $platform/bin) und  
run first-setup again (i.e. it would just run the mtxrun line 96).


Since the binary from the distribution works on my iBook G3, I don't  
think that's really the problem.

Are you sure OSX's BSD subsystem is installed?

dyld: incompatible cpu-subtype in the mtxrun point at some library  
problem. I've not enough experience to handle that.



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] Pound sign £ output as italic dollar sign [urgent]

2010-10-20 Thread Elliot Clifton

Hello,

I was just about to send my book to press when I noticed the '£' appears 
in my PDF as an italic dollar sign.


I looked it up in the archive and google. Have tried \pound and 
\sterling -- nothing seems to work.


It's very strange, when I output the chapter's product separately from 
the project the £ appears as expected. When I generate the project it 
appears as italic $.


I'm using ConTeXt  ver: 2010.10.19 23:03 MKII  fmt: 2010.10.20  int: 
english/english with TeXLive 2010 on MacOS X 10.6.


And I have the following in my environment file:

\language[en]
\mainlanguage[en]
\enableregime[utf-8]

I'm using TeX Gyre fonts.

Any ideas?

TIA,

Elliot
___
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] LuaTeX PPC binary

2010-10-20 Thread Arthur Reutenauer
On Wed, Oct 20, 2010 at 11:36:06AM +0200, Henning Hraban Ramm wrote:
 dyld: incompatible cpu-subtype in the mtxrun point at some library  
 problem. I've not enough experience to handle that.

  Indeed.  But unless Robert has some weird custom installation of Mac
OS X, it's a problem in the system libraries, which really sounds like
his installation is too old for our binaries.  But it's not easy to
diagnose without having access to the machine.

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
___


[NTG-context] Thoughts about counters

2010-10-20 Thread Bela Mulder

 Dear ConTeXtuals,

Following up on my previous question regarding  Custom enumeration 
(see ntg-context Digest, Vol 76, Issue 71),
I penned down a few thoughts about counters. If you're interested take a 
look: http://dl.dropbox.com/u/5718469/counters.pdf
It's also my first ConTeXt document, so please bear with the amateurish 
formatting. I anyone can explain how to keep the annoying spurious 
spaces from cropping up in my verbatim typing environment with 
option=commands switched on, I would also be grateful.


Thanks, in advance!

--

Bela Mulder
Group Leader Theory of Biomolecular matter

FOM Institute AMOLF
Science Park 104, 1098XG Amsterdam, THE NETHERLANDS
Tel: + 31 20 7547100 FAX: + 31 20 7547290
web: http://www.amolf.nl/research/theory_of_biomolecular_matter/


___
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] Pound sign £ output as italic dollar sign [urgent]

2010-10-20 Thread Mojca Miklavec
On Wed, Oct 20, 2010 at 11:44, Elliot Clifton wrote:
 Hello,

 I was just about to send my book to press when I noticed the '£' appears in
 my PDF as an italic dollar sign.

 \language[en]
 \mainlanguage[en]
 \enableregime[utf-8]

 I'm using TeX Gyre fonts.

 Any ideas?

Do you have a minimal example that demonstrates the behaviour? The
following works for me (but I didn't test it inside project):

\mainlanguage[en]
\enableregime[utf-8]
\usetypescript[heros][ec]
\setupbodyfont[heros]

\starttext
abc £
\stoptext

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


Re: [NTG-context] Furigana

2010-10-20 Thread S Barmeier
On 10/20/2010 09:30 AM, Hans Hagen wrote:
 On 20-10-2010 6:25, S Barmeier wrote:
 Sorry to keep going on about this, but trying to load the
 project/environment with either of

 \project myproject
 \environment myenvironment

 in the component (directly after \startcomponent) gives me an error. It
 compiles fine without these commands, but then the \ruby command does
 not work. What am I doing wrong?

 is \startcomponent followed by a name?

 \startcomponent myname


 -
   Hans Hagen | PRAGMA ADE
Yes, it is followed by a name, 02japlang is what I called my component
and 02japlang.tex is the file containing it. Seems like quite a natural
name (it's the second chapter)...
___
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] Furigana

2010-10-20 Thread Yury G. Kudryashov
S Barmeier wrote:

 Sorry to keep going on about this, but trying to load the
 project/environment with either of
 
 \project myproject
 \environment myenvironment
 
 in the component (directly after \startcomponent) gives me an error. It
 compiles fine without these commands, but then the \ruby command does
 not work. What am I doing wrong?
Could you please provide a small example?

___
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] Thoughts about counters

2010-10-20 Thread Hans Hagen

On 20-10-2010 11:59, Bela Mulder wrote:


Dear ConTeXtuals,

Following up on my previous question regarding Custom enumeration (see
ntg-context Digest, Vol 76, Issue 71),
I penned down a few thoughts about counters. If you're interested take a
look: http://dl.dropbox.com/u/5718469/counters.pdf
It's also my first ConTeXt document, so please bear with the amateurish
formatting. I anyone can explain how to keep the annoying spurious
spaces from cropping up in my verbatim typing environment with
option=commands switched on, I would also be grateful.


do you have an example?

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

2010-10-20 Thread Hans Hagen

Hi,

At the context conference Taco presented a new initiative with respect 
to manuals. For those who cannot (or don't want to) print and bind at 
home we offer a printing on demand service. This week we send out the 
first copies of the (new) metafun manual:


http://www.boekplan.nl/node/9

More will follow. We hope that this will (partially) answer the need for 
manuals. We still have to find out which manuals (also new ones) should 
become available as it takes a bit of effort to keep this flow running 
and to turn manuals in some book-like form, so best keep an eye on the 
site if you're interested.


Hans  Taco

-
  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] Bibliographies in Mark IV

2010-10-20 Thread Charles Doherty
Dear all,

The file below produces a bibliography using Mark II but only a title when 
using Mark IV. Have things changed or do I need a new approach? I am using 
Minimals.

Thanks,
Charlie

 \usemodule[bib]
 \setuppublications[criterium=all,numbering=no]

\setupbibtex[database={Kings},sort=author]
  
\starttext 

\midaligned{\tfa Kingship References}

\blank[2*big]

\placepublications

\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] metafun

2010-10-20 Thread Mojca Miklavec
On Wed, Oct 20, 2010 at 14:03, Hans Hagen wrote:

 We still have to find out which manuals (also new ones) should
 become available

Offtopic: I would vote for TikZ manual (if author is still reachable).

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


Re: [NTG-context] metafun

2010-10-20 Thread Taco Hoekwater

On 10/20/2010 02:03 PM, Hans Hagen wrote:


http://www.boekplan.nl/node/9


There is also an English website interface:

  http://www.boekplan.com/node/9

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
___


Re: [NTG-context] metafun

2010-10-20 Thread Martin Schröder
2010/10/20 Mojca Miklavec mojca.miklavec.li...@gmail.com:
 On Wed, Oct 20, 2010 at 14:03, Hans Hagen wrote:
 Offtopic: I would vote for TikZ manual (if author is still reachable).

You mean pgfmanual.pdf? That's free, so it shouldn't be a legal problem.
But it's a thick brick...

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


Re: [NTG-context] ntg-context Digest, Vol 76, Issue 95

2010-10-20 Thread S Barmeier
On 10/20/2010 02:12 PM, ntg-context-requ...@ntg.nl wrote:
  Sorry to keep going on about this, but trying to load the
  project/environment with either of
  
  \project myproject
  \environment myenvironment
  
  in the component (directly after \startcomponent) gives me an error. It
  compiles fine without these commands, but then the \ruby command does
  not work. What am I doing wrong?
 Could you please provide a small example?
   
\startcomponent 02japlang
\product myproduct
\project myproject % -- if included produces error
\environment myenvir % -- if included produces error
\starttext
\chapter{chapter2}
\ruby{早}{はや}い % -- if included produces error
\stoptext
\stopcomponent

is what my component looks like.
The myenvir.tex contains the line \usemodule[ruby] (and other
fontfallbacks) which works fine in a simple file, but fails to be loaded
in the component, yet I don't seem to be able to load it by pointing to
either the project or the environment... The product and project files
are, with the exception of name changes, copied almost straight from the
documentation; all files compile fine if the three lines above are
commented out.

Thank you for your time  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
___


Re: [NTG-context] metafun

2010-10-20 Thread Vedran Miletić
2010/10/20 Mojca Miklavec mojca.miklavec.li...@gmail.com:
 On Wed, Oct 20, 2010 at 14:03, Hans Hagen wrote:

 We still have to find out which manuals (also new ones) should
 become available

 Offtopic: I would vote for TikZ manual (if author is still reachable).

 Mojca

He is, and he sometimes commits patches (even though most of the works
is done by Christian Feuersaenger). See this:
http://www.texample.net/tikz/

Off-topic: next release of TikZ/PGF is due very soon[1], so this
wouldn't be the right time to print manual for 2.0.

Regards,

-- 
Vedran Miletić

[1] 
http://bitbucket.org/rivanvx/beamer/issue/67/vertical-offset-of-slide-content-for-pages-1-with-current#comment-266195
___
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] ntg-context Digest, Vol 76, Issue 95

2010-10-20 Thread Wolfgang Schuster

Am 20.10.2010 um 14:48 schrieb S Barmeier:

 Could you please provide a small example?
 
 \startcomponent 02japlang
 \product myproduct
 \project myproject % -- if included produces error
 \environment myenvir % -- if included produces error
 \starttext
 \chapter{chapter2}
 \ruby{早}{はや}い % -- if included produces error
 \stoptext
 \stopcomponent
 
 is what my component looks like.
 The myenvir.tex contains the line \usemodule[ruby] (and other
 fontfallbacks) which works fine in a simple file, but fails to be loaded
 in the component, yet I don't seem to be able to load it by pointing to
 either the project or the environment... The product and project files
 are, with the exception of name changes, copied almost straight from the
 documentation; all files compile fine if the three lines above are
 commented out.

Can you send the files (project, product etc.) offline because it’s not
possible to say whats wrong with this example.

The \starttext/\stoptext aren’t necessary because \startcomponent/\stopcomponent
itself acts like them and \starttext itself is just ingored.

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] Thoughts about counters

2010-10-20 Thread Wolfgang Schuster

Am 20.10.2010 um 11:59 schrieb Bela Mulder:

 Dear ConTeXtuals,
 
 Following up on my previous question regarding  Custom enumeration (see 
 ntg-context Digest, Vol 76, Issue 71),
 I penned down a few thoughts about counters. If you're interested take a 
 look: http://dl.dropbox.com/u/5718469/counters.pdf

The keys you request are already there:

countby = way (e.g. way=bytext or way=bychapter)

countertype = numberconversion and numberconverionset (e.g. 
numberconversion=romannumerals)

counterdiplay = prefixsegments or numbersegments

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
___


[NTG-context] Word count

2010-10-20 Thread Matija Šuklje
Hullo,

since many texts (academic and otherwise) have to comply with a certain word 
or character limitation and just using 'wc' on the whole source file(s) would 
not be relevant, is there a way to do this in ConTeXt?

Also it would be very useful, if it was possible to get some more detailed 
statistics. E.g.:

 * introduction word  character count
 * main text word  character count
 * footnotes, marginalia etc. word  character count
 * captions word  character count
 * indices and bibliography word  character count
 * […]
 * total word  character count


Cheers,
Matija

-- 
gsm:+386 41 849 552
www:http://matija.suklje.name
xmpp:   matija.suk...@gabbler.org


signature.asc
Description: This is a digitally signed message part.
___
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] metafun manual

2010-10-20 Thread Alan BRASLAU
On Wednesday 20 October 2010 14:03:03 Hans Hagen wrote:
 
 This week we send out the first copies of the (new) metafun manual:

Wow! Just in time for Christmas :)

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] Thoughts about counters

2010-10-20 Thread Wolfgang Schuster

Am 20.10.2010 um 16:16 schrieb Bela Mulder:

 Wolfgang: thanks for the tips, I'll try them out.

Be aware that prefix/numbersegments is only available in mkiv.

 Hans: Here is the example, which produced the output in my Thoughts document 
 (http://dl.dropbox.com/u/5718469/counters.pdf)
 
 \definetyping[cmds]
 \setuptyping[cmds][option=commands]
 \starttext
 \startcmds 
 \def\MySectionCounter{P\currentcounter[part].C\currentcounter[chapter]-\currentcounter[section]}
/stopcmds
 \stoptext
 
 which has inserted spaces before the opening square brackets and between e.g. 
 \def and \MySectionCounter.

Can’t reproduce your problem here (using latest minimals) neither with mkii
nor with mkiv but why do you write „/stopcmds“ and not „\stopcmds“?

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] Word count

2010-10-20 Thread Wolfgang Schuster

Am 20.10.2010 um 15:26 schrieb Matija Šuklje:

 Hullo,
 
 since many texts (academic and otherwise) have to comply with a certain word 
 or character limitation and just using 'wc' on the whole source file(s) would 
 not be relevant, is there a way to do this in ConTeXt?

http://www.ntg.nl/pipermail/ntg-context/2006/020549.html

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
___


[NTG-context] NTG Meeting October 27, 2010

2010-10-20 Thread Taco Hoekwater

Dear TeXies!


The autumn meeting of the NTG will take place on October 27, 2010,
from 10:00 until 16:30.

We will meet at one of the locations of the Netherlands Defence Academy:
complex 'Kasteel van Breda', Kasteelplein 10, 4811 XC Breda. The
meeting will take place in building 't Uiltje.

The program is as follows:

* John Haltiwanger: typesetting poetry (ConTeXt)
* Hans Hagen: Tagged PDF (requirement for archival pdf)
* Hans Hagen: Context Lua Documents (cld)
* Taco Hoekwater: texlive 2010 / tlcontrib
* Taco Hoekwater: Luatex in TeXlive 2010
* Frans Goddijn (+ Willi Egger): Eurotexquotes booklet production
* Discussion topic: The rise of e-readers: will this be the end
of typesetting or will we manage to survive?

There will also be an opportunity to show off your own work,
with two hands at the keyboard ...

We cordially invite you to join us at this meeting. Please email Willi
Egger or me with your personal details (because of NDA rules, we will
need to know your passport or ID card number). Regretfully, it is
extremely short day now (we apologize that we did not send this message
to ntg-context earlier). If you do want to join us, please let us know
before Thursday (tomorrow) evening.

Best wishes,

Taco Hoekwater
NTG President
___
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] NTG meeting on 27 october 2010

2010-10-20 Thread Willi Egger
Dear ConTeXters!

The NTG is organizing its next meeting on 27 october 2010. Opening at 10:00, 
ending at 16:30. After closing we will go for dinner ... 

You are kindly invited to join as at the Koninklijke Militaire Akademie in 
Breda, Kasteelplein 10, 4811 XC Breda.

Programme:

* John Haltiwanger: typesetting poetry (ConTeXt)
* Hans: Tagged PDF (requirement for archival pdf)
* Hans: Context Lua Documents (cld)
* Taco: texlive 2010 / tlcontrib
* Taco: Luatex in TeXlive 2010
* Frans (+Willi): Eurotexquotes production
* Discussion regarding the question whether e-readers will cause typeseting to 
vanish or whether we will be able to survive...

There will be occasion to show your own work or do a hands-on session.

If you might have a (short) presentation ready, please do not hesitate to tell 
us!

Inscription can be directed to the secretary (secret...@ntg.nl). Because we are 
guests at the Royal Military Academy we have to comply with their internal 
rules i.e. Together with the name we must also deliver the number of the 
passport or identity card.



Kind regards
Willi Egger
Secretaris NTG
___
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] Word count

2010-10-20 Thread Matija Šuklje
Dne sreda 20. oktobra 2010 ob 17:54:27 je Wolfgang Schuster napisal(a):
 Am 20.10.2010 um 15:26 schrieb Matija Šuklje:
  Hullo,
  
  since many texts (academic and otherwise) have to comply with a certain
  word or character limitation and just using 'wc' on the whole source
  file(s) would not be relevant, is there a way to do this in ConTeXt?
 
 http://www.ntg.nl/pipermail/ntg-context/2006/020549.html

Nice. I had a hunch, I wouldn't be the first to ask :)

Has that been already implemented into ConTeXt itself or do I have to figure 
out how to run it?

Cheers,
Matija

-- 
gsm:+386 41 849 552
www:http://matija.suklje.name
xmpp:   matija.suk...@gabbler.org


signature.asc
Description: This is a digitally signed message part.
___
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] NTG Meeting October 27, 2010

2010-10-20 Thread luigi scarso
On Wed, Oct 20, 2010 at 5:59 PM, Taco Hoekwater t...@elvenkind.com wrote:

 * Discussion topic: The rise of e-readers: will this be the end
 of typesetting or will we manage to survive?
it looks like an every man for himself ! 

-- 
luigi
___
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] header setting

2010-10-20 Thread Herbert Voss
in my example I have set the numbers in the margin.
In fact of using the twoside layout I get the
numbers only for odd pages in the margin.
Is this also possible for the even pages,
just like header 1.2 instead of 1.2 header?

Herbert

\definepapersize[DE][width=10cm,height=12cm]
\setuppapersize [DE][DE]
\setuplayout[width=8cm,height=10cm]
\setuparranging[doublesided]
\setuppagenumbering[alternative=doublesided]
\setupheads[alternative=margin,align=outer]

\starttext
\chapter{Foo}
\section{A long title} \input knuth
\section{A long title}
\section{A long title} \input knuth
\chapter{Bar}
\section{A long title} \input knuth \section{A long title} \input knuth
\section{A long title} \input knuth \section{A long title} \input knuth
\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] header setting

2010-10-20 Thread Andreas Harder

Am 20.10.2010 um 20:32 schrieb Herbert Voss:

 in my example I have set the numbers in the margin.
 In fact of using the twoside layout I get the
 numbers only for odd pages in the margin.
 Is this also possible for the even pages,
 just like header 1.2 instead of 1.2 header?
 
 Herbert
 
 \definepapersize[DE][width=10cm,height=12cm]
 \setuppapersize   [DE][DE]
 \setuplayout[width=8cm,height=10cm]
 \setuparranging[doublesided]
 \setuppagenumbering[alternative=doublesided]
 % \setupheads[alternative=margin,align=outer]
\setupheads[command=\MyHeadCMD]

\def\MyHeadCMD#1#2%
  {\ininnermargin{#1}
   \inframed[width=broad,align=inner,frame=off,offset=none]{#2}}
 
 \starttext
 \chapter{Foo}
 \section{A long title} \input knuth
 \section{A long title}
 \section{A long title} \input knuth
 \chapter{Bar}
 \section{A long title} \input knuth \section{A long title} \input knuth
 \section{A long title} \input knuth \section{A long title} \input knuth
 \stoptext

Perhaps there is an easier solution, but the above should work too.

Regards
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] header setting

2010-10-20 Thread Herbert Voss
Am 20.10.2010 21:17, schrieb Andreas Harder:

 \setuppapersize  [DE][DE]
 \setuplayout[width=8cm,height=10cm]
 \setuparranging[doublesided]
 \setuppagenumbering[alternative=doublesided]
 % \setupheads[alternative=margin,align=outer]
 \setupheads[command=\MyHeadCMD]
 
 \def\MyHeadCMD#1#2%
   {\ininnermargin{#1}
\inframed[width=broad,align=inner,frame=off,offset=none]{#2}}

yes, it works and I suppose that I do not need
the offset setting.

thanks
Herbert
___
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] Word count

2010-10-20 Thread Hans Hagen

On 20-10-2010 7:08, Matija Šuklje wrote:

Dne sreda 20. oktobra 2010 ob 17:54:27 je Wolfgang Schuster napisal(a):

Am 20.10.2010 um 15:26 schrieb Matija Šuklje:

Hullo,

since many texts (academic and otherwise) have to comply with a certain
word or character limitation and just using 'wc' on the whole source
file(s) would not be relevant, is there a way to do this in ConTeXt?


http://www.ntg.nl/pipermail/ntg-context/2006/020549.html


Nice. I had a hunch, I wouldn't be the first to ask :)

Has that been already implemented into ConTeXt itself or do I have to figure
out how to run it?


I did implement it for Mojca indeed. A made it a bit more clever so that 
you can play with it.


\starttext

% beware, no grouping (maybe some day, but maybe not)

\setupspellchecking[state=start,method=2]

\setupspellchecking[list=tufte] \input tufte \blank
\setupspellchecking[list=knuth] \input knuth \blank
\setupspellchecking[list=ward]  \input ward  \blank

\typefile{words-003.words}

\stoptext

I uploaded a beta zip that has it so it will end up in the minimals.

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] Word count

2010-10-20 Thread Matija Šuklje
Dne sreda 20. oktobra 2010 ob 21:43:38 je Hans Hagen napisal(a):
 On 20-10-2010 7:08, Matija Šuklje wrote:
 I did implement it for Mojca indeed. A made it a bit more clever so that
 you can play with it.

Cool, thanks :)

Will check it out some day soon-ish.


Cheers,
Matija

-- 
gsm:+386 41 849 552
www:http://matija.suklje.name
xmpp:   matija.suk...@gabbler.org


signature.asc
Description: This is a digitally signed message part.
___
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] header setting

2010-10-20 Thread Hans Hagen

On 20-10-2010 9:42, Herbert Voss wrote:

Am 20.10.2010 21:17, schrieb Andreas Harder:


\setuppapersize [DE][DE]
\setuplayout[width=8cm,height=10cm]
\setuparranging[doublesided]
\setuppagenumbering[alternative=doublesided]
% \setupheads[alternative=margin,align=outer]

\setupheads[command=\MyHeadCMD]

\def\MyHeadCMD#1#2%
   {\ininnermargin{#1}
\inframed[width=broad,align=inner,frame=off,offset=none]{#2}}


yes, it works and I suppose that I do not need
the offset setting.


you might want to play with

offset=none | 0pt | 10pt | overlay
strut=yes | no

combinations to see what happens

\showstruts

helps with that



-
  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] Pound sign £ output as italic dollar sign [urgent]

2010-10-20 Thread Hans Hagen

On 20-10-2010 11:44, Elliot Clifton wrote:

Hello,

I was just about to send my book to press when I noticed the '£' appears
in my PDF as an italic dollar sign.

I looked it up in the archive and google. Have tried \pound and
\sterling -- nothing seems to work.

It's very strange, when I output the chapter's product separately from
the project the £ appears as expected. When I generate the project it
appears as italic $.


this depends on the font ... normally it should work out ok if you use \$

there is some historic issue here: in the cmr there were different 
characters in the same slot for italic / regular


afaik tex gyre is normal

-
  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] Missing cont-fil on minimals ?

2010-10-20 Thread Alan BRASLAU
On Monday 18 October 2010 13:36:33 Hans Hagen wrote:
 On 18-10-2010 12:28, luigi scarso wrote:
  Today, first-setup.sh on my linux box says:
  ! I can't find file `cont-fil'.
  to be read again
  
  \relax
  
  l.117 \loadcorefile{cont-fil}
 
 in context.mkii/mkiv :
 
 \loadmarkfile{cont-fil}
 
 I moved some more files to the mkii/mkiv namespace.

In the latest minimals there is now a path problem with \loadmarkfile.

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

2010-10-20 Thread Kevin D. Robbins
Hi Hans,

Is the new MetaFun manual available for download? The only PDFs I could find
of the MetaFun manual were dated to 2002.

Kevin

On Wed, Oct 20, 2010 at 6:03 AM, Hans Hagen pra...@wxs.nl wrote:

 Hi,

 At the context conference Taco presented a new initiative with respect to
 manuals. For those who cannot (or don't want to) print and bind at home we
 offer a printing on demand service. This week we send out the first copies
 of the (new) metafun manual:

 http://www.boekplan.nl/node/9

 More will follow. We hope that this will (partially) answer the need for
 manuals. We still have to find out which manuals (also new ones) should
 become available as it takes a bit of effort to keep this flow running and
 to turn manuals in some book-like form, so best keep an eye on the site if
 you're interested.

 Hans  Taco

 -
  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

 ___

___
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] Word count

2010-10-20 Thread Wolfgang Schuster

Am 20.10.2010 um 22:14 schrieb Matija Šuklje:

 Will check it out some day soon-ish.

Another example from the spellchecker: 
http://wiki.contextgarden.net/Spellchecker

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] Bibliographies in Mark IV

2010-10-20 Thread Thomas A. Schmitz

On Oct 20, 2010, at 2:11 PM, Charles Doherty wrote:

 Dear all,
 
 The file below produces a bibliography using Mark II but only a title when 
 using Mark IV. Have things changed or do I need a new approach? I am using 
 Minimals.
 
 Thanks,
 Charlie
 
 \usemodule[bib]
 \setuppublications[criterium=all,numbering=no]
 
 \setupbibtex[database={Kings},sort=author]
 
 \starttext 
 
 \midaligned{\tfa Kingship References}
 
 \blank[2*big]
 
 \placepublications
 
 \stoptext 

Indeed. Even though this is a bad example (next time, please send a complete 
working example, not code snippets - I don't have a database Kings.bib here), 
it shows a bug in mkiv. I tried the usual things - add a section command, add 
[criterium=all] to \placepublications, but this didn't help.

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
___