Re: [NTG-context] block with different formatting per line?

2013-02-06 Thread Rogers, Michael K
On Feb 6, 2013, at 1:04 AM, Ingo Hohmann mailto:cont...@ingohohmann.de>> wrote: On 02/03/2013 04:56 AM, Rogers, Michael K wrote: On Feb 1, 2013, at 6:16 PM, Ingo Hohmann wrote: Hi, is it possible to define a block, where lines are automatically formatted di

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
On Wed, 6 Feb 2013, Troy Henderson wrote: Any idea how to put a \framed{ ... } around \NC \NC x \NC = \NC 12 AFAIK, you can't. It's on my TODO list but requires a complete rewrite of math align macros. If you really need it: \startsetups table:math \setupTABLE[frame=off, toffset=0.2ex, b

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
Any idea how to put a \framed{ ... } around \NC \NC x \NC = \NC 12 Troy ___ 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/mailm

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
> > For display equations, the following will also work (but it is very tedius > to type) > Good workaround. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : nt

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
On Wed, 6 Feb 2013, Aditya Mahajan wrote: On Wed, 6 Feb 2013, Troy Henderson wrote: Aditya, Thanks for your steps.tex. The following example does not work as expected. In particular, the first equation moves from page 1 to page 2, and the "12 x" moves from page 2 to page 3. Troy \Start

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
On Wed, 6 Feb 2013, Troy Henderson wrote: Aditya, Thanks for your steps.tex. The following example does not work as expected. In particular, the first equation moves from page 1 to page 2, and the "12 x" moves from page 2 to page 3. Troy \StartStepping{10} \startformula

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
Aditya, Can you confirm this phenomenon? Troy ___ 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 we

Re: [NTG-context] block with different formatting per line?

2013-02-06 Thread Aditya Mahajan
On Wed, 6 Feb 2013, Bill Meahan wrote: On 02/01/2013 06:16 PM, Ingo Hohmann wrote: Hi, is it possible to define a block, where lines are automatically formatted differently? For example: first line in caps, second in bold, others normal. Is this possible? And how? My #1 "Wish List" item f

[NTG-context] Paragraph formatting (was: block with different formatting per line?)

2013-02-06 Thread Wolfgang Schuster
Am 06.02.2013 um 20:21 schrieb Bill Meahan : > My #1 "Wish List" item for ConTeXt is /allowing/ "stylesheets" at the > paragraph level. That would allow closer correspondence with what CSS/CSS3, > Scribus, ODT, EPUB3 &al do and make it much easier to write transformation > scripts whether XSLT

Re: [NTG-context] block with different formatting per line?

2013-02-06 Thread Bill Meahan
On 02/01/2013 06:16 PM, Ingo Hohmann wrote: Hi, is it possible to define a block, where lines are automatically formatted differently? For example: first line in caps, second in bold, others normal. Is this possible? And how? My #1 "Wish List" item for ConTeXt is /allowing/ "stylesheets" at

Re: [NTG-context] how to change the distance between two words?

2013-02-06 Thread Hans Hagen
On 2/6/2013 5:54 PM, Musall Maik wrote: Am 20.01.2013 um 03:42 schrieb Hongwen Qiu mailto:qiuhong...@gmail.com>>: On 01/20/2013 12:42 AM, 土卜皿 wrote: luatex has not been updated after executing first-setup.sh --keep, what should I do for updating Luatex? Usually, luatex get updated regu

Re: [NTG-context] how to change the distance between two words?

2013-02-06 Thread Hans Hagen
On 2/6/2013 5:54 PM, Musall Maik wrote: Am 20.01.2013 um 03:42 schrieb Hongwen Qiu mailto:qiuhong...@gmail.com>>: On 01/20/2013 12:42 AM, 土卜皿 wrote: luatex has not been updated after executing first-setup.sh --keep, what should I do for updating Luatex? Usually, luatex get updated regu

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
Aditya, Thanks for your steps.tex. The following example does not work as expected. In particular, the first equation moves from page 1 to page 2, and the "12 x" moves from page 2 to page 3. Troy \StartStepping{10} \startformula \startalign[n=4,align={right,right,middle

Re: [NTG-context] how to change the distance between two words?

2013-02-06 Thread Musall Maik
Am 20.01.2013 um 03:42 schrieb Hongwen Qiu : > On 01/20/2013 12:42 AM, 土卜皿 wrote: >> luatex has not been updated after executing >> first-setup.sh --keep, what should I do for updating Luatex? > Usually, luatex get updated regularly along with ConTeXt updating. If for > some reason, you want to

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
On Wed, 6 Feb 2013, Troy Henderson wrote: I would like to make a "row" of a \startalign ... \stopalign "hidden". The following fails. \starttext \definelayer[hiddenlayer][state=stop] \startformula \startalign[n=3,align={right,middle,left}] \NC a \NC = \NC b \NR

[NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
I would like to make a "row" of a \startalign ... \stopalign "hidden". The following fails. \starttext \definelayer[hiddenlayer][state=stop] \startformula \startalign[n=3,align={right,middle,left}] \NC a \NC = \NC b \NR \setlayer[hiddenlayer]{\NC a + c \NC

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Troy Henderson
> > Your macros slide-with-steps are very nice > For the record, these are not my macros. Aren't they yours? Anyway, the only thing I changed from what's on http://wiki.contextgarden.net/SlideWithSteps is I changed \eject to \page[yes] and I changed \phantom{ ... } to \setlayer[StepsHiddenLaye

Re: [NTG-context] Example from FAQ not working

2013-02-06 Thread P . Hanák
Hi, >> Hi, >> >> now I noticed that I can even use some non-existing alignment: >> >> >> \setuppapersize[A5] >> >> \setuplayout[location=middle, >>header=0pt, >>footer=0pt, >>height=fit, >>width=109mm

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Otared Kavian
Hi Troy, Thanks for sharing! Your macros slide-with-steps are very nice and the steps shown in the file foo.tex are very good, but I couldn't typeset the other file, bar.tex, since it seems that due to the use of \startalign and \stopalign in some steps in the middle create some difficulties fo

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Troy Henderson
Thanks Wolfgang for the explanation. \setupblank[fixed,big] works very well too. Now for another question. I have modified "SlideWithSteps" from http://wiki.contextgarden.net/SlideWithSteps It seemed not to like \eject and I replaced \phantom{ ... } with \setlayer[StepsHiddenLayer]{ ... } wher

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Aditya Mahajan
On Wed, 6 Feb 2013, Wolfgang Schuster wrote: Use \setupblank[fixed,line]. This is indeed the proper way. For some reason, I was simply testing with arguments to \setupwhitespace and, of course, \setupwhitespace[fixed,big] did not have the desired affect. Aditya

Re: [NTG-context] block with different formatting per line?

2013-02-06 Thread Ingo Hohmann
On 02/06/2013 02:29 PM, Wolfgang Schuster wrote: Am 06.02.2013 um 07:04 schrieb Ingo Hohmann >: On 02/03/2013 04:56 AM, Rogers, Michael K wrote: On Feb 1, 2013, at 6:16 PM, Ingo Hohmann wrote: <...> Here's a way to process the input lines. If there's a counte

Re: [NTG-context] Example from FAQ not working

2013-02-06 Thread Wolfgang Schuster
Am 06.02.2013 um 15:04 schrieb P. Hanák : > Hi, > > now I noticed that I can even use some non-existing alignment: > > > \setuppapersize[A5] > > \setuplayout[location=middle, >header=0pt, >footer=0pt, >height=fit, >width=109m

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Wolfgang Schuster
Am 06.02.2013 um 14:13 schrieb Troy Henderson : > Use \setupblank[fixed,line]. > > Aditya's solution sees to force content at the bottom of the page to stay on > the current page whereas Wolfgang's forces it to the next page. Both have > benefits to me, so thanks for both solutions. You sho

Re: [NTG-context] Example from FAQ not working

2013-02-06 Thread P . Hanák
Hi, now I noticed that I can even use some non-existing alignment: \setuppapersize[A5] \setuplayout[location=middle, header=0pt, footer=0pt, height=fit, width=109mm ] \setupindenting[next,\baseline

Re: [NTG-context] block with different formatting per line?

2013-02-06 Thread Wolfgang Schuster
Am 06.02.2013 um 07:04 schrieb Ingo Hohmann : > On 02/03/2013 04:56 AM, Rogers, Michael K wrote: >> On Feb 1, 2013, at 6:16 PM, Ingo Hohmann wrote: >> >>> Hi, >>> >>> is it possible to define a block, where lines are automatically formatted >>> differently? >>> For example: >>> first line in

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Troy Henderson
> > Use \setupblank[fixed,line]. > Aditya's solution sees to force content at the bottom of the page to stay on the current page whereas Wolfgang's forces it to the next page. Both have benefits to me, so thanks for both solutions. Troy ___

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Wolfgang Schuster
Am 06.02.2013 um 13:35 schrieb Troy Henderson : > \appendtoks\fixedblankskip\to\everybeforeblankhandling > > This seemed to work just fine. > > probably \setupblank[line] is better > > This did not seem to work. :-( Use \setupblank[fixed,line]. Wolfgang__

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Troy Henderson
> > \appendtoks\fixedblankskip\to\everybeforeblankhandling >> > This seemed to work just fine. > probably \setupblank[line] is better > This did not seem to work. :-( Troy ___ If your question is of interest to othe

Re: [NTG-context] No number of chapter in TOC

2013-02-06 Thread Wolfgang Schuster
Am 06.02.2013 um 13:22 schrieb H. Özoguz : > Hi there, > > after each chapter I begin with a section. So in the table of content every > chapter has the same page-number as the section, which comes directly after > the chapter-title (so no text is between them). \setuplist[chapter][pagenumber

[NTG-context] No number of chapter in TOC

2013-02-06 Thread H. Özoguz
Hi there, after each chapter I begin with a section. So in the table of content every chapter has the same page-number as the section, which comes directly after the chapter-title (so no text is between them). In the TOC it is not necessary to have Chapter 1 ... 7 Section 1 .

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Hans Hagen
On 2/6/2013 4:52 AM, Aditya Mahajan wrote: On Tue, 5 Feb 2013, Troy Henderson wrote: When a page begins to get "full", TeX automatically squeezes lines slightly closer together (vertically) to help the page "break" where it thinks that it should. If the page is less than full, then the (vertic

Re: [NTG-context] Rotating \copypages

2013-02-06 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Thu, 31 Jan 2013 19:36:08 +0100, Wolfgang Schuster wrote: \copypages[…][][orientation=90] Wolfgang Hello, kind request: could some info about three parameter alternative (or other changes/extensions) of \copypages be added to wiki? TIA. Lukas -- Ing. Lukáš Procházka [mailto:l...@po