Re: [NTG-context] Ideas for improving documentation of ConTeXt

2016-10-09 Thread Aditya Mahajan

On Sun, 9 Oct 2016, Aditya Mahajan wrote:


On Sun, 9 Oct 2016, Jonas Baggett wrote:

The basic idea I have is a database of ConTeXt documents, where everyone 
can add his own documents. We have also to make it easy to find there 
insightful examples in ConTeXt that will help someone to achieve what he 
is trying to do. Then users, especially beginners, will less likely be 
stuck at one point and looking for hours for a solution and less help 
will be asked on the mailing list too.


Recently, stackexchange started a similar project:
https://blog.stackoverflow.com/2016/07/introducing-stack-overflow-documentation-beta/

You can create a context tag and create example documents. The difficulty 
with such projects, as usual, is to have a critical mass for others to 
browse and contribute. One could start by "porting" existing examples from 
the wiki, mailing list, tex.stackexchange, etc.


Scratch that. It seems that documentation tags can only be created for 
topics that are popular on stackoverflow (not stackexchange).


http://meta.stackoverflow.com/questions/328667/new-tags-and-documentation-beta

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

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

Re: [NTG-context] Ideas for improving documentation of ConTeXt

2016-10-09 Thread Jonas Baggett

Hello Wolfgang,


Le 09. 10. 16 à 22:51, Wolfgang Schuster a écrit :
Many of the old manuals got updates by Hans and he included the PDF’s 
(together with the source files) in the normal ConTeXt download, you 
can find them in the doc folder in your ConTeXt installation.


Ok, I don't have enough the habit of consulting documentation that is 
installed in my system. I have found something interesting here that 
could be helpfull to me : 
/usr/share/texmf/doc/context/base/examplap/gui/letter.pdf. It seems to 
be a letter generator, but unfortunately I wasn't able to make it work. 
Maybe it is outdated since it is 10 years old.


The wiki has a page for examples and you’re free to update the 
existing examples or add new ones.


Do you mean http://wiki.contextgarden.net/Sample_documents ? Yes, that's 
a good idea, since I believe that it is a way to improve documentation 
with little efforts. Then I plan to add the cover letter style I made 
since I am happy with the results, although 1 or 2 things could have 
some improvement. There are also some letter styles there, then I will 
have a look on them too. I don't know if people are intimidated about 
writing contents in the wiki because it is the official wiki and feel 
that only programmers are supposed to update it, but it will be really 
helpfull if the users have more the habit of posting there the document 
styles they made.



Sounds interesting and the best thing you can do is to start with it.


Thanks for your encouragement ! Yes that looks like an interesting 
challenge for me, but it is not something I am wanting to do alone 
because of my lack of experience, at least I would need someone to coach 
me. Actually I don't have really experience with web developpment and I 
would at least need help for the technological choices. Having someone 
that tells me that if I use technology X, there are module Y and Z that 
will be a good fit is a good start.


Have a nice day,
Jonas
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] Ideas for improving documentation of ConTeXt

2016-10-09 Thread Aditya Mahajan

On Sun, 9 Oct 2016, Jonas Baggett wrote:

The basic idea I have is a database of ConTeXt documents, where everyone 
can add his own documents. We have also to make it easy to find there 
insightful examples in ConTeXt that will help someone to achieve what he 
is trying to do. Then users, especially beginners, will less likely be 
stuck at one point and looking for hours for a solution and less help 
will be asked on the mailing list too.


Recently, stackexchange started a similar project:
https://blog.stackoverflow.com/2016/07/introducing-stack-overflow-documentation-beta/

You can create a context tag and create example documents. The difficulty 
with such projects, as usual, is to have a critical mass for others to 
browse and contribute. One could start by "porting" existing examples from 
the wiki, mailing list, tex.stackexchange, etc.


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

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

Re: [NTG-context] Ideas for improving documentation of ConTeXt

2016-10-09 Thread Jonas Baggett

Le 09. 10. 16 à 15:49, Yi Qingliang a écrit :


GOOD IDEA!


Thanks for the encouragement :-).
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] Ideas for improving documentation of ConTeXt

2016-10-09 Thread Jonas Baggett

Hello Henri,

Le 09. 10. 16 à 21:31, Henri Menke a écrit :

