Re: [NTG-context] [***SPAM***] Resetting Page Backgrounds

2012-04-19 Thread Aditya Mahajan
the ConTeXt input file. Then the graphic is used as a background. I need this background to appear only on one page. My current solution is to use TeX conditionals to test if the page number has incremented, then reset the background to empty. This approach fails in many cases. The code below

[NTG-context] Problem with placefigure in a new page with latest beta

2012-04-19 Thread Charles
Hi, In the latest beta (2012.04.17, and it was working in version 2012.02.21), the first figure in the following example is ignored: \starttext See in \in{Figure}[refA]. \placefigure[page][refA]{Figure legend A}{\externalfigure[]} \placefigure[here][refB]{Figure legend B}{\externalfigure

Re: [NTG-context] [***SPAM***] Resetting Page Backgrounds

2012-04-19 Thread Hans Hagen
On 18-4-2012 14:18, Raymond LeClair wrote: \setupbackgrounds[page][background={{}}] just \setupbackgrounds[page][background=] - Hans Hagen | PRAGMA ADE Ridderstraat 27

[NTG-context] [***SPAM***] Resetting Page Backgrounds

2012-04-18 Thread Raymond LeClair
used as a background. I need this background to appear only on one page. My current solution is to use TeX conditionals to test if the page number has incremented, then reset the background to empty. This approach fails in many cases. The code below provides a minimum working example of a failure

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-17 Thread Wolfgang Schuster
different paper size for the first/last page. What you can do is to use a second document where include each page as described by Aditya. Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-17 Thread Jan Heinen
Hello, someone, who understood what I want to achieve? http://www.imagebanana.com/view/shoayek5/onlinebook.jpg Or more questions? Regards Janis - Copy - Re: [NTG-context] doublesided PDF - first and last page singlesided Jan Heinen Mon, 16 Apr 2012 04:29:20 -0700 Hello, some

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-16 Thread Jan Heinen
Hello, some were guessing, what I want to achieve. I made a screenshot for you: http://www.imagebanana.com/view/shoayek5/onlinebook.jpg It ist the online-version of a printed book. For printing it was ok to have one bookpage on one sheet of paper. For the online-version I want to have two bo

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-16 Thread Thomas A. Schmitz
On 04/16/2012 08:48 AM, Aditya Mahajan wrote: You should make an example yourself, I'm still guessing what it is you want to achieve. I'm not sure what a "pdf-version for the internet" is - pdf is not a web-based format? My guess is that that OP wants to display the pdf the same way Acrobat r

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Aditya Mahajan
On Mon, 16 Apr 2012, Thomas A. Schmitz wrote: You should make an example yourself, I'm still guessing what it is you want to achieve. I'm not sure what a "pdf-version for the internet" is - pdf is not a web-based format? My guess is that that OP wants to display the pdf the same way Acrobat

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Thomas A. Schmitz
On 04/16/2012 12:17 AM, Jan Heinen wrote: I was lucky to get a fast answer - but with your code I don't get the right result: -- start your code \startmode[booklet] \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \stopmode \starttext First page \startmode[booklet] \null

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Aditya Mahajan
On Sun, 15 Apr 2012, Aditya Mahajan wrote: If you don't mind creating another file to convert a given double sided pdf into the above format, you can use the following (pseudo code, untested, and might have typos) You can also create a mtx-context-doublesided.lua script that takes the filena

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Aditya Mahajan
On Mon, 16 Apr 2012, Jan Heinen wrote: I was lucky to get a fast answer - but with your code I don't get the right result: -- start your code \startmode[booklet] \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \stopmode \starttext First page \startmode[booklet] \null \page \sto

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Jan Heinen
I was lucky to get a fast answer - but with your code I don't get the right result: -- start your code \startmode[booklet] \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \stopmode \starttext First page \startmode[booklet] \null \page \stopmode etc. \stoptext Thomas -- stop

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Thomas A. Schmitz
On 04/15/2012 10:01 AM, Jan Heinen wrote: Hello, someone here on a sunday? I want to have a PDF-screen-version of my booklet: The book has 8 pages including the coverpages. The result should look like this: (first and last page NOT doublesided) 1 first page of the pdf (coverpage) 2 3

[NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Jan Heinen
Hello, someone here on a sunday? I want to have a PDF-screen-version of my booklet: The book has 8 pages including the coverpages. The result should look like this: (first and last page NOT doublesided) 1 first page of the pdf (coverpage) 2 3 second 4 5 third 6 7

Re: [NTG-context] Page background image

2012-04-05 Thread Kip Warner
On Thu, 2012-04-05 at 04:41 +0200, Wolfgang Schuster wrote: > \defineoverlay[backgroundfigure][\overlayfigure{mill}] > > \setupbackgrounds[page][background=backgroundfigure] > > \starttext > \dorecurse{12}{\page[empty]} > \stoptext > > Wolfgang Thanks Wolfgang &

Re: [NTG-context] Page background image

2012-04-04 Thread Wolfgang Schuster
Am 04.04.2012 um 23:03 schrieb Kip Warner: > Hey list, > > I have an image that I would like to use as the page background on every > page of a document. The image matches the dimensions of the full page > already. I know how to insert it as a floating figure or as a logo in &g

Re: [NTG-context] Page background image

2012-04-04 Thread Aditya Mahajan
On Wed, 4 Apr 2012, Kip Warner wrote: Hey list, I have an image that I would like to use as the page background on every page of a document. The image matches the dimensions of the full page already. I know how to insert it as a floating figure or as a logo in the margin, but not as the entire

[NTG-context] Page background image

2012-04-04 Thread Kip Warner
Hey list, I have an image that I would like to use as the page background on every page of a document. The image matches the dimensions of the full page already. I know how to insert it as a floating figure or as a logo in the margin, but not as the entire page itself. -- Kip Warner -- Software

Re: [NTG-context] TABLE not splitting across page boundary

2012-04-03 Thread Kip Warner
On Tue, 2012-04-03 at 10:16 +0200, Hans Hagen wrote: > indeed. that kind of wrapping does not work for successive (split) > floats Suggestions? All I need is the table on the right side, text flowing around it, and if the table is too long, to split across page boundaries. -- Kip

Re: [NTG-context] TABLE not splitting across page boundary

2012-04-03 Thread Hans Hagen
On 3-4-2012 02:13, Kip Warner wrote: On Mon, 2012-04-02 at 12:54 +0200, Hans Hagen wrote: \placetable[force,nonumber,right,split] Thanks Hans. That works for splitting the table, but text no longer wraps around it properly anymore. The table is aligned on the right side of the page, and

Re: [NTG-context] TABLE not splitting across page boundary

2012-04-02 Thread Kip Warner
On Mon, 2012-04-02 at 12:54 +0200, Hans Hagen wrote: > \placetable[force,nonumber,right,split] Thanks Hans. That works for splitting the table, but text no longer wraps around it properly anymore. The table is aligned on the right side of the page, and splits at a page boundary as requested,

Re: [NTG-context] TABLE not splitting across page boundary

2012-04-02 Thread Hans Hagen
On 2-4-2012 07:41, Kip Warner wrote: Hey list, I am having difficulty getting my table to split across page boundaries. It doesn't have, nor need, headers, but just individual unrelated rows. Here is a minimal illustrating the problem I am having: \starttext Here is some text. \place

Re: [NTG-context] Page numbering in latest beta

2012-04-02 Thread Steffen Fritzsche
Hi, thanks for these suggestions. I now use the following settings: \definefont[HeaderFont][Sans at 10pt] \setupheader[style=HeaderFont] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, location=, style=sansbold] \startsectionblockenviron

[NTG-context] TABLE not splitting across page boundary

2012-04-01 Thread Kip Warner
Hey list, I am having difficulty getting my table to split across page boundaries. It doesn't have, nor need, headers, but just individual unrelated rows. Here is a minimal illustrating the problem I am having: \starttext Here is some text. \placetable[force,nonumber,right]{} { \bTABLE[

Re: [NTG-context] Page numbering in latest beta

2012-03-30 Thread Hans Hagen
On 30-3-2012 18:41, Steffen Fritzsche wrote: Hi Hans, I just ran my update script again, the issue still exists. Last update before was this morning around 10 a.m. CEST. Any ideas or suggestions? The old numbering code had a side effect. Every time one changes settings the state of the co

Re: [NTG-context] Page numbering in latest beta

2012-03-30 Thread Wolfgang Schuster
Am 30.03.2012 um 17:39 schrieb Steffen Fritzsche: > Hi, > > nice surprise, with the latest beta my document just grew 15 pages ;) > > On a closer look, it turned out that the numbering of my body part is not > reset to 1, instead it continues with the next number after my frontpart. > Here is

