Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-14 Thread Alasdair McAndrew
Yes, I see that would be a non-trivial problem.  Maybe as a stop-gap some
ConTeXt files could be provided which at least roughly emulate a few
standard LaTeX styles?

-Alasdair

On Mon, Mar 14, 2011 at 3:54 PM, Aditya Mahajan adit...@umich.edu wrote:

 On Mon, 14 Mar 2011, Alasdair McAndrew wrote:

  For example. the LaTeX ieee.sty is available at
 http://delphiwww.cern.ch/delphi$www/private/det/stc/ieee94/mp/ieee.styand
 ACM styles at http://www.acm.org/publications/latex_style/.  How hard
 would
 it be to emulate these in ConTeXt?


 The hard part is figuring out the values (font size, spaces after sections,
 etc) from the LaTeX code. It is difficult to look at
 http://mirror.hmc.edu/ctan/macros/latex/contrib/IEEEtran/IEEEtran.cls and
 figure out what is the title size for a 10pt document, or how much space
 should come between the author block and the start of the two column text,
 etc.

 Reverse engineering these values is no fun. That is why I am saying that an
 *exact and complete* spec is needed.

 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

 ___




-- 
Blog: http://amca01.wordpress.com
Web:  http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alasdair.mcandrew
___
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] Ideas for restructuring the ConTeXt garden?

2011-03-14 Thread Henning Hraban Ramm


Am 2011-03-14 um 07:33 schrieb Alasdair McAndrew:

Yes, I see that would be a non-trivial problem.  Maybe as a stop-gap  
some ConTeXt files could be provided which at least roughly emulate  
a few standard LaTeX styles?


Again:

We senior ConTeXt users won’t look thoroughly at a few standard LaTeX  
styles just to copy their look for a few switchers.
We don’t need them. We design our own styles after our needs. We don’t  
stick to a few standard styles. It’s ConTeXt, not LaTeX.


If you come up with specifications, we can help you implementing them.  
Otherwise consider paying one of us for doing annoying, unnecessary  
work.



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
___


Re: [NTG-context] Minimals (was: Ideas for restructuring the ConTeXt garden?)

2011-03-14 Thread Mojca Miklavec
On Sun, Mar 13, 2011 at 22:35, Henning Hraban Ramm wrote:

 even if simply because setuptex is too slow for every
 new Terminal window

You can just as well use
export PATH=/path/to/tex/texmf-osx-64/bin:$PATH
which should be much faster.

Setuptex doesn't do anything else.

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] Ideas for restructuring the ConTeXt garden?

2011-03-14 Thread Taco Hoekwater

Hi,

On 03/13/2011 12:04 AM, Pontus Lurcock wrote:

On Sat 12 Mar 2011, C. wrote:


2) why they my be reluctant to install the minimals?
Because they already have it in miktex, texlive. What they don't know is
that these versions are outdated and due to the heavy development pretty
far behind. Plus, it should say Context Standalone because that is what it
is.


I think Context Standalone would be a good name: as I understand it,
minimals refers to the fact that it doesn't include other TeX
formats and associated baggage; standalone conveys the same idea
with less ambiguity, and hints at the fact that it won't interfere
with your system's package manager.


I agree, that sounds like a good name. Mojca, this does not need
much more initial work than fixing the wiki pages, right?

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] Is Minimals ready for non-developers to use? (Tom)

2011-03-14 Thread Jeong Dalyoung

Dear Tom,

I am sorry that my experience is not help for you.
I am usning Mac OS X.
I just downloaded first-setup.sh and run it. Then it installs minimal and makes 
formats well.

Minimal's current version: 2011.02.25 22:03
This is LuaTeX, Version beta-0.65.0-2010121316

However, I believe that Mojca's suggestion will relieve you from the install 
problem.

Hope you succeed to install stable ConTeXt.

Best regards,

Dalyoung
___
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] Ideas for restructuring the ConTeXt garden?

2011-03-14 Thread Martin Schröder
2011/3/14 Aditya Mahajan adit...@umich.edu:
 The hard part is figuring out the values (font size, spaces after sections,
 etc) from the LaTeX code. It is difficult to look at
 http://mirror.hmc.edu/ctan/macros/latex/contrib/IEEEtran/IEEEtran.cls and
 figure out what is the title size for a 10pt document, or how much space
 should come between the author block and the start of the two column text,
 etc.

Erm - is that really needed? Today a typical journal's workflow should
accept articles in LaTeX _markup_, convert that to XML and feed it to an
XML formatter (which may well use TeX) eventually. I see ConTeXt's role
there as the XML formatter. Or it could digest LaTeX markup - but then
it would need more than just the layout.

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
___


[NTG-context] Does MKIV take more time as MKII

2011-03-14 Thread Cecil Westerhof
I installed the minimals and use MKIV. It seems that it is 1,5 to 2 times as
slow as the MKII I used in texlive. Is this possible, or should there be
something else that is responsible for this?
-- 
Cecil Westerhof
___
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] Ideas for restructuring the ConTeXt garden?

2011-03-14 Thread Philipp Gesang
On 2011-03-13 23:12:36, Aditya Mahajan wrote:
 On Mon, 14 Mar 2011, Alasdair McAndrew wrote:
 
 Speaking as a raw ConTeXt beginner, I would find it very helpful to have a
 library of different styles: LaTeX, journal, conference and book styles.
 Although all the information is probably there, it is very scattered around
 though manuals, the wiki, and other documents, and so is in consequence not
 always easy to find.
 
 Why don't you create a wiki page with the **exact** specifications.
 Then others can write the ConTeXt code to show how to achieve that
 specification.

 We can perhaps have a cookbook section on the wiki, which can use
 these specification as exercise.

+1, best idea so far. Not only regarding latex-specific
commonplaces but for typographical tasks in general (along the
lines of “how I implemented Bringhurst’s chapter enumeration”
c.). Would it suffice to just create another wiki namespace
like the command reference has?

(Entries should have a date stamp and state the context version
they were written for.)

Philipp

  Without the exact specification,
 it is very difficult to understand what a journal style or a
 book style means. Not all journals and books have the same style.
 
 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
 ___

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


pgpN2kfvuusaG.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] Putting citations in an e-book

2011-03-14 Thread Cecil Westerhof
2011/3/8 Wolfgang Schuster schuster.wolfg...@googlemail.com

 2011/3/8 Wolfgang Schuster schuster.wolfg...@googlemail.com

 \define[2]\epigraph
   {\blank
\startframedtext[middle][frame=off,offset=none,width=fit,align=middle]%
\color[darkgreen]{#2}\endgraf
\rightaligned{\it #1}%
\stopframedtext
\blank}


 I want to do something like:
 \epigraph{Elbert Hubbard}{
 Many people fail in life, not for lack of ability or brains or even
 courage,

 but simply because they have never organized their energies around a
 goal.}

 Because I want to have the but on the second line, with the rest of the
 text. But this gives:
 Runaway argument?


 With the definition of \define in MkII the argument of the command can’t
 contain a paragraph, a workaround is to define the \epigraph macro with

 \long\def\epigraph#1#2{...}

 or to use MkIV.


I am now using MKIV and the problemis solved.

-- 
Cecil Westerhof
___
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] Ideas for restructuring the ConTeXt garden?

2011-03-14 Thread Alasdair McAndrew
FWIW, specifications of standard LaTeX styles can be found
herehttp://www.tug.org/texlive/devsrc/Master/texmf-dist/doc/latex/base/classes.pdf.
It's a closely written 66 page document.

-Alasdair

On Mon, Mar 14, 2011 at 8:17 PM, Martin Schröder mar...@oneiros.de wrote:

 2011/3/14 Aditya Mahajan adit...@umich.edu:
  The hard part is figuring out the values (font size, spaces after
 sections,
  etc) from the LaTeX code. It is difficult to look at
  http://mirror.hmc.edu/ctan/macros/latex/contrib/IEEEtran/IEEEtran.clsand
  figure out what is the title size for a 10pt document, or how much space
  should come between the author block and the start of the two column
 text,
  etc.

 Erm - is that really needed? Today a typical journal's workflow should
 accept articles in LaTeX _markup_, convert that to XML and feed it to an
 XML formatter (which may well use TeX) eventually. I see ConTeXt's role
 there as the XML formatter. Or it could digest LaTeX markup - but then
 it would need more than just the layout.

 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

 ___




-- 
Blog: http://amca01.wordpress.com
Web:  http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alasdair.mcandrew
___
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] Why does bookmarks show also sections

