Re: [NTG-context] upto current

2013-03-22 Thread Keith J. Schultz
Hi All,

Maybe, we could setup a collaborative work group to do the documentation.

That is a group of us are responsible for certain groups of commands. This way
the manuals can become more complete. That way some of the more advance
stuff that is hardly documented finally gets documented.

What we would need is a specification for:
1) how the command and its parameters are portrayed
2) full description of defaults values and their effects and side 
effects
3) general intention of the command its parameters
4) MWEs describing the standard use of all parameters
5) MWEs for non standard use (Advanced technics)
6) standrad way for referencing other commands

If everybody follows the conventions we can then combine all the parts to a 
comprehensive manuals. They will work as a reference and tutorial. 

When something new is introduced the group is informed and can update their
subject(s). 

I would be willing to help. Any other takers?

regards
Keith.


 
Am 21.03.2013 um 15:26 schrieb Marcin Borkowski mb...@wmi.amu.edu.pl:

 Dnia 2013-03-21, o godz. 11:32:01
 Alan BRASLAU alan.bras...@cea.fr napisał(a):
 
 On Thu, 21 Mar 2013 11:19:24 +0100
 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote:
 
 Marcin wasn't talking about organizing the wiki page, but about
 writing up-to-date and complete manuals (in PDF) which is nearly
 impossible with the speed that Hans keeps developing ConTeXt ;).
 
 Unless we find funding somewhere to assign someone sufficiently
 competent to work full-time for Hans just to write and maintain
 documentation.
 
 This is not a bad idea if only we could get it sponsored...
 
 I have an impression that I heard about something similar to GSoC, but
 for writing docs...
 
 Also, it might not need a full-time job, even if you want to keep up
 with Hans' speed.  And even a good free book on, say, a snapshot of
 ConTeXt from some point in time (later than official manuals) would be
 useful.
 

___
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] command reference (was: upto current)

2013-03-22 Thread Peter Münster
Hi Keith,

What about one lua table per command?
See also:
- http://meeting.contextgarden.net/2010/talks/2010-09-14-peter-referencelua/
- http://thread.gmane.org/gmane.comp.tex.context.devel/1507
- https://foundry.supelec.fr/scm/viewvc.php/context-commands/?root=contextman

-- 
   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] Bug in \column

2013-03-22 Thread Xan

Al 21/03/13 23:58, En/na Wolfgang Schuster ha escrit:

Am 21.03.2013 um 09:40 schrieb Xan dxpubl...@telefonica.net:


Thanks guys for trying to solve which I definitely tag as a bug ;-). It seems 
there is no faster solution but surely Hans will find one ;-) By the user 
perspective it's an annoying behaviour and I have to change manually the 
paragraphs (adding \{*}skip commands). I think you will find a solution at the 
end. It's too much technical discussion for me. I'm sorry I can't do anything 
else. But I'm glad to see this discussion (so mantain me as CC)

If I could do anything, please say to me.

Can you test your example with the mixedcolumns environment
instead of the normal columns environment (use the latest beta).

Wolfgang
Yes, ofcourse. But what steps I have to do for that. I'm running context 
minimals (I don't know if stable or beta).



Thanks,
Xan.
___
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] Bug in \column

2013-03-22 Thread Xan

Al 21/03/13 23:58, En/na Wolfgang Schuster ha escrit:
Can you test your example with the mixedcolumns environment instead of 
the normal columns environment (use the latest beta). Wolfgang 

My current version of context is:

2012.07.27 16:41

(context --version produces this)

Sorry,
Xan.
___
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] command reference (was: upto current)

2013-03-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

On Fri, 22 Mar 2013 09:26:20 +0100, Peter Münster pmli...@free.fr wrote:


Hi Keith,

What about one lua table per command?
See also:
- http://meeting.contextgarden.net/2010/talks/2010-09-14-peter-referencelua/


this looks nice.

Some connection to wiki would be useful, too - once a command definition is 
prepared for PDF manual, it would be good to have a generator which would 
convert and add info to wiki.

I don't know whether it is possible; and I'm aware that much efforts of many 
contributors were passed to wiki...

But I'm thinking about how to avoid doubling documentation work
(not: wiki - PDF - whatever, but: something (be it Lua) - {PDF, wiki, 
whatever}).

Best regards,

Lukas



- http://thread.gmane.org/gmane.comp.tex.context.devel/1507
- https://foundry.supelec.fr/scm/viewvc.php/context-commands/?root=contextman




--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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] Bug in \column

2013-03-22 Thread Xan

Al 21/03/13 23:58, En/na Wolfgang Schuster ha escrit:

Am 21.03.2013 um 09:40 schrieb Xan dxpubl...@telefonica.net:


Thanks guys for trying to solve which I definitely tag as a bug ;-). It seems 
there is no faster solution but surely Hans will find one ;-) By the user 
perspective it's an annoying behaviour and I have to change manually the 
paragraphs (adding \{*}skip commands). I think you will find a solution at the 
end. It's too much technical discussion for me. I'm sorry I can't do anything 
else. But I'm glad to see this discussion (so mantain me as CC)

If I could do anything, please say to me.

Can you test your example with the mixedcolumns environment
instead of the normal columns environment (use the latest beta).

Wolfgang
Now I have the beta context version. Now I want to use in my example 
mixedcolumns. But nothing in the wiki is present of how to work 
mixedcolumns.


Xan.
___
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] Bug in \column

2013-03-22 Thread Xan

Al 21/03/13 23:58, En/na Wolfgang Schuster ha escrit:

Am 21.03.2013 um 09:40 schrieb Xan dxpubl...@telefonica.net:


