Re: [NTG-context] setuptex.bat

2010-03-29 Thread Mojca Miklavec
On Sun, Mar 28, 2010 at 23:35, Wolfgang Werners-Lucchini wrote:
 Hallo,

 I don't know if the maintainer of the minimals or Hans is the person
 I have to ask.

I do most of the changes in minimals.

 Is it possible to change the line

 set PATH=%TEXMFOS%\bin;%PATH%

 to

 set PATH=%TEXMFLOCAL%\bin;%TEXMFOS%\bin;%PATH%

 in 'setuptex.bat'?

On one hand it's true that one can modify the file easily and just
rename it, but it looks like a pretty harmless and sensible change to
me. I was already thinking about it in past, but never needed it so
far.

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] setuptex.bat

2010-03-29 Thread Hans Hagen

On 29-3-2010 8:36, Mojca Miklavec wrote:

On Sun, Mar 28, 2010 at 23:35, Wolfgang Werners-Lucchini wrote:

Hallo,

I don't know if the maintainer of the minimals or Hans is the person
I have to ask.


I do most of the changes in minimals.


Is it possible to change the line

set PATH=%TEXMFOS%\bin;%PATH%

to

set PATH=%TEXMFLOCAL%\bin;%TEXMFOS%\bin;%PATH%

in 'setuptex.bat'?


On one hand it's true that one can modify the file easily and just
rename it, but it looks like a pretty harmless and sensible change to
me. I was already thinking about it in past, but never needed it so
far.


given the history of texmflocal and its changing use and order in 
things, it's about the worst one to mess around with


Hans


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

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


[NTG-context] [OT] Small is Beautiful: the design of Lua

2010-03-29 Thread luigi scarso
http://www.stanford.edu/class/ee380/Abstracts/100310.html

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


Re: [NTG-context] Stack overflow

2010-03-29 Thread Andreas Schneider
Hans Hagen wrote:

 can you add a print in line 2161 and see what path is reported?
 
 function file.collapse_path(str)
 
 print(str)
 
  str = gsub(str,\\,/)
  if find(str,/) then

It seems to happen only when the executables are called with absolute paths:

