Re: [NTG-context] command reference (was: upto current)

2013-03-25 Thread Keith J. Schultz
Hi Peter, All,

Sorry for the late reply.

As such looks good!

I have no preferences, as to the formats, that is something
the community or those involved should decide.

regards
Keith.
  
Am 22.03.2013 um 09:26 schrieb Peter Münster pmli...@free.fr:

 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
 

___
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-25 Thread Keith J. Schultz
Hi All,

I agree that for the command reference should be fairly output format free,
but we have to keep in mind we will need a unified look for:
1) Wiki
2) PDFs

Also, we should not forget that we need examples with explanations.

regards
Keith.

Am 22.03.2013 um 17:07 schrieb Sietse Brouwer sbbrou...@gmail.com:

 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.

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