2011-03-14 Thread Cecil Westerhof
2011/3/3 Cecil Westerhof cldwester...@gmail.com

 I use:
 \placebookmarks[chapter,section][chapter]
 \setupinteractionscreen[option=bookmark]

 As I understand it there should be bookmarks generated for chapters and
 sections. When opening the document only the bookmarks for chapters should
 be shown. But all bookmarks are shown. What is going wrong?


In MKIV it works.

-- 
Cecil Westerhof
___
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] Using bookmarks

2011-03-14 Thread Cecil Westerhof
I am using:
\placebookmarks[part,chapter,section][part,chapter]
\setupinteractionscreen[option=bookmark]

When I have the PDF file displayed fill window width and I click on a
section. The page where this section is on, is displayed in full page. I
would prefer the zoom level would stay the same and the start of the section
would be displayed at the top of the page. Is this possible?

-- 
Cecil Westerhof
___
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] math spacing

2011-03-14 Thread Otared Kavian
Hi Hans VdM and Wolfgang,

It is true that naming a variable PYR, even in plain TeX, as shown below, gives 
rise to an ugly mathematical symbol since there is a certain distance between 
the « Y » and the « R » with math italic:

http://dl.dropbox.com/u/4316076/spacing-plain.pdf

The problem may be the bounding box of « Y ».
However, I think that in the example given by Hans VdM in mkiv, there is 
another, more important, issue which is the way the commas are treated between 
the variables Q, Y, N, P, Y, Z in math italic. Please compare the following 
outputs, one obtained with mkii and the other with mkiv:

http://dl.dropbox.com/u/4316076/spacing-mkii.pdf

http://dl.dropbox.com/u/4316076/spacing-mkiv.pdf

I think that this is a big issue in typesetting maths with mkiv since 
punctuations are treated in an incorrect way.

Best regards: OK
PS: Sorry for the delay… yesterday this message was rejected when sent with the 
attached PDFs, because it was over 64Kb.


On 13 mars 2011, at 13:16, Hans van der Meer wrote:

 It might be that I am missing something here. But I don not understand why in 
 the math expression below the spacing behind the letters is different. With 
 this behaviour it seems impossible to name a variable PYR and have it typeset 
 as such.
 
 Hans van der Meer
 
 
 \starttext
 $\tfd Q,Y,N,P,Y,Z \quad PYR$
 \stoptext
 ConTeXt  ver: 2011.02.25 22:03 MKIV  fmt: 2011.3.11  int: english/english
 
 
 test.pdf___
 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] Beside blank with 1 or 2, how to do it with 1.5

2011-03-14 Thread Cecil Westerhof
I would like to do something like:
\setuphead[section][before={\blank[1.5*big] \testpage[12]}]

This does not work. I get:
to be read again
   *
argument 1.5*
   big
\addaskedblankskip ...nce \blankskip #1\dimexpr #2
  \relax

But I can do:
\setuphead[section][before={\blank[2*big] \testpage[12]}]

How to implement what I want?

-- 
Cecil Westerhof
___
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] Beside blank with 1 or 2, how to do it with 1.5

2011-03-14 Thread Wolfgang Schuster

Am 14.03.2011 um 12:29 schrieb Cecil Westerhof:

 I would like to do something like:
 \setuphead[section][before={\blank[1.5*big] \testpage[12]}]
 
 This does not work. I get:
 to be read again 
*
 argument 1.5*
big
 \addaskedblankskip ...nce \blankskip #1\dimexpr #2
   \relax
 
 But I can do:
 \setuphead[section][before={\blank[2*big] \testpage[12]}]
 
 How to implement what I want?

You can only use natural numbers for the multiple of a value or write 
“\blank[line,halfline]”.

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] Beside blank with 1 or 2, how to do it with 1.5

2011-03-14 Thread Cecil Westerhof
2011/3/14 Wolfgang Schuster schuster.wolfg...@googlemail.com


 Am 14.03.2011 um 12:29 schrieb Cecil Westerhof:

  I would like to do something like:
  \setuphead[section][before={\blank[1.5*big] \testpage[12]}]
 
  This does not work. I get:
  to be read again
 *
  argument 1.5*
 big
  \addaskedblankskip ...nce \blankskip #1\dimexpr #2
\relax
 
  But I can do:
  \setuphead[section][before={\blank[2*big] \testpage[12]}]
 
  How to implement what I want?

 You can only use natural numbers for the multiple of a value or write
 “\blank[line,halfline]”.


Okay, thanks. I will use 2*big then.

-- 
Cecil Westerhof
___
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] math spacing

2011-03-14 Thread Wolfgang Schuster

Am 14.03.2011 um 12:14 schrieb Otared Kavian:

 Hi Hans VdM and Wolfgang,
 
 It is true that naming a variable PYR, even in plain TeX, as shown below, 
 gives rise to an ugly mathematical symbol since there is a certain distance 
 between the « Y » and the « R » with math italic:
 
   http://dl.dropbox.com/u/4316076/spacing-plain.pdf
 
 The problem may be the bounding box of « Y ».

Wasn’t this what i showed in my example?

 However, I think that in the example given by Hans VdM in mkiv, there is 
 another, more important, issue which is the way the commas are treated 
 between the variables Q, Y, N, P, Y, Z in math italic.

\setupmathematics[autopunctuation=no]

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] context does not have a parameter timeout

2011-03-14 Thread Cecil Westerhof
When using texexec I used the parameter --timeout. With context this
parameter does not generate an error, but it does not have the expected
result. Does context not have this parameter?

-- 
Cecil Westerhof
___
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] Beside blank with 1 or 2, how to do it with 1.5

2011-03-14 Thread Wolfgang Schuster

Am 14.03.2011 um 12:37 schrieb Cecil Westerhof:

 Okay, thanks. I will use 2*big then. 

1.5 * big = big + medium = \blank[big,medium]

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] What are the best fonts to use

2011-03-14 Thread Cecil Westerhof
At the moment I use for my ebook:
\usetypescript[palatino][texnansi]
\setupbodyfont[palatino,rm,12pt]

Does not look to bad, but layout is not my forte. So if people have tips
about the fonts to use, I like to hear them.

Do you use other fonts when using a printed book?

-- 
Cecil Westerhof
___
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] Does MKIV take more time as MKII

2011-03-14 Thread Wolfgang Schuster

Am 14.03.2011 um 11:23 schrieb Cecil Westerhof:

 I installed the minimals and use MKIV. It seems that it is 1,5 to 2 times as 
 slow as the MKII I used in texlive. Is this possible,

Yes, MkIV is slower.

 or should there be something else that is responsible for this?

No, for simple document with lots of text MkIV is slower but there are parts 
(e.g. MetaPost) where MKIV is a lot faster than MkII.

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] Does MKIV take more time as MKII

2011-03-14 Thread Cecil Westerhof
2011/3/14 Wolfgang Schuster schuster.wolfg...@googlemail.com

  I installed the minimals and use MKIV. It seems that it is 1,5 to 2 times
 as slow as the MKII I used in texlive. Is this possible,

 Yes, MkIV is slower.


Okay, thanks. I also updated my system. So that was the other possibility.




 No, for simple document with lots of text MkIV is slower but there are
 parts (e.g. MetaPost) where MKIV is a lot faster than MkII.


My document is mostly text.

-- 
Cecil Westerhof
___
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] Beside blank with 1 or 2, how to do it with 1.5

2011-03-14 Thread Cecil Westerhof
2011/3/14 Wolfgang Schuster schuster.wolfg...@googlemail.com


 Am 14.03.2011 um 12:37 schrieb Cecil Westerhof:

  Okay, thanks. I will use 2*big then.

 1.5 * big = big + medium = \blank[big,medium]


Works, but I did not find it satisfactory, so I am back to 2*big. But it is
good to know for next time.

-- 
Cecil Westerhof
___
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] Simplefonts

2011-03-14 Thread Charles Doherty
Dear Wolfgang,

Thank you very much. It works a treat!

Best wishes,
Charlie
On 11 Mar 2011, at 18:30, Wolfgang Schuster wrote:

 
 Am 11.03.2011 um 13:28 schrieb Charles Doherty:
 
 Dear Wolfgang,
 
 I sent an e-mail about problems with my simplefonts. I got no reply since my 
 example had fonts that were probably not available to you. But the problem 
 does not relate to the Gaelic fonts that I had been using. I am sending this 
 file instead. The fonts below can be swapped about. The main font is always 
 typeset as requested but the others are not. Am I doing something really 
 silly? The readout from the console is below. I am using Context Minimals 
 MarkIV on a Mac. Help would be appreciated.
 
 Fixed.
 
 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] lang-wrd.lua - howto count 1-, 2-, and 3-letter words?

