[NTG-context] 2UP arranging spoils the table of contents and index

2007-09-20 Thread Liesbeth van der Plas
Dear context group members,



The 2UP arranging  spoils the table of contents and the index. Deleting the
second rule gives a content and index, including the second rule gives only
the titels 'content' and 'index'.

\setuppapersize[A5][A4]

\setuparranging[2UP,rotated,doublesided]



\starttext

\completecontent

\chapter{hfdst 1}Dit is een verhaaltje.\index{verhaaltje}

\chapter{hfdst 2}

\chapter{hfdst 3}

\chapter{hfdst 4}

\completeregister[index]

\stoptext


-- 
[EMAIL PROTECTED]
www.wiskunde-interactief.nl
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 2UP arranging spoils the table of contents and index

2007-09-20 Thread Thomas A. Schmitz

On Sep 20, 2007, at 8:29 AM, Liesbeth van der Plas wrote:

 Dear context group members,

 The 2UP arranging  spoils the table of contents and the index.  
 Deleting the second rule gives a content and index, including the  
 second rule gives only the titels 'content' and 'index'.

 \setuppapersize[A5][A4]
 \setuparranging[2UP,rotated,doublesided]

 \starttext
 \completecontent
 \chapter{hfdst 1}Dit is een verhaaltje.\index{verhaaltje}
 \chapter{hfdst 2}
 \chapter{hfdst 3}
 \chapter{hfdst 4}
 \completeregister[index]
 \stoptext


http://archive.contextgarden.net/message/ 
20070225.172829.92f7ff0f.en.html

http://archive.contextgarden.net/message/ 
20070421.062216.52756c79.en.html

http://archive.contextgarden.net/message/ 
20061128.210755.994f08ac.en.html

http://archive.contextgarden.net/message/ 
20070622.065115.ee898867.en.html

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


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Taco Hoekwater
Idris Samawi Hamid wrote:
 On Wed, 19 Sep 2007 08:45:25 -0600, Taco Hoekwater [EMAIL PROTECTED]  
 wrote:
 
 Wolfgang Schuster wrote:
 
 can you also add ini files for the plain TeX formats with XeTeX, pdfTeX
 Hey, you lot! They are supposed to be minimals. If you suggest adding
 something, I really think you should suggest removing something at the
 same time :-)
 
 I think many of us see mswincontext.zip as more maximal, not minimal.  

That is true for me as well. I think inclusion of tex-gyre is planned
for the new distribution system that is being worked on (by Arthur and
Mojca, mostly).

Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Taco Hoekwater
Arthur Reutenauer wrote:
 hmm  how many books do you have? :)
 
   That's not how you should have asked it :-) You should have said yes
 first and then looked for someone to type the bib file if Hans really
 has too much books ;-) Or you could distribute the task ...

Really, we (=I) should move away from bibtex.

What I really want is a module that reads XML databases by using lua
xpath for item extraction (inline in mkiv, with a standalone lua script
in mkii), along with a script to convert legacy bibtex databases into
XML databases.

I have Mods in mind for the database format.

The problem is, I keep getting side-tracked by other stuff like luatex
and metapost...

Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] register: spurious space one more entry level ask

2007-09-20 Thread Hans Hagen
Vit Zyka wrote:
 Jupi!
 
 Both patches (space  4-level entry) work well as I can test them till 
 now. I will do some testing on a real and big document in a near future.
 
 Do you intend to incorporate both patches to the distribution?

well, i always do such things directly in the source files so ...

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Taco Hoekwater
Hans Hagen wrote:
 Mojca Miklavec wrote:
 On 9/19/07, Hans Hagen wrote:
 btw,

 pdftex --ini plain \\pdfoutput=1 \dump

 can do the same for you, but as said .. if the minimals would have plain
 formats they would default to dvi anyway so it would be of no help to you
 pdftex.fmt and mpost.mem would be perfectly fine. No need for
 plain.fmt (I guess). (And maybe xetex.fmt as a sugar, although that
 one might need some additional files.)
 
 pdftex --ini -fmt=pdftex plain.tex \\pdfoutput=1 \dump
 
 probably does that, but as said, everyone wants his/her own variant 
 (patterns to start with -)