#c:\Temp\ctxc:\context\tex\texmf-mswin\bin\context.exe
c:/context/tex/texmf-mswin/bin
c:/context/tex/texmf-mswin/bin/..
c:/context/tex/texmf-mswin/bin/../..
C:/context/tex/texmf-local/web2c
C:/context/tex/texmf-context/web2c
C:/context/tex/texmf/web2c
C:/context/tex/texmf-local/web2c/texmfcnf.lua
C:/context/tex/texmf-context/web2c/texmfcnf.lua
C:/context/tex/texmf/web2c/texmfcnf.lua
C:/context/tex/texmf-local/web2c/texmf.cnf
C:/context/tex/texmf-context/web2c/texmf.cnf
C:/context/tex/texmf/web2c/texmf.cnf
C:/context/tex/texmf/web2c/texmfcnf.lua
C:/context/tex
C:/context/tex/texmf/web2c/texmf.cnf
C:/context/tex
C:/context/tex/texmf-cache
C:/context/tex/texmf-cache
C:/context/tex/texmf-cache
C:/context/tex/texmf-project
C:/context/tex/texmf-fonts
C:/context/tex/texmf-local
C:/context/tex/texmf-mswin
C:/context/tex/texmf-context
C:/context/tex/texmf-extra
!!C:/context/tex/texmf
C:/context/tex/texmf-project
C:/context/tex/texmf-fonts
C:/context/tex/texmf-local
C:/context/tex/texmf-mswin
C:/context/tex/texmf-context
C:/context/tex/texmf-extra
C:/context/tex/texmf
C:/context/tex/texmf-project
C:/context/tex/texmf-project
C:/context/tex/texmf-fonts
C:/context/tex/texmf-fonts
C:/context/tex/texmf-local
C:/context/tex/texmf-local
C:/context/tex/texmf-mswin
C:/context/tex/texmf-mswin
C:/context/tex/texmf-context
C:/context/tex/texmf-context
C:/context/tex/texmf-extra
C:/context/tex/texmf-extra
C:/context/tex/texmf
C:/context/tex/texmf
C:/context/tex/texmf-local
C:/context/tex/texmf-mswin
C:/context/tex/texmf-context
C:/context/tex/texmf
mtx-\context.lua
context.lua
.
C:/context/tex/texmf-project/tex/context//
C:/context/tex/texmf-project/tex/plain/base//
C:/context/tex/texmf-project/tex/generic//
C:/context/tex/texmf-fonts/tex/context//
C:/context/tex/texmf-fonts/tex/plain/base//
C:/context/tex/texmf-fonts/tex/generic//
C:/context/tex/texmf-local/tex/context//
C:/context/tex/texmf-local/tex/plain/base//
C:/context/tex/texmf-local/tex/generic//
C:/context/tex/texmf-mswin/tex/context//
C:/context/tex/texmf-mswin/tex/plain/base//
C:/context/tex/texmf-mswin/tex/generic//
C:/context/tex/texmf-context/tex/context//
C:/context/tex/texmf-context/tex/plain/base//
C:/context/tex/texmf-context/tex/generic//
C:/context/tex/texmf-extra/tex/context//
C:/context/tex/texmf-extra/tex/plain/base//
C:/context/tex/texmf-extra/tex/generic//
!!C:/context/tex/texmf/tex/context//
!!C:/context/tex/texmf/tex/plain/base//
!!C:/context/tex/texmf/tex/generic//
context.lua
mtx-\contexts.lua
contexts.lua
contexts.lua
mtx-\context.lua
\context.lua
/context.lua
/context.lua
/context.lua
[..]
/context.lua
/context.lua
/context.lua
/context.lua
/context.lua
/context.lua
/context.lua
/context.lua
stack overflow


___
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] pk-directory

2010-03-29 Thread Khaled Hosny
On Sat, Mar 27, 2010 at 11:43:58AM +0100, luigi scarso wrote:
 On Sat, Mar 27, 2010 at 11:36 AM, Arthur Reutenauer
 arthur.reutena...@normalesup.org wrote:
  may we can be package them in an otf format
 
   Right, OpenType can embed bitmap fonts (even TrueType could, if I'm
  not mistaken);
 true
  if the font is only available as PK, it should be
  possible to make it into an OpenType font, using FontForge, for example.
  I'm not sure maybe with mftrace
 http://lilypond.org/mftrace/

I would imagine one day luatex being able to read metafont fonts's, pass
them through mplib to generate splines then through fontloader to build
OpenType fonts out of it, so one can still use metafonts metaness with
the complex layout feature of opentype and it vector fonts.

But given how few metafont fonts is (and only one family is really a
meta font), the effort seems not so worthy.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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] [OT] Small is Beautiful

2010-03-29 Thread Alan BRASLAU
\startquotation
I have said that the soul loves truth; nevertheless, in most things, one would 
like to see some sort of symmetry. This appears to present somewhat of a 
contradiction that I shall now explain:

One of the principal sources of pleasure to our soul when we see objects is in 
our ease to recognize them; And the reason that makes symmetry pleasant to our 
soul is that it spares us pain, that it soothes, that it, one can say, cuts 
the object into halves.

From this follows a general rule: everywhere where symmetry is useful to the 
soul and can help it function, it is pleasant; yet everywhere where it is not 
useful, it is boring because it removes variety. But things that we see in 
succession must vary, because our soul has no difficulty to perceive them; 
those 
that we observe fleetingly, on the other hand, must have symmetry. Thus, as we 
glimpse at a building, garden, or a temple, we add symmetry, as this pleases 
the soul by the ease with which we can grasp the whole of the object.

