[NTG-context] TeX Live 2016 is available over the Internet and on DVD.

2016-06-05 Thread luigi scarso
http://tug.org/texlive/

-- 
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] two questions about \definefontfamily

2016-06-05 Thread Wolfgang Schuster

Thomas A. Schmitz 
4. Juni 2016 um 21:41
Hi all (especially Wolfgang),

I have two questions about the font selection mechanism.

1. Three weeks ago you replied to a question from Pablo Rodriguez and 
wrote (https://mailman.ntg.nl/pipermail/ntg-context/2016/085508.html):


"You have to use scale instead of rscale for the \definefontfamily and
\definefallbackfamily commands for the moment but I will change it to
rscale."

In the meantime, you have changed this keyword. I have lots of styles 
that use "scale." Would it be very inconvenient to leave "scale" as a 
legacy synonym / alternative to rscale? That would be my feature 
request...
I added it but rscale has a higher priority and will be the only 
documented option.

2. The following example:

\definefallbackfamily [Test] [serif] [GentiumAlt] 
[range={greekandcoptic,greekextended},force=yes,rscale=3]


\definefontfamily [Test] [serif] [TeX Gyre Termes]

\setupbodyfont [Test,10pt]

\starttext

Test Μῆνιν ἄειδε

\stoptext

does not produce any output. It I replace "Test" with the lowercase 
"test," I get the expected output. Do you have an explanation for this?

It was a bug and I fixed 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] A rather special case of a chapter-start

2016-06-05 Thread Willi Egger
Thank you Wolfgang,

indeed, that was the problem!

Kind regrards 

Willi
> On 5 jun. 2016, at 20:44, Wolfgang Schuster  
> wrote:
> 
>> Willi Egger 5. Juni 2016 um 20:30
>> Indeed in the example it is stated header=empty, however in no case I get 
>> the header with text.
> You set different texts for left/right pages with no text for even numbered 
> pages which you now get in your example.
> 
> \setupheadertexts[Why not visible?][][][]
> 
> 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] A rather special case of a chapter-start

2016-06-05 Thread Wolfgang Schuster

Willi Egger 
5. Juni 2016 um 20:30
Indeed in the example it is stated header=empty, however in no case I 
get the header with text.
You set different texts for left/right pages with no text for even 
numbered pages which you now get in your example.


\setupheadertexts[Why not visible?][][][]

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] A rather special case of a chapter-start

2016-06-05 Thread Willi Egger
Indeed in the example it is stated header=empty, however in no case I get the 
header with text.

In the meantime I chose another approach:

\setuppagenumbering[location=]
\setuplayout
[header=0pt]

\starttext

\start
\setuphead[chapter][page=no]
\midaligned{\bf TEXT before chapter title}
\startchapter[title=test]
\input knuth
\stopchapter
\stop
\startchapter[title=Normal chapter start]
\input knuth
\stopchapter
\stoptext

Thanks for looking at this!

Kind regards

Willi
> On 5 jun. 2016, at 19:35, Hans Hagen  wrote:
> 
> On 6/5/2016 2:10 PM, Willi Egger wrote:
>> Dear list!
>> 
>> I have a book, in which I should repeat the title of the book on top of the 
>> first chapter title. - I thought that should be solvable with playing with 
>> the headertexts. However it seems, that it is not possible to force ConTeXt 
>> to place the headertexts-contents for a chapter, yes it displays the header 
>> space (header=empty} or removes the header space (header=high) in 
>> \setuphead[chapter].
>> 
>> MWE:
>> \setuppagenumbering[location=]
>> \setuplayout
>>  [header=40pt,
>>  headerdistance=10pt]
>> \setupheader
>>  [state=normal]
>> \setupheadertexts
>>  [Why not visible?][][][]
>> \setuphead
>>  [chapter]
>>  [header=empty]
>> \setupbackgrounds
>>  [header]
>>  [frame=on]
>> 
>> \starttext
>>  \input ward
>> 
>>  \page
>>  
>>  \startchapter[title=test]
>>  \input knuth
>>  \page
>>  \input ward
>>  \stopchapter
>> \stoptext
>> 
>> Hints would be welcome!
> 
> because you say
> 
> header=empty
> 
> 
> -
>  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
> ___