please don't be disappointed but you are not the first person to suggest such a 
thing.  You may now ask, why doesn't such a thing exist then?  Well, the basic 
answer is, go ahead and implement it.
I won't go ahead and implement it if I am the only one who would think 
it is a good idea. That's why I asked for some feedback. It happens 
sometimes that I could have an idea that looks great in my eyes, but 
then seems a little less shiny after hearing some feedback. But since I 
wasn't the first person to suggest such a thing, It seems to me that my 
idea goes in the right direction, isn't it ? It doesn't mean that no 
improvement is needed, and it still need to be implemented.



Most probably no one else will volunteer to do it and especially the people 
from PRAGMA surely have better things to do. They merely develop and use 
ConTeXt (...)
Here I don't agree. People from PRAGMA are probably better at 
developping ConTeXt than starting in parallel a new project like that, 
but it doesn't mean that this idea is necessarly not worth considering. 
I wasn't either suggesting that they should be the people who start 
implementing the idea.

(...) and were so kind as to provide us a huge bunch of documentation already 
(http://pragma-ade.nl/document-1.htm).
Yes I just saw that you are right about the documentation, they have 
already made a huge work on that. I was maybe too quick about my 
conclusion, I am sorry if I did offend those who have already make all 
that work. I was actually doing a cover letter in ConTeXt and since I 
wasn't able to find uptodate informations about some of the commands I 
was a little frustrated. But yes the letter module is third party and I 
just saw in the wiki that it is said to be still in developpment, so 
interface changes are to be expected and not necessarly all documented. 
Since I am new to ConTeXt, my views on ConTeXt documentation got biased. 
But now I am pretty happy with the results I have with my document, so 
most of the troubles are behind, I guess :-).


On the other hand, some of the documentation still need to be updated. 
Since ConTeXt is quick to evolue, having uptodate documentation would be 
a huge task and I also understand that it may not be the most 
interesting part for developpers ;-). My proposition was about to 
mitigate that problem with making accessible examples with some advanced 
search to quickly find relevant results.


Maybe someday ConTeXt will be more mature and have a more stable 
interface, then it would be easier to have uptodate documentation. But 
it is only the analysis of someone who is only starting to know ConTeXt, 
so I won't assume to be totally correct.


Cheers,
Jonas
___
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] Unable to use Martin Vogels Symbols

2016-10-09 Thread Jonas Baggett

Hello Henning,

Thanks for the feed-back! I first thinked it could be a bug that only 
occurs when ConTeXt has to find the martin vogel symbol font for the 
first time and update its cache, which would explain why the bug doesn't 
occur with the live ConTeXt compiler since the font is already in the 
cache. Did you try to remove the cache in order to force ConTeXt to 
regenerate its cache and see if it can still find the font ?


Anyways, I have sent a bug report to the debian maintainers and we will see.

Best regards,
Jonas


Le 09.10.16 à 21:43, Henning Hraban Ramm a écrit :

It works also with latest beta on OSX, so it’s at least not an open ConTeXt bug.


___
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] Question about natural tables

2016-10-09 Thread Fabrice Couvreur
Hi Wolfgang,
Thanks
Fabrice

2016-10-09 21:58 GMT+02:00 Wolfgang Schuster :

> Fabrice Couvreur 
> 9. Oktober 2016 um 10:42
>
> Hello,
> I do not succeed in having two sub-columns of the same width in the third
> column.
>
> Your table has four columns but you set only the width for the first
> three, adding a width setting for the fourth column helps.
>
> \startsetups[table:initialize]
>   \setupTABLE[start][align={middle,lohi},offset=0.8ex,
> style=\smallbodyfont]
>   \setupTABLE[column][1][width=0.10\textwidth]
>   \setupTABLE[column][2][width=0.40\textwidth]
>   \setupTABLE[column][3][width=0.25\textwidth]
>   \setupTABLE[column][4][width=0.25\textwidth]
>   \setupTABLE[1][1,2,3][frame=off]
> \stopsetups
>
> 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] Ideas for improving documentation of ConTeXt

2016-10-09 Thread Wolfgang Schuster

Jonas Baggett 
9. Oktober 2016 um 13:18
Hello everyone,