As it must that the object that we perceive at a glance be simple, it must be 
unique and its parts must all correspond to the essence of the object: it is 
for this reason again that we like symmetries; for symmetry makes a whole. It 
is natural that we achieve this whole; and the soul that perceives this whole 
wishes that there be no imperfections. It is again for this reason that we 
like symmetries: there must be some sort of weight or balance; and a building 
having only one wing, or one wing shorter than another, is as unfinished as a 
body having only one arm, or having one arm shorter than the other.
\stopquotation
___
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] Stack overflow

2010-03-29 Thread Hans Hagen

On 29-3-2010 13:28, Andreas Schneider wrote:

Hans Hagen wrote:


can you add a print in line 2161 and see what path is reported?

function file.collapse_path(str)

print(str)

  str = gsub(str,\\,/)
  if find(str,/) then


It seems to happen only when the executables are called with absolute paths:


aha, now i get it too! thanks for nailing that down; i'll have a look at it

Hans


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

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


Re: [NTG-context] Vertical alignment in combinations

2010-03-29 Thread Vyatcheslav Yatskovsky

Thank you, Wolfgang, for


\setupcombinations[location=top]


I always believed there must exist such a command. :)

Wikified.

BR,
Vyatcheslav




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

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


Re: [NTG-context] Stack overflow

2010-03-29 Thread Hans Hagen

On 29-3-2010 15:35, Hans Hagen wrote:

On 29-3-2010 13:28, Andreas Schneider wrote:

Hans Hagen wrote:


can you add a print in line 2161 and see what path is reported?

function file.collapse_path(str)

print(str)

str = gsub(str,\\,/)
if find(str,/) then


It seems to happen only when the executables are called with absolute
paths:


aha, now i get it too! thanks for nailing that down; i'll have a look at it


i found the place where the recursion occurs but that's not really the 
problem


the problem is in the runner which does not stip the path right

will be fixed in next beta

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

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


[NTG-context] Hanging indent in startstoplines for poems

2010-03-29 Thread Torsten Suhling


Hello,

I have a question regarding hanging indentation in
startstoplines-environment.

So I try to use ConTeXt to typeset poems. In some texts/poems
ar long lines, which have to be broken. They should be broken
into hanging indentations.

That means:

Every line of poem should start left.
If a poemline is longer than text width, the rest of this line
   should be indented in a new text line. (just like here)
The width of this indentation should be fixed (e.g. 3em).
The width of this indentation shouldn't depend on a word.
It would be fine, if I don't have to set (poem)linebreaks.

   Additionally, it should still be able to indent a verse
   (e.g. a chorus), for instance using narrower.
   Hyphenation should be switched off inside the poems.

So I found \setuphanging, but these instruction seems made
another job---indenting a paragraph to be placed right beside
the first words of the paragraph.

That's the example, which does not work (all lines are indented)


%-- snip ---

\definestartstop[verse]
 [command={\setupwhitespace[1.2em]}%   % follow the grid
  ,before={\setupindenting[-2em,yes]%  % trial to construct
   \startnarrower[2em]%%   hanging indent
   \startalignment[flushleft]% % even inter-word-dist.
   \startlines%%   no justification
   \indenting[first]}%
   ,after={\stoplines%
   \stopalignment%
   \stopnarrower%
   \endgraf}]

\starttext

Three lines, first should be broken:

\startverse
FIRST---this should be one line, please remove linebreaks made by the
mail programms or similiar possibly until HERE.
SECOND---next line without carriage return or line feed,
THIRD---because startstoplines accept linebreaks.
FOURTH---is also one who don't make much words.
\stopverse

\stoptext

%-- snap ---

Any idea how to do that?

Thanks for help

Torsten


___
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] Which packages?

2010-03-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I'm new to ConTeXt; I've been working with LaTeX but I'd like to try ConTeXt 
due to some reasons.

The question is -

- is there a manual, web site or something where comparison of LaTeX/ConTeXt 
packages/modules would be done?

I'm interested how to include a part of a text file and how to insert some 
pages of another .pdf file.