Thanks guys for trying to solve which I definitely tag as a bug ;-). It seems 
there is no faster solution but surely Hans will find one ;-) By the user 
perspective it's an annoying behaviour and I have to change manually the 
paragraphs (adding \{*}skip commands). I think you will find a solution at the 
end. It's too much technical discussion for me. I'm sorry I can't do anything 
else. But I'm glad to see this discussion (so mantain me as CC)

If I could do anything, please say to me.

Can you test your example with the mixedcolumns environment
instead of the normal columns environment (use the latest beta).

Wolfgang

Yes, it works perfectly (I attach my example).

Can someone put reference on wiki on such environment? Useful for novice 
users like me.


Thanks for all,
Xan.
\enableregime[utf]
\setupbodyfont [cmr,11pt]
\mainlanguage[ca]
\setuppagenumbering [location={footer}]
\setuppapersize [A4]
\setuplayout[topspace=1.5cm,margin=1.5cm,header=1.5cm,footer=1.5cm,width=fit,height=fit,backspace=1.5cm]
\setuphead[title][align={center},style={\sca}, after={\medskip}]
\setuphead[subject][after={\hrule\medskip}]

% AMSTHM
\defineenumeration
  [exercici]
  [text={Exercici},headstyle=bold,between=\blank,textdistance=1em,
stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,headstyle=\ss,title=yes,titlestyle=\ss,titledistance=.5em]


% Heads and footers
\setupfootertexts[\pagenumber]
\setupfooter[text][before=\hrule]
\setupheader[text][after=\hrule]
\setupheadertexts[{\tfx \mid IES Binissalem \mid 4t D \mid MAT \mid }][{\tfx Sistemes d'equacions \mid Examen \mid 15/3/2012 \mid}]

% underline
\setupunderbar[alternative=b]


\starttext

\title{Examen de Matemàtiques}

\bigskip
\startframedtext[width=broad, location=middle, before={}]
\startalignment[middle]
Feis l'opció comuna de totes maneres i, després, trieu entre l'Opció A o l'Opció B
\stopalignment
\stopframedtext

\subject{Part comuna}

\startcolumns

\startexercici Resoleu emprant el mètode de substitució:

\placeformula
\startformula
\startmathalignment
\NC x + 3y \NC = 9 \NR[+]
\NC 2x - y \NC = 3 \NR
\stopmathalignment
\stopformula

\stopexercici

\startexercici Resoleu pel mètode de reducció:
\placeformula
\startformula
\startmathalignment
\NC 3x + 7y \NC = -23 \NR[+]
\NC 5x + 4y \NC = -23 \NR
\stopmathalignment
\stopformula

\stopexercici

\stopcolumns


\subject{Opció A}

\startexercici Resoleu pel mètode que vulgueu:

\placeformula
\startformula
\startmathalignment
\NC \frac{x}{3} + \frac{4y}{5} - 3(x+y) \NC = -19 \NR[+]
\NC \frac{3x}{3} - \frac{1}{3} (y-5) \NC = 3 \NR
\stopmathalignment
\stopformula

\stopexercici


\subject{Opció B}

\startmixedcolumns

\startexercici Resoleu aquest sistema pel mètode que vulgueu:

\placeformula
\startformula
\startmathalignment
\NC -2x - y \NC = -11 \NR[+]
\NC 3x - y \NC = 9 \NR
\stopmathalignment
\stopformula

\stopexercici
%\bigskip

\column

\startexercici Resoleu el sistema següent pel mètode que considereu oportú:

\placeformula
\startformula
\startmathalignment
\NC 2x + \frac{5y}{2} \NC = 7 \NR[+]
\NC -3x + y \NC = -1 \NR
\stopmathalignment
\stopformula
\stopexercici

\stopmixedcolumns

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

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

Re: [NTG-context] command reference

2013-03-22 Thread Peter Münster
On Fri, Mar 22 2013, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

 Some connection to wiki would be useful, too - once a command definition is
 prepared for PDF manual, it would be good to have a generator which would
 convert and add info to wiki.

Exporting to whatever format you want should be no problem with lua.


 But I'm thinking about how to avoid doubling documentation work
 (not: wiki - PDF - whatever, but: something (be it Lua) - {PDF, wiki, 
 whatever}).

Yes!

-- 
   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] command reference

2013-03-22 Thread Hans Hagen

On 3/22/2013 11:11 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

On Fri, 22 Mar 2013 09:26:20 +0100, Peter Münster pmli...@free.fr wrote:


Hi Keith,

What about one lua table per command?
See also:
-
http://meeting.contextgarden.net/2010/talks/2010-09-14-peter-referencelua/



this looks nice.

Some connection to wiki would be useful, too - once a command definition
is prepared for PDF manual, it would be good to have a generator which
would convert and add info to wiki.

I don't know whether it is possible; and I'm aware that much efforts of
many contributors were passed to wiki...

But I'm thinking about how to avoid doubling documentation work
(not: wiki - PDF - whatever, but: something (be it Lua) - {PDF,
wiki, whatever}).


Wolfgang has redone many of the xml defs (not yet finished afaik). 
anyway, as long as I can construct a cont-en.xml file from whatever 
data it's fine for me (manipulating and filtering xml is rather 
convenient.)


Makes me wonder ... did anyone ever look into

http://sputnik.freewisdom.org/en/Lua

it stores info in lua and it could probably be used for managing such a 
reference beast.


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] upto current

2013-03-22 Thread Bill Meahan

On 03/22/2013 03:31 AM, Keith J. Schultz wrote:

Hi All,

Maybe, we could setup a collaborative work group to do the documentation.

That is a group of us are responsible for certain groups of commands. This way
the manuals can become more complete. That way some of the more advance
stuff that is hardly documented finally gets documented.