There is no doubt that plain is useful. I always create the plain
Knuth format for luatex and pdftex by hand, and while it would be nice
to have it done automatically, it is not that much work, and all real
input files are there (.ini's are a commandline convenience).

If I understood correctly, plain xetex really needs something extra?
If that is so, than perhaps that file should be added. Mojca, what's
up with that?

On dev-context, I have already proposed the removal of a number of
binaries, so I can make that request :-)

Best wishes,
Taco


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Hans Hagen
Aditya Mahajan wrote:
 On Wed, 19 Sep 2007, Hans Hagen wrote:
 well, if someone keys in my books in a bib file, i'll make a lua variant -)
 
 hmm  how many books do you have? :)

quite a lot (i sometimes buy them faster than i can read), but not all 
qualify for a database -)

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Hans Hagen
Aditya Mahajan wrote:
 On Wed, 19 Sep 2007, Hans Hagen wrote:
 well, if someone keys in my books in a bib file, i'll make a lua variant -)
 
 hmm  how many books do you have? :)

btw, one thing that i noticed is that more and more (scientific) books 
are typeset using systems that do interchar spacing (even when not 
needed) which makes reading less fun; there are occasional exceptions of 
course; we could have a database of books with comments on their quality

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 2UP arranging spoils the table of contents and index

2007-09-20 Thread Liesbeth van der Plas
Thanks!

2007/9/20, Hans Hagen [EMAIL PROTECTED]:

 Liesbeth van der Plas wrote:
  Dear context group members,
 
 
 
  The 2UP arranging  spoils the table of contents and the index. Deleting
 the
  second rule gives a content and index, including the second rule gives
 only
  the titels 'content' and 'index'.

 texexec --arrange yourtext.tex

 this will make the last pass not generate a tuo file (the reordering
 messes up the multipass data)

 Hans

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

 ___
 If your question is of interest to others as well, please add an entry to
 the Wiki!

 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
[EMAIL PROTECTED]
www.wiskunde-interactief.nl
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] merging data from four files in one document

2007-09-20 Thread Jelle Huisman

Hi Aditya,

 What is the best way to
automate this process?



Write a script in your favourite language to create the 420 natural 
tables. 

I think it's time to make Lua my favorite language :-)

Thanks,

Jelle
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 2UP arranging spoils the table of contents and index

2007-09-20 Thread Hans Hagen
Liesbeth van der Plas wrote:
 Dear context group members,
 
 
 
 The 2UP arranging  spoils the table of contents and the index. Deleting the
 second rule gives a content and index, including the second rule gives only
 the titels 'content' and 'index'.

texexec --arrange yourtext.tex

this will make the last pass not generate a tuo file (the reordering 
messes up the multipass data)

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Hans Hagen
Taco Hoekwater wrote:
 Arthur Reutenauer wrote:
 hmm  how many books do you have? :)
   That's not how you should have asked it :-) You should have said yes
 first and then looked for someone to type the bib file if Hans really
 has too much books ;-) Or you could distribute the task ...
 
 Really, we (=I) should move away from bibtex.
 
 What I really want is a module that reads XML databases by using lua
 xpath for item extraction (inline in mkiv, with a standalone lua script
 in mkii), along with a script to convert legacy bibtex databases into
 XML databases.
 
 I have Mods in mind for the database format.

we can discuss that in mode detail as it makes a nice example of using 
the xml features in mkiv

if we have the database format decided, i can make a basic framework and 
you/others can define the bib styles

of course this is mkiv only

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] + as plain vanilla math character

2007-09-20 Thread Taco Hoekwater
Oliver Buerschaper wrote:
 Dear all,
 
 I'm wondering how to typeset a sequence of pluses such that each plus  
 is placed with normal math character spacing around it ... In this  
 snippet I guess a plus (or at least the majority of pluses) is simply  
 treated as a binary operator with appropriate spacing:

This should normally work, but it depends on the current math
encoding (see the math-xxx.tex files  in the distribution):

   \definemathcharacter [+] [ord] [mr] [2B] % [bin] is default

Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] + as plain vanilla math character

2007-09-20 Thread Taco Hoekwater


Oliver Buerschaper wrote:
 Hi Taco,
 
 This should normally work, but it depends on the current math
 encoding (see the math-xxx.tex files  in the distribution):

\definemathcharacter [+] [ord] [mr] [2B] % [bin] is default
 
 Just tried this but to no avail :-( 

Probably because + is done already.

 \startmathcollection[default]
   \definemathcharacter [myplus] [ord] [mr] [2B]
 \stopmathcollection

This will work, except that you need \definemathsymbol,
not \definemathcharacter.

   \startmathcollection[default]
   \definemathsymbol [myplus] [ord] [mr] [2B]
   \stopmathcollection

Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] + as plain vanilla math character

2007-09-20 Thread Oliver Buerschaper
Hi Taco,

 This should normally work, but it depends on the current math
 encoding (see the math-xxx.tex files  in the distribution):

\definemathcharacter [+] [ord] [mr] [2B] % [bin] is default

Just tried this but to no avail :-( It seems like the definition  
isn't found at all:

---

\def\ket#1{\lvert#1\rangle}

\startmathcollection[default]
\definemathcharacter [myplus] [ord] [mr] [2B]
\stopmathcollection

\starttext

Note the spacing in
\startformula
\startmathalignment
\NC\ket{+}\NR
\NC\ket{++}\NR
\NC\ket{+++}\NR
\NC\ket{}\NR
\NC\ket{\myplus\myplus\myplus\myplus}\NR
\NC\ket{000}\NR
\stopmathalignment
\stopformula

\stoptext

---

Is this caused by some wrong math encoding scheme? Or is there  
something else that I miss?

Puzzled,
Oliver
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Mojca Miklavec
On 9/20/07, Taco Hoekwater wrote:
 Hans Hagen wrote:
  Mojca Miklavec wrote:
  On 9/19/07, Hans Hagen wrote:
  btw,
 
  pdftex --ini plain \\pdfoutput=1 \dump
 
  can do the same for you, but as said .. if the minimals would have plain
  formats they would default to dvi anyway so it would be of no help to you
  pdftex.fmt and mpost.mem would be perfectly fine. No need for
  plain.fmt (I guess). (And maybe xetex.fmt as a sugar, although that
  one might need some additional files.)
 
  pdftex --ini -fmt=pdftex plain.tex \\pdfoutput=1 \dump
 
  probably does that, but as said, everyone wants his/her own variant
  (patterns to start with -)

 There is no doubt that plain is useful. I always create the plain
 Knuth format for luatex and pdftex by hand, and while it would be nice
 to have it done automatically, it is not that much work, and all real
 input files are there (.ini's are a commandline convenience).

(In case of XeTeX, it's slightly more that a single line to be typed :)

 If I understood correctly, plain xetex really needs something extra?
 If that is so, than perhaps that file should be added. Mojca, what's
 up with that?

xetex.ini looks like that:

\catcode`\{=1 \catcode`\}=2 \catcode`\#=6 \catcode`\^=7 [EMAIL PROTECTED]

\input unicode-letters

[EMAIL PROTECTED]@nt=\font
... some stuff here
[EMAIL PROTECTED]@nt\preloaded=#1^^A{\endgroup}}

\input etex.src

% restore the \font command and undefine other stuff
[EMAIL PROTECTED]
[EMAIL PROTECTED]@nt
... some more stuff here

\dump
\endinput

So one additionally needs:
- (possibly modified) xetex.ini itself
- unicode-letters.tex (could be replaced by enco-utf.tex, though I
just figured out that there's more in unicode-letters than in
enco-utf, but in that case enco-utf is that one which should be fixed)
- etex.src (btw: why is that one only used in xetex, but not in pdfTeX?)
- tex-text.tec (which was missing until now but needs to be added anyway)
- hmmm ... no idea about what is needed for hyphenation (but I guess
that patterns from ConTeXt could be used as well)

I will test once I have the rest, but it would be really handy to have
the three plain formats (pdfTeX, XeTeX and mpost available; plus
luatex if needed).

 On dev-context, I have already proposed the removal of a number of
 binaries, so I can make that request :-)

;) 3-times hurray for Taco :)

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Joel C. Salomon
On 9/20/07, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Really, we (=I) should move away from bibtex.