Normally I was using the fancyvrb (\VerbatimInput) + option firstline=... and 
lastline=... respectively and pdfpages (\includepdf} + pages=... LaTeX packages; 
what's the equivalent for them in ConTeXt?

Is there a place where to study module/package similarities/equivalences?

Thank you in advance.

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] Hanging indent in startstoplines for poems

2010-03-29 Thread Wolfgang Schuster

Am 29.03.10 17:29, schrieb Torsten Suhling:


Hello,

I have a question regarding hanging indentation in
startstoplines-environment.

So I try to use ConTeXt to typeset poems. In some texts/poems
ar long lines, which have to be broken. They should be broken
into hanging indentations.

Any idea how to do that?

\definelines
  [verse]
  [indenting={yes,-2em,first},
   before={\startnarrower[2em]},
   after=\stopnarrower,
%   style={\setupalign[flushleft,nothyphenated]},
   style={\raggedright\nohyphens},
   ]

@Hans, can you change \setupalign to

\unexpanded\def\setupalign
  {\dosingleargument\dosetupalign}

else it can't be used in the style key.

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] Which packages?

2010-03-29 Thread Wolfgang Schuster

Am 29.03.10 17:48, schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

Hello,

I'm new to ConTeXt; I've been working with LaTeX but I'd like to try 
ConTeXt due to some reasons.


The question is -

- is there a manual, web site or something where comparison of 
LaTeX/ConTeXt packages/modules would be done?


I'm interested how to include a part of a text file and how to insert 
some pages of another .pdf file.


Normally I was using the fancyvrb (\VerbatimInput) + option 
firstline=... and lastline=... respectively and pdfpages 
(\includepdf} + pages=... LaTeX packages; what's the equivalent for 
them in ConTeXt?


Is there a place where to study module/package 
similarities/equivalences?

http://wiki.contextgarden.net/Latex_Packages

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] Which packages?

2010-03-29 Thread Hans Hagen

On 29-3-2010 17:58, Wolfgang Schuster wrote:

Am 29.03.10 17:48, schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

Hello,

I'm new to ConTeXt; I've been working with LaTeX but I'd like to try
ConTeXt due to some reasons.

The question is -

- is there a manual, web site or something where comparison of
LaTeX/ConTeXt packages/modules would be done?

I'm interested how to include a part of a text file and how to insert


verbatim? not that hard to support that (you're the first one to ask) 
 next beta will have this (a 10 minute extension)


% label:start:one

\def\MyMacro
  {just an example}

% label:stop:one

\starttext

% \typefile[file][lines={3,6}]{whatever.tex}

% \typefile[file][lines={3,+2}]{whatever.tex}

\typefile[file][lines={label:start:one,label:stop:one}]{whatever.tex}

\stoptext


some pages of another .pdf file.


\externalfigure[yourfile][page=123]


Normally I was using the fancyvrb (\VerbatimInput) + option
firstline=... and lastline=... respectively and pdfpages
(\includepdf} + pages=... LaTeX packages; what's the equivalent for
them in ConTeXt?

Is there a place where to study module/package
similarities/equivalences?

http://wiki.contextgarden.net/Latex_Packages

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
___




--

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

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


Re: [NTG-context] Which packages?

2010-03-29 Thread Mojca Miklavec
2010/3/29 Procházka Lukáš Ing. - Pontex s. r. o. wrote:

 - is there a manual, web site or something where comparison of LaTeX/ConTeXt
 packages/modules would be done?

 I'm interested how to include a part of a text file and how to insert some
 pages of another .pdf file.

 Normally I was using the fancyvrb (\VerbatimInput) + option firstline=...
 and lastline=... respectively

A lot of ConTeXt experts do not know what LaTeX packages do. You'll
usually get a faster response by describing the desired functionality
rather than option name from LaTeX.

It would seem like the option you need is there, but it doesn't seem
to work. There are some examples is ConTeXt source:

\setuptyping[file][numbering=file]

\starttext
\typefile[start=2,nlines=3]{zapf}
\typefile[start=3,step=2]{zapf}
\stoptext

But they neither work properly in mkii nor in mkiv (a different bug in each).

 and pdfpages (\includepdf} + pages=...
 LaTeX packages; what's the equivalent for them in ConTeXt?

http://wiki.contextgarden.net/Including_pages_from_PDF_document

 Is there a place where to study module/package
 similarities/equivalences?

Apart for the page mentioned by Wolfgang, probably not. Usually people
ask on the list if some functonality is missing. Many packages are not
needed since the same functionality is offered by ConTeXt core.

Some external modules offer very special functionality (like lilypond,
gnuplot, vim, games, r ...), some offer simplified approach to methods
that are otherwise doable with more effort (simplefonts, simpleslides,
...), some offer support for non-standard fonts, ...

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] Hanging indent in startstoplines for poems