What we would need is a specification for:
   [snip]
In 45+ years of programming[1] it has never ceased to amaze me how 
the wheel has to be reinvented for every new system whether 
language, macro package or whatever. Why do it again? Why not adopt 
some documentation system that is already widely-used and for which 
infrastructure and knowledge of use is already in place?


I have no investment in any particular system. I'm happily 
generating other types of non-computer-related documents using 
reStructuredText since I can easily convert that various publication 
formats as required without separate source files for each format. 
It seems to me docutils has everything that would be needed to 
document ConTeXt and is very widely used given the popularity of 
Python (which makes me cringe). If doxygen or something else would 
work better, so be it. The point is, **use something that exists 
instead of expending time and effort reinventing the wheel yet again!**


[1] I was, am and will be a programmer and not a software 
developer or software engineer. The term adequately depicts what 
I did/do while the others are simply too pretentious. Find the old 
article Real Programmers Don't Use Pascal in an archive somewhere 
-- I've been a real programmer and I suspect Hans is, too. :)


Sorry for the rants but it is so frustrating to have to install so 
many different language support and documentation systems simply 
because I use FOSS tools exclusively.


--
Bill Meahan
Westland, Michigan USA

___
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] upto current

2013-03-22 Thread Taco Hoekwater


Hi Bill,

On 03/22/2013 03:19 PM, Bill Meahan wrote:


What we would need is a specification for:
   [snip]

In 45+ years of programming[1] it has never ceased to amaze me how the
wheel has to be reinvented for every new system whether language, macro
package or whatever. Why do it again? Why not adopt some documentation
system that is already widely-used and for which infrastructure and
knowledge of use is already in place?


I do not want to dig into the documentation discussion (I have no time
for that), but your reply did make me want to respond to the analogy.

In fact, I have a return question for the Why reinvent the wheel? :

   Why do bicycles not come equipped with tractor wheels?

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] upto current

2013-03-22 Thread luigi scarso
On Fri, Mar 22, 2013 at 3:32 PM, Taco Hoekwater t...@docwolves.nl wrote:
Why do bicycles not come equipped with tractor wheels?
hm... they do !
http://www.youtube.com/watch?v=vGGlODF7_RY


--
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] command reference (was: upto current)

2013-03-22 Thread Sietse Brouwer
Hi all,

Peter wrote:
 What about one lua table per command?
 See also:
 - http://meeting.contextgarden.net/2010/talks/2010-09-14-peter-referencelua/

Lukáš wrote:
 Some connection to wiki would be useful, too - once a command
 definition is prepared for PDF manual, it would be good to have
 a generator which would convert and add info to wiki.

 But I'm thinking about how to avoid doubling documentation work
 (not: wiki - PDF - whatever, but: something (be it Lua) - {PDF, wiki,
 whatever}).

Hello all,

As regards the question 'where/how to store a the master information
of the command reference'; I' been thinking on that for a while, and I
believe on the wiki / in structured wiki templates is the best
answer.

This is not because the wiki syntax is so nice -- as far as that goes,
Lua is nicer. But: the wiki is massively more visible than any file or
directory in the standalone could ever be.

These are advantages the wiki copy has over other copies:

A. It is the most visible copy
B. It is the easiest copy for people to edit
C. It has versioning and contributor-tracking built-in
D. The wiki will always receive contributions. If it is also the
master copy, we don't have to backmerge the contributions into some
other file.
E. The wiki updates immediately when people edit it.
F. There exists a form-based editor for wiki pages, to ensure people
use the template. Example:
http://discoursedb.org/w/index.php?title=Picture_IDs_are_perfectly_sensibleaction=formedit
G. There exists an extension to mark versions as 'reviewed'.

Now, creating a suitable template is core to this plan. Since that is
(1) a rather tricky problem, (2) one that I want to solve anyway
(because even if we go Lua-based, we still want a wiki template to
write to), I will open a separate e-mail thread on the subject.

== How to make sure people use the template? ==

The Semantic Forms extension means that with one click of the button,
you are taken to a semantic form to create or edit (part of) a command
page. You fill in the fields; the extension enters the field values
into the proper bits of the template. You can add descriptions of what
to write in the field.

http://www.mediawiki.org/wiki/Extension:Semantic_Forms
Example of how such a form will look:
http://discoursedb.org/w/index.php?title=Picture_IDs_are_perfectly_sensibleaction=formedit


== How do we know we can trust wiki edits? ==

For that, there is the MediaWiki extension Flagged Revisions, to mark
versions as approved. It is used by wikibooks, inter alia.
http://www.mediawiki.org/wiki/Extension:FlaggedRevs

Cheers,

Sietse
___
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] upto current

2013-03-22 Thread Hans Hagen

On 3/22/2013 3:19 PM, Bill Meahan wrote:

On 03/22/2013 03:31 AM, Keith J. Schultz wrote:

Hi All,

Maybe, we could setup a collaborative work group to do the documentation.

That is a group of us are responsible for certain groups of commands.
This way
the manuals can become more complete. That way some of the more advance
stuff that is hardly documented finally gets documented.

What we would need is a specification for:
   [snip]

In 45+ years of programming[1] it has never ceased to amaze me how the
wheel has to be reinvented for every new system whether language, macro
package or whatever. Why do it again? Why not adopt some documentation
system that is already widely-used and for which infrastructure and
knowledge of use is already in place?

I have no investment in any particular system. I'm happily generating
other types of non-computer-related documents using reStructuredText
since I can easily convert that various publication formats as required
without separate source files for each format. It seems to me docutils
has everything that would be needed to document ConTeXt and is very
widely used given the popularity of Python (which makes me cringe). If
doxygen or something else would work better, so be it. The point is,
**use something that exists instead of expending time and effort
reinventing the wheel yet again!**