___
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] A rather special case of a chapter-start

2016-06-05 Thread Hans Hagen

On 6/5/2016 2:10 PM, Willi Egger wrote:

Dear list!

I have a book, in which I should repeat the title of the book on top of the 
first chapter title. - I thought that should be solvable with playing with the 
headertexts. However it seems, that it is not possible to force ConTeXt to 
place the headertexts-contents for a chapter, yes it displays the header space 
(header=empty} or removes the header space (header=high) in \setuphead[chapter].

MWE:
\setuppagenumbering[location=]
\setuplayout
[header=40pt,
headerdistance=10pt]
\setupheader
[state=normal]
\setupheadertexts
[Why not visible?][][][]
\setuphead
[chapter]
[header=empty]
\setupbackgrounds
[header]
[frame=on]

\starttext
\input ward

\page

\startchapter[title=test]
\input knuth
\page
\input ward
\stopchapter
\stoptext

Hints would be welcome!


because you say

header=empty


-
  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] Bug with setuplanguage

2016-06-05 Thread Aditya Mahajan

On Sun, 5 Jun 2016, Wolfgang Schuster wrote:


Aditya Mahajan 
5. Juni 2016 um 00:32
Hi,

I discovered this bug while answering a question on TeX.SX. Consider:

\define\cyrdash{\dontleavehmode\scale[sx=0.80]{---}}
\unprotect
\setuplanguage
  [\s!ru]
  [
\c!midsentence=\cyrdash,
\c!leftsentence=\cyrdash,
\c!rightsentence=\cyrdash,
  ]
\protect


\setupbodyfont[dejavu]

\starttext
Normal text|<|English

\mainlanguage[ru]
Normal text|<|Russian
\stoptext

The pdf shows:

Normal text—English
Normal text„Russian

Why the quote instead of the emdash. The output is okay is if \mainlanguage 
is set before |<| is used for the first time.
When subsentences are nested the inner group uses the leftsubsentence and 
rightsubsentence symbols.


\mainlanguage[ru]

\starttext
outer|<|inner|<|nested|>|inner|>|outer
\stoptext


Ah, thanks!

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
___

[NTG-context] A rather special case of a chapter-start

2016-06-05 Thread Willi Egger
Dear list!

I have a book, in which I should repeat the title of the book on top of the 
first chapter title. - I thought that should be solvable with playing with the 
headertexts. However it seems, that it is not possible to force ConTeXt to 
place the headertexts-contents for a chapter, yes it displays the header space 
(header=empty} or removes the header space (header=high) in \setuphead[chapter].

MWE:
\setuppagenumbering[location=]
\setuplayout
[header=40pt,
headerdistance=10pt]
\setupheader
[state=normal]
\setupheadertexts
[Why not visible?][][][]
\setuphead
[chapter]
[header=empty]
\setupbackgrounds
[header]
[frame=on]

\starttext
\input ward

\page

\startchapter[title=test]
\input knuth
\page
\input ward
\stopchapter
\stoptext 

Hints would be welcome!

Kind regards

Willi
___
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 with setuplanguage

2016-06-05 Thread Wolfgang Schuster

Aditya Mahajan 
5. Juni 2016 um 00:32
Hi,

I discovered this bug while answering a question on TeX.SX. Consider:

\define\cyrdash{\dontleavehmode\scale[sx=0.80]{---}}
\unprotect
\setuplanguage
  [\s!ru]
  [
\c!midsentence=\cyrdash,
\c!leftsentence=\cyrdash,
\c!rightsentence=\cyrdash,
  ]
\protect


\setupbodyfont[dejavu]

\starttext
Normal text|<|English

\mainlanguage[ru]
Normal text|<|Russian
\stoptext

The pdf shows:

Normal text—English
Normal text„Russian

Why the quote instead of the emdash. The output is okay is if 
\mainlanguage is set before |<| is used for the first time.
When subsentences are nested the inner group uses the leftsubsentence 
and rightsubsentence symbols.


\mainlanguage[ru]

\starttext
outer|<|inner|<|nested|>|inner|>|outer
\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
___