Re: [NTG-context] Hyphenation documentation

2013-04-21 Thread Wolfgang Schuster
Am 20.04.2013 um 22:05 schrieb Sietse Brouwer sbbrou...@gmail.com: Hello all, I've just pulled together some questions of mine and their answers, and written them up into a hyphenation QA. http://wiki.contextgarden.net/Hyphenation http://wiki.contextgarden.net/Command/definebreakpoint

Re: [NTG-context] Hyphenation documentation

2013-04-21 Thread Hans Hagen
On 4/21/2013 10:26 AM, Wolfgang Schuster wrote: No, you have to use \hbox too but I think a command with a speaking name would be better. \unexpanded\def\unhyphenated {\groupedcommand{\lefthyphenmin\maxdimen}\donothing} I'll add that. Hans

[NTG-context] setuppagenumber--start at page xy

2013-04-21 Thread Jörg Hagmann
Has the code for starting pagenumbering at a given number changed? I'm using last year's template for an annual report, but can't get it to work. Minimal example: \setuppagenumber[number=3] \starttext \input tufte \stoptext I'm using today's context version. Thanks, Jörg -- Prof. Jörg

[NTG-context] setuppagenumber--start at page xy

2013-04-21 Thread H. Özoguz
Minimal example: \setuppagenumber[number=3] \starttext \input tufte \stoptext I'm using today's context version. Thanks, Jörg You could use \setcounter[userpage][2] \starttext \input tufte \stoptext Huseyin

[NTG-context] xml path

2013-04-21 Thread Meer, H. van der
Having for example xml-structure: rootnode node1subnode1../subnode1/node1 node2/ /node3/ /rootnode With the path expression \xmlall{#1}{!node1} the node1 should be suppressed, as happens in case. However, nodes under node1 like subnode1 should be suppressed because

[NTG-context] csname not applicable?

2013-04-21 Thread Meer, H. van der
Why doesn't it seem possible to have the following macro \def\docall#1{\csname xmlprocess#1\encsname{}{}} and use it with \docall{buffer}? How then accomplish this? Runaway argument? \def \sourcenode {exam::15}\edef \currentsource {\xmlattdef {exam::15\ETC. ! File ended while scanning use of

[NTG-context] select setups

2013-04-21 Thread Meer, H. van der
If I have various setups like: \startxmlsetups xam:setups \xmlsetsetup{\xmldocument}{..{xam:*} \stopxmlsetups \xmlregistersetup{xam:setups} \startxmlsetups xbm:setups \xmlsetsetup{\xmldocument}{..{xbm:*} \stopxmlsetups \xmlregistersetup{xbm:setups} Is it then possible to have

Re: [NTG-context] Hyphenation documentation

2013-04-21 Thread Sietse Brouwer
Hi Wolfgang, hi Hans, Thanks, I've updated the documentation accordingly. You have to use type 5 to create a rule for this, do you have a example where this is needed besides the one mentioned in the duden [1] example for a closing bracket. No, this was just a gut reaction. I can see the

Re: [NTG-context] csname not applicable?

2013-04-21 Thread Sietse Brouwer
Why doesn't it seem possible to have the following macro \def\docall#1{\csname xmlprocess#1\encsname{}{}} and use it with \docall{buffer}? How then accomplish this? encsname -- endcsname might do the trick. Cheers, Sietse

Re: [NTG-context] Hyphenation documentation

2013-04-21 Thread Hans Hagen
On 4/21/2013 7:27 PM, Sietse Brouwer wrote: Hi Wolfgang, hi Hans, Thanks, I've updated the documentation accordingly. You have to use type 5 to create a rule for this, do you have a example where this is needed besides the one mentioned in the duden [1] example for a closing bracket. No,

[NTG-context] calculating with dimension unit

2013-04-21 Thread Jan Heinen
In a book I produced with ConTeXt last year, I did a lot of calculation to be able to change the layout dynamicaly. With the actual version of ConTeXt I can't compile the book. I have tried a lot of things today ... without success. I hope my minimal-example helps you to understand, what I

Re: [NTG-context] calculating with dimension unit

2013-04-21 Thread luigi scarso
\starttext \setupexternalfigures[location={local,global,default}] \defineexpandable\ColumnA{30mm} \defineexpandable\ColumnB{40mm} \defineexpandable\ColumnABi{\the\dimexpr(\ColumnA + \ColumnB)} \defineexpandable\ColumnABii {\ctxlua{context([==[\ColumnA + \ColumnB]==])}}