Re: [NTG-context] documentation

2014-07-08 Thread Hans Hagen

On 7/7/2014 8:51 PM, Yuri Teixeira wrote:

Hello,
I'm sorry this probably is a dumb question but I'm really lost in my
searches. I'm new to context/tex and have been learning/finding
information in the wiki at the contextgarden.net
http://contextgarden.net for the past couple of weeks. Some of
information there don't seem up to date but nothing unusual in an
unofficial wiki. For some reason (isp/dns/something) the
contextgarden.net http://contextgarden.net has been unavailiable to me
since yesterday even though some verification sites show it up and some
show it down (http://www..isitdownrightnow.com
http://www.isitdownrightnow.com been one of the later). That got me
wondering if there are easy official docs. I've seen the pdfs at
pragma-ade.com http://pragma-ade.com but the most general ones I tried
are from 1999 (ms-cb-en.pdf) and 2001 (cont-eni.pdf). Are these up to
date with the current developments? I belive they are compatible but
having seen examples of changes in the wiki I a little unsure.
Furthermore, the parameter behavior description in the command reference
seem a bit... dry. So here's my plea for a little bit more love for the
documentation.
In any way, thank you very much for an awesome language, I'm glad I
researched thoroughly before jumping into latex.


When mechanisms in context are extended, we try to remain downward 
compatible, at least in functionality. Therefore the old manuals are 
normally okay (no need to fake updates with newer dates.) There are 
however a few core mechanisms that are obsolete and/or changed and those 
are input encodings (now always utf) and fonts (now always unicode - or 
mapped to unicode - using features cf open type and more).


In practice input encodings and fonts have always been complex: what 
input encoding to choose and what font encoding to use, then running 
into availability of fonts, differences per language, differences per 
user. A bit of installation nightmare and user support as soon as it 
became less standard. By the time that had become easier (tex gyre and 
lm project) the move to opentype was made so most of the documentation 
had become somewhat obsolete.


So, when using old manuals, keep in mind that encodings, regimes and 
fonts are less hassle now and no special commands are needed to use and 
combine these properties.


In addition some mechanisms were extended and improved in mkiv 
(sectioning and so) which means that there are additional ways to 
configure them.


That leaves mechanisms that are completely redone. One example is 
bibliographies, but users who need them will have no real problems 
adapting and these come with new manuals.


Stick to mkiv. It's the one where the action takes place.

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

2014-07-08 Thread Otared Kavian
Thanks Wolfgang!
Indeed I didn’t know 
\setuplocalinterlinespace 
and the fact that it has to be enclosed between \start \stop grouping.
I tried to put this information on the wiki, but it seems that 
http://wiki.contextgarden.net
 is down today.

Best regards: OK

On 07 Jul 2014, at 22:45, Wolfgang Schuster schuster.wolfg...@gmail.com wrote:

 
 Am 07.07.2014 um 18:35 schrieb Otared Kavian ota...@gmail.com:
 
 Does anybody know how to change the interline space in a part of a document?
 
 \setupinterlinespace[line=3.2ex] % global setting 
 (\setupinterlinespace[3.2ex] == \setupinterlinespace[line=3.2ex])
 
 \starttext
 
 \input ward
 
 \blank \setupinterlinespace[big] % big = 1.5 * global value (small = 1x, 
 medium = 1.25x)
 
 \input ward
 
 \blank \setupinterlinespace[reset]
 
 \input ward
 
 \blank \start \setuplocalinterlinespace[line=4ex] % you need a empty line or 
 \par before you end the group
 
 \input ward
 
 \stop
 
 \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
 ___

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

2014-07-08 Thread Yuri Teixeira
Thank you for the response. I'll keep this description in mind when looking
up stuff and contribute what I can in the wiki (which is still down for me).

YT


2014-07-08 4:57 GMT-03:00 Hans Hagen pra...@wxs.nl:

 On 7/7/2014 8:51 PM, Yuri Teixeira wrote:

 Hello,
 I'm sorry this probably is a dumb question but I'm really lost in my
 searches. I'm new to context/tex and have been learning/finding
 information in the wiki at the contextgarden.net
 http://contextgarden.net for the past couple of weeks. Some of

 information there don't seem up to date but nothing unusual in an
 unofficial wiki. For some reason (isp/dns/something) the
 contextgarden.net http://contextgarden.net has been unavailiable to me

 since yesterday even though some verification sites show it up and some
 show it down (http://www..isitdownrightnow.com

 http://www.isitdownrightnow.com been one of the later). That got me
 wondering if there are easy official docs. I've seen the pdfs at
 pragma-ade.com http://pragma-ade.com but the most general ones I tried

 are from 1999 (ms-cb-en.pdf) and 2001 (cont-eni.pdf). Are these up to
 date with the current developments? I belive they are compatible but
 having seen examples of changes in the wiki I a little unsure.
 Furthermore, the parameter behavior description in the command reference
 seem a bit... dry. So here's my plea for a little bit more love for the
 documentation.
 In any way, thank you very much for an awesome language, I'm glad I
 researched thoroughly before jumping into latex.


 When mechanisms in context are extended, we try to remain downward
 compatible, at least in functionality. Therefore the old manuals are
 normally okay (no need to fake updates with newer dates.) There are however
 a few core mechanisms that are obsolete and/or changed and those are input
 encodings (now always utf) and fonts (now always unicode - or mapped to
 unicode - using features cf open type and more).

 In practice input encodings and fonts have always been complex: what input
 encoding to choose and what font encoding to use, then running into
 availability of fonts, differences per language, differences per user. A
 bit of installation nightmare and user support as soon as it became less
 standard. By the time that had become easier (tex gyre and lm project) the
 move to opentype was made so most of the documentation had become somewhat
 obsolete.

 So, when using old manuals, keep in mind that encodings, regimes and fonts
 are less hassle now and no special commands are needed to use and combine
 these properties.

 In addition some mechanisms were extended and improved in mkiv (sectioning
 and so) which means that there are additional ways to configure them.

 That leaves mechanisms that are completely redone. One example is
 bibliographies, but users who need them will have no real problems adapting
 and these come with new manuals.

 Stick to mkiv. It's the one where the action takes place.

 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
 
 ___

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

2014-07-08 Thread Mojca Miklavec
On Mon, Jul 7, 2014 at 9:10 PM, Philipp Gesang wrote:
 ···date: 2014-07-07, Monday···from: Yuri Teixeira···

  For some reason (isp/dns/something) the contextgarden.net
 has been unavailiable to me since yesterday even though some verification
 sites show it up and some show it down (http://www.isitdownrightnow.com
 been one of the later).

 Confirmed. The wiki server (wiki.contextgarden.net) does not
 respond to ICMP requests. I remember having used the wiki only
 yesterday so it could be temporary outage. The git server
 (git.contextgarden.net) is still running, though.

Only wiki, live and modules are down (plus tlcontrib). Minimals and
alike still work.

The domain contextgarden.net points to one server, but apache
redirects to another and that second one is down. This might explain
why verification sites show different results.

Only Taco has access to hardware.

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

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

[NTG-context] textbackground inside itemize

2014-07-08 Thread Troy Henderson
The following code produces a textbackground whose background color enters
into the itemize label area on the second (and succeeding) lines of the
paragraph.  I would appreciate advice on fixing this.

Thanks,

Troy Henderson

---

\setuppapersize[letter,landscape][letter,landscape]

\definetextbackground[foo][
state=start,
location=paragraph,
background=color,
backgroundcolor={0.875,0.875,0.875},
frame=off
]

\starttext
\startcolumns[n=2,rule=on]
\startitemize[n,2*broad]
\item Here is my first item
\starttextbackground[foo]
Here is some long text that demonstrates how the
background color is wrong on the second line and all successive lines of
this paragraph.
\stoptextbackground
\item Here is my second item
\stopitemize
\stopcolumns
\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
___