Re: [NTG-context] Unexpanded texdefinition produces “Undefined control sequence”

2013-08-26 Thread Hans Hagen
On 8/25/2013 9:09 PM, Marco Patzer wrote: On 2013–08–25 Wolfgang Schuster wrote: The \starttexdefintion command looks for the “unexpanded” keyword only when you apply also a argument but not when the arguments are missing, i.e. Thanks for the explanation. Is that a bug or expected behaviour?

[NTG-context] TOC: Chapter-titles without page-numbers

2013-08-26 Thread H. Özoguz
Hi there, in the attachment you see an example of a toc (of some german bestseller) I want to reproduce in ConText. The only problem left, I could not achieve myself, is: How to set the chapter-titles in the toc without pagenumbers (as you see in the attached jpg)? Thanks for your help

[NTG-context] [***SPAM***] Indentation for page-numbers

2013-08-26 Thread H. Özoguz
Hello, how to modify \setuppagenumbering to get indented page-numers? I use: \setuppagenumbering[alternative=doublesided, location={footer,right}, way=bytext, sectionnumber=yes, partnumber=yes] Is there a key indent or something to get the pagenumbers a small bit

[NTG-context] Indent titles

2013-08-26 Thread Eslamica
Hi here, 3rd question today :): How to indent titles? Should be easy, but could not find it in the wiki. I use: \setuphead [chapter] [style=ChapterFont, header=empty, number=no, page={yes,header,footer,right}, before={{\strut\blank[line]}}, after={\strut\blank[line]}, ] Is there a

Re: [NTG-context] Typesetting Classical Arabic Poetry

2013-08-26 Thread J. R. Schmid
Hi Idris, thank you much for your answer and also the attached files! I've played around with your module and ran into some problems which may have been due to my inexperiencedness with ConTeXt (rupturing of ligatures, at least with Scheherazade and inconsistent line height). Marco has been

[NTG-context] left bracket in string.format()

2013-08-26 Thread Peter Rolf
Hi, Not sure if this is a bug or intended behaviour. I want to fill a TABLE row with [number], but the leading left bracket causes some problems here. I tried the syntax 'print(string.format([%d],10)' in pure lua and the result is as desired. %% -- \starttext \startluacode

Re: [NTG-context] TOC: Chapter-titles without page-numbers

2013-08-26 Thread Wolfgang Schuster
Am 26.08.2013 um 12:20 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi there, in the attachment you see an example of a toc (of some german bestseller) I want to reproduce in ConText. The only problem left, I could not achieve myself, is: How to set the chapter-titles in the toc without

Re: [NTG-context] left bracket in string.format()

2013-08-26 Thread Wolfgang Schuster
Am 26.08.2013 um 17:01 schrieb Peter Rolf indi...@gmx.net: Hi, Not sure if this is a bug or intended behaviour. I want to fill a TABLE row with [number], but the leading left bracket causes some problems here. I tried the syntax 'print(string.format([%d],10)' in pure lua and the result is

Re: [NTG-context] Indent titles