2010-03-29 Thread Hans Hagen

On 29-3-2010 17:53, Wolfgang Schuster wrote:

Am 29.03.10 17:29, schrieb Torsten Suhling:


Hello,

I have a question regarding hanging indentation in
startstoplines-environment.

So I try to use ConTeXt to typeset poems. In some texts/poems
ar long lines, which have to be broken. They should be broken
into hanging indentations.

Any idea how to do that?

\definelines
[verse]
[indenting={yes,-2em,first},
before={\startnarrower[2em]},
after=\stopnarrower,
% style={\setupalign[flushleft,nothyphenated]},
style={\raggedright\nohyphens},
]

@Hans, can you change \setupalign to

\unexpanded\def\setupalign
{\dosingleargument\dosetupalign}

else it can't be used in the style key.


sure, but i'd expected you to implement a proper align=... then -)

i made a few more in that module unexpanded

i'll upload a beta in a couple of minutes so you were just in time

Hans

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

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


[NTG-context] missing \xmldoifelseempty's

2010-03-29 Thread Hans van der Meer
Why are \xmldoifelseempty and \xmldoifelseselfempty commented out in  
lxml-ini.mkiv? I thought to make good use of them.

Now I get the error:
! Undefined control sequence.
\@@su:xml:cdcase:recording #1-\xmldoifelseempty
 {#1}{}{}{Recording:

Hans van der Meer




___
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] Hanging indent in startstoplines for poems

2010-03-29 Thread Wolfgang Schuster

Am 29.03.10 18:51, schrieb Hans Hagen:

@Hans, can you change \setupalign to

\unexpanded\def\setupalign
  {\dosingleargument\dosetupalign}

else it can't be used in the style key.

sure, but i'd expected you to implement a proper align=... then -)
no problem but what comes next, spacebefore/after, setups, 
interlinespace ...


new keys are a way is it a good idea to add a new one just to use have a 
setup function like alignment?


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] Beta version 2010.03.29 18:49: mkiv broken?

2010-03-29 Thread Otared Kavian
Hi all,

After reading a message of Hans to Wolfgang Schuster, saying that there was a 
new beta, I updated the minimals as usual, and it seems that mkiv is broken 
now, while mkii works fine:

ConTeXt  ver: 2010.03.29 18:49 MKII  fmt: 2010.3.29  int: english/english

Has something changed in first-setup.sh, or the way mkiv should work?
I am sure Mojca has an idea on the issue :-)

Best regards: OK
___
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] Stack overflow

2010-03-29 Thread views63
2010/3/29 Hans Hagen pra...@wxs.nl:
 On 29-3-2010 15:35, Hans Hagen wrote:
 i found the place where the recursion occurs but that's not really the
 problem

 the problem is in the runner which does not stip the path right

 will be fixed in next beta

In the new beta also has problem

in TeXworks:

MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
MTXrun | fileio: remembering file 'mtx-context.lua'
MTXrun | fileio: remembering file 'mtx-contexts.lua'
MTXrun | fileio: remembering file 'mtx-context.lua'
MTXrun | fileio: remembering file 'context.lua'
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

from the command line:

MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
___
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
___