Re: [NTG-context] About Hyphenation

2013-07-25 Thread Hans Hagen

On 7/25/2013 3:24 AM, Andres Conrado Montoya wrote:

So, it seems that this configuration worked (more or less), to avoid:
Widows, Orphans, 3 or more consecutive hyphens, and final hyphens.

  \startsetups[grid][correcto]
\setups[*reset]
 \setpenalties\widowpenalties{1}{1}
 \setpenalties\clubpenalties{1}{1}
\stopsetups

\doublehyphendemerits=3
\finalhyphendemerits=3
\adjdemerits=1
\brokenpenalty1\relax


we occasionally have to use such high values due to publishers demands 
but keep in mind that the solution space becomes pretty small, so if the 
rest of the output looks less optimal: don't complain (personally for me 
it's always the moment that i try to hide the fact that tex is used)


automated typesetting fulfilling all constraints is in most cases (read: 
always) impossible so among the options are: inject an occasional manual 
pagebreak (once the context is fixed) or adapt the content in real nasty 
cases


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
___


[NTG-context] [***SPAM***] Section without numbering

2013-07-25 Thread H. Özoguz

Hello together, thanks for the last quick helpful answers!

How can one deactivate numbering (both in the toc and ind the content) 
for a single section-title manually?
In LaTex there is the star-syntax: \section*{Blub}, what is the analogon 
in Context?


Huseyin
___
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] [***SPAM***] Section without numbering

2013-07-25 Thread Hans Hagen

On 7/25/2013 1:11 PM, H. Özoguz wrote:

Hello together, thanks for the last quick helpful answers!

How can one deactivate numbering (both in the toc and ind the content)
for a single section-title manually?
In LaTex there is the star-syntax: \section*{Blub}, what is the analogon
in Context?


\subject

-
  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] [***SPAM***] Section without numbering

2013-07-25 Thread H. Özoguz
\subject 


Thanks Hans. But with subject the title is not in the toc, too. If I 
add subject into \setupcombinedlist, it does not help:


\setupcombinedlist
 [content]
 [alternative=b,
  list={chapter, section, subject
%subsubsection,
}]

How too add \subject (again without number) into the toc correctly?
___
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] [***SPAM***] Section without numbering

2013-07-25 Thread Wolfgang Schuster

Am 25.07.2013 um 13:55 schrieb H. Özoguz h.oezo...@mmnetz.de:

 \subject 
 
 Thanks Hans. But with subject the title is not in the toc, too. If I add 
 subject into \setupcombinedlist, it does not help:
 
 \setupcombinedlist
 [content]
 [alternative=b,
  list={chapter, section, subject
 %subsubsection,
 }]
 
 How too add \subject (again without number) into the toc correctly?

\setuphead[subject][incrementnumber=list]

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] [***SPAM***] Section without numbering

2013-07-25 Thread H. Özoguz

\setuphead[subject][incrementnumber=list]

Wolfgang



Thanks Wolfgang, but that does not work here. My minexample:

\setupcombinedlist
[content]
[alternative=b,
list={chapter, section, subject
%subsubsection,
}]

\setuphead[subject][incrementnumber=list]

\starttext
\completecontent
\subject{Without number. Should into the toc (there again without 
number) – but is not.}

\section{With number and into the toc. That works.}
\stoptext

Huseyin
___
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] [***SPAM***] Section without numbering

2013-07-25 Thread Wolfgang Schuster

Am 25.07.2013 um 14:26 schrieb H. Özoguz h.oezo...@mmnetz.de:

 \setupcombinedlist
 [content]
 [alternative=b,
 list={chapter, section, subject

Put a command after subject because without the comma context sees “subject ” 
(notice the space) as argument.

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] [***SPAM***] Section without numbering

2013-07-25 Thread Marco Patzer
On 2013–07–25 H. Özoguz wrote:

 Thanks Wolfgang, but that does not work here. My minexample:
 
 \setupcombinedlist
 [content]
 [alternative=b,
 list={chapter, section, subject

list={chapter, section, subject,

Marco


signature.asc
Description: Digital signature
___
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] [***SPAM***] Section without numbering

2013-07-25 Thread H. Özoguz

@Wolfgang, Marco: That works, thanks.
___
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] wrong font fallback for Hebrew?

2013-07-25 Thread Pablo Rodríguez
Dear list,

using simplefonts (sorry, I don’t know how to do it with the standard
typescripts [it might fail there too]), I don’t get font fallback
working for some Hebrew characters.

Here is the sample:

\usemodule[simplefonts]
\setupdirections[bidi=on]
\definefontfeature[hebrew][lang=heb,script=hebr]
\setmainfontfallback[FreeSerif][range={hebrew,greekandcoptic},
force=yes,features=hebrew]
\setmainfont[TeX Gyre Pagella]
\starttext
This Greek letter is printed: ά.\blank

But this Hebrew letter isn’t: אָֽ​.
\stoptext

It works for Greek, but it doesn’t work for Hebrew.

Am I doing something wrong or is this a bug?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] wrong font fallback for Hebrew?

2013-07-25 Thread Wolfgang Schuster

Am 25.07.2013 um 18:39 schrieb Pablo Rodríguez oi...@web.de:

 Dear list,
 
 using simplefonts (sorry, I don’t know how to do it with the standard
 typescripts [it might fail there too]), I don’t get font fallback
 working for some Hebrew characters.
 
 Here is the sample:
 
\usemodule[simplefonts]
\setupdirections[bidi=on]
\definefontfeature[hebrew][lang=heb,script=hebr]
\setmainfontfallback[FreeSerif][range={hebrew,greekandcoptic},
force=yes,features=hebrew]
\setmainfont[TeX Gyre Pagella]
\starttext
This Greek letter is printed: ά.\blank
 
But this Hebrew letter isn’t: אָֽ​.
\stoptext
 
 It works for Greek, but it doesn’t work for Hebrew.
 
 Am I doing something wrong or is this a bug?

The characters isn’t in one of the specified fallback ranges, you have to add 
“alphabeticpresentationforms” to the list.

Look at the block entry in the table: 
http://www.fileformat.info/info/unicode/char/fb2f/index.htm

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] wrong font fallback for Hebrew?

2013-07-25 Thread Pablo Rodríguez
On 25/07/13 19:16, Wolfgang Schuster wrote:
 Am 25.07.2013 um 18:39 schrieb Pablo Rodríguez oi...@web.de:
 Dear list,

 using simplefonts (sorry, I don’t know how to do it with the standard
 typescripts [it might fail there too]), I don’t get font fallback
 working for some Hebrew characters.
 [...]
 Am I doing something wrong or is this a bug?
 
 The characters isn’t in one of the specified fallback ranges, you have to add 
 “alphabeticpresentationforms” to the list.
 
 Look at the block entry in the table: 
 http://www.fileformat.info/info/unicode/char/fb2f/index.htm

Many thanks for your really helpful reply, Wolfgang.

I have been searching for something similar, but I wasn’t able to find it.

Alphabetic presentation forms also contain Latin ligatures (ff, fi, fl, ffi,
ffl, ſt, st), ConTeXt seems not to be affected by this.

Many thanks again for your help,


Pablo
-- 
http://www.ousia.tk
___
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
___