2013-08-26 Thread Wolfgang Schuster
Am 26.08.2013 um 14:09 schrieb Eslamica i...@eslamica.de: Hi here, 3rd question today :): How to indent titles? Should be easy, but could not find it in the wiki. I use: \setuphead [chapter] [style=ChapterFont, header=empty, number=no, page={yes,header,footer,right},

Re: [NTG-context] [***SPAM***] Indentation for page-numbers

2013-08-26 Thread Wolfgang Schuster
Am 26.08.2013 um 13:25 schrieb H. Özoguz h.oezo...@mmnetz.de: Hello, how to modify \setuppagenumbering to get indented page-numers? I use: \setuppagenumbering[alternative=doublesided, location={footer,right}, way=bytext, sectionnumber=yes, partnumber=yes]

Re: [NTG-context] [***SPAM***] Indentation for page-numbers

2013-08-26 Thread H. Özoguz
\define[1]\PagenumberCommand {\doifoddpageelse {\offset[x=-1cm]{#1}} {\offset[x=+1cm]{#1}}} \setuppagenumbering[alternative=doublesided,location={footer,right},command=\PagenumberCommand] \starttext \dorecurse{20}{\input knuth\par} \stoptext Wolfgang Thanks again Wolfgang,

Re: [NTG-context] left bracket in string.format()

2013-08-26 Thread Peter Rolf
Am 26.08.2013 17:40, schrieb Wolfgang Schuster: Am 26.08.2013 um 17:01 schrieb Peter Rolf indi...@gmx.net: Hi, Not sure if this is a bug or intended behaviour. I want to fill a TABLE row with [number], but the leading left bracket causes some problems here. I tried the syntax

[NTG-context] Minimal word-distance?

2013-08-26 Thread H. Özoguz
Beyond the possibility to influence the tolerance by \setuptolerance, is it possible to declare explicit the minimal allowed word-distance? I ask, because in some cases the distance between consecutive words is too low (already using \setuptolerance[verstrict]). Thanks. Huseyin

Re: [NTG-context] Typesetting Classical Arabic Poetry

2013-08-26 Thread Marco Patzer
On 2013–08–26 J. R. Schmid wrote: I've played around with your module and ran into some problems which may have been due to my inexperiencedness with ConTeXt (rupturing of ligatures, at least with Scheherazade and inconsistent line height). Marco has been helping me though, and it looks like

Re: [NTG-context] Minimal word-distance?

2013-08-26 Thread Marco Patzer
On 2013–08–26 H. Özoguz wrote: is it possible to declare explicit the minimal allowed word-distance? \starttext \spaceskip=1ex plus 1ex minus .2ex \input knuth \stoptext Marco signature.asc Description: Digital signature

[NTG-context] [***SPAM***] Re: Minimal word-distance?

2013-08-26 Thread H. Özoguz
\starttext \spaceskip=1ex plus 1ex minus .2ex \input knuth \stoptext Marco That simply overrides protrusion and justification, forcing a constant distance. The question is, only to add an minimal distance, wich has not to be undercut while protrusing and justifying. Huseyin

Re: [NTG-context] [***SPAM***] Re: Minimal word-distance?

2013-08-26 Thread Marco Patzer
On 2013–08–26 H. Özoguz wrote: \starttext \spaceskip=1ex plus 1ex minus .2ex \input knuth \stoptext Marco That simply overrides protrusion and justification, The following text has protrusion and is justified. \setuplayout [width=6cm] \definefontfeature [default] [default]

Re: [NTG-context] Minimal word-distance?

2013-08-26 Thread H. Özoguz
The following text has protrusion and is justified. \setuplayout [width=6cm] \definefontfeature [default] [default] [protrusion=pure] \setupalign [hanging] \showframe \starttext \spaceskip=1ex plus 1ex minus .2ex \input knuth \stoptext / forcing a constant distance. / If you provide

Re: [NTG-context] Typesetting Classical Arabic Poetry

2013-08-26 Thread Hans Hagen
On 8/26/2013 8:06 PM, Marco Patzer wrote: In contrast to Latin script, justifying Arabic text is not solely achieved by varying the inter-word space, but also by means of elongating particular glyps². After having read Idris' article³ it seems like this is a font feature. However, I have no

Re: [NTG-context] [***SPAM***] Re: Minimal word-distance?

2013-08-26 Thread Peter Münster
On Mon, Aug 26 2013, H. Özoguz wrote: The question is, only to add an minimal distance, wich has not to be undercut \spaceskip=1ex plus 1ex minus 0ex or just \spaceskip=1ex plus 1ex -- Peter ___

Re: [NTG-context] Minimal word-distance?

2013-08-26 Thread Marco Patzer
On 2013–08–26 H. Özoguz wrote: The following text has protrusion and is justified. \setuplayout [width=6cm] \definefontfeature [default] [default] [protrusion=pure] \setupalign [hanging] \showframe \starttext \spaceskip=1ex plus 1ex minus .2ex \input knuth \stoptext / forcing

[NTG-context] flow text around graphic: lower right

2013-08-26 Thread Lars Huttar
Hi all, We have the small self-contained example below, in which text flows around a graphic. The graphic is aligned with the upper-left corner of the text paragraph (despite \setuphanging[location=right]). We would very much like to have the graphic align with the lower right corner of the

Re: [NTG-context] Unexpanded texdefinition produces “Undefined control sequence”

2013-08-26 Thread Marco Patzer
On 2013–08–26 Hans Hagen wrote: not a bug ... just not implemented (as it's pretty complex to do that case efficiently at the tex end) anyhow, as it seems to be needed, i redid the code and now we have: […] so, three optional qualifiers (also in that order), so you'd better wikify it