I am new to new to ConTeXt and I was thinking about how to improve 
documentation to help users and then make ConTeXt more appealing. 
Because, if there is one weak point in my eyes with ConTeXt, it is the 
lack of documentation, which is too bad because ConTeXt seems to be 
really great. And google search is also a little tricky, since context 
is a common name. On the other hand, most of the help I found was on 
the wiki, the mailing list, TeX Stack Exchange and some pdf 
documentations. Sometimes, I also faced the problem about the 
documentation being outdated and when I am trying to find the solution 
on the internet, I may have a hard time finding solutions that aren't 
outdated too. The worse is maybe when a command option isn't working 
anymore with not even a warning.
Many of the old manuals got updates by Hans and he included the PDF’s 
(together with the source files) in the normal ConTeXt download, you can 
find them in the doc folder in your ConTeXt installation.
The basic idea I have is a database of ConTeXt documents, where 
everyone can add his own documents. We have also to make it easy to 
find there insightful examples in ConTeXt that will help someone to 
achieve what he is trying to do. Then users, especially beginners, 
will less likely be stuck at one point and looking for hours for a 
solution and less help will be asked on the mailing list too.
The wiki has a page for examples and you’re free to update the existing 
examples or add new ones.

Here are the basic concepts about the database :
- When someone adds a document, he can specify the type of the 
document like e.g. report, letter, CV, book, etc. Subcategories could 
be a good idea too, e.g. letters can have a subcategory called cover 
letters. Some extra tags could also be useful, like e.g.: math, 
luatex, tables, positioning, etc when there is some use of the 
preceding, maybe not necessarily essential when the use is only basic.
- If some extra fonts or modules are needed to be installed in order 
to make the example fully work, this could also be specified.
- Search could be done by specifying one or more categories and tags. 
It will also be possible to search all the occurrences in the database 
of a command with optionally a command parameter.
- It will be like a wiki so that everyone could improve the existing 
examples.
- It can be also useful to allow comments, because it is possible that 
an example is close to what someone is trying to do, in which case he 
will look on the comments hoping that there was already someone who 
asked there the question and got answered.
- In order to mitigate the problem with deprecation stuffs after some 
language changes, we could have all the commands and their options 
listed somewhere in the database, then when a command or command 
parameter is getting deprecated, it will be possible to mark it as so 
and provide some hints on how to fix it. After that, all the examples 
that use the deprecated stuffs will get a warning and hints will be 
showed about how to fix them. And since that examples are editable by 
anyone, there won't be hopefully very much of outdated documents.


Here some are possible scenarios about searching in the database  :
- Someone is writing a letter and is trying to move one element (e.g. 
date, his address, receiver address) in another location without any 
success so far. Then he will go to this database, choose letter as 
category and positioning as extra tag and launch the search. Maybe he 
will get about 20 results, then chances are that some of the found 
examples will be doing something close enough to what he's trying to 
do, so that he could analyse the source and understand what he needs 
to do in his case.
- Someone is looking about how to set the background color of a framed 
box. Then he will search occurrences of the uses of the \framed 
command which have color in their arguments. Then by looking at the 
found examples, he will find out that the color is set with the 
backgroundcolor argument and that the background argument need to be 
set to "color" too.


What do you think about the idea ? I believe this could be a good 
complement to the existing ressources.

Sounds interesting and the best thing you can do is to start with it.

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] Question about natural tables

2016-10-09 Thread Wolfgang Schuster

Fabrice Couvreur 
9. Oktober 2016 um 10:42

Hello,
I do not succeed in having two sub-columns of the same width in the 
third column.
Your table has four columns but you set only the width for the first 
three, adding a width setting for the fourth column helps.


\startsetups[table:initialize]
  \setupTABLE[start][align={middle,lohi},offset=0.8ex,style=\smallbodyfont]
  \setupTABLE[column][1][width=0.10\textwidth]
  \setupTABLE[column][2][width=0.40\textwidth]
  \setupTABLE[column][3][width=0.25\textwidth]
  \setupTABLE[column][4][width=0.25\textwidth]
  \setupTABLE[1][1,2,3][frame=off]
\stopsetups

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] Slides/material from the Context User Meeting

2016-10-09 Thread Wolfgang Schuster

Meer, Hans van der 
9. Oktober 2016 um 17:55
Is there a list of the recently new and updated ones? Because to 
download all of the files on the overview page might be a massive 
overkill for me. Alas, the entries in the list do not have a 
production date attached.
When you use the ConTeXt suite you have all manuals already on your 
system because Hans bundled them with the core files, the sources for 
the manuals are included as well.


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] MKIV caption separator, revisited

2016-10-09 Thread Wolfgang Schuster

Meer, Hans van der 
9. Oktober 2016 um 14:36
Is this still valid? Using \setupcaptions[prefixconnector=-] doesn't 
seem to make a difference for \startplacefigure.