[1] I was, am and will be a programmer and not a software developer
or software engineer. The term adequately depicts what I did/do while
the others are simply too pretentious. Find the old article Real
Programmers Don't Use Pascal in an archive somewhere -- I've been a
real programmer and I suspect Hans is, too. :)

Sorry for the rants but it is so frustrating to have to install so many
different language support and documentation systems simply because I
use FOSS tools exclusively.


I can only speak for myself, but

- I did my share of programming (pascal, modula 2) when I university but 
at that time documentation was mostly in-source. My background is 
educational technology and not programming but I always ended up doing 
that. (I still have a stack of old listings somewhere of a formatter 
that I wrote for vms that took some kind of tagged ascii and paginated 
that etc.)


- Later on when I ended up in educational consultancy and development of 
all kind of educational stuff, context was developed simply because we 
needed a flexible typesetting tool. We also developed tools and 
workflows around it. Ha, there was no internet, at least not for us, so 
we didn't even know what else was around.


- So, whenever I have to write some documentation, I use context itself, 
after all, one needs to typeset examples. I normally pay a lot of 
attention to the document source code and can live with some tagging. If 
I had to do that in some * ** == --  based ascii text format or 
whatever, I'd probably never write manuals (too much hassle to go beyond 
the obvious and not looking nice either, but that's personal).


- When I started with the command specification in xml, it was also 
because xml is easy to process, and (in mkiv) we can also easily filter 
based on expresssions. So, for that xml is quite natural for me. Just as 
nowadays lua is my natural choice and most of my current docs are a mix 
of mp, lua and tex, also depending on what looks nicest in document source.


- I happily leave additional documentation to others and whoever does 
that should should the tools he/she likes most. In these days one can 
always convert.


- But, to come back to your last comment: tex can typeset its own 
documentation so that's a rather natural choice for part of it.


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
___


[NTG-context] Hiding text

2013-03-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

is it possible to define a start-stop command to hide text within?

Something like:

\definestartstop[Hidden][before=\starthiding,after=\stophiding]

TIA.

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

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

2013-03-22 Thread Meer H. van der
Is the \widowpenalty for avoiding short single lines at the top of the page 
functional in ConTeXt? Or is there another setup to be done? I find a situation 
where \widowpenalty=1 doesn't make a difference. But it is not easily 
decided if the TeX-engine could have done nothing in this special case or if 
the parameter is not functional.

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] wiki page for \feature

2013-03-22 Thread Sietse Brouwer
Dear Idris,

I have merged your output graphic into the article --- perhaps a bit
large, but I wanted to be sure the features were legible. Thank you
for including the PDF, that made things easier.

I have taken the liberty of moving the page title to [[Featuresets]]
---easier to remember, I think, and easier to link to. I've updated
your redirects, of cours. [[Open Type Font Features]], [[Open Type
Fonts and Featuresets in MkIV]], and [[Font features]] all redirect
there.

http://wiki.contextgarden.net/Featuresets#Sample_file_with_examples

Thank-you for writing this article, it is much appreciated.
Sietse

On 22 March 2013 00:01, Idris Samawi Hamid ادريس   سماوي حامد
isha...@colostate.edu wrote:
 Dear gang,

 I made a wiki page for \feature et al:

 http://wiki.contextgarden.net/Open_Type_Fonts_and_Featuresets_in_MkIV

 Towards the end we need a graphical sample of the sample file, but I do not
 know how to do that. See

 ===
 Now let us review the results:

 [output/graphic here]
 ===

 I have to move on to other projects so I'm leaving completion and
 improvement to others in the community. Here is the sample file (needs
 latest beta! pdf attached as well) that needs graphical output on the page:

 ==
 \definefontfeature
   [schola-preset]
   [mode=node,script=latn,language=dflt,kern=yes,liga=yes,lnum=yes]

  \starttypescript [serif] [schola-preset] [name]
  \definefontsynonym [Serif]
 [name:texgyreschola-regular.otf][features=schola-preset]
  \stoptypescript

  \starttypescript [serif] [schola-preset] [size]
 \definebodyfont
  [35.8pt,29.8pt,24.8pt,20.7pt,17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt]
  [rm]
  [tf=Serif sa 1]
  \stoptypescript

  \starttypescript [schola-default]
  \definebodyfontenvironment
   [schola-default]
   [default]
   [interlinespace=2.7ex]
 \definetypeface [schola-default] [rm] [serif] [schola-preset]
 [schola-preset] % [default]
  \stoptypescript

  \usetypescript[schola-default]
  \setupbodyfont[schola-default,12pt]

 \definefontfeature[f:smallcaps] [smcp=yes]
 \definefontfeature[f:thinimacron]   [ss04=yes]
 \definefontfeature[f:upsidedown][dlig=yes]


 \definefontfeature[f:newstyle]  [onum=no]
 \definefontfeature[f:nocaps][smcp=no]
 \definefontfeature[f:wideimacron]   [ss04=no]
 \definefontfeature[f:rightsideup]   [dlig=no]


 \definefontfeature[f:ligatures] [liga=yes]
 \definefontfeature[f:noligatures]   [liga=no]

 \definefontfeature[f:oldstyle]  [onum=yes,lnum=no]

 \definefontfeature[f:oldstyleupsidedown][onum=yes,dlig=yes]
 \definefontfeature[f:newstylerightsideup]   [onum=no,dlig=no]

 \definefontfeature[f:oldstylewmacron]   [ss04=no,onum=yes]
 \definefontfeature[f:newstylesmallcaps] [smcp=yes,onum=no]

 \startTEXpage[offset=10pt]

 \define\SAMPLE{123 Idrīs ?` !` VA fi}

 \SAMPLE\blank

 \feature[+][f:oldstyle] \SAMPLE \blank
 \feature[more][f:thinimacron]   \SAMPLE \blank
 \addfeature[f:upsidedown]   \SAMPLE \blank

 \feature[+][f:smallcaps]\SAMPLE \blank
 \addfeature[f:wideimacron]  \SAMPLE \blank

 \feature[-][f:upsidedown]   \SAMPLE \blank

 \feature[=][f:oldstyleupsidedown]\SAMPLE \blank

 \feature[!][f:smallcaps]\SAMPLE \blank

 \feature[] \SAMPLE \blank
 \stopTEXpage
 ==

 Thanks and best wishes
 Idris
 --
 Professor Idris Samawi Hamid
 Department of Philosophy
 Colorado State University
 Fort Collins, CO 80523
 ___
 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] Hiding text