2011-03-14 Thread Florian Wobbe
Hi,

I'd like to ask an early question again in a different way: I need to count 
every word in a document but lang-wrd.lua counts only words with 4+ letters.

So I tried to set words.threshold = 4 in context/base/lang-wrd.lua to smaller 
values but this does not change anything.

I don't know where to start looking. Also I am searching for a non-global 
solution without changing the core files.

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] Does MKIV take more time as MKII

2011-03-14 Thread Aditya Mahajan

On Mon, 14 Mar 2011, Cecil Westerhof wrote:


2011/3/14 Wolfgang Schuster schuster.wolfg...@googlemail.com


I installed the minimals and use MKIV. It seems that it is 1,5 to 2 times

as slow as the MKII I used in texlive. Is this possible,

Yes, MkIV is slower.



Okay, thanks. I also updated my system. So that was the other possibility.


In my experience

context --silent=\* filename

speeds up compilation by a factor of 1.5 (but you loose all the logging 
messages)


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] Is Minimals ready for non-developers to use? (Tom)

2011-03-14 Thread Tom
Dalyoung,

To the contrary, You have been most helpful. Installing the latest version
of Minimals worked fine but I wonder why they even advertise that there is a
stable version to be downloaded. I guess they mean a stable version of MKII.
I had the same experience that you had with the Introduction not showing up
in the TOC. Do you know how to report a bug?

Thank you for your assistance and moral support. For awhile I thought I was
going nuts.

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



-Original Message-
From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Jeong Dalyoung
Sent: Monday, March 14, 2011 5:16 AM
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Is Minimals ready for non-developers to use?
(Tom)


Dear Tom,

I am sorry that my experience is not help for you.
I am usning Mac OS X.
I just downloaded first-setup.sh and run it. Then it installs minimal and
makes formats well.

Minimal's current version: 2011.02.25 22:03
This is LuaTeX, Version beta-0.65.0-2010121316

However, I believe that Mojca's suggestion will relieve you from the install
problem.

Hope you succeed to install stable ConTeXt.

Best regards,

Dalyoung

___
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] Does MKIV take more time as MKII

2011-03-14 Thread Alan BRASLAU
On Monday 14 March 2011 14:02:18 Aditya Mahajan wrote:
 On Mon, 14 Mar 2011, Cecil Westerhof wrote:
  2011/3/14 Wolfgang Schuster schuster.wolfg...@googlemail.com
  
  I installed the minimals and use MKIV. It seems that it is 1,5 to 2
  times
  
  as slow as the MKII I used in texlive. Is this possible,
  
  Yes, MkIV is slower.
  
  Okay, thanks. I also updated my system. So that was the other
  possibility.
 
 In my experience
 
 context --silent=\* filename
 
 speeds up compilation by a factor of 1.5 (but you loose all the logging
 messages)
 

or

context --batch filename
___
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] Does MKIV take more time as MKII

2011-03-14 Thread Cecil Westerhof
2011/3/14 Alan BRASLAU alan.bras...@cea.fr

 On Monday 14 March 2011 14:02:18 Aditya Mahajan wrote:
  On Mon, 14 Mar 2011, Cecil Westerhof wrote:
   2011/3/14 Wolfgang Schuster schuster.wolfg...@googlemail.com
  
   I installed the minimals and use MKIV. It seems that it is 1,5 to 2
   times
  
   as slow as the MKII I used in texlive. Is this possible,
  
   Yes, MkIV is slower.
  context --silent=\* filename
 
  speeds up compilation by a factor of 1.5 (but you loose all the logging
  messages)
 

 or

 context --batch filename


Both did not work for me. But removing --purgeall from my script reduced the
time from 30 seconds to 10.

And because I generate (at the moment) 5 personalised versions, this is a
difference from 2:44 to 0:56.

-- 
Cecil Westerhof
___
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] Ideas for restructuring the ConTeXt garden?

2011-03-14 Thread Carlos Breton
2011/3/12 Florian Wobbe florian.wo...@awi.de

 Maybe we should start a discussion in a new thread to find out:

 5) how to better promote context to new/latex users?




I think is needed a installation guide for non-technical. A guide not only
for programmers but a simple guide for dummies. Like me, I am no-developer,
I write law books. Latex installation and update is very simple for
beginners. On Windows with MiKTeX, everyone can write very soon his first
document. Not so with ConTeXt, except old stand-alone installation. It's
cause of frustration and after several attempts they give up. Then they
return to LaTeX (like me too).
___
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] Is Minimals ready for non-developers to use?

2011-03-14 Thread Jeong Dalyoung
Dear Tom,

good to hear that minimal is working fine.

 I had the same experience that you had with the Introduction not showing up
 in the TOC. Do you know how to report a bug?



I think that completecontent doesn't recognize the user defined intro. It is 
all what I can tell you.
If you have no special reason to define \intro, you may use \chapter to make it 
appear in TOC.

This mailing list is a place to report a bug. 
If it is a real bug, then Hans will correct it, otherwise many experts who are 
watching mails suggest you a good solution.

Thanks,

Best regards,

Dalyoung
___
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] math spacing

2011-03-14 Thread Otared Kavian
Hi Wolfgang,On 14 mars 2011, at 12:39, Wolfgang Schuster wrote:[…]Wasn’t this what i showed in my example?Yes indeed your examples showed exactly this: sorry for not mentioning your point.[…]\setupmathematics[autopunctuation=no]Unfortunately this does not help at all, at least on my installation of ConTeXt.It seems to me that the effect of the above command is to modify the spacing between characters and punctuation marks, but still the latter are misplaced with LM math fonts (with \bf or \rm there is no problem).Best regards: OKPS: here is the source which produces the attached PDF:\starttext\startbuffer[MathSpacing]Example with mkiv:With \type{\tfd}:$\tfd Q, Y, N, P, Y, Z, \quad PYR$\blank[big]With \type{\bf}$\bf Q, Y, N, P, Y, Z, \quad PYR$\blank[big]With normal LM math fonts:$Q,Y,N,P,Y,Z, \quad PYR$\stopbuffer\getbuffer[MathSpacing]\blank\thinrule\blankNow with \type{\setupmathematics[autopunctuation=no]}\setupmathematics[autopunctuation=no]\getbuffer[MathSpacing]\stoptext

math-spacing.pdf
Description: Adobe PDF document
___
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] 620 pages limit?

2011-03-14 Thread Steffen Wolfrum
Hi,

in December we had 4000 pages limit, now I only reach 700 pages limit:

pagesflushing realpage 615, userpage 619
pagesflushing realpage 616, userpage 620
PANIC: unprotected error in call to Lua API (stack overflow (out of stack 
space))

mtx-context | fatal error: return code: 1



It's a book wih 7 chapters, each of it run fine. Only typesetting the entire 
project (not even with TOC) gives this error.
Is there help?

Steffen 

(ConTeXt  ver: 2011.02.25 22:03 MKIV)
___
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] 620 pages limit?

2011-03-14 Thread Taco Hoekwater

On 03/14/2011 05:08 PM, Steffen Wolfrum wrote:

Hi,

in December we had 4000 pages limit, now I only reach 700 pages limit:

pages  flushing realpage 615, userpage 619
pages  flushing realpage 616, userpage 620
PANIC: unprotected error in call to Lua API (stack overflow (out of stack 
space))

mtx-context | fatal error: return code: 1

It's a book wih 7 chapters, each of it run fine. Only typesetting the entire 
project (not even with TOC) gives this error.
Is there help?


That is clearly a bug somewhere, but it needs a minimal demonstration
file from you. A simple

  \dorecurse{5000} {\input knuth \page }

does not trigger it.

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] 620 pages limit?

2011-03-14 Thread Steffen Wolfrum

Am 14.03.2011 um 17:22 schrieb Taco Hoekwater:

 On 03/14/2011 05:08 PM, Steffen Wolfrum wrote:
 Hi,
 
 in December we had 4000 pages limit, now I only reach 700 pages limit:
 
 pages  flushing realpage 615, userpage 619
 pages  flushing realpage 616, userpage 620
 PANIC: unprotected error in call to Lua API (stack overflow (out of stack 
 space))
 
 mtx-context | fatal error: return code: 1
 
 It's a book wih 7 chapters, each of it run fine. Only typesetting the entire 
 project (not even with TOC) gives this error.
 Is there help?
 
 That is clearly a bug somewhere, but it needs a minimal demonstration
 file from you. A simple
 
  \dorecurse{5000} {\input knuth \page }
 
 does not trigger it.


My context-minimal *does* trigger the PANIC with 5000 Knuth-pages!
Do I need to change the LuaTeX part of the minimal installation?