Do you have a example?

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] Unable to use Martin Vogels Symbols

2016-10-09 Thread Henning Hraban Ramm
Am 2016-10-09 um 11:36 schrieb Jonas Baggett :

> Le 07.10.16 à 22:53, Jonas Baggett a écrit :
> 
>> Hello,
>> 
>> I am using debian testing and I am trying to use Martin Vogels Symbols with 
>> no success so far. I have compiled a file containing the following :
>> \usesymbols[mvs]
>> \setupsymbolset [martinvogel 2]
>> \starttext
>> Telephone : \symbol[Telephone]
>> \stoptext 
> The preceding code works with http://live.contextgarden.net/, so I am not 
> sure if it is a Debian bug or a ConTeXt bug. Maybe I should send a bug report 
> to the Debian maintainers and they will forward it upstream if it is a 
> ConTeXt bug.

It works also with latest beta on OSX, so it’s at least not an open ConTeXt bug.

Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
GPG Key ID 1C9B22FD

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

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

Re: [NTG-context] Ideas for improving documentation of ConTeXt

2016-10-09 Thread Henri Menke
Dear Jonas,

please don't be disappointed but you are not the first person to suggest such a 
thing.  You may now ask, why doesn't such a thing exist then?  Well, the basic 
answer is, go ahead and implement it.  Most probably no one else will volunteer 
to do it and especially the people from PRAGMA surely have better things to do. 
 They merely develop and use ConTeXt and were so kind as to provide us a huge 
bunch of documentation already (http://pragma-ade.nl/document-1.htm).

Cheers, Henri

On 10/09/2016 01:18 PM, Jonas Baggett wrote:
> Hello everyone,
> 
> I am new to new to ConTeXt and I was thinking about how to improve 
> documentation to help users and then make ConTeXt more appealing. Because, if 
> there is one weak point in my eyes with ConTeXt, it is the lack of 
> documentation, which is too bad because ConTeXt seems to be really great. And 
> google search is also a little tricky, since context is a common name. On the 
> other hand, most of the help I found was on the wiki, the mailing list, TeX 
> Stack Exchange and some pdf documentations. Sometimes, I also faced the 
> problem about the documentation being outdated and when I am trying to find 
> the solution on the internet, I may have a hard time finding solutions that 
> aren't outdated too. The worse is maybe when a command option isn't working 
> anymore with not even a warning.
> 
> The basic idea I have is a database of ConTeXt documents, where everyone can 
> add his own documents. We have also to make it easy to find there insightful 
> examples in ConTeXt that will help someone to achieve what he is trying to 
> do. Then users, especially beginners, will less likely be stuck at one point 
> and looking for hours for a solution and less help will be asked on the 
> mailing list too.
> 
> Here are the basic concepts about the database :
> - When someone adds a document, he can specify the type of the document like 
> e.g. report, letter, CV, book, etc. Subcategories could be a good idea too, 
> e.g. letters can have a subcategory called cover letters. Some extra tags 
> could also be useful, like e.g.: math, luatex, tables, positioning, etc when 
> there is some use of the preceding, maybe not necessarily essential when the 
> use is only basic.
> - If some extra fonts or modules are needed to be installed in order to make 
> the example fully work, this could also be specified.
> - Search could be done by specifying one or more categories and tags. It will 
> also be possible to search all the occurrences in the database of a command 
> with optionally a command parameter.
> - It will be like a wiki so that everyone could improve the existing examples.
> - It can be also useful to allow comments, because it is possible that an 
> example is close to what someone is trying to do, in which case he will look 
> on the comments hoping that there was already someone who asked there the 
> question and got answered.
> - In order to mitigate the problem with deprecation stuffs after some 
> language changes, we could have all the commands and their options listed 
> somewhere in the database, then when a command or command parameter is 
> getting deprecated, it will be possible to mark it as so and provide some 
> hints on how to fix it. After that, all the examples that use the deprecated 
> stuffs will get a warning and hints will be showed about how to fix them. And 
> since that examples are editable by anyone, there won't be hopefully very 
> much of outdated documents.
> 
> Here some are possible scenarios about searching in the database  :
> - Someone is writing a letter and is trying to move one element (e.g. date, 
> his address, receiver address) in another location without any success so 
> far. Then he will go to this database, choose letter as category and 
> positioning as extra tag and launch the search. Maybe he will get about 20 
> results, then chances are that some of the found examples will be doing 
> something close enough to what he's trying to do, so that he could analyse 
> the source and understand what he needs to do in his case.
> - Someone is looking about how to set the background color of a framed box. 
> Then he will search occurrences of the uses of the \framed command which have 
> color in their arguments. Then by looking at the found examples, he will find 
> out that the color is set with the backgroundcolor argument and that the 
> background argument need to be set to "color" too.
> 
> What do you think about the idea ? I believe this could be a good complement 
> to the existing ressources.
> 
> Have a nice sunday,
> Jonas
> ___
> 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  : 

Re: [NTG-context] Slides/material from the Context User Meeting

2016-10-09 Thread Meer, Hans van der
Is there a list of the recently new and updated ones? Because to download all 
of the files on the overview page might be a massive overkill for me. Alas, the 
entries in the list do not have a production date attached.

Hans van der Meer




On 09 Oct 2016, at 17:19, Mohammad Hossein Bateni 
> wrote:


On Thu, Oct 6, 2016 at 4:08 PM, Henning Hraban Ramm 
> wrote:
Am 2016-10-06 um 18:16 schrieb Mohammad Hossein Bateni 
>:

> If I recall correctly someone mentioned on the list that you typically 
> collect the slides during the meeting.  Would it be possible to share them if 
> you have done so this year?

An important part are the updated and added manuals, have a look at
http://www.pragma-ade.com/overview.htm

LuaTeX 1.0.0 is announced and distributed.

Minimals contain a new cowfont (with colorable backgrounds) and some (most? 
all?) of the manuals.

Oh, and the new interface files (texmf-context/tex/context/interface)!

I guess, I was following these gradually as they were happening but I was 
thinking maybe other material from the meeting could be shared.  That's why I 
mentioned the slides of the talks.

> In general, is there any material related to the meeting that unlucky 
> non-participants can access?  I mean, besides the group photo that's up on 
> the website :)

