Re: [NTG-context] For the Mac users: AppleScript to launch ConTeXt in a flexile way

2016-03-23 Thread Jaroslav Hajtmar

Thanks Thomas for the link. For me it will be helpful.

Jaroslav Hajtmar

Dne 24.03.16 v 5:13 Thomas Floeren napsal(a):

Hi,

A small fix for the Typeset Tool:

1.2.5 (64) / 2016-03-22
Notifications now working on El Capitan (10.11).

http://dflect.net/context-typeset-tool/


Best,

--
Tom



___
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] For the Mac users: AppleScript to launch ConTeXt in a flexile way

2016-03-23 Thread Thomas Floeren
Hi,

A small fix for the Typeset Tool:

1.2.5 (64) / 2016-03-22
Notifications now working on El Capitan (10.11).

http://dflect.net/context-typeset-tool/ 



Best,

-- 
Tom

___
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] Length range control of the last line of paragraph

2016-03-23 Thread Aditya Mahajan

On Tue, 22 Mar 2016, Hans Hagen wrote:

a next beta will provide three new keywords (related to n times 
parindent filling, fwiw)


\startnarrower[left] \setupalign[four]  4>\the\parfillskip \ward 
\par \stopnarrower
\startnarrower[left] \setupalign[three] 3>\the\parfillskip \ward 
\par \stopnarrower
\startnarrower[left] \setupalign[two]   2>\the\parfillskip \ward 
\par \stopnarrower


I think that two, three, four are not very descriptive. An easier to 
remember interface could be \setupalign[3*parindent], 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] Length range control of the last line of paragraph

2016-03-23 Thread Hans Hagen

On 3/23/2016 8:14 PM, Jan Tosovsky wrote:

On 2016-03-22 Hans Hagen wrote:

On 3/21/2016 8:14 PM, Jan Tosovsky wrote:


when paragraphs are separated by indenting the first line
(instead of an empty line), these rules should be followed:


a next beta will provide a bit more control over last words

\usemodule[art-01] \setupbodyfont[10pt]

\definehyphenationfeatures
[words-1]
[rightwords=3,
 lefthyphenmin=4,
 righthyphenmin=4]>

...

not uploaded yet


I am impressed by your passion. Thanks for your continuous tweaking and 
inventing various approaches to fulfil my needs!


i added only a few lines ... the rightwords is already there for a while 
(but the rightchars is new)



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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] Length range control of the last line of paragraph

2016-03-23 Thread Hans Hagen

On 3/23/2016 8:14 PM, Jan Tosovsky wrote:

On 2016-03-22 Hans Hagen wrote:

On 3/22/2016 9:57 PM, Jan Tosovsky wrote:

On 2016-03-22 Hans Hagen wrote:

On 3/21/2016 8:14 PM, Jan Tosovsky wrote:


when paragraphs are separated by indenting the first line
(instead of an empty line), these rules should be followed:

(2) the last line is shorter than block width
   
   xx
 xx
   

(ad 2) This can be done using \parfillskip XXpt plus 1fil
(where XX is required gap)


setting the XXpt is tricky as it might lead to underful or
overful cases when that amount start interfering with an optimal
solution (as it's seen as acceptable overflow in some direction)


underful or overful where? in previous lines? I am quite lost here


\starttext

\setupalign[tolerant,stretch]
\dorecurse{100}{
  \hsize\dimexpr\textwidth-#1pt\relax
  \parfillskip -4em plus 1 fill
  \input tufte
  \page
}

\stoptext

page 43


In my output I can see overful of the last line on pages 38-46.

How can this happen? Isn't it a clear bug?

What exactly mean 'that amount start interfering with an optimal solution'?
Isn't parfillskip settings taken already into an account when composing the 
paragraph?

Huh. I am puzzled.


it's just a skip added at the end of the line ... so like any skip ... 
and if you give it a fill that will be taken into account in linebreaks 
(just like other fill)


\starttext

\dorecurse{100}{testtesttesttesttest #1 \hskip0ptplus1fill\relax}

\stoptext





--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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] Length range control of the last line of paragraph

2016-03-23 Thread Jan Tosovsky
On 2016-03-22 Hans Hagen wrote:
> On 3/22/2016 11:54 AM, Hans Hagen wrote:
> > On 3/21/2016 8:14 PM, Jan Tosovsky wrote:
> > > when paragraphs are separated by indenting the first line 
> > > (instead of an empty line), these rules should be followed:
> 
> a next beta will provide three new keywords (related to n times
> parindent filling, fwiw)
> 
> \setupalign[four]
> \setupalign[three]
> \setupalign[two]
> 
> ...

Thanks for this! I'd personally prefer more self-decriptive keywords. After 
several months I usually forgot the original meaning. But I understand this is 
unacceptable:

last-line-length-greater-than-four-parindents

:-)

___
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] Length range control of the last line of paragraph

2016-03-23 Thread Jan Tosovsky
On 2016-03-22 Hans Hagen wrote:
> On 3/21/2016 8:14 PM, Jan Tosovsky wrote:
> >
> > when paragraphs are separated by indenting the first line 
> > (instead of an empty line), these rules should be followed:
> 
> a next beta will provide a bit more control over last words
>
> \usemodule[art-01] \setupbodyfont[10pt]
> 
> \definehyphenationfeatures
>[words-1]
>[rightwords=3,
> lefthyphenmin=4,
> righthyphenmin=4]> 
>
> ...
> 
> not uploaded yet

I am impressed by your passion. Thanks for your continuous tweaking and 
inventing various approaches to fulfil my needs!

Jan 

___
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] Tagging and startitemize[columns]

2016-03-23 Thread Christoph Reller
On Tue, 22 Mar 2016 14:53:05 +0100, Hans Hagen  wrote:

>
> On 3/22/2016 9:19 AM, Christoph Reller wrote:
> > \setuptagging[state=start]
> > \starttext
> >
> >\startsectionlevel[title=Chapter]
> >  Text.
> >  \startitemize[columns]
> >  \item A
> >  \item B
> >  \stopitemize
> >
> >  \startitemize
> >  \item A
> >  \item B
> >  \stopitemize
> >  More Text.
> >\stopsectionlevel
> > \stoptext
> >
>
> and what if you remove the % in line 847 in strc-itm.mkvi and remake the
> format?
>
> \strc_itemgroups_tag_start_group
>

Indeed this solves the current problem. Thank you Hans!
I hope that you can uncomment this line in the next beta, or do you expect
any bad side effects from doing so?

Also I hope that it is okay if I report any further issues regarding
tagging here.

Thanks,
Christoph
___
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
___