ConTeXt  ver: 2011.02.25 22:03 MKIV
This is LuaTeX, Version beta-0.65.0-2010121316 

Steffen
___
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] 620 pages limit?

2011-03-14 Thread luigi scarso
On Mon, Mar 14, 2011 at 5:22 PM, Taco Hoekwater t...@elvenkind.com wrote:
 On 03/14/2011 05:08 PM, Steffen Wolfrum wrote:

 Hi,

 in December we had 4000 pages limit, now I only reach 700 pages limit:

 pages  flushing realpage 615, userpage 619
 pages  flushing realpage 616, userpage 620
 PANIC: unprotected error in call to Lua API (stack overflow (out of stack
 space))

 mtx-context     | fatal error: return code: 1

 It's a book wih 7 chapters, each of it run fine. Only typesetting the
 entire project (not even with TOC) gives this error.
 Is there help?

 That is clearly a bug somewhere, but it needs a minimal demonstration
 file from you. A simple

  \dorecurse{5000} {\input knuth \page }

 does not trigger it.

 Best wishes,
 Taco

Not here:
\starttext
\dorecurse{5000} {\input knuth \page }
\stoptext
pagesflushing realpage 3987, userpage 3987
PANIC: unprotected error in call to Lua API (stack overflow (out of
stack space))

mtx-context | fatal error: return code: 1
with latest minimals.

-- 
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] Difference between MKII, XeTeX and MKIV

2011-03-14 Thread Cecil Westerhof
When installing minimals you have MKII, XeTeX and MKIV. I understand that
you should normally use MKIV, but when are the other two used?

-- 
Cecil Westerhof
___
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] Does MKIV take more time as MKII

2011-03-14 Thread Philipp Gesang
On 2011-03-14 11:23:55, Cecil Westerhof wrote:
 I installed the minimals and use MKIV. It seems that it is 1,5 to 2 times as
 slow as the MKII I used in texlive. Is this possible, or should there be
 something else that is responsible for this?

Hi Cecil,

regarding luatex/mkiv performance there are some comparisons
between different tex machines that Hans presented at tug 2009:

  http://river-valley.tv/the-luatex-project-halfway-to-version-1/

Of course, with respect to the rapid development these might be
out of date by now.

Best regards, Philipp


 -- 
 Cecil Westerhof

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



pgpct7wJPsikk.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] Difference between MKII, XeTeX and MKIV

2011-03-14 Thread Marco
On 2011-03-14 Cecil Westerhof cldwester...@gmail.com wrote:

 When installing minimals you have MKII, XeTeX and MKIV. I understand that
 you should normally use MKIV, but when are the other two used?

MKII can be used either with pdftex or xetex (as you wish, compare
advantages/disadvantages). MKIV can only be used with luatex.

You have to differ between ConTeXt »versions« (mkii, mkiv) and TeX backends
(pdftex, xetex, luatex).


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] Difference between MKII, XeTeX and MKIV

2011-03-14 Thread Cecil Westerhof
2011/3/14 Marco net...@lavabit.com

 On 2011-03-14 Cecil Westerhof cldwester...@gmail.com wrote:

  When installing minimals you have MKII, XeTeX and MKIV. I understand that
  you should normally use MKIV, but when are the other two used?

 MKII can be used either with pdftex or xetex (as you wish, compare
 advantages/disadvantages). MKIV can only be used with luatex.

 You have to differ between ConTeXt »versions« (mkii, mkiv) and TeX backends
 (pdftex, xetex, luatex).


And where do I find the advantages/disadvantages? Or can I just always use
MKIV?

-- 
Cecil Westerhof
___
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] Difference between MKII, XeTeX and MKIV

2011-03-14 Thread Marco
On 2011-03-14 Cecil Westerhof cldwester...@gmail.com wrote:

 2011/3/14 Marco net...@lavabit.com
 
  On 2011-03-14 Cecil Westerhof cldwester...@gmail.com wrote:
 
   When installing minimals you have MKII, XeTeX and MKIV. I understand
   that you should normally use MKIV, but when are the other two used?
 
  MKII can be used either with pdftex or xetex (as you wish, compare
  advantages/disadvantages). MKIV can only be used with luatex.
 
  You have to differ between ConTeXt »versions« (mkii, mkiv) and TeX
  backends (pdftex, xetex, luatex).
 
 
 And where do I find the advantages/disadvantages?

Wikipedia, google, information source of your slightest distrust.
Short and incomplete:

pdftex:
+ protrusion, font expansion
- fonts are a nightmare

xetex:
+ system fonts are easily accessible
- no protrusion, no font expansion

luatex:
+ protrusion, font expansion, easy access of system fonts, scripting language
  included, fast with mplib
- in general much slower


 Or can I just always use MKIV?

Yes, you can.


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] 620 pages limit?

2011-03-14 Thread Vnpenguin
On Mon, Mar 14, 2011 at 18:02, luigi scarso luigi.sca...@gmail.com wrote:
 On Mon, Mar 14, 2011 at 5:22 PM, Taco Hoekwater t...@elvenkind.com wrote:
 On 03/14/2011 05:08 PM, Steffen Wolfrum wrote:

 Hi,

 in December we had 4000 pages limit, now I only reach 700 pages limit:

 pages  flushing realpage 615, userpage 619
 pages  flushing realpage 616, userpage 620
 PANIC: unprotected error in call to Lua API (stack overflow (out of stack
 space))

 mtx-context     | fatal error: return code: 1

 It's a book wih 7 chapters, each of it run fine. Only typesetting the
 entire project (not even with TOC) gives this error.
 Is there help?

 That is clearly a bug somewhere, but it needs a minimal demonstration
 file from you. A simple

  \dorecurse{5000} {\input knuth \page }

 does not trigger it.

 Best wishes,
 Taco

 Not here:
 \starttext
 \dorecurse{5000} {\input knuth \page }
 \stoptext
 pages            flushing realpage 3987, userpage 3987
 PANIC: unprotected error in call to Lua API (stack overflow (out of
 stack space))

 mtx-context     | fatal error: return code: 1
 with latest minimals.


I have exactely same error as you on Linux x86_64 CentOS , luatex
beta-0.65.0-2010121316

However on my Windows XP (always with Minimals distro) I can compile
without error. On Windows I have :
E:\User\xxx\texluatex --version
This is LuaTeX, Version beta-0.66.0-2011021923 (Web2C 2010) (rev 4086)

Maybe luatex of Linux 64bit is out-of-date ?
___
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] Difference between MKII, XeTeX and MKIV

2011-03-14 Thread Hans Hagen

On 14-3-2011 7:26, Cecil Westerhof wrote:

2011/3/14 Marconet...@lavabit.com


On 2011-03-14 Cecil Westerhofcldwester...@gmail.com  wrote:


When installing minimals you have MKII, XeTeX and MKIV. I understand that
you should normally use MKIV, but when are the other two used?


MKII can be used either with pdftex or xetex (as you wish, compare
advantages/disadvantages). MKIV can only be used with luatex.

You have to differ between ConTeXt »versions« (mkii, mkiv) and TeX backends
(pdftex, xetex, luatex).



And where do I find the advantages/disadvantages? Or can I just always use
MKIV?


As already mentioned speed depends on the kind of document. In general 
context runs slower with xetex and luatex if only because these are 
unicode engines while pdftex is 8 bit.


Occasionally i do speed tests and it also depends on the operating 
system, file caching etc. For luatex the size of the cpu cache also 
matters. Although pdftex/mkiv is always faster unless on eused metapoist 
in which case mkiv is a clear winner (the metafun manual runs in tens of 
seconds in mkiv but takes many minutes in mkii.  Comparing xetex/mkii 
and luatex/mkiv is difficult as xetex also pipes its output to a dvi 
backend. On some tests mkiv is faster, on some others mkii but I must 
admit that i only tested simple document.


On a raw simple document, pdftex can be twice as fast as xetex or 
luatex. The more lua driven features are used, the slower mkiv becomes 
but in general it does a better job then.


Anyhow .. only luatex/mkiv will evolve so best stick to that.

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] Is Minimals ready for non-developers to use? (Tom)

2011-03-14 Thread Mojca Miklavec
On Mon, Mar 14, 2011 at 14:22, Tom wrote:
 Dalyoung,

 To the contrary, You have been most helpful. Installing the latest version
 of Minimals worked fine but I wonder why they even advertise that there is a
 stable version to be downloaded.

When minimals were created, a new stable version was released
approximately once a week. It used to be a problem to get the beta
version working since beta often depended on a new version of luatex
(which was also released every two/three weeks, but often not
synchronized with ConTeXt releases).

