Re: [NTG-context] stand-alone ConTeXt

2009-06-21 Thread Hans Hagen

Mojca Miklavec wrote:

On Mon, Jun 15, 2009 at 17:05, Hans Hagen wrote:

Yue Wang wrote:

It depends if the Minimals are intended to be a complete TeX system or
if they are meant to be a minimal system for ConTeXt, possibly
complementing the utility programs from TeX Live.

it is just context minimals' extra...
minimals can still be a minimal system for ConTeXt.

there will be a goodies option:

--goodies=scite,texworks,xml,gs


The option --goodies=texworks should work now. Once you run setuptex
(or if you have set the path), you should be able to call just
texworks filename from command line.

Hans ... I suspect that ConTeXt MKII (both pdftex and xetex) are
missing from the list ...


indeed. mkiv only as i don't want dependencies on perl/ruby in this case

(also, once the lua interface of texworks is stable and documented i'll 
see if i can make menus a bit more context friendly; for the moment i 
misuse the typesetting menu for a few 'features')



-
  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] ConTeXt minimals installation problem

2009-06-21 Thread Vyatcheslav Yatskovsky

Hello Mojca,

Under Windows, I can create an installer that will allow selecting components 
to install. Just point me pathes to everything.

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


Re: [NTG-context] stand-alone ConTeXt

2009-06-21 Thread Mojca Miklavec
On Sun, Jun 21, 2009 at 13:09, Hans Hagen wrote:
 Mojca Miklavec wrote:

 Hans ... I suspect that ConTeXt MKII (both pdftex and xetex) are
 missing from the list ...

 indeed. mkiv only as i don't want dependencies on perl/ruby in this case

So ... should I start blackmailing with I'll remove it from minimals
unless it starts supporting mkii or rather with I'll tell Jonathan
that your configuration doesn't support XeTeX? :) :) :) :) :) :)

(Let's leave it up to users to install ruby themselves and it's
totally ok if mkiv stays the default, but I see no reason for not
providing XeTeX and pdfTeX support (with synctex switch on by default)
on purpose ...)

 (also, once the lua interface of texworks is stable and documented i'll see
 if i can make menus a bit more context friendly; for the moment i misuse the
 typesetting menu for a few 'features')

That's fine for me.

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] stand-alone ConTeXt

2009-06-21 Thread Hans Hagen

Mojca Miklavec wrote:

On Sun, Jun 21, 2009 at 13:09, Hans Hagen wrote:

Mojca Miklavec wrote:

Hans ... I suspect that ConTeXt MKII (both pdftex and xetex) are
missing from the list ...

indeed. mkiv only as i don't want dependencies on perl/ruby in this case


So ... should I start blackmailing with I'll remove it from minimals
unless it starts supporting mkii or rather with I'll tell Jonathan
that your configuration doesn't support XeTeX? :) :) :) :) :) :)

(Let's leave it up to users to install ruby themselves and it's
totally ok if mkiv stays the default, but I see no reason for not
providing XeTeX and pdfTeX support (with synctex switch on by default)
on purpose ...)


well, it's not that pdftex cq. xetex are not supported, but more that 
mtxrun defaults to luatex / mkiv (just as texexec defaults to pdftex) 
and *i* want to default to luatex (no matter how much you blackmail me)


users can

% engine=pdftex
% engine=xetex

at the top of their document if they want and mtxrun will then run 
texexec instead


if users want syntex on they can enable it with

\synctex=1

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] context mkiv bug + related feature request + related question

2009-06-21 Thread Yue Wang
Hi, Hans:


bug report :
here is the test file. (old version of mkiv produce right result.
current mkii result is also right)
It is a bug introduced in this/last month.
The code is a stripped down version of
http://wiki.contextgarden.net/Horizontal_Table_of_Contents (altough it
doesn't show toc horizontally)

\newcount\chapcounter \chapcounter=0
\def\tocchap#1#2#3{\advance\chapcounter by 1 #1 #2%
\placelist[section][criterium=chapter,number=\chapcounter]}
\starttext
\placelist[chapter][alternative=command,command=\tocchap]
\chapter{hello} \section{hello} \section{hello}
\chapter{good} \section{good} \section{good}
\chapter{bad} \section{bad} \section{bad}
\stoptext

feature request:

btw, Hans, context should give an option to iterate through all the
chapters/sections to do something tricky.
using \chaptercounter is a really bad idea (the materials should
follow strict rules, like cannot jump from chap 1 to chap 3).
I think with mkiv it is able to achieve that.

question:

I want to show toc before each chapter, and the toc only shows the
following chapter name in red.
How can I do that?
e.g. show the following before chapter 3

% A Page
Chap1
sec 1 sec 2 sec 3
Chap2
sec 1 sec 2 sec 3
Chap 3  %in red
sec 1 sec 2 sec 3 %in Red
Chap4
sec 1 sec 2 sec 3
% Next Page
Chapter 3 % title
a lot of materials


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