2013-03-22 Thread Sietse Brouwer
 is it possible to define a start-stop command to hide text within?

 Something like:

 \definestartstop[Hidden][before=\starthiding,after=\stophiding]

Just define any buffer, and don't call \getbuffer[mybuffer]. Buffers
are not typeset, by default, until you get them. The below is
shamelessly adapted from Hans's \starthiding (which already exists):

\definebuffer[Hidden]
% uncomment the below to turn this into a non-hiding buffer.
% \setupbuffer[Hidden][after={\getbuffer[Hidden]}]



\startHidden
asdf asdf
\stopHidden

Cheers,
Sietse
___
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] Hiding text

2013-03-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

interesting trick; however, it doesn't work when used inside a macro:


\definebuffer[Hidden]

\def\WWW{
  \startHidden
DDD
  \stopHidden
}

\starttext
  AAA

  \startHidden
BBB
  \stopHidden

  \WWW
\stoptext


Any idea?

TIA.

Best regards,

Lukas


On Fri, 22 Mar 2013 16:42:27 +0100, Sietse Brouwer sbbrou...@gmail.com wrote:


is it possible to define a start-stop command to hide text within?

Something like:

\definestartstop[Hidden][before=\starthiding,after=\stophiding]


Just define any buffer, and don't call \getbuffer[mybuffer]. Buffers
are not typeset, by default, until you get them. The below is
shamelessly adapted from Hans's \starthiding (which already exists):

\definebuffer[Hidden]
% uncomment the below to turn this into a non-hiding buffer.
% \setupbuffer[Hidden][after={\getbuffer[Hidden]}]



\startHidden
asdf asdf
\stopHidden

Cheers,
Sietse



--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

t-Hid.mkiv
Description: Binary data
___
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] command reference (was: upto current)

2013-03-22 Thread Sietse Brouwer
 Peter wrote:
 What about one lua table per command?
 See also:
 - http://meeting.contextgarden.net/2010/talks/2010-09-14-peter-referencelua/

NB1: I waffled a lot about wiki templates in the previous e-mail, but
of course it is also an option to use the Lua tables format and store
those files on the wiki. That gives us the visibility and editability
of the wiki without binding us to the wiki template format.

--Sietse

On 22 March 2013 15:42, Sietse Brouwer sbbrou...@gmail.com wrote:
 Hi all,

 Peter wrote:
 What about one lua table per command?
 See also:
 - http://meeting.contextgarden.net/2010/talks/2010-09-14-peter-referencelua/

 Lukáš wrote:
 Some connection to wiki would be useful, too - once a command
 definition is prepared for PDF manual, it would be good to have
 a generator which would convert and add info to wiki.

 But I'm thinking about how to avoid doubling documentation work
 (not: wiki - PDF - whatever, but: something (be it Lua) - {PDF, wiki,
 whatever}).

 Hello all,

 As regards the question 'where/how to store a the master information
 of the command reference'; I' been thinking on that for a while, and I
 believe on the wiki / in structured wiki templates is the best
 answer.

 This is not because the wiki syntax is so nice -- as far as that goes,
 Lua is nicer. But: the wiki is massively more visible than any file or
 directory in the standalone could ever be.

 These are advantages the wiki copy has over other copies:

 A. It is the most visible copy
 B. It is the easiest copy for people to edit
 C. It has versioning and contributor-tracking built-in
 D. The wiki will always receive contributions. If it is also the
 master copy, we don't have to backmerge the contributions into some
 other file.
 E. The wiki updates immediately when people edit it.
 F. There exists a form-based editor for wiki pages, to ensure people
 use the template. Example:
 http://discoursedb.org/w/index.php?title=Picture_IDs_are_perfectly_sensibleaction=formedit
 G. There exists an extension to mark versions as 'reviewed'.

 Now, creating a suitable template is core to this plan. Since that is
 (1) a rather tricky problem, (2) one that I want to solve anyway
 (because even if we go Lua-based, we still want a wiki template to
 write to), I will open a separate e-mail thread on the subject.

 == How to make sure people use the template? ==

 The Semantic Forms extension means that with one click of the button,
 you are taken to a semantic form to create or edit (part of) a command
 page. You fill in the fields; the extension enters the field values
 into the proper bits of the template. You can add descriptions of what
 to write in the field.

 http://www.mediawiki.org/wiki/Extension:Semantic_Forms
 Example of how such a form will look:
 http://discoursedb.org/w/index.php?title=Picture_IDs_are_perfectly_sensibleaction=formedit


 == How do we know we can trust wiki edits? ==

 For that, there is the MediaWiki extension Flagged Revisions, to mark
 versions as approved. It is used by wikibooks, inter alia.
 http://www.mediawiki.org/wiki/Extension:FlaggedRevs

 Cheers,

 Sietse