Now Hans only releases a stable version twice a year or so. The
problem is that minimals have not been designed with that in mind and
there is only a single version of texmfcnf.lua and only a single
version of luatex binary. Consequently minimals can only work either
with beta or with current when the two versions diverge, but not with
both and beta has priority.

I need to change the way the distribution works entirely, from the
grounds up (I have many parts ready, but not ready to publish yet).

An easy solution would be to create another mirror and only provide a
working current version there.

 I guess they mean a stable version of MKII.
 I had the same experience that you had with the Introduction not showing up
 in the TOC. Do you know how to report a bug?

You don't need to report it. I'm aware of that flaw. I could do a
temporary fix, but I would prefer to fix it properly. I'm sorry that
it alredy took me several years to address those issues, but I promise
to fix it before the conference. Properly.

You also need to keep in mind that even though it is advertized as
stable, bugs won't be fixed (many project often have at least two
branches of development - one for fixing the released version and one
for real development; the released version should get bugfixes, but in
context development that doesn't and won't happen unless some
volunteer starts carefully checking the new code and only applies
bugfixes to the stable version).

So most people that use ConTeXt actively need bugfixes very often and
the only way to get the bugs fixed is to use the latest version. Well,
latest version comes with its own bugs, but at least you have a chance
to get them fixed quickly.

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] context does not have a parameter timeout

2011-03-14 Thread Hans Hagen

On 14-3-2011 12:40, Cecil Westerhof wrote:

When using texexec I used the parameter --timeout. With context this
parameter does not generate an error, but it does not have the expected
result. Does context not have this parameter?


no


-
  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] lang-wrd.lua - howto count 1-, 2-, and 3-letter words?

2011-03-14 Thread Reviczky, Adam
 So I tried to set words.threshold = 4 in context/base/lang-wrd.lua to 
 smaller values but this does not change anything.
You have to regenerate the formats too, after you changed the value.

Otherwise you could use directly in your document:
\ctxlua{languages.words.threshold=1}

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] Difference between MKII, XeTeX and MKIV

2011-03-14 Thread Mojca Miklavec
On Mon, Mar 14, 2011 at 19:44, Marco wrote:
 On 2011-03-14 Cecil Westerhof wrote:
 2011/3/14 Marco wrote:
  On 2011-03-14 Cecil Westerhof wrote:
 
   When installing minimals you have MKII, XeTeX and MKIV. I understand
   that you should normally use MKIV, but when are the other two used?

They are mostly relicts of the past which still happen to be
supported. (But if ConTeXt was written from scratch, there would
probably be no support for them.)


I often write mathematical-oriented papers that need zero tweaking
with OpenType fonts, complex layouts or that could benefit from lua
scripting. I compile those randomly with MKII and MKIV, if nothing
else to check for differences, or if there is a problem in MKIV, I can
always use MKII is a fallback. MKII hardly ever changes, so it is
slightly more reliable in some cases, but it is very limited in
comparison to MKIV.

I use XeTeX mostly when I need OpenType fonts and something in MKIV
breaks. XeTeX has some advantages in out-of-the-box support for exotic
scripts (which I don't use), but many of its features are not
supported in ConTeXt at the high-level user interface. In general,
XeTeX is the least supported engine in ConTeXt community. In contrary,
for LaTeX users XeTeX is becoming the mainstream engine to use (best
supported by active developers).

  MKII can be used either with pdftex or xetex (as you wish, compare
  advantages/disadvantages). MKIV can only be used with luatex.
 
  You have to differ between ConTeXt »versions« (mkii, mkiv) and TeX
  backends (pdftex, xetex, luatex).
 

 And where do I find the advantages/disadvantages?

 Wikipedia, google, information source of your slightest distrust.
 Short and incomplete:

 pdftex:
 + protrusion, font expansion
 - fonts are a nightmare
(you should have put three minuses there :)
+ stability

 xetex:
 + system fonts are easily accessible
 - no protrusion, no font expansion

I never tried to use them, but I thought that Han The Thanh [please
add the accents] added that to XeTeX semi-recently
(http://scripts.sil.org/svn-view/xetex/TRUNK/, the last comment 8
months ago: merged microtype branch to trunk).

 luatex:
 + protrusion, font expansion, easy access of system fonts, scripting language
  included, fast with mplib
 - in general much slower

... depending on whether in general includes metapost or not. A
speed factor of ten (faster) is nothing unusual for luatex when many
metapost graphics come into play.

++ better support

 Or can I just always use MKIV?

 Yes, you can.

Definitely. You don't need to bother, just stick to MKIV as long as it
works fine for you.

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] Does MKIV take more time as MKII

2011-03-14 Thread Mojca Miklavec
On Mon, Mar 14, 2011 at 14:47, Cecil Westerhof wrote:

 Both did not work for me. But removing --purgeall from my script reduced the
 time from 30 seconds to 10.

When you don't use --purgeall, ConTeXt calculates different things
(for example table of contents, cross-references etc.) and stores them
to temporary files. Next time when you compile the same document
without too many changes it simply reuses the old data.

But if you remove the temporary files with --purgeall, ConTeXt has to
recalculate everything from scratch. Out of curiosity I checked that
on my own document and realized exactly the same thing. Compile time
dropped from 27 to 9 seconds, but only because ConTeXt had to read and
typeset the document three times (I thought it usually did it twice).

If you remove all the temporary files and call context without
--purgeall, it will also take 30 seconds to typeset everything; it is
only the second and all the subsequent runs that finish the job
faster.

Mojca

PS: You would get the same kind of behaviour in MKII (however if MKII
only runs twice and if there is a speed factor of 1.5, you could
declare MKII being three times faster which does make some
difference when compilation time is long).

PPS (not to be taken (too) seriously): But I wouldn't be surprized if,
say, two years from now you would try to repeat the experiment just to
find out that MKIV became faster. (Unlikely to happen, but imaging
Taco coming to idea to use all the four processor cores of your new
machine and Hans reducing the number of required runs from three to
two plus some extra optimizations.)
___
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] BASH script for installing minimals

2011-03-14 Thread Cecil Westerhof
Installing minimals is sometimes a problem. Because of this I wrote a BASH
script to automate it. Attached is the script I wrote to easily install the
minimals.

It installs in ${HOME}/ConTeXt but because I work with DRY it is easily
changed.

It generate almost no output:
20:47:01: fetch script
20:47:02: first setup
20:53:23: generate MKII
20:54:07: generate XeTeX
20:54:49: generate MKIV
20:55:18: Installing/updating ConTeXt took 497 seconds
20:55:18: before using ConTeXt you have to run: '.
/home/cecil/ConTeXt/tex/setuptex'

But the output can be found in ${HOME}/ConTeXt/install.log if needed.

-- 
Cecil Westerhof


updateConTeXt.sh
Description: Bourne shell script
___
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] BASH script for installing minimals

2011-03-14 Thread Mojca Miklavec
On Mon, Mar 14, 2011 at 20:56, Cecil Westerhof wrote:
 Installing minimals is sometimes a problem. Because of this I wrote a BASH
 script to automate it. Attached is the script I wrote to easily install the
 minimals.

Hmmm ... maybe we should add a --silent switch to installer.

Thank for the idea.

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] lang-wrd.lua - howto count 1-, 2-, and 3-letter words?

2011-03-14 Thread Florian Wobbe
 So I tried to set words.threshold = 4 in context/base/lang-wrd.lua to 
 smaller values but this does not change anything.
 You have to regenerate the formats too, after you changed the value.

I thought I did but obviously something went wrong. Now it works...

 Otherwise you could use directly in your document:
 \ctxlua{languages.words.threshold=1}

Thanks, exactly what I need!

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] Is Minimals ready for non-developers to use? (Tom)

2011-03-14 Thread Tom
Thank you for explaining this, Mojca. Knowing that it will be fixed sometime 
before September gives me hope. In the meantime, I think I have a workaround 
that, although awkward, will create a correct PDF. What I will do is create a 
PDF that is correct except for the TOC that Context generates, create a correct 
TOC PDF with another tool, then create a new PDF with the good pages from the 
original PDF and the bad TOC replaced by the good one.

Is there a list of known bugs somewhere? That would eliminate a lot of 
frustration and your having to deal with problems that are already being 
handled.

Is it possible for one to create a new font style? For example, if I have a 
need for two different sanserif fonts (Iwona and Helvetica for the sake of 
argument) to be used sporadically throughout a document. It would be nice to be 
able to do something like \ss1 to select the first one and \ss2 to select the 
second one. \ss to select the first one and \aa (or two other letters) to 
select the other.

Thanks,

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