Has anyone on the list tried CrossTeX
(http://crosstex.sourceforge.net/)?  I've successfully used it with
LaTeX; no idea how much trouble it would be to use with ConTeXt.

--Joel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Wolfgang Schuster
On Thu, 20 Sep 2007 15:18:45 +0200
Mojca Miklavec [EMAIL PROTECTED] wrote:

 On 9/20/07, Taco Hoekwater wrote:
  Hans Hagen wrote:
   Mojca Miklavec wrote:
   On 9/19/07, Hans Hagen wrote:
   btw,
  
   pdftex --ini plain \\pdfoutput=1 \dump
  
   can do the same for you, but as said .. if the minimals would have plain
   formats they would default to dvi anyway so it would be of no help to 
   you
   pdftex.fmt and mpost.mem would be perfectly fine. No need for
   plain.fmt (I guess). (And maybe xetex.fmt as a sugar, although that
   one might need some additional files.)
  
   pdftex --ini -fmt=pdftex plain.tex \\pdfoutput=1 \dump
  
   probably does that, but as said, everyone wants his/her own variant
   (patterns to start with -)
 
  There is no doubt that plain is useful. I always create the plain
  Knuth format for luatex and pdftex by hand, and while it would be nice
  to have it done automatically, it is not that much work, and all real
  input files are there (.ini's are a commandline convenience).
 
 (In case of XeTeX, it's slightly more that a single line to be typed :)
 
  If I understood correctly, plain xetex really needs something extra?
  If that is so, than perhaps that file should be added. Mojca, what's
  up with that?
 
 xetex.ini looks like that:
 
 \catcode`\{=1 \catcode`\}=2 \catcode`\#=6 \catcode`\^=7 [EMAIL PROTECTED]
 
 \input unicode-letters
 
 [EMAIL PROTECTED]@nt=\font
 ... some stuff here
 [EMAIL PROTECTED]@nt\preloaded=#1^^A{\endgroup}}
 
 \input etex.src
 
 % restore the \font command and undefine other stuff
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]@nt
 ... some more stuff here
 
 \dump
 \endinput
 
 So one additionally needs:
 - (possibly modified) xetex.ini itself
 - unicode-letters.tex (could be replaced by enco-utf.tex, though I
 just figured out that there's more in unicode-letters than in
 enco-utf, but in that case enco-utf is that one which should be fixed)

this is not possible with the 0.997dev version because it presets
charclasses (a new feature in XeTeX) for a few CJK characters 

 - etex.src (btw: why is that one only used in xetex, but not in pdfTeX?)

this is also used for the pdftex format in w32tex 

 - tex-text.tec (which was missing until now but needs to be added anyway)
 - hmmm ... no idea about what is needed for hyphenation (but I guess
 that patterns from ConTeXt could be used as well)
 
 I will test once I have the rest, but it would be really handy to have
 the three plain formats (pdfTeX, XeTeX and mpost available; plus
 luatex if needed).
 
  On dev-context, I have already proposed the removal of a number of
  binaries, so I can make that request :-)
 
 ;) 3-times hurray for Taco :)
 
 Mojca

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Aditya Mahajan
Quoting Joel C. Salomon [EMAIL PROTECTED]:

 On 9/20/07, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Really, we (=I) should move away from bibtex.

 Has anyone on the list tried CrossTeX
 (http://crosstex.sourceforge.net/)?  I've successfully used it with
 LaTeX; no idea how much trouble it would be to use with ConTeXt.

The last time I tried, I could not get it to work on Windows. It seemed 
that certain paths were hard coded, it wanted a /usr/bin/something to 
exist. I do not know python, and could not figure out how to correct 
it. This was about 4 months ago, I never checked if things have changed.

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


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Mojca Miklavec
  So one additionally needs:
  - (possibly modified) xetex.ini itself
  - unicode-letters.tex (could be replaced by enco-utf.tex, though I
  just figured out that there's more in unicode-letters than in
  enco-utf, but in that case enco-utf is that one which should be fixed)

 this is not possible with the 0.997dev version because it presets
 charclasses (a new feature in XeTeX) for a few CJK characters

I saw some new additions when I took a look.

This means that enco-utf needs to be updated once hans gets the new
binaries from Akira :)

  - etex.src (btw: why is that one only used in xetex, but not in pdfTeX?)

 this is also used for the pdftex format in w32tex