Re: [NTG-context] Page numbering in latest beta

2012-03-30 Thread Hans Hagen
On 30-3-2012 17:39, Steffen Fritzsche wrote: Hi, nice surprise, with the latest beta my document just grew 15 pages ;) On a closer look, it turned out that the numbering of my body part is not reset to 1, instead it continues with the next number after my frontpart. Here is how I did set this

[NTG-context] Page numbering in latest beta

2012-03-30 Thread Steffen Fritzsche
Hi, nice surprise, with the latest beta my document just grew 15 pages ;) On a closer look, it turned out that the numbering of my body part is not reset to 1, instead it continues with the next number after my frontpart. Here is how I did set this up long time ago: \startsectionblockenvironme

Re: [NTG-context] Itemize without page break

2012-03-22 Thread Kip Warner
On Thu, 2012-03-22 at 12:58 +0100, Philipp Gesang wrote: > Fyi I just added a couple words to the article: > > please expand as needed! Thank you. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail

Re: [NTG-context] Itemize without page break

2012-03-22 Thread Kip Warner
On Thu, 2012-03-22 at 12:21 +0100, Philipp Gesang wrote: > You’re right, it can cause confusion to people migrating from > Latex where package options, afair, allows mixed key-value/list > syntax (like e.g. Lua does as well). Random example from the > KOMA-Script manual: > > \documentclass[BCOR=

Re: [NTG-context] Itemize without page break

2012-03-22 Thread Kip Warner
On Thu, 2012-03-22 at 11:38 +0100, Mojca Miklavec wrote: > - Maybe it could be more explicit, but if you ever take a look at > documentation Sorry, but which documentation should one obviously be looking at? The half a dozen PDFs, the several versions of the wiki, the mailing list, one of the actu

Re: [NTG-context] Itemize without page break

2012-03-22 Thread luigi scarso
On Thu, Mar 22, 2012 at 1:05 PM, luigi scarso wrote: > On Thu, Mar 22, 2012 at 3:01 AM, Kip Warner wrote: > >>What's probably happening is eventually the system runs out of memory, >>the swap gets depleted as well, and as a last act of desperation, the >>kernel finally denies an allocation reques

Re: [NTG-context] Itemize without page break

2012-03-22 Thread luigi scarso
On Thu, Mar 22, 2012 at 3:01 AM, Kip Warner wrote: >What's probably happening is eventually the system runs out of memory, >the swap gets depleted as well, and as a last act of desperation, the >kernel finally denies an allocation request to luatex which is pretty >rare. The latter probably then

Re: [NTG-context] Itemize without page break

2012-03-22 Thread Philipp Gesang
On 2012-03-22 12:21, Philipp Gesang wrote: > Therefore the difference to Context deserves mention at least > somewhere in > > which said migrators are most likely to consult first. Fyi I just added a couple words to the article:

Re: [NTG-context] Itemize without page break

2012-03-22 Thread Philipp Gesang
end of vague > > syntactical errors, or even successful compilations with the wrong > > effects, shouldn't that probably have been mentioned at least once, even > > if only in passing, somewhere within the 369 page user manual? The word > > "assignment" I co

Re: [NTG-context] Itemize without page break

2012-03-22 Thread Hans Hagen
On 22-3-2012 11:38, Mojca Miklavec wrote: - The fact that assignments and simple options have to be separated is not a limitation of TeX, but the way how ConTeXt is programmed. Hans uses a single command that takes all options inside brackets at once that defines (results in) something similar t

Re: [NTG-context] Itemize without page break

2012-03-22 Thread Hans Hagen
On 22-3-2012 11:38, Mojca Miklavec wrote: - The fact that assignments and simple options have to be separated is not a limitation of TeX, but the way how ConTeXt is programmed. Hans uses a single command that takes all options inside brackets at once that defines (results in) something similar t

Re: [NTG-context] Itemize without page break

2012-03-22 Thread Mojca Miklavec
probably have been mentioned at least once, even > if only in passing, somewhere within the 369 page user manual? The word > "assignment" I couldn't locate once. - The fact that assignments and simple options have to be separated is not a limitation of TeX, but the way

Re: [NTG-context] Itemize without page break

2012-03-21 Thread Kip Warner
ave taken down entire operating systems, or cause hour after hour of no end of vague syntactical errors, or even successful compilations with the wrong effects, shouldn't that probably have been mentioned at least once, even if only in passing, somewhere within the 369 page user manual? The word

Re: [NTG-context] [luatex] Itemize without page break

2012-03-21 Thread Kip Warner
On Tue, 2012-03-20 at 22:41 +0100, luigi scarso wrote: > > As I said earlier, I get a segmentation fault if I leave it to run, but > > I always have to kill it before it takes down the entire operating > > system with it (apparently this is normal). I don't get the TeX capacity > > exceeded error m

Re: [NTG-context] Itemize without page break

2012-03-20 Thread Aditya Mahajan
On Tue, 20 Mar 2012, Kip Warner wrote: On Tue, 2012-03-20 at 06:46 +0100, Wolfgang Schuster wrote: You can’t have a assignment in both parameters because this would lead to the same problem as before, combine both settings in one argument and it works. I must not be doing it right because the

Re: [NTG-context] Itemize without page break

2012-03-20 Thread Kip Warner
On Tue, 2012-03-20 at 06:46 +0100, Wolfgang Schuster wrote: > You can’t have a assignment in both parameters because this would lead > to the same problem as before, > combine both settings in one argument and it works. I must not be doing it right because the item numbers are gone now and replac

Re: [NTG-context] [luatex] Itemize without page break

2012-03-20 Thread luigi scarso
On Tue, Mar 20, 2012 at 10:24 PM, Kip Warner wrote: > On Tue, 2012-03-20 at 21:39 +0100, luigi scarso wrote: >> When  TeX says >> ! TeX capacity exceeded, sorry [token memory size=<...>] >> it is its graceful way to exit from  an irreversible situation. >> It can be caused by luatex or ConTeXt mki

Re: [NTG-context] [luatex] Itemize without page break

2012-03-20 Thread Kip Warner
On Tue, 2012-03-20 at 21:44 +0100, Hans Hagen wrote: > sure, but mu experience is that browsers of email clients are way more > demanding than tex when it comes to memory usage I've never had either take down the entire operating system. There is a different from intended memory usage and uninten

Re: [NTG-context] [luatex] Itemize without page break

2012-03-20 Thread Kip Warner
On Tue, 2012-03-20 at 21:39 +0100, luigi scarso wrote: > When TeX says > ! TeX capacity exceeded, sorry [token memory size=<...>] > it is its graceful way to exit from an irreversible situation. > It can be caused by luatex or ConTeXt mkiv > but it's *not* a segmentation fault, as you said early:

Re: [NTG-context] [luatex] Itemize without page break

2012-03-20 Thread Hans Hagen
On 20-3-2012 20:59, Kip Warner wrote: On Tue, 2012-03-20 at 20:26 +0100, Hans Hagen wrote: well you can try what happens if you run stock lua: local t = { } while true do t[#t+1] = "just a bogus string: " .. (#t+1) end at some point your system will run out of (virtual) memory or lua wil

Re: [NTG-context] [luatex] Itemize without page break

2012-03-20 Thread luigi scarso
On Tue, Mar 20, 2012 at 8:59 PM, Kip Warner wrote: > On Tue, 2012-03-20 at 20:26 +0100, Hans Hagen wrote: >> well you can try what happens if you run stock lua: >> >> local t = { } >> while true do >>      t[#t+1] = "just a bogus string: " .. (#t+1) >> end >> >> at some point your system will run

Re: [NTG-context] [luatex] Itemize without page break

2012-03-20 Thread Kip Warner
On Tue, 2012-03-20 at 20:26 +0100, Hans Hagen wrote: > well you can try what happens if you run stock lua: > > local t = { } > while true do > t[#t+1] = "just a bogus string: " .. (#t+1) > end > > at some point your system will run out of (virtual) memory or lua will > run out of whatever i

Re: [NTG-context] [luatex] Itemize without page break

2012-03-20 Thread Hans Hagen
On 20-3-2012 19:59, Kip Warner wrote: On Tue, 2012-03-20 at 16:57 +0200, Khaled Hosny wrote: Older TeX engines had hard memory limit, so in case of such "syntactical" errors the engine would consume all its allocated memory and die (with a misleading error message), LuaTeX dynamically allocates

Re: [NTG-context] [luatex] Itemize without page break

2012-03-20 Thread Kip Warner
On Tue, 2012-03-20 at 16:57 +0200, Khaled Hosny wrote: > Older TeX engines had hard memory limit, so in case of such > "syntactical" errors the engine would consume all its allocated memory > and die (with a misleading error message), LuaTeX dynamically allocates > memory (for good reasons) so it w

Re: [NTG-context] Itemize without page break

2012-03-20 Thread Kip Warner
On Tue, 2012-03-20 at 09:17 +0100, Hans Hagen wrote: > which is not really a crash of my operating system; there is not much > I > can do about this issue I fear. Totally up to you. I just wanted to bring it to your attention. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail pr

Re: [NTG-context] [luatex] Itemize without page break

2012-03-20 Thread Khaled Hosny
On Tue, Mar 20, 2012 at 08:21:35AM +0100, Patrick Gundlach wrote: > > Am 20.03.2012 um 06:49 schrieb Kip Warner: > > > On Tue, 2012-03-20 at 06:46 +0100, Wolfgang Schuster wrote: > >> TeX has it’s problem with certain errors, accept it. > > > > It is not a problem with the program raising an err

Re: [NTG-context] [luatex] Itemize without page break

2012-03-20 Thread Khaled Hosny
On Mon, Mar 19, 2012 at 10:49:48PM -0700, Kip Warner wrote: > On Tue, 2012-03-20 at 06:46 +0100, Wolfgang Schuster wrote: > > TeX has it’s problem with certain errors, accept it. > > It is not a problem with the program raising an error, it was how it > went about doing it. It should not have to t

Re: [NTG-context] Itemize without page break

2012-03-20 Thread luigi scarso
On Tue, Mar 20, 2012 at 9:17 AM, Hans Hagen wrote: > On 20-3-2012 06:49, Kip Warner wrote: >> >> On Tue, 2012-03-20 at 06:46 +0100, Wolfgang Schuster wrote: >>> >>> TeX has it’s problem with certain errors, accept it. >> >> >> It is not a problem with the program raising an error, it was how it >>

Re: [NTG-context] Itemize without page break

2012-03-20 Thread Hans Hagen
On 20-3-2012 06:49, Kip Warner wrote: On Tue, 2012-03-20 at 06:46 +0100, Wolfgang Schuster wrote: TeX has it’s problem with certain errors, accept it. It is not a problem with the program raising an error, it was how it went about doing it. It should not have to take down the entire operating

Re: [NTG-context] Itemize without page break

2012-03-20 Thread Hans Hagen
On 20-3-2012 01:43, Kip Warner wrote: On Mon, 2012-03-19 at 22:49 +0100, Hans Hagen wrote: On 19-3-2012 00:29, Kip Warner wrote: I've cc'd the luatex user mailing list since this is probably, I suppose, a luatex issue more than a ConTeXt one. not that probable Actually highly probably, sin

Re: [NTG-context] [luatex] Itemize without page break

2012-03-20 Thread Patrick Gundlach
Am 20.03.2012 um 06:49 schrieb Kip Warner: > On Tue, 2012-03-20 at 06:46 +0100, Wolfgang Schuster wrote: >> TeX has it’s problem with certain errors, accept it. > > It is not a problem with the program raising an error, it was how it > went about doing it. It should not have to take down the ent

Re: [NTG-context] Itemize without page break

2012-03-19 Thread Kip Warner
On Tue, 2012-03-20 at 06:46 +0100, Wolfgang Schuster wrote: > TeX has it’s problem with certain errors, accept it. It is not a problem with the program raising an error, it was how it went about doing it. It should not have to take down the entire operating system to indicate to the user that ther

Re: [NTG-context] Itemize without page break

2012-03-19 Thread Wolfgang Schuster
Am 20.03.2012 um 06:31 schrieb Kip Warner: > On Tue, 2012-03-20 at 06:22 +0100, Wolfgang Schuster wrote: >> The problem is the empty second argument. >> >> \startitemize[before=\startlinecorrection,after=\stoplinecorrection][] >> >> When you pass two arguments with \startitemize the first argum

Re: [NTG-context] Itemize without page break

2012-03-19 Thread Kip Warner
On Tue, 2012-03-20 at 06:22 +0100, Wolfgang Schuster wrote: > The problem is the empty second argument. > > \startitemize[before=\startlinecorrection,after=\stoplinecorrection][] > > When you pass two arguments with \startitemize the first argument os for > keywords (e.g. packed or fit) > and se

Re: [NTG-context] Itemize without page break

2012-03-19 Thread Wolfgang Schuster
Am 20.03.2012 um 02:04 schrieb Kip Warner: > On Mon, 2012-03-19 at 09:17 +0100, Wolfgang Schuster wrote: >> Make a example because this works: >> >> \starttext >> >> %\dorecurse{2}{\input tufte\par} >> \dorecurse{3}{\input tufte\par} >> >> \startitemize[before={\startlinecorrection[blank]},aft

Re: [NTG-context] Itemize without page break

2012-03-19 Thread Kip Warner
On Mon, 2012-03-19 at 09:17 +0100, Wolfgang Schuster wrote: > Make a example because this works: > > \starttext > > %\dorecurse{2}{\input tufte\par} > \dorecurse{3}{\input tufte\par} > > \startitemize[before={\startlinecorrection[blank]},after= > \stoplinecorrection] > \dorecurse{4}{\startitem \

Re: [NTG-context] Itemize without page break

2012-03-19 Thread Kip Warner
On Mon, 2012-03-19 at 22:50 +0100, Hans Hagen wrote: > Packaging itemizes are on a todo list as I sometimes need it myself, but > it has a low priority Ok, but I thought they were already "packaged" with context? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://

Re: [NTG-context] Itemize without page break

2012-03-19 Thread Kip Warner
On Mon, 2012-03-19 at 22:49 +0100, Hans Hagen wrote: > On 19-3-2012 00:29, Kip Warner wrote: > > >> I've cc'd the luatex user mailing list since this is probably, I > >> suppose, a luatex issue more than a ConTeXt one. > > not that probable Actually highly probably, since the seg fault is raised

Re: [NTG-context] Itemize without page break

2012-03-19 Thread Hans Hagen
On 19-3-2012 00:25, Kip Warner wrote: The good news is that this is probably what I need. The bad news is luatex completely blows itself to pieces, allocating memory until the system crashes. Packaging itemizes are on a todo list as I sometimes need it myself, but it has a low priority Hans

Re: [NTG-context] Itemize without page break

2012-03-19 Thread Hans Hagen
On 19-3-2012 00:29, Kip Warner wrote: I've cc'd the luatex user mailing list since this is probably, I suppose, a luatex issue more than a ConTeXt one. not that probable One other thing that I should have made more clear, this only happens when I insert the aforementioned line correction com

Re: [NTG-context] Itemize without page break

2012-03-19 Thread Wolfgang Schuster
7 AM, Kip Warner wrote: >>>>> Hey list, >>>>> >>>>> Is there any way to hint to ConTeXt that the contents of a \startitemize >>>>> \stopitemize pair should try to be all on the same page? >>>> plain old tex >>>> \vb

Re: [NTG-context] Itemize without page break

2012-03-18 Thread Kip Warner
> > > >> Is there any way to hint to ConTeXt that the contents of a \startitemize > > >> \stopitemize pair should try to be all on the same page? > > > plain old tex > > > \vbox{% > > > \startitemize > > > \stopitemize% > > > }

Re: [NTG-context] Itemize without page break

2012-03-18 Thread luigi scarso
t;> >> Is there any way to hint to ConTeXt that the contents of a \startitemize >> >> \stopitemize pair should try to be all on the same page? >> > plain old tex >> > \vbox{% >> > \startitemize >> > \stopitemize% >> > } >> >>

Re: [NTG-context] Itemize without page break

2012-03-18 Thread Kip Warner
emize > >> \stopitemize pair should try to be all on the same page? > > plain old tex > > \vbox{% > > \startitemize > > \stopitemize% > > } > > Better: > > \startitemize[before=\startlinecorrection,after=\stoplinecorrection] > > \st

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-18 Thread luigi scarso
2012/3/18 Pablo Rodríguez : > On 06/03/12 20:27, luigi scarso wrote: >> 2012/3/6 Pablo Rodríguez mailto:oi...@web.de>> >> >>     On page 7 lines are numbered from lowest to highest values. A purist >>     might consider this wrong, but this is unlikely to happe

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-18 Thread Pablo Rodríguez
On 06/03/12 20:27, luigi scarso wrote: > 2012/3/6 Pablo Rodríguez mailto:oi...@web.de>> > > On page 7 lines are numbered from lowest to highest values. A purist > might consider this wrong, but this is unlikely to happen on a real > book, since (I guess) line nu

Re: [NTG-context] Itemize without page break

2012-03-17 Thread Wolfgang Schuster
Am 17.03.2012 um 10:21 schrieb luigi scarso: > On Sat, Mar 17, 2012 at 2:47 AM, Kip Warner wrote: >> Hey list, >> >> Is there any way to hint to ConTeXt that the contents of a \startitemize >> \stopitemize pair should try to be all on the same page? > plain old

Re: [NTG-context] Itemize without page break

2012-03-17 Thread luigi scarso
On Sat, Mar 17, 2012 at 2:47 AM, Kip Warner wrote: > Hey list, > > Is there any way to hint to ConTeXt that the contents of a \startitemize > \stopitemize pair should try to be all on the same page? plain old tex \vbox{% \startitemize \stopitemize% }

[NTG-context] Itemize without page break

2012-03-16 Thread Kip Warner
Hey list, Is there any way to hint to ConTeXt that the contents of a \startitemize \stopitemize pair should try to be all on the same page? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally

Re: [NTG-context] Page Header Text with Two Lines

2012-03-07 Thread Emmanuel Asante
On Wed, Mar 7, 2012 at 9:58 AM, Marco wrote: > On 2012-03-07 Emmanuel Asante wrote: > > > I tried to setup a page header with two lines using a command like this: > > > >\setupheadertexts[Left Text][Right Text 1. \crlf Right Text 2] > > > > but the

Re: [NTG-context] Page Header Text with Two Lines

2012-03-07 Thread Marco
On 2012-03-07 Emmanuel Asante wrote: > I tried to setup a page header with two lines using a command like this: > >\setupheadertexts[Left Text][Right Text 1. \crlf Right Text 2] > > but the \crlf command gets ignored. How do I achieve this? \setupheadertexts [Left

[NTG-context] Page Header Text with Two Lines

2012-03-07 Thread Emmanuel Asante
Hi All, I tried to setup a page header with two lines using a command like this: \setupheadertexts[Left Text][Right Text 1. \crlf Right Text 2] but the \crlf command gets ignored. How do I achieve this? Best regards, Emmanuel

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-06 Thread Pablo Rodríguez
On 06/03/12 20:27, luigi scarso wrote: > 2012/3/6 Pablo Rodríguez > > On page 7 lines are numbered from lowest to highest values. A purist > might consider this wrong, but this is unlikely to happen on a real > book, since (I guess) line numbers on headers only make

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-06 Thread luigi scarso
2012/3/6 Pablo Rodríguez > > On page 7 lines are numbered from lowest to highest values. A purist > might consider this wrong, but this is unlikely to happen on a real > book, since (I guess) line numbers on headers only make sense when they > two different series cannot be o

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-06 Thread Pablo Rodríguez
_name_space.pages local realpage,ref for k, v in pairs(data) do w=string.gmatch(k,'LIN:(\%d+):\%d+') ref = tonumber(w()) realpage = tostring(v.references.realpage) pages[realpage]= pages[realpage] or {} table.insert(pages[realpage],ref) end for page,array in pairs(pag

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-06 Thread luigi scarso
2012/3/6 Pablo Rodríguez > On 05/03/12 15:12, luigi scarso wrote: > > 2012/3/4 Pablo Rodríguez > > If you allow me one more question: is showing the numbers on the same > > page they refer to beyond the limits of TeX/LuaTeX? > > > > Absolutely no. As

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-06 Thread Pablo Rodríguez
On 05/03/12 15:12, luigi scarso wrote: > 2012/3/4 Pablo Rodríguez > If you allow me one more question: is showing the numbers on the same > page they refer to beyond the limits of TeX/LuaTeX? > > Absolutely no. As Hans said, a quick/dirty trick is possible: just > ma

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-06 Thread Pablo Rodríguez
On 05/03/12 15:12, luigi scarso wrote: > 2012/3/4 Pablo Rodríguez: > [...] > Many thanks for your reply, Wolfgang. > > If you allow me one more question: is showing the numbers on the same > page they refer to beyond the limits of TeX/LuaTeX? > > Absolutely n

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-06 Thread Pablo Rodríguez
deal to add that feature at > some point as it's a matter of keeping track of first/last numbers; for > the page it's trivial but as we also support numbering in columns and > other places some housekeeping is needed (read: a quick hack is possible > but I will only

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-05 Thread luigi scarso
2012/3/4 Pablo Rodríguez > On 03/04/2012 12:04 PM, Wolfgang Schuster wrote: > > Am 04.03.2012 um 11:20 schrieb Pablo Rodríguez: > >> > >> I wanted to be able to have in the headers the first and last line > >> number from page. This feature is extremely useful

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-05 Thread Hans Hagen
st numbers; for the page it's trivial but as we also support numbering in columns and other places some housekeeping is needed (read: a quick hack is possible but I will only do a pro

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-04 Thread Pablo Rodríguez
On 04/03/12 14:44, Wolfgang Schuster wrote: > Am 04.03.2012 um 13:15 schrieb Pablo Rodríguez: >> [...] >> If you allow me one more question: is showing the numbers on the same >> page they refer to beyond the limits of TeX/LuaTeX? >> >> I'm asking this t

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-04 Thread Wolfgang Schuster
Am 04.03.2012 um 13:15 schrieb Pablo Rodríguez: > On 03/04/2012 12:04 PM, Wolfgang Schuster wrote: >> Am 04.03.2012 um 11:20 schrieb Pablo Rodríguez: >>> >>> I wanted to be able to have in the headers the first and last line >>> number from page. T

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-04 Thread Pablo Rodríguez
On 03/04/2012 12:04 PM, Wolfgang Schuster wrote: > Am 04.03.2012 um 11:20 schrieb Pablo Rodríguez: >> >> I wanted to be able to have in the headers the first and last line >> number from page. This feature is extremely useful when typesetting some >> kinds of poetry. &

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-04 Thread Wolfgang Schuster
Am 04.03.2012 um 11:20 schrieb Pablo Rodríguez: > I have asked this question before (more than twice), after I found no > answer in the ConTeXt reference manual, the wiki or the mailing list. > > I wanted to be able to have in the headers the first and last line > number from pag

[NTG-context] is it possible to have first and last line numbers from page?

2012-03-04 Thread Pablo Rodríguez
I have asked this question before (more than twice), after I found no answer in the ConTeXt reference manual, the wiki or the mailing list. I wanted to be able to have in the headers the first and last line number from page. This feature is extremely useful when typesetting some kinds of poetry

[NTG-context] first and last line number on page

2012-03-03 Thread Pablo Rodríguez
Hi there, with the following sample: \starttext \startlinenumbering \dorecurse{10}{\input zapf\par\input knuth} \stoplinenumbering \stoptext I would like to have a header that contains the first and last line number on the page. Is there any way to do that? (The ConTeXt reference manual and

Re: [NTG-context] Float on opposite page

2012-03-01 Thread Charles
rightpage]" but then each table is on a new page. I would like to have my figures/tables on a new even page, but if 2 figures/tables fit on one page, they should not be on two different pages but together on the same even page (I was thinking "opposite" should do that). U

Re: [NTG-context] Float on opposite page

2012-03-01 Thread Aditya Mahajan
On Thu, 1 Mar 2012, Charles wrote: Hi, I have a problem with float positioning. I would like to have text on even pages and text on odd pages. I tried: - "\placetable[opposite]" but then the tables are not included. - "\placetable[rightpage]" but then each table is on

[NTG-context] Float on opposite page

2012-03-01 Thread Charles
Hi, I have a problem with float positioning. I would like to have text on even pages and text on odd pages. I tried: - "\placetable[opposite]" but then the tables are not included. - "\placetable[rightpage]" but then each table is on a new page. I would like to have my

Re: [NTG-context] Page count of PDF file from lua

2012-02-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Some solutions can be found here, too: http://www.mail-archive.com/ntg-context@ntg.nl/msg57502.html http://www.mail-archive.com/ntg-context@ntg.nl/msg57503.html Lukas On Tue, 21 Feb 2012 13:40:26 +0100, Hans Hagen wrote: On 19-2-2012 14:50, Marco wrote: I can't figure out how to determ

Re: [NTG-context] How to start every new chapter on page 1!?

2012-02-21 Thread Verhaag, G.C.H.M.
On 02/21/2012 07:41 PM, Wolfgang Schuster wrote: Am 21.02.2012 um 19:34 schrieb Verhaag, G.C.H.M.: On 02/21/2012 06:34 PM, Wolfgang Schuster wrote: Am 21.02.2012 um 17:04 schrieb Verhaag, G.C.H.M.: Hi ConTeXt Users, I'd like to start every chapter on page one. The f

Re: [NTG-context] How to start every new chapter on page 1!?

2012-02-21 Thread Wolfgang Schuster
Am 21.02.2012 um 19:34 schrieb Verhaag, G.C.H.M.: > On 02/21/2012 06:34 PM, Wolfgang Schuster wrote: >> Am 21.02.2012 um 17:04 schrieb Verhaag, G.C.H.M.: >> >> >>> Hi ConTeXt Users, >>> >>> I'd like to start every chapter on page o

<    11   12   13   14   15   16   17   18   19   20   >