-Original Message-
From: Mojca Miklavec [mailto:mojca.miklavec.li...@gmail.com] 
Sent: Monday, March 14, 2011 2:56 PM
To: mailing list for ConTeXt users
Cc: Tom
Subject: Re: [NTG-context] Is Minimals ready for non-developers to use? (Tom)

On Mon, Mar 14, 2011 at 14:22, Tom wrote:
 Dalyoung,

 To the contrary, You have been most helpful. Installing the latest version
 of Minimals worked fine but I wonder why they even advertise that there is a
 stable version to be downloaded.

When minimals were created, a new stable version was released
approximately once a week. It used to be a problem to get the beta
version working since beta often depended on a new version of luatex
(which was also released every two/three weeks, but often not
synchronized with ConTeXt releases).

Now Hans only releases a stable version twice a year or so. The
problem is that minimals have not been designed with that in mind and
there is only a single version of texmfcnf.lua and only a single
version of luatex binary. Consequently minimals can only work either
with beta or with current when the two versions diverge, but not with
both and beta has priority.

I need to change the way the distribution works entirely, from the
grounds up (I have many parts ready, but not ready to publish yet).

An easy solution would be to create another mirror and only provide a
working current version there.

 I guess they mean a stable version of MKII.
 I had the same experience that you had with the Introduction not showing up
 in the TOC. Do you know how to report a bug?

You don't need to report it. I'm aware of that flaw. I could do a
temporary fix, but I would prefer to fix it properly. I'm sorry that
it alredy took me several years to address those issues, but I promise
to fix it before the conference. Properly.

You also need to keep in mind that even though it is advertized as
stable, bugs won't be fixed (many project often have at least two
branches of development - one for fixing the released version and one
for real development; the released version should get bugfixes, but in
context development that doesn't and won't happen unless some
volunteer starts carefully checking the new code and only applies
bugfixes to the stable version).

So most people that use ConTeXt actively need bugfixes very often and
the only way to get the bugs fixed is to use the latest version. Well,
latest version comes with its own bugs, but at least you have a chance
to get them fixed quickly.

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
___


[NTG-context] Minimals only a third from texlive

2011-03-14 Thread Cecil Westerhof
I removed my distributions texlive from my system. This gave back 660 MB.
Installing minimals took 223 MB. But I understood that minimals is more then
texlive. So why is it a lot smaller?

-- 
Cecil Westerhof
___
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] Minimals only a third from texlive

2011-03-14 Thread Mojca Miklavec
On Mon, Mar 14, 2011 at 21:10, Cecil Westerhof wrote:
 I removed my distributions texlive from my system. This gave back 660 MB.
 Installing minimals took 223 MB. But I understood that minimals is more then
 texlive. So why is it a lot smaller?

Minimals don't contain *any* latex-related stuff (in ConTeXt you
cannot get rid of some plain TeX/LaTeX packages in any way), many
binaries are missing, minimals don't install modules by default, ...
But I still think that you can get a smaller installation than 660 MB
with TeX Live if you try hard enough.

On the other hand there are also some fonts that are missing in
ConTeXt distribution.

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] 620 pages limit?

2011-03-14 Thread Steffen Wolfrum

Am 14.03.2011 um 17:53 schrieb Steffen Wolfrum:

 
 Am 14.03.2011 um 17:22 schrieb Taco Hoekwater:
 
 On 03/14/2011 05:08 PM, Steffen Wolfrum wrote:
 Hi,
 
 in December we had 4000 pages limit, now I only reach 700 pages limit:
 
 pages  flushing realpage 615, userpage 619
 pages  flushing realpage 616, userpage 620
 PANIC: unprotected error in call to Lua API (stack overflow (out of stack 
 space))
 
 mtx-context | fatal error: return code: 1
 
 It's a book wih 7 chapters, each of it run fine. Only typesetting the 
 entire project (not even with TOC) gives this error.
 Is there help?
 
 That is clearly a bug somewhere, but it needs a minimal demonstration
 file from you. A simple
 
 \dorecurse{5000} {\input knuth \page }
 
 does not trigger it.
 
 
 My context-minimal *does* trigger the PANIC with 5000 Knuth-pages!
 Do I need to change the LuaTeX part of the minimal installation?
 
 ConTeXt  ver: 2011.02.25 22:03 MKIV
 This is LuaTeX, Version beta-0.65.0-2010121316 



btw, running on MacOSX (same as reported on Linux 64bit)

Steffen
___
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] Is Minimals ready for non-developers to use? (Tom)

2011-03-14 Thread Mojca Miklavec
On Mon, Mar 14, 2011 at 20:43, Tom wrote:
 Thank you for explaining this, Mojca. Knowing that it will be fixed sometime 
 before September gives me hope. In the meantime, I think I have a workaround 
 that, although awkward, will create a correct PDF.

If you really want to get the current version working, you can try to
fetch texmfcnf.lua from
http://svn.contextgarden.net/minimals/texmf/web2c

 svn log texmfcnf.lua

r948 | mojca | 2011-02-10 13:33:03 +0100 (čet, 10 feb 2011) | 1 line

new version of texmfcnf.lua

r846 | mojca | 2010-08-17 17:22:33 +0200 (tor, 17 avg 2010) | 1 line

Hans' additions

r789 | mojca | 2010-06-15 16:16:19 +0200 (tor, 15 jun 2010) | 1 line

update cnf file

Most probably the version r846 will do; if not then r789. Fetch the
--context=current and replace your texmfcnf.lua (in tex/texmf/web2c)
with this one. Maybe you will need an older version of luatex (but I
doubt it; I should check the dates though). LuaTeX is available under
http://svn.contextgarden.net/minimals/bin/tex

 Is there a list of known bugs somewhere?

Known bugs in ConTeXt on in ConTeXt distribution?

The general recipe for ConTeXt bugs is: if it is present in the latest
version and it has not been mentioned on the mailing list for the last
two days, you should not bother searching in the bug database, just
report it.

Tracker for ConTeXt is here: http://tracker.luatex.org/

Tracker for ConTeXt distribution is on launchpad, but it doesn't list
everything that I want to fix.

 Is it possible for one to create a new font style? For example, if I have a 
 need for two different sanserif fonts (Iwona and Helvetica for the sake of 
 argument) to be used sporadically throughout a document. It would be nice to 
 be able to do something like \ss1 to select the first one and \ss2 to select 
 the second one. \ss to select the first one and \aa (or two other letters) to 
 select the other.

It is. You could use the same switch as \hw or \cg (handwriting,
calligraphy) but you could define a new style (your own keyword). I
don't know the syntax by heart though, so I let the others help you (I
should be in doing-something-else-than-reading-emails mode until
Friday at least).

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] Does MKIV take more time as MKII

2011-03-14 Thread John Haltiwanger
You can't have it Good, Cheap, and Fast all at once ;)

On Mon, Mar 14, 2011 at 8:52 PM, Mojca Miklavec 
mojca.miklavec.li...@gmail.com wrote:

 On Mon, Mar 14, 2011 at 14:47, Cecil Westerhof wrote:
 
  Both did not work for me. But removing --purgeall from my script reduced
 the
  time from 30 seconds to 10.

 When you don't use --purgeall, ConTeXt calculates different things
 (for example table of contents, cross-references etc.) and stores them
 to temporary files. Next time when you compile the same document
 without too many changes it simply reuses the old data.

 But if you remove the temporary files with --purgeall, ConTeXt has to
 recalculate everything from scratch. Out of curiosity I checked that
 on my own document and realized exactly the same thing. Compile time
 dropped from 27 to 9 seconds, but only because ConTeXt had to read and
 typeset the document three times (I thought it usually did it twice).

 If you remove all the temporary files and call context without
 --purgeall, it will also take 30 seconds to typeset everything; it is
 only the second and all the subsequent runs that finish the job
 faster.

 Mojca

 PS: You would get the same kind of behaviour in MKII (however if MKII
 only runs twice and if there is a speed factor of 1.5, you could
 declare MKII being three times faster which does make some
 difference when compilation time is long).

 PPS (not to be taken (too) seriously): But I wouldn't be surprized if,
 say, two years from now you would try to repeat the experiment just to
 find out that MKIV became faster. (Unlikely to happen, but imaging
 Taco coming to idea to use all the four processor cores of your new
 machine and Hans reducing the number of required runs from three to
 two plus some extra optimizations.)

 ___
 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] Ideas for restructuring the ConTeXt garden?

2011-03-14 Thread Mojca Miklavec
On Mon, Mar 14, 2011 at 08:46, Taco Hoekwater wrote:
 Mojca, this does not need
 much more initial work than fixing the wiki pages, right?