I will take a look at w32tex then.

It would be really handy to have those three plain formats.

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] waiting for mswincontext

2007-09-20 Thread Hans Hagen
Mojca Miklavec wrote:
 So one additionally needs:
 - (possibly modified) xetex.ini itself
 - unicode-letters.tex (could be replaced by enco-utf.tex, though I

context does not use that file (plain may use it) we can indeed use 
enco-utf for plain as well (also defines some named chars)

context does not depend on any tex file outside the base path

 just figured out that there's more in unicode-letters than in
 enco-utf, but in that case enco-utf is that one which should be fixed)

depends on the kind of error -)

enco-utf uses info from unicode tables (character categories)

 this is not possible with the 0.997dev version because it presets
 charclasses (a new feature in XeTeX) for a few CJK characters
 
 I saw some new additions when I took a look.
 
 This means that enco-utf needs to be updated once hans gets the new
 binaries from Akira :)

depends, if we don't use these new features .. (yet)

 - etex.src (btw: why is that one only used in xetex, but not in pdfTeX?)
 this is also used for the pdftex format in w32tex

because i cannot imagine a macro package to use the content of that file

 I will take a look at w32tex then.
 
 It would be really handy to have those three plain formats.

well, only is if it is not adding too much to the minimals, (and formats 
to be generated by users)

if you want such formats, we need dedicated files to make them, like 
pdftex-plain.tex and such (after all, we want predictable stuff) for 
initializing them

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Version control tags in context (was Logos in context / Miscellaneous questions)

2007-09-20 Thread Aditya Mahajan
On Tue, 18 Sep 2007, Edd Barrett wrote:

 Hi,

 On 17/09/2007, Aditya Mahajan [EMAIL PROTECTED] wrote:
 On Mon, 17 Sep 2007, Edd Barrett wrote:

 B) Is there an equivilent to the RCS package for latex. Basically it
 parses version control tags from CVS/RCS.

 There are a couple of RCS packages for LaTeX. Can you elaborate on
 what functionality you need. Most of it is pretty straightforward to
 port to ConTeXt.

 I used to use it to insert tags without all the crud around it. So for
 example a revision  id directly from CVS looks like this $Revision:
 1.4$ (no quotes) and I used to use \RCSRevision which would expand to
 just 1.4. It's probably quote simple, but would require research (I
 have but merely scratched the surface of TeX/Context).

Here is a very preliminary version.

\def\defineVERSION
   {\dosingleargument\dodefineVERSION}

\def\dodefineVERSION[#1]%
   {\dododefineVERSION#1}

\def\dododefineVERSION$#1: #2$%
   {\setvalue{VERSION:#1}{#2}}

\def\getVERSION#1{\getvalue{VERSION:#1}}


\defineVERSION[$Revision: 1.4$]

\defineVERSION
[$File: something$]

\starttext
This file, \getVERSION{File}, is at version \getVERSION{Revision}
\stoptext


I changed the interface to make it more ConTeXtish. AFAIU version 
control, this should work with RCS, CVS, and subversion. It is not too 
hard to extend this to $Data:$ and $Id:$.

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