The bitbucket mirror has not been updated since September 24.  Is that normal 
or the result of some configuration mismatch?
___
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] Slides/material from the Context User Meeting

2016-10-09 Thread Mohammad Hossein Bateni
On Thu, Oct 6, 2016 at 4:08 PM, Henning Hraban Ramm  wrote:

> Am 2016-10-06 um 18:16 schrieb Mohammad Hossein Bateni :
>
> > If I recall correctly someone mentioned on the list that you typically
> collect the slides during the meeting.  Would it be possible to share them
> if you have done so this year?
>
> An important part are the updated and added manuals, have a look at
> http://www.pragma-ade.com/overview.htm
>
> LuaTeX 1.0.0 is announced and distributed.
>
> Minimals contain a new cowfont (with colorable backgrounds) and some
> (most? all?) of the manuals.
>
> Oh, and the new interface files (texmf-context/tex/context/interface)!
>

I guess, I was following these gradually as they were happening but I was
thinking maybe other material from the meeting could be shared.  That's why
I mentioned the slides of the talks.

> In general, is there any material related to the meeting that unlucky
> non-participants can access?  I mean, besides the group photo that's up on
> the website :)
>

The bitbucket mirror has not been updated since September 24.  Is that
normal or the result of some configuration mismatch?
___
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] \showmathfontcharacters ?

2016-10-09 Thread Hans Hagen

On 10/9/2016 1:07 PM, Meer, Hans van der wrote:

Not more than 3 years ago the addition of \usemodule[math-10] solved the 
Undefined control sequence error for \showmathfontcharacters.
But at least in ConTeXt  ver: 2016.07.23 13:35 this problem cropped up again.
Where is \showmathfontcharacters defined nowadays?


>mtxrun --script grep showmathfontcharacters *.mkiv

./s-math-characters.mkiv125: \unexpanded\def\showmathfontcharacters
./s-math-characters.mkiv190: \showmathfontcharacters
./s-math-repertoire.mkiv447: 
{\showmathfontcharacters[alternative=,option=,check=yes,#1]
./s-math-repertoire.mkiv448: 
\showmathfontcharacters[alternative=,option=,#1]}



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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] Access ConTeXt dimensions in Lua

2016-10-09 Thread Hans Hagen

On 10/8/2016 10:41 PM, Henning Hraban Ramm wrote:

Hi all,

I’m trying to write some dimensions to a file, e.g.

\startluacode
io.savedata("settings.txt", context("\\textwidth"))
\stopluacode

But that context() construct is nil.
There’s probably a simple solution... ;)


\starttext

\startluacode
io.savedata("settings.txt", number.topoints(tex.dimen.textwidth))
\stopluacode

\typefile{settings.txt}

\stoptext


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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] Ideas for improving documentation of ConTeXt