Except that wiki pages are in a really horrible shape when it comes to
Installation pages.

I bet that 90% of pages are outdated with wrong information about how
to break TeX Live 2009 with the latest ConTeXt MKIV version, how to
break MikTeX 2.7 by creating a couple of .bat files to run the latest
ConTeXt, how to install on SuSE from 2007, etc.

I'm just not sure what and where to start fixing anything unless I
create a full list of outdated pages, create a full backup, delete
everything and write everything from scratch.

If anyone has the slightest idea where to start, please do it.

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] BASH script for installing minimals

2011-03-14 Thread Cecil Westerhof
2011/3/14 Cecil Westerhof cldwester...@gmail.com

 Installing minimals is sometimes a problem. Because of this I wrote a BASH
 script to automate it. Attached is the script I wrote to easily install the
 minimals.

 It installs in ${HOME}/ConTeXt but because I work with DRY it is easily
 changed.

 It generate almost no output:
 20:47:01: fetch script
 20:47:02: first setup
 20:53:23: generate MKII
 20:54:07: generate XeTeX
 20:54:49: generate MKIV
 20:55:18: Installing/updating ConTeXt took 497 seconds
 20:55:18: before using ConTeXt you have to run: '.
 /home/cecil/ConTeXt/tex/setuptex'

 But the output can be found in ${HOME}/ConTeXt/install.log if needed.


The last line of the script should read:
giveMessage before using ConTeXt you have to run: '${ACTIVATE_CONTEXT}
~/ConTeXt/tex'

-- 
Cecil Westerhof
___
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] 620 pages limit?

2011-03-14 Thread Vedran Miletić
2011/3/14 luigi scarso luigi.sca...@gmail.com

 On Mon, Mar 14, 2011 at 5:22 PM, Taco Hoekwater t...@elvenkind.com
 wrote:Not here:
 \starttext
 \dorecurse{5000} {\input knuth \page }
 \stoptext
 pagesflushing realpage 3987, userpage 3987
 PANIC: unprotected error in call to Lua API (stack overflow (out of
 stack space))

 mtx-context | fatal error: return code: 1
 with latest minimals.


Same here on Linux, 32-bit.

Regards,

Vedran Miletić
___
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] 620 pages limit?

2011-03-14 Thread Cecil Westerhof
2011/3/14 Vedran Miletić riva...@gmail.com

 2011/3/14 luigi scarso luigi.sca...@gmail.com

 On Mon, Mar 14, 2011 at 5:22 PM, Taco Hoekwater t...@elvenkind.com
 wrote:Not here:
 \starttext
 \dorecurse{5000} {\input knuth \page }
 \stoptext
 pagesflushing realpage 3987, userpage 3987
 PANIC: unprotected error in call to Lua API (stack overflow (out of
 stack space))

 mtx-context | fatal error: return code: 1
 with latest minimals.


 Same here on Linux, 32-bit.


Same here, also Linux 32-bit.

-- 
Cecil Westerhof
___
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] + in file names

2011-03-14 Thread Vedran Miletić
Consider two .tex files located at
http://www.inf.uniri.hr/~vmiletic/art-pre/ with same content:

context --mode=article art-pre.tex works right,
context --mode=article art+pre.tex fails with

! Undefined control sequence.

system   tex  error on line 7 in file art+pre.tex: Undefined
control sequence ...

Should + not be used? It seems to work ok without modes, but I haven't
tested deeply.

Regards,

Vedran Miletić
___
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] Ideas for restructuring the ConTeXt garden?

2011-03-14 Thread mathew
On Mon, Mar 14, 2011 at 15:26, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 Except that wiki pages are in a really horrible shape when it comes to
 Installation pages.
[...]
 If anyone has the slightest idea where to start, please do it.

FWIW, I updated the Ubuntu pages last week.

The OS X pages don't seem to be out of date.


mathew
___
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] 620 pages limit?

2011-03-14 Thread mathew
2011/3/14 Vedran Miletić riva...@gmail.com:
 Same here on Linux, 32-bit.

Also here.

[...]
(/usr/local/context/tex/texmf-context/tex/context/sample/knuth.tex)
pagesflushing realpage 3987, userpage 3987
PANIC: unprotected error in call to Lua API (stack overflow (out of
stack space))

mtx-context | fatal error: return code: 1
$ context --version
mtx-context | main context file:
/usr/local/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2011.02.25 22:03
$ luatex --version
This is LuaTeX, Version beta-0.65.0-2010121316

Linux w510 2.6.32-23-generic-pae #37-Ubuntu SMP  i686 GNU/Linux
[...]


mathew
___
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] 620 pages limit?

2011-03-14 Thread Wolfgang Schuster

Am 14.03.2011 um 18:02 schrieb luigi scarso:

 \starttext
 \dorecurse{5000} {\input knuth \page }
 \stoptext

A little bit faster but with the same error message:

\count0=0
\loop\ifnum\count05000
  \advance\count0 by 1
  \shipout\vbox{}
\repeat
\end

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] 620 pages limit?

2011-03-14 Thread Steffen Wolfrum

Am 14.03.2011 um 19:51 schrieb Vnpenguin:

 On Mon, Mar 14, 2011 at 18:02, luigi scarso luigi.sca...@gmail.com wrote:
 On Mon, Mar 14, 2011 at 5:22 PM, Taco Hoekwater t...@elvenkind.com wrote:
 On 03/14/2011 05:08 PM, Steffen Wolfrum wrote:
 
 Hi,
 
 in December we had 4000 pages limit, now I only reach 700 pages limit:
 
 pages  flushing realpage 615, userpage 619
 pages  flushing realpage 616, userpage 620
 PANIC: unprotected error in call to Lua API (stack overflow (out of stack
 space))
 
 mtx-context | fatal error: return code: 1
 
 It's a book wih 7 chapters, each of it run fine. Only typesetting the
 entire project (not even with TOC) gives this error.
 Is there help?
 
 That is clearly a bug somewhere, but it needs a minimal demonstration
 file from you. A simple
 
  \dorecurse{5000} {\input knuth \page }
 
 does not trigger it.
 
 Best wishes,
 Taco
 
 Not here:
 \starttext
 \dorecurse{5000} {\input knuth \page }
 \stoptext
 pagesflushing realpage 3987, userpage 3987
 PANIC: unprotected error in call to Lua API (stack overflow (out of
 stack space))
 
 mtx-context | fatal error: return code: 1
 with latest minimals.
 
 
 I have exactely same error as you on Linux x86_64 CentOS , luatex
 beta-0.65.0-2010121316
 
 However on my Windows XP (always with Minimals distro) I can compile
 without error. On Windows I have :
 E:\User\xxx\texluatex --version
 This is LuaTeX, Version beta-0.66.0-2011021923 (Web2C 2010) (rev 4086)


By manually updating luatex (on Mac) we got more pages (722 now!),
but when adding the TOC there is PANIC:

This is LuaTeX, Version beta-0.66.0-2011031421 (rev 4090) 
 \write18 enabled.
ConTeXt  ver: 2011.02.25 22:03 MKIV
...
pagesflushing realpage 645, userpage 649
PANIC: unprotected error in call to Lua API (stack overflow (out of stack 
space))
...
mtx-context | fatal error: return code: 1



Steffen
___
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] Difference between MKII, XeTeX and MKIV

2011-03-14 Thread Marco
On 2011-03-14 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote:

  xetex:
  + system fonts are easily accessible
  - no protrusion, no font expansion
 
 I never tried to use them, but I thought that Han The Thanh [please
 add the accents] added that to XeTeX semi-recently
 (http://scripts.sil.org/svn-view/xetex/TRUNK/, the last comment 8
 months ago: merged microtype branch to trunk).

I don't follow xetex development any more, so my information was outdated.
Thanks for the correction.

  luatex:
  + protrusion, font expansion, easy access of system fonts, scripting
  language included, fast with mplib
  - in general much slower
 
 ... depending on whether in general includes metapost or not. A
 speed factor of ten (faster) is nothing unusual for luatex when many
 metapost graphics come into play.

I totally agree. But Cecil mentioned in another thread: »My document is mostly
text.« Even if a few mp graphics are involved luatex is still noticeably
slower.


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] 620 pages limit?

2011-03-14 Thread Hartmut Henkel
On Mon, 14 Mar 2011, Steffen Wolfrum wrote:
 Am 14.03.2011 um 19:51 schrieb Vnpenguin:
  On Mon, Mar 14, 2011 at 18:02, luigi scarso luigi.sca...@gmail.com wrote:
  On Mon, Mar 14, 2011 at 5:22 PM, Taco Hoekwater t...@elvenkind.com wrote:
  On 03/14/2011 05:08 PM, Steffen Wolfrum wrote:
 
  in December we had 4000 pages limit, now I only reach 700 pages
  limit:
 
  pages  flushing realpage 615, userpage 619
  pages  flushing realpage 616, userpage 620
  PANIC: unprotected error in call to Lua API (stack overflow (out of stack
  space))
 
  mtx-context | fatal error: return code: 1
 
  It's a book wih 7 chapters, each of it run fine. Only typesetting the
  entire project (not even with TOC) gives this error.
  Is there help?
 
  That is clearly a bug somewhere, but it needs a minimal
  demonstration file from you. A simple
 
   \dorecurse{5000} {\input knuth \page }
 
  does not trigger it.
 
  Best wishes,
  Taco
 
  Not here:
  \starttext
  \dorecurse{5000} {\input knuth \page }
  \stoptext
  pagesflushing realpage 3987, userpage 3987
  PANIC: unprotected error in call to Lua API (stack overflow (out of
  stack space))
 
  mtx-context | fatal error: return code: 1
  with latest minimals.
 
  I have exactely same error as you on Linux x86_64 CentOS , luatex
  beta-0.65.0-2010121316
 
  However on my Windows XP (always with Minimals distro) I can compile
  without error. On Windows I have :
  E:\User\xxx\texluatex --version
  This is LuaTeX, Version beta-0.66.0-2011021923 (Web2C 2010) (rev 4086)

 By manually updating luatex (on Mac) we got more pages (722 now!), but
 when adding the TOC there is PANIC:

 This is LuaTeX, Version beta-0.66.0-2011031421 (rev 4090)
  \write18 enabled.
 ConTeXt  ver: 2011.02.25 22:03 MKIV
 ...
 pagesflushing realpage 645, userpage 649
 PANIC: unprotected error in call to Lua API (stack overflow (out of stack 
 space))
 ...
 mtx-context | fatal error: return code: 1

seems it's still the bug reported last year:

  Date: Thu, 16 Dec 2010 20:12:56 +0100
  From: Marco Pessotto melmo...@gmail.com
  To: ntg-context@ntg.nl
  Subject: [NTG-context] 4000 pages limit?

works fine here with luatex beta-0.66.0-2011031422.

Regards, Hartmut
___
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] Ctx running once?

2011-03-14 Thread Procházka Lukáš

Hello,

is there a possibility how to let Ctx run just once, not three times (as 
usually), keeping in mind that TOC and/or page numbers may be wrong, just to 
check correctness of the document?

- I have a longer document with enough MP code and I'm interested often just 
whether there is no error in the Ctx/MP code, so in this case a successful (= 
the first) run of Ctx is enough for me for that moment.

- So is there a switch, e.g. context.exe --err-check or context.exe --once 
or something like this?

Best regards,

Lukas


___
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] 620 pages limit?

2011-03-14 Thread Procházka Lukáš

\count0=0
\loop\ifnum\count05000
  \advance\count0 by 1
  \shipout\vbox{}
\repeat
\end


The same error on WinXP 32:

ConTeXt  ver: 2011.01.26 11:02 MKIV  fmt: 2011.1.26  int: english/english
...
pagesflushing realpage 3987, userpage 1, subpage 1
PANIC: unprotected error in call to Lua API (stack overflow (out of stack 
space))

Lukas


___
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 are the best fonts to use

2011-03-14 Thread Pontus Lurcock
On Mon 14 Mar 2011, Cecil Westerhof wrote:

 At the moment I use for my ebook:
 \usetypescript[palatino][texnansi]
 \setupbodyfont[palatino,rm,12pt]
 
 Does not look to bad, but layout is not my forte. So if people have
 tips about the fonts to use, I like to hear them.

A discussion about ‘best fonts’ might be long and entertaining, but
highly subjective and probably off-topic for this list. MkIV lets you
easily use any OTF font, so the selection is huge. One way to approach
it is to draw up a list of requirements (matched Greek/Cyrillic,
companion math fonts, small caps, etc., and of course price if you are
considering non-free fonts) and narrow the range. For the
‘traditional’ TeX fonts, I find that http://www.tug.dk/FontCatalogue/
is a good resource.

Once you've narrowed your list according to objective measures, it's a
matter of taste. I'd recommend reading Robert Bringhurst's /The
Elements of Typographic Style/ as a good way to start thinking more
deeply about these things. And there are (I am sure) other mailing
lists where discussion of the best fonts would be entirely
appropriate.

 Do you use other fonts when using a printed book?

Some fonts (e.g. a lot of Microsoft ones) are specifically designed to
look acceptable on a computer screen (very low-resolution compared to
print), though that doesn't necessarily mean that they look bad on
paper. So if you're designing for both screen and paper, screen is
probably the tighter constraint.

(I am still very much an amateur when it comes to typography, so
please do not take this as anything like expert advice.)

Hope this helps,

Pont
___
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] + in file names

2011-03-14 Thread Peter Münster
Vedran Miletić riva...@gmail.com writes:

 Should + not be used? It seems to work ok without modes, but I
 haven't tested deeply.

There is now an entry in the FAQ:
http://wiki.contextgarden.net/FAQ#Why_should_I_only_use_letters.2C_digits_and_hyphens_in_file.2Fpath_names.3F

-- 
   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] Ctx running once?

2011-03-14 Thread Khaled Hosny
On Mon, Mar 14, 2011 at 11:08:11PM +0100, Procházka Lukáš wrote:
 Hello,
 
 is there a possibility how to let Ctx run just once, not three times (as 
 usually), keeping in mind that TOC and/or page numbers may be wrong, just to 
 check correctness of the document?

context --once :D


-- 
 Khaled Hosny
 Egyptian
 Arab
___
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] Ctx running once?

2011-03-14 Thread Marco
On 2011-03-15 Khaled Hosny khaledho...@eglug.org wrote:

 On Mon, Mar 14, 2011 at 11:08:11PM +0100, Procházka Lukáš wrote:
  Hello,
  
  is there a possibility how to let Ctx run just once, not three times (as
  usually), keeping in mind that TOC and/or page numbers may be wrong, just
  to check correctness of the document?
 
 context --once :D

If you're really picky you can use \nullfont. Maybe this will save one second
or two.


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
___


[NTG-context] Playing with minimals

2011-03-14 Thread Cecil Westerhof
'texexec demo-mps.tex'  works, but when trying 'context demo-mps.tex ' I
get:
inserted text ...re.mp ; fi ; ]===], false)}

\processMPgraphic ...e ;\!!es , \MPaskedfigure )}}
  \egroup \placeMPgraphic
\d...
\dostartMPpage ...??mg ][#1]\processMPgraphic {#2}
  \dostopfittingpage
l.21 \stopMPpage

Is that correct, or am I doing something wrong?

Also demo-xml.tex I have to process with texexec.

-- 
Cecil Westerhof
___
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] 620 pages limit?

2011-03-14 Thread C.
\starttext
 \count0=0
 \loop\ifnum\count05000
   \advance\count0 by 1
   \shipout\vbox{}
 \repeat
 \end
\stoptext

No problems here. Win7 Pro 32bit. PDF contains nothing but 5000 pages :B

This is LuaTeX, Version beta-0.66.0-2011021923 (rev 4086) 
ConTeXt  ver: 2011.02.25 22:03 MKIV  fmt: 2011.3.5  int: english/english

___
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 are the best fonts to use

2011-03-14 Thread David Rogers

* Cecil Westerhof cldwester...@gmail.com [2011-03-14 12:44]:


At the moment I use for my ebook:
\usetypescript[palatino][texnansi]
\setupbodyfont[palatino,rm,12pt]

Does not look to bad, but layout is not my forte. So if people have tips
about the fonts to use, I like to hear them.

Do you use other fonts when using a printed book?



I don't think this question can have one answer. There are many good
answers, depending on the kind of book (or other printed material).

1. I think the layout of the page itself can have a great deal to do
with whether a certain font looks good (e.g. amount of white space,
length of lines, etc). Paying proper attention to the gross aspects of
your layout, such as margins and line heights, goes a long way to
improving the appearance of the whole work, and brings out the best in
whichever font you choose.

2. To some extent, different fonts can suit different material (e.g. a
book of poems vs a financial report, or a textbook vs a novel). For
extended reading, the conventional wisdom is to choose a
normal-looking font that doesn't call attention to itself too much,
but obviously you also want one that is at least somewhat attractive to
look at.

3. Frankly, giving people what they are already used to is often the
best plan - probably more often than typographers would care to admit.
In my opinion, variation for its own sake is over-rated and over-used.

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