___
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] Hiding text

2013-03-22 Thread Sietse Brouwer
On 22 March 2013 17:05, Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz wrote:

 interesting trick; however, it doesn't work when used inside a macro:
 Any idea?

Nope, sorry. It smells like something to do with expansion; all I know
about expansion is that it causes problems (sometimes) when there are
macros inside macros. But it might not be expansion.

I hope that helps, but it probably doesn't. ;-)

--Sietse

 Hello,

 interesting trick; however, it doesn't work when used inside a macro:

 
 \definebuffer[Hidden]

 \def\WWW{
   \startHidden
 DDD
   \stopHidden
 }

 \starttext
   AAA

   \startHidden
 BBB
   \stopHidden

   \WWW
 \stoptext
 

 Any idea?

 TIA.

 Best regards,

 Lukas



 On Fri, 22 Mar 2013 16:42:27 +0100, Sietse Brouwer sbbrou...@gmail.com
 wrote:

 is it possible to define a start-stop command to hide text within?

 Something like:

 \definestartstop[Hidden][before=\starthiding,after=\stophiding]


 Just define any buffer, and don't call \getbuffer[mybuffer]. Buffers
 are not typeset, by default, until you get them. The below is
 shamelessly adapted from Hans's \starthiding (which already exists):

 \definebuffer[Hidden]
 % uncomment the below to turn this into a non-hiding buffer.
 % \setupbuffer[Hidden][after={\getbuffer[Hidden]}]

 

 \startHidden
 asdf asdf
 \stopHidden

 Cheers,
 Sietse



 --
 Ing. Lukáš Procházka [mailto:l...@pontex.cz]
 Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
 Bezová 1658
 147 14 Praha 4

 Tel: +420 244 062 238
 Fax: +420 244 461 038

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

2013-03-22 Thread Wolfgang Schuster

Am 22.03.2013 um 16:25 schrieb Meer H. van der h.vanderm...@uva.nl:

 Is the \widowpenalty for avoiding short single lines at the top of the page 
 functional in ConTeXt? Or is there another setup to be done? I find a 
 situation where \widowpenalty=1 doesn't make a difference. But it is not 
 easily decided if the TeX-engine could have done nothing in this special case 
 or if the parameter is not functional.

http://www.ntg.nl/pipermail/ntg-context/2012/069848.html

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

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


Re: [NTG-context] Hiding text

2013-03-22 Thread Wolfgang Schuster

Am 22.03.2013 um 16:18 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 Hello,
 
 is it possible to define a start-stop command to hide text within?
 
 Something like:
 
 \definestartstop[Hidden][before=\starthiding,after=\stophiding]

\usemodule[annotation]

\defineannotation[Hidden][alternative=none]

\starttext

A \Hidden{B} C

A \startHidden B\stopHidden C

\stoptext

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] Hiding text

2013-03-22 Thread Hans Hagen

On 3/22/2013 5:36 PM, Sietse Brouwer wrote:

On 22 March 2013 17:05, Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz wrote:


interesting trick; however, it doesn't work when used inside a macro:
Any idea?


Nope, sorry. It smells like something to do with expansion; all I know
about expansion is that it causes problems (sometimes) when there are
macros inside macros. But it might not be expansion.


\def\starthidden#1\stophidden{}

-
  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] command reference

2013-03-22 Thread Hans Hagen

On 3/22/2013 5:07 PM, Sietse Brouwer wrote:

Peter wrote:

What about one lua table per command?
See also:
- http://meeting.contextgarden.net/2010/talks/2010-09-14-peter-referencelua/


NB1: I waffled a lot about wiki templates in the previous e-mail, but
of course it is also an option to use the Lua tables format and store
those files on the wiki. That gives us the visibility and editability
of the wiki without binding us to the wiki template format.


isn't wikimedia lua aware nowadays?

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
___


[NTG-context] 2013.03.21 broken nightly?

2013-03-22 Thread Kip Warner
Hey list,

The last few nightlies, including the most recent one I have installed,
2013.03.21, keeps bailing when attempting to typeset one of my documents
with the same error:

! Undefined control sequence.
argument \sf 
   :\v!style :\v!serif 
\setvalue #1-\expandafter \def \csname #1
  \endcsname 
l.256 \setvalue{\sf:\v!style :\v!serif  }
 {rm}
E
? You want to edit
file /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.mkvi 
at line 256

mkiv lua stats   used config
file: /usr/share/texmf/web2c/texmfcnf.lua
! LuaTeX error local type = type...:21: attempt to concatenate
a table value.
argument \sf 
   :\v!style :\v!serif 
\setvalue #1-\expandafter \def \csname #1
  \endcsname 
l.256 \setvalue{\sf:\v!style :\v!serif  }
 {rm}

The line it is referring to contains the following:

\setvalue{\sf:\v!style :\v!serif  }{rm}

I hope that is helpful.

PS Please cc me, as my subscription is not currently active.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

[NTG-context] Fwd: [NTG-leden] Fwd: EuroBachoTeX 2013: Communication and typography

2013-03-22 Thread Willi Egger
Dear friends!

It looks likely that we will have again a great conference in Bachotek: the 
Euro-BachoTeX 2013. -- So please to consider the community there!

Kind regards

Willi Egger
Secretetary CG

Begin forwarded message:

 From: Willi Egger w.eg...@boede.nl
 Subject: [NTG-leden] Fwd: EuroBachoTeX 2013: Communication and typography
 Date: March 22, 2013 9:44:15 PM GMT+01:00
 To: NTG-leden ntg-le...@ntg.nl
 Reply-To: ntg-secreta...@ntg.nl
 
 Besten allemaal,
 
 hm, dat lijkt weer een fijne conferentie te worden! Meld je aan!
 
 Vriendelijke groeten
 
 Willi Egger
 
 Begin forwarded message:
 
 From: org-ebt2013 presid...@gust.org.pl
 Subject: EuroBachoTeX 2013: Communication and typography
 Date: March 21, 2013 11:38:12 PM GMT+01:00
 To: Willi Egger w.eg...@boede.nl
 Reply-To: jerzy.ludwichow...@umk.pl
 
 AND NOW IN ENGLISH :-) (SORRY!)
 
 Dear Friend-in-TeX, 
 
 
 coming soon is the 2013 EuroTeX conference, numbered 21, joint with the 
 21st BachoTeX conference. At this wiriting, it is the 21st of March, the 
 first full day of spring in the northern hemisphere. 
 This must be a meanigful coincidence!
 
 At the moment the weather outside doesn't support let's-have-some-fun-time 
 at the lake kind of thinking but you definitely should do so. We give you the
 organizers weather guarantee for BachoTeX.
 
 The conference theme is “Communication and Typography”, for the motivation
 see the call for papers (http://www.gust.org.pl/bachotex/2013/cfp).
 
 We already have promises of presentations which will deal with various 
 aspects of the theme, but as always, there will be presentations with 
 interesting TeX-and-friends as well as fonts-related content plus 
 a lot of fun events. 
 
 Building on last year's success, we plan hands-on workshops: calligraphy 
 applied to initials, linocut with color prints and making boxes with 
 bookbinding
 techniques. 
 
 Of course, we will have a concert (flamenco!) and a bonfire with singing and 
 music,
 and surely – the conference dinner.
 
 The current conference info is available at http://gust.org.pl/bachotex/2013.
 
 Please do respond to the call for papers mentioned above with a 
 contribution, 
 however small. Many thanks in advance!
 
 Additional information, including the presentation abstracts and schedule,
 will be posted on the conference page as it will become available.
 
 See you in Bachotek!
 
 Jerzy Ludwichowski
 (for the organizers)
 
 P.S. Apologies if that reached you more than once or if you are already 
 registered.
 
 ___
 NTG-leden mailing list
 ntg-le...@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-leden

___
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] 2013.03.21 broken nightly?

2013-03-22 Thread Hans Hagen

On 3/22/2013 9:00 PM, Kip Warner wrote:

Hey list,

The last few nightlies, including the most recent one I have installed,
2013.03.21, keeps bailing when attempting to typeset one of my documents
with the same error:

 ! Undefined control sequence.
 argument \sf
:\v!style :\v!serif
 \setvalue #1-\expandafter \def \csname #1
   \endcsname
 l.256 \setvalue{\sf:\v!style :\v!serif  }
  {rm}
 E
 ? You want to edit
 file /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.mkvi 
at line 256

 mkiv lua stats   used config
 file: /usr/share/texmf/web2c/texmfcnf.lua
 ! LuaTeX error local type = type...:21: attempt to concatenate
 a table value.
 argument \sf
:\v!style :\v!serif
 \setvalue #1-\expandafter \def \csname #1
   \endcsname
 l.256 \setvalue{\sf:\v!style :\v!serif  }
  {rm}

The line it is referring to contains the following:

 \setvalue{\sf:\v!style :\v!serif  }{rm}

I hope that is helpful.

PS Please cc me, as my subscription is not currently active.


Are you sure that your simplefonts is as up to date as context itself?

(looks like some namespace issue but that has been stable for ages now)

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] \recurselevel inside \bTABLE\eTABLE

2013-03-22 Thread Willi Egger
Hi Wolfgang,

hm, I see, that I did not read your first message correctly. Thank you for 
pointing me to it!

Willi
On Mar 19, 2013, at 8:23 AM, Wolfgang Schuster wrote:

 
 Am 17.03.2013 um 22:58 schrieb Willi Egger cont...@boede.nl:
 
 Thank you again!
 
 Sorry for misspelling your name Aditya!
 
 I was surprised, that the solution of Wolfgang does not work, with 
 \expanded{\recurselevel}, though it sounds reasonable. Still all rows are 
 marked 0. Alan's suggestion gives me the desired result.
 
 See my change, you have to put \expanded before \bTD because when you write
 
  \bTD \expanded{\recurselevel} \eTD
 
 context will store “\expanded{\recurselevel}” which is expanded
 after all cells are created and \recurselevel has its default value.
 
 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
 ___

___
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] 2013.03.21 broken nightly?

2013-03-22 Thread Kip Warner
On Fri, 2013-03-22 at 21:56 +0100, Hans Hagen wrote:
 Are you sure that your simplefonts is as up to date as context itself?
 
 (looks like some namespace issue but that has been stable for ages now)
 
 Hans

Hey Hans. How can I verify? I am using debs installed from Adam's PPA.

PS Please cc me, as my subscription is not currently active.


-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] 2013.03.21 broken nightly?

2013-03-22 Thread Hans Hagen

On 3/22/2013 10:35 PM, Kip Warner wrote:

On Fri, 2013-03-22 at 21:56 +0100, Hans Hagen wrote:

Are you sure that your simplefonts is as up to date as context itself?

(looks like some namespace issue but that has been stable for ages now)

Hans


Hey Hans. How can I verify? I am using debs installed from Adam's PPA.

PS Please cc me, as my subscription is not currently active.


I have no clue as I use the garden distribution. Last year most 
mechanisms have been move to the new namespace model and I'm pretty sure 
that Wolfgang, as he's involved in that, has adapted simplefonts so the 
question is what version of context/simplefonts do you really run?


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] 2013.03.21 broken nightly?

2013-03-22 Thread Hans Hagen

On 3/22/2013 10:58 PM, Kip Warner wrote:

On Fri, 2013-03-22 at 22:51 +0100, Hans Hagen wrote:

I have no clue as I use the garden distribution. Last year most
mechanisms have been move to the new namespace model and I'm pretty sure
that Wolfgang, as he's involved in that, has adapted simplefonts so the
question is what version of context/simplefonts do you really run?


I'm actually not sure either. But I've attached some source files
associated with the simplefonts module which may give an indication.


It looks like something is messed up on the garden ...

http://dl.contextgarden.net/modules/t-simplefonts.zip

has a mkiv file while there should be a mkvi file but the timestamp is 
2013.


so, in your case, get rid of the t-simplefont.mkiv file to start with

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] 2013.03.21 broken nightly?

2013-03-22 Thread Kip Warner
On Fri, 2013-03-22 at 23:58 +0100, Hans Hagen wrote:
 It looks like something is messed up on the garden ...
 
 http://dl.contextgarden.net/modules/t-simplefonts.zip
 
 has a mkiv file while there should be a mkvi file but the timestamp is 
 2013.

Hey Hans. Good eye.

 so, in your case, get rid of the t-simplefont.mkiv file to start with

I removed that file, but get the following error:

! Undefined control sequence.
argument \sf 
   :\v!style :\v!serif 
\setvalue #1-\expandafter \def \csname #1
  \endcsname 
l.256 \setvalue{\sf:\v!style :\v!serif  }
 {rm}
E
? You want to edit
file /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.mkvi 
at line 256

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] 2013.03.21 broken nightly?

2013-03-22 Thread Hans Hagen

On 3/23/2013 12:04 AM, Kip Warner wrote:

On Fri, 2013-03-22 at 23:58 +0100, Hans Hagen wrote:

It looks like something is messed up on the garden ...

http://dl.contextgarden.net/modules/t-simplefonts.zip

has a mkiv file while there should be a mkvi file but the timestamp is
2013.


Hey Hans. Good eye.


so, in your case, get rid of the t-simplefont.mkiv file to start with


I removed that file, but get the following error:

 ! Undefined control sequence.
 argument \sf
:\v!style :\v!serif
 \setvalue #1-\expandafter \def \csname #1
   \endcsname
 l.256 \setvalue{\sf:\v!style :\v!serif  }
  {rm}
 E
 ? You want to edit
 file /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.mkvi 
at line 256


hm, only wolfgang can say what is wrong ... it looks like that module is 
a half finished transition towards a new state


i can try to fix it but it's probably better is wolfgang does that .. he 
could as well have a good file on his system


in the meantime, what you can try is to delete the mkvi file and use the 
older mkiv file (as that one seems to work)


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] 2013.03.21 broken nightly?

2013-03-22 Thread Hans Hagen

On 3/23/2013 12:48 AM, Hans Hagen wrote:

On 3/23/2013 12:04 AM, Kip Warner wrote:

On Fri, 2013-03-22 at 23:58 +0100, Hans Hagen wrote:

It looks like something is messed up on the garden ...

http://dl.contextgarden.net/modules/t-simplefonts.zip

has a mkiv file while there should be a mkvi file but the timestamp is
2013.


Hey Hans. Good eye.


so, in your case, get rid of the t-simplefont.mkiv file to start with


I removed that file, but get the following error:

 ! Undefined control sequence.
 argument \sf
:\v!style :\v!serif
 \setvalue #1-\expandafter \def \csname #1
   \endcsname
 l.256 \setvalue{\sf:\v!style :\v!serif  }
  {rm}
 E
 ? You want to edit
 file
/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.mkvi at
line 256


hm, only wolfgang can say what is wrong ... it looks like that module is
a half finished transition towards a new state

i can try to fix it but it's probably better is wolfgang does that .. he
could as well have a good file on his system

in the meantime, what you can try is to delete the mkvi file and use the
older mkiv file (as that one seems to work)


btw, we need to figure out how the mkvi work in progress file ended up 
on your machine


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] 2013.03.21 broken nightly?

2013-03-22 Thread Kip Warner
On Sat, 2013-03-23 at 00:52 +0100, Hans Hagen wrote:
 On 3/23/2013 12:48 AM, Hans Hagen wrote:
  On 3/23/2013 12:04 AM, Kip Warner wrote:
  On Fri, 2013-03-22 at 23:58 +0100, Hans Hagen wrote:
  It looks like something is messed up on the garden ...
 
  http://dl.contextgarden.net/modules/t-simplefonts.zip
 
  has a mkiv file while there should be a mkvi file but the timestamp is
  2013.
 
  Hey Hans. Good eye.
 
  so, in your case, get rid of the t-simplefont.mkiv file to start with
 
  I removed that file, but get the following error:
 
   ! Undefined control sequence.
   argument \sf
  :\v!style :\v!serif
   \setvalue #1-\expandafter \def \csname #1
 \endcsname
   l.256 \setvalue{\sf:\v!style :\v!serif  }
{rm}
   E
   ? You want to edit
   file
  /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.mkvi at
  line 256
 
  hm, only wolfgang can say what is wrong ... it looks like that module is
  a half finished transition towards a new state
 
  i can try to fix it but it's probably better is wolfgang does that .. he
  could as well have a good file on his system
 
  in the meantime, what you can try is to delete the mkvi file and use the
  older mkiv file (as that one seems to work)

I'll give that a try. Thanks Hans.

 btw, we need to figure out how the mkvi work in progress file ended up 
 on your machine
 
 Hans

I've cc'd the packager who might now.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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