2016-10-09 Thread Yi Qingliang
GOOD IDEA!

On Sun, Oct 9, 2016 at 7:18 PM, Jonas Baggett  wrote:
> Hello everyone,
>
> I am new to new to ConTeXt and I was thinking about how to improve
> documentation to help users and then make ConTeXt more appealing. Because,
> if there is one weak point in my eyes with ConTeXt, it is the lack of
> documentation, which is too bad because ConTeXt seems to be really great.
> And google search is also a little tricky, since context is a common name.
> On the other hand, most of the help I found was on the wiki, the mailing
> list, TeX Stack Exchange and some pdf documentations. Sometimes, I also
> faced the problem about the documentation being outdated and when I am
> trying to find the solution on the internet, I may have a hard time finding
> solutions that aren't outdated too. The worse is maybe when a command option
> isn't working anymore with not even a warning.
>
> The basic idea I have is a database of ConTeXt documents, where everyone can
> add his own documents. We have also to make it easy to find there insightful
> examples in ConTeXt that will help someone to achieve what he is trying to
> do. Then users, especially beginners, will less likely be stuck at one point
> and looking for hours for a solution and less help will be asked on the
> mailing list too.
>
> Here are the basic concepts about the database :
> - When someone adds a document, he can specify the type of the document like
> e.g. report, letter, CV, book, etc. Subcategories could be a good idea too,
> e.g. letters can have a subcategory called cover letters. Some extra tags
> could also be useful, like e.g.: math, luatex, tables, positioning, etc when
> there is some use of the preceding, maybe not necessarily essential when the
> use is only basic.
> - If some extra fonts or modules are needed to be installed in order to make
> the example fully work, this could also be specified.
> - Search could be done by specifying one or more categories and tags. It
> will also be possible to search all the occurrences in the database of a
> command with optionally a command parameter.
> - It will be like a wiki so that everyone could improve the existing
> examples.
> - It can be also useful to allow comments, because it is possible that an
> example is close to what someone is trying to do, in which case he will look
> on the comments hoping that there was already someone who asked there the
> question and got answered.
> - In order to mitigate the problem with deprecation stuffs after some
> language changes, we could have all the commands and their options listed
> somewhere in the database, then when a command or command parameter is
> getting deprecated, it will be possible to mark it as so and provide some
> hints on how to fix it. After that, all the examples that use the deprecated
> stuffs will get a warning and hints will be showed about how to fix them.
> And since that examples are editable by anyone, there won't be hopefully
> very much of outdated documents.
>
> Here some are possible scenarios about searching in the database  :
> - Someone is writing a letter and is trying to move one element (e.g. date,
> his address, receiver address) in another location without any success so
> far. Then he will go to this database, choose letter as category and
> positioning as extra tag and launch the search. Maybe he will get about 20
> results, then chances are that some of the found examples will be doing
> something close enough to what he's trying to do, so that he could analyse
> the source and understand what he needs to do in his case.
> - Someone is looking about how to set the background color of a framed box.
> Then he will search occurrences of the uses of the \framed command which
> have color in their arguments. Then by looking at the found examples, he
> will find out that the color is set with the backgroundcolor argument and
> that the background argument need to be set to "color" too.
>
> What do you think about the idea ? I believe this could be a good complement
> to the existing ressources.
>
> Have a nice sunday,
> Jonas
> ___
> 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 : 

Re: [NTG-context] MKIV caption separator, revisited

2016-10-09 Thread Meer, Hans van der
Is this still valid? Using \setupcaptions[prefixconnector=-] doesn't seem to 
make a difference for \startplacefigure.

Hans van der Meer

On 22 Apr 2014, at 08:25, Wolfgang Schuster 
> wrote:


Am 22.04.2014 um 02:57 schrieb Rik Kabel 
>:

Has any progress been made in the past few years implementing modifiable 
separators for captions under MKIV? This was raised as an issue by (at least) 
Mojca Miklavec in December 2010 
(http://www.mail-archive.com/ntg-context%40ntg.nl/msg51542.html) and by Andy 
Thomas 18 months later 
(http://www.mail-archive.com/ntg-context%40ntg.nl/msg63937.html).
 (Their issues with stopper have been resolved. In MKIV it is numberstopper.)

Here is an MWE demonstrating the problem. It compiles cleanly, but the 
separator remains the default period. With MKII, it generates a figure with a 
hyphen and not a period.
\setupcaptions[separator=-]
\setupcaptions[prefixconnector=-]

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] Ideas for improving documentation of ConTeXt

2016-10-09 Thread Jonas Baggett

Hello everyone,

I am new to new to ConTeXt and I was thinking about how to improve 
documentation to help users and then make ConTeXt more appealing. 
Because, if there is one weak point in my eyes with ConTeXt, it is the 
lack of documentation, which is too bad because ConTeXt seems to be 
really great. And google search is also a little tricky, since context 
is a common name. On the other hand, most of the help I found was on the 
wiki, the mailing list, TeX Stack Exchange and some pdf documentations. 
Sometimes, I also faced the problem about the documentation being 
outdated and when I am trying to find the solution on the internet, I 
may have a hard time finding solutions that aren't outdated too. The 
worse is maybe when a command option isn't working anymore with not even 
a warning.


The basic idea I have is a database of ConTeXt documents, where everyone 
can add his own documents. We have also to make it easy to find there 
insightful examples in ConTeXt that will help someone to achieve what he 
is trying to do. Then users, especially beginners, will less likely be 
stuck at one point and looking for hours for a solution and less help 
will be asked on the mailing list too.


Here are the basic concepts about the database :
- When someone adds a document, he can specify the type of the document 
like e.g. report, letter, CV, book, etc. Subcategories could be a good 
idea too, e.g. letters can have a subcategory called cover letters. Some 
extra tags could also be useful, like e.g.: math, luatex, tables, 
positioning, etc when there is some use of the preceding, maybe not 
necessarily essential when the use is only basic.
- If some extra fonts or modules are needed to be installed in order to 
make the example fully work, this could also be specified.
- Search could be done by specifying one or more categories and tags. It 
will also be possible to search all the occurrences in the database of a 
command with optionally a command parameter.
- It will be like a wiki so that everyone could improve the existing 
examples.
- It can be also useful to allow comments, because it is possible that 
an example is close to what someone is trying to do, in which case he 
will look on the comments hoping that there was already someone who 
asked there the question and got answered.
- In order to mitigate the problem with deprecation stuffs after some 
language changes, we could have all the commands and their options 
listed somewhere in the database, then when a command or command 
parameter is getting deprecated, it will be possible to mark it as so 
and provide some hints on how to fix it. After that, all the examples 
that use the deprecated stuffs will get a warning and hints will be 
showed about how to fix them. And since that examples are editable by 
anyone, there won't be hopefully very much of outdated documents.


Here some are possible scenarios about searching in the database  :
- Someone is writing a letter and is trying to move one element (e.g. 
date, his address, receiver address) in another location without any 
success so far. Then he will go to this database, choose letter as 
category and positioning as extra tag and launch the search. Maybe he 
will get about 20 results, then chances are that some of the found 
examples will be doing something close enough to what he's trying to do, 
so that he could analyse the source and understand what he needs to do 
in his case.
- Someone is looking about how to set the background color of a framed 
box. Then he will search occurrences of the uses of the \framed command 
which have color in their arguments. Then by looking at the found 
examples, he will find out that the color is set with the 
backgroundcolor argument and that the background argument need to be set 
to "color" too.


What do you think about the idea ? I believe this could be a good 
complement to the existing ressources.


Have a nice sunday,
Jonas
___
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] \showmathfontcharacters ?

2016-10-09 Thread Meer, Hans van der
Not more than 3 years ago the addition of \usemodule[math-10] solved the 
Undefined control sequence error for \showmathfontcharacters.
But at least in ConTeXt  ver: 2016.07.23 13:35 this problem cropped up again.
Where is \showmathfontcharacters defined nowadays?

Hans van der Meer


> On 01 May 2013, at 22:36, Wolfgang Schuster  
> wrote:
> 
> 
> Am 01.05.2013 um 19:15 schrieb "Meer, H. van der" :
> 
>> Why do I get an error on
>> 
>> \starttext
>> \showmathfontcharacters
>> \stoptext
>> 
>> When that macro is defined in s-mat-10.mkiv as
>> \unexpanded\def\showmathfontcharacters
>>   {\dodoubleempty\doshowmathfontcharacters}
>> 
>> 
>> ConTeXt  ver: 2013.04.16 12:08 MKIV beta  fmt: 2013.4.19  int: 
>> english/english
>> ! Undefined control sequence.
>> 9 >>  \showmathfontcharacters
> 
> Add \usemodule[math-10] to your document.
> 
> 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] How do I compile a "flat" pdf?

2016-10-09 Thread Hans Hagen

On 10/9/2016 3:32 AM, Alan Braslau wrote:

Also pdftk

But, it is naive to believe that a pdf can be "protected" from copying or 
extracting, isn't it?


indeed, in a similar fashion as copy protected cd (by making then fagile 
for reading on computers) ... 100 years form now they will either laugh 
at us or wonder if we could not do better than that



Alan


On Oct 7, 2016, at 09:08, Hans Hagen  wrote:

On 10/7/2016 4:50 PM, Henning Hraban Ramm wrote:


The only way to "protect" contents from editing are the password settings. 
There are free tools to set them, but AFAIK no open source tools except maybe libraries.


qpdf and mutools


___
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 | www.pragma-ade.nl | 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] Unable to use Martin Vogels Symbols

2016-10-09 Thread Jonas Baggett

Le 07.10.16 à 22:53, Jonas Baggett a écrit :


Hello,

I am using debian testing and I am trying to use Martin Vogels Symbols 
with no success so far. I have compiled a file containing the following :

\usesymbols[mvs]
\setupsymbolset [martinvogel 2]
\starttext
Telephone : \symbol[Telephone]
\stoptext 
The preceding code works with http://live.contextgarden.net/, so I am 
not sure if it is a Debian bug or a ConTeXt bug. Maybe I should send a 
bug report to the Debian maintainers and they will forward it upstream 
if it is a ConTeXt bug.


Have a nice sunday,
Jonas
___
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] Question about natural tables

2016-10-09 Thread Fabrice Couvreur
Hello,
I do not succeed in having two sub-columns of the same width in the third
column.
Thank you.
Fabrice

\useMPlibrary[dum]
\startsetups[table:initialize]

  \setupTABLE[start][align={middle,lohi},offset=0.8ex]
  \setupTABLE[column][2][width=0.5\textwidth]
  \setupTABLE[column][3][width=0.4\textwidth]
  \setupTABLE[column][first][width=1.5cm]
  \setupTABLE[1][1,2,3][frame=off]

\stopsetups

\starttext

\startlinecorrection[blank]
\startmidaligned
\bTABLE[setups=table:initialize]

\bTR
  \bTD\eTD
  \bTD Algébriquement \eTD
  \bTD [nc=2] Graphiquement  \eTD
\eTR
\bTR
 \bTD \eTD
 \bTD[nr=2] L'équation \math{ax^2+bx+c=0} \eTD
 \bTD[nc=2] La parabole d'équation \math{y=ax^2+bx+c} \eTD
\eTR
\bTR
 \bTD \eTD
 \bTD Cas où \math{a\geqslant 0}  \eTD
 \bTD Cas où \math{a\leqslant 0}  \eTD
\eTR
\bTR
 \bTD\math{\Delta >0} \eTD
 \bTD  admet deux solutions distinctes :
\startformula
 x_1=\frac{-b-\sqrt{\Delta}}{2a}\quad \rm{et} \quad
x_2=\frac{-b+\sqrt{\Delta}}{2a}
\stopformula
\eTD
\bTD[nc=2] coupe deux fois l'axe des abscisses
\dontleavehmode\startcombination[2*1]{\externalfigure[dummy][scale=900]}{}{\externalfigure[dummy][scale=900]}{}
\stopcombination \eTD
\eTR
\bTR
 \bTD\math{\Delta=0} \eTD
 \bTD  admet une unique solution :
\startformula
   x_0=-\frac{b}{2a}
\stopformula
\eTD
\bTD[nc=2] coupe l'axe des abscisses en un seul point
\dontleavehmode\startcombination[2*1]{\externalfigure[dummy][scale=900]}{}{\externalfigure[dummy][scale=900]}{}
\stopcombination \eTD
\eTR
\bTR
 \bTD\math{\Delta<0} \eTD
 \bTD  n'admet pas de solution
\eTD
\bTD [nc=2] ne coupe pas l'axe des abscisses
\dontleavehmode\startcombination[2*1]{\externalfigure[dummy][scale=900]}{}{\externalfigure[dummy][scale=900]}{}
\stopcombination\eTD
\eTR
\eTABLE

\stopmidaligned
\stoplinecorrection

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