[NTG-context] more \blank
Hi Hans, here is another problem where I get a unwanted blank line. \setuphead[subject][after=] \starttext \subject{Subject} \starttabulate \NC one \NC two \NC\NR \stoptabulate \page % and here the same problem without tabulate \subject{Subject} \blank[white] % or \whitespace \blank text \stoptext 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 ___
[NTG-context] \blank with dimen (mkiv)
Hi, donno if this is a bug or a feature. If I use \blank with a dimen register, I get [..] context/base/type-otf.tex (r:/tex/texmf-context/tex/context/base/type-otf.mkiv)) bodyfont: 12pt rm is loaded language: language en is active systems : begin file test at line 4 ! Missing number, treated as zero. to be read again F argument F OO \addaskedblankskip ...nce \blankskip #1\dimexpr #2 \relax l.10 } \dovspacingyes ...ument #1\else \s!default \fi )} \fi l.6 \blank[force,\FOO] ? Here is a minimal example: %- \newdimen\FOO \FOO5cm\relax \starttext \blank[force,\FOO] \stoptext %- Using \blank[force,\the\FOO] does work. No such problems in mkii. MTXrun | current version: 2009.10.22 23:27 This is LuaTeX, Version beta-0.44.0-2009102313 Greetings, Peter ___ 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] \blank with dimen (mkiv)
Peter Rolf wrote: Using \blank[force,\the\FOO] does work. No such problems in mkii. indeed, a mkiv limitation unlikely to change soon Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] \blank
Hi, the following examples did not give the expected results in mkiv. 1. Whitespace at the top of the page is ignored \starttext \blank[force,3cm] text \stoptext 2. Unbreakable whitespace is not possible. \doifmode{mkii}{\defineblankmethod[nobreak]{\penalty1}} \starttext \dontleavehmode\vskip.95\textheight \doifmode{mkii}{text\endgraf\blank[nobreak,line]text} \doifmode{mkiv}{text\endgraf\blank[samepage,line]text} \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank
Wolfgang Schuster wrote: Hi, the following examples did not give the expected results in mkiv. 1. Whitespace at the top of the page is ignored \starttext \blank[force,3cm] text \stoptext 2. Unbreakable whitespace is not possible. \doifmode{mkii}{\defineblankmethod[nobreak]{\penalty1}} \starttext \dontleavehmode\vskip.95\textheight \doifmode{mkii}{text\endgraf\blank[nobreak,line]text} \doifmode{mkiv}{text\endgraf\blank[samepage,line]text} \stoptext i'll make a beta for you (at the usual spot); beware; som eexperimental grid snapping so don't enable that i will redo the vspacing once we have a few more things in place in luatex Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank
Am 20.09.2009 um 18:47 schrieb Hans Hagen: the following examples did not give the expected results in mkiv. 1. Whitespace at the top of the page is ignored \starttext \blank[force,3cm] text \stoptext 2. Unbreakable whitespace is not possible. \doifmode{mkii}{\defineblankmethod[nobreak]{\penalty1}} \starttext \dontleavehmode\vskip.95\textheight \doifmode{mkii}{text\endgraf\blank[nobreak,line]text} \doifmode{mkiv}{text\endgraf\blank[samepage,line]text} \stoptext i'll make a beta for you (at the usual spot); beware; som eexperimental grid snapping so don't enable that the second example works now but the first is still wrong i saw also you dropped the \nowhitespace command, can you bring it back or what is the recommended way to replace it, e.g. in a case like this where \engraf is hidden in internal macros it was perfect to suppress the whitespace \setupwhitespace[line] \starttext line 1\endgraf\nowhitespace % no distance between the lines line 2\endgraf % normal distance between the lines line 3 \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank
Wolfgang Schuster wrote: Am 20.09.2009 um 18:47 schrieb Hans Hagen: the following examples did not give the expected results in mkiv. 1. Whitespace at the top of the page is ignored \starttext \blank[force,3cm] text \stoptext 2. Unbreakable whitespace is not possible. \doifmode{mkii}{\defineblankmethod[nobreak]{\penalty1}} \starttext \dontleavehmode\vskip.95\textheight \doifmode{mkii}{text\endgraf\blank[nobreak,line]text} \doifmode{mkiv}{text\endgraf\blank[samepage,line]text} \stoptext i'll make a beta for you (at the usual spot); beware; som eexperimental grid snapping so don't enable that the second example works now but the first is still wrong i saw also you dropped the \nowhitespace command, can you bring it back or what is the recommended way to replace it, e.g. in a case like this where \engraf is hidden in internal macros it was perfect to suppress the whitespace \setupwhitespace[line] \starttext line 1\endgraf\nowhitespace % no distance between the lines line 2\endgraf % normal distance between the lines line 3 \stoptext i'll make you a new beta tomorrow morning - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \page[blank]
Hi, I use MKII. \page[yes] and \page[left] works but \page[blank] does not. Why? How can I get blank pages? Xan. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \page[blank]
Am 10.09.2009 um 15:38 schrieb Xan: Hi, I use MKII. \page[yes] and \page[left] works but \page[blank] does not. Why? How can I get blank pages? \page[empty] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \page[blank]
Wolfgang, \page[empty] puts number of page. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \page[blank]
Am 10.09.2009 um 16:27 schrieb Xan: \page[empty] puts number of page. Then try \page[yes,header,footer], maybe in combination with empty. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \page[blank]
Xan schrieb: Wolfgang, \page[empty] puts number of page. try \page[empty,blank] ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \page[blank]
En/na Xan ha escrit: Wolfgang, \page[empty] puts number of page. \page[empty,blank] -- two pageS: empty and blank \page[yes,header,footer] -- empty \page[yes,header,footer,empty] -- two pages: one with numbers and other blank ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \page[blank]
En/na Xan ha escrit: En/na Xan ha escrit: Wolfgang, \page[empty] puts number of page. \page[empty,blank] -- two pageS: empty and blank \page[yes,header,footer] -- empty \page[yes,header,footer,empty] -- two pages: one with numbers and other blank Could it be because I do \page[blank] after \input file ? \input file \page[blank] {\ } \chapter Xan. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Spam (was: [blank])
There is a problem on this list :( New list hiccups I assume. Sorry, I might be the guilty one here, I probably approved the e-mail by mistake. Due to the server reinstallation, the list is not filtered for spams anymore, and it receives a literal orgy of spam since then. All e-mails that ntg-context@ntg.nl receives from non-subscriber addresses are subject to moderation and have to be approved by human intervention, which filters spams very efficiently, but I screwed up with the last one (subscriptions also have to be approved manually, which bootstraps the system). Things should be back to normal as soon as the antispam software will be running again. Note that the above paragraph also implies some inconveniences for subscribers using several addresses: usually the user is subscribed under only one of them, and the messages from other address(es) have to be approved manually, implying delays and possible human error. I therefore take the opportunity, in the name of the other moderators, to encourage people who use different addresses to subscribe all of them to the list and set up appropriate filters so as not to receive duplicates, or to be prepared for delays. Sorry again, Arthur ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] scratch commands, getparameters, blank, doattributes
Can anyone please explain what is going on in... http://wiki.contextgarden.net/Document_Titles#In_ConTeXt:_A_more_advanced_solution (in case your browser does not redirect you to it as intended, I specifically mean the A more advanced solution section) If I know what's going on I'll gladly expand on the wiki's explanations to to make it more newbie-friendly ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] scratch commands, getparameters, blank, doattributes
Am 04.04.2009 um 18:01 schrieb afsmith: Can anyone please explain what is going on in... http://wiki.contextgarden.net/ Document_Titles#In_ConTeXt:_A_more_advanced_solution (in case your browser does not redirect you to it as intended, I specifically mean the A more advanced solution section) If I know what's going on I'll gladly expand on the wiki's explanations to to make it more newbie-friendly http://www.ntg.nl/pipermail/ntg-context/2008/033522.html http://wiki.contextgarden.net/System_Macros/Scratch_Variables http://wiki.contextgarden.net/System_Macros/Key_Value_Assignments \blank is a command to add whitespace between paragraphs and lines. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] remove blank after head
Hello, How to get rid of break after section head? I need to glue it with author's information (italic). \definehead[exhibitname][subsection] \setuphead [exhibitname][ incrementnumber=list, number=no, align=middle, style=\bf] \def\exhibit#1#2% { {\exhibitname{#1}} %\blank {\rightaligned{\it#2}} \blank[line]} ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Additional blank methods
Hi Hans, can you add \defineblankmethod [endgraf] {\endgraf} \defineblankmethod [nobreak] {\penalty\plustenthousand} to core-spa.tex Can you also add \def\previousnumber#1{\number\numexpr#1-1\relax} \defineconversion [previousnumber] [\previousnumber] to core-con.tex 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
On Sun, Jul 27, 2008 at 8:28 PM, Peter Münster [EMAIL PROTECTED] wrote: On Fri, Jul 25 2008, Wolfgang Schuster wrote: \defineblankmethod [nobreak] {\penalty\plustenthousand} Hello, Why \plustenthousand, and not 1? Less tokens, faster and just a matter of style. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
Taco Hoekwater wrote: Hi STeffen, Steffen Wolfrum wrote: ... yes, but Hans said so (see my email quoting him)!!! What did he mean? Perhaps he meant \inhibitblank or \blank[disable]. (guessed from the code) indeed - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
Thanks for clarification, Taco! Steffen Am 28.07.2008 um 16:28 schrieb Hans Hagen: Taco Hoekwater wrote: Hi STeffen, Steffen Wolfrum wrote: ... yes, but Hans said so (see my email quoting him)!!! What did he mean? Perhaps he meant \inhibitblank or \blank[disable]. (guessed from the code) indeed - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
On Fri, Jul 25 2008, Wolfgang Schuster wrote: \defineblankmethod [nobreak] {\penalty\plustenthousand} Hello, Why \plustenthousand, and not 1? Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
Hi STeffen, Steffen Wolfrum wrote: ... yes, but Hans said so (see my email quoting him)!!! What did he mean? Perhaps he meant \inhibitblank or \blank[disable]. (guessed from the code) Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \blank[inhibit] broken ???
Hi, looking for a reliable soluion to the problem of keeping section heads with following paragraphs I found the email below from Hans 2003. But using it gives an error (see below): \starttext \definehead[myhead][section] \setuphead[myhead][after={\blank[big]\blank[inhibit]}] \input tufte \par \input knuth \par \input tufte \par \input knuth \par \myhead{Sektion} \index{Index} \subsection{Subsektion} \input knuth \par \stoptext Is inhibit broken? Steffen (still on mkii) -- ! Missing number, treated as zero. to be read again i argument i nhibit \redoblank ...\else \global \advance \blankskip #1 \relax \fi \fi \fi \dodorepeatwithcommand ...repeatwithcommand [#1]#5 \else \dododorepeatwithcom... \next1 ...lse \dorepeatwithcommand [#1]\redoblank \fi \fi \fi \rawprocesscommaitem ...commalevel \endcsname {#1} \expandafter \rawprocessco... ... l.17 \myhead{Sektion} ? -- -- Am 10.04.2003 um 18:17 schrieb Hans Hagen: NTG-context] keep section head with following paragraphs At 15:17 09/04/2003 -0700, you wrote: my question: how do i make sure that section heads will not be alone at the bottom of the page, with the following paragraphs at the start of the next page? i want the section head to stay with the first paragraph (or at least the first two lines) of the paragraph immediately following the section head. (1) use the sectioning commands, so \definehead[myhead][subsubsection] \setuphead[myhead][style=bold] instead of \def\myhead#1{{\bf#1}} since the sectioning commands will keep successive heads together as well discourage a pagebreak after a head; only lower level heads are kept together, while sam elevel heads may break (makes sense) (2) this game is spoiled when the head is followed by a command like \blank; a way out can be: \setuphead[myhead][after={\blank[big]\blank[inhibit]}] another option is: \setuphead[myhead][before={\testpage[4]}] which will break if there are less than 4 lines left Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
On Fri, Jul 25, 2008 at 9:58 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Hi, looking for a reliable soluion to the problem of keeping section heads with following paragraphs I found the email below from Hans 2003. But using it gives an error (see below): \starttext \definehead[myhead][section] \setuphead[myhead][after={\blank[big]\blank[inhibit]}] \input tufte \par \input knuth \par \input tufte \par \input knuth \par \myhead{Sektion} \index{Index} \subsection{Subsektion} \input knuth \par \stoptext Is inhibit broken? 'inhibit' is no legal value for \blank. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
... yes, but Hans said so (see my email quoting him)!!! What did he mean? Do you know an other solution? St. Am 25.07.2008 um 10:08 schrieb Wolfgang Schuster: On Fri, Jul 25, 2008 at 9:58 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Hi, looking for a reliable soluion to the problem of keeping section heads with following paragraphs I found the email below from Hans 2003. But using it gives an error (see below): \starttext \definehead[myhead][section] \setuphead[myhead][after={\blank[big]\blank[inhibit]}] \input tufte \par \input knuth \par \input tufte \par \input knuth \par \myhead{Sektion} \index{Index} \subsection{Subsektion} \input knuth \par \stoptext Is inhibit broken? 'inhibit' is no legal value for \blank. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
On Fri, Jul 25, 2008 at 10:15 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: ... yes, but Hans said so (see my email quoting him)!!! What did he mean? Do you know an other solution? \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[endgraf,nobreak,big]}] Not sure about the order in the blank command but this should work. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
Am 25.07.2008 um 10:25 schrieb Wolfgang Schuster: On Fri, Jul 25, 2008 at 10:15 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: ... yes, but Hans said so (see my email quoting him)!!! What did he mean? Do you know an other solution? \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[endgraf,nobreak,big]}] Not sure about the order in the blank command but this should work. Hmm, I think I have tried all possible combination now but it does not work. Did you try? \starttext \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[nobreak,endgraf,big]}] \input tufte \par \input knuth \par \input tufte \par \input knuth \par \myhead{Sektion} \index{Index} test \stoptext Steffen ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
On Fri, Jul 25, 2008 at 10:33 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Am 25.07.2008 um 10:25 schrieb Wolfgang Schuster: On Fri, Jul 25, 2008 at 10:15 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: ... yes, but Hans said so (see my email quoting him)!!! What did he mean? Do you know an other solution? \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[endgraf,nobreak,big]}] Not sure about the order in the blank command but this should work. Hmm, I think I have tried all possible combination now but it does not work. Did you try? \starttext \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[nobreak,endgraf,big]}] \input tufte \par \input knuth \par \input tufte \par \input knuth \par \myhead{Sektion} \index{Index} test \stoptext Steffen You're looking for http://wiki.contextgarden.net/Registers#Technical_note 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
Am 25.07.2008 um 10:39 schrieb Wolfgang Schuster: On Fri, Jul 25, 2008 at 10:33 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Am 25.07.2008 um 10:25 schrieb Wolfgang Schuster: On Fri, Jul 25, 2008 at 10:15 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: ... yes, but Hans said so (see my email quoting him)!!! What did he mean? Do you know an other solution? \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[endgraf,nobreak,big]}] Not sure about the order in the blank command but this should work. Hmm, I think I have tried all possible combination now but it does not work. Did you try? \starttext \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[nobreak,endgraf,big]}] \input tufte \par \input knuth \par \input tufte \par \input knuth \par \myhead{Sektion} \index{Index} test \stoptext Steffen You're looking for http://wiki.contextgarden.net/Registers#Technical_note ok, but this was just one easily reproducible example of troubling situations. For another is \vskip, as sometimes the distance between two heading must be smaller than the normal space above or below: \subsection ... \vskip-14pt \subsubsection ... In this situation I always experience the same problem: you have a heading at bottom of page :o( I just didn't manage to show this with an minimal example. Steffen ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
On Fri, Jul 25, 2008 at 10:52 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Am 25.07.2008 um 10:39 schrieb Wolfgang Schuster: On Fri, Jul 25, 2008 at 10:33 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Am 25.07.2008 um 10:25 schrieb Wolfgang Schuster: On Fri, Jul 25, 2008 at 10:15 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: ... yes, but Hans said so (see my email quoting him)!!! What did he mean? Do you know an other solution? \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[endgraf,nobreak,big]}] Not sure about the order in the blank command but this should work. Hmm, I think I have tried all possible combination now but it does not work. Did you try? \starttext \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[nobreak,endgraf,big]}] \input tufte \par \input knuth \par \input tufte \par \input knuth \par \myhead{Sektion} \index{Index} test \stoptext Steffen You're looking for http://wiki.contextgarden.net/Registers#Technical_note ok, but this was just one easily reproducible example of troubling situations. For another is \vskip, as sometimes the distance between two heading must be smaller than the normal space above or below: \subsection ... \vskip-14pt \subsubsection ... In this situation I always experience the same problem: you have a heading at bottom of page :o( I just didn't manage to show this with an minimal example. \newsignal\sectionsignal \setuphead [section] [before={\blank[big]}, after={\blank[2*big]\vskip\sectionsignal}] \def\subsectionbefore {\ifdim\lastskip=\sectionsignal %\blank[-medium]% \vskip-\medskipamount \else \blank[big]% \fi} \setuphead [subsection] [before=\subsectionbefore, after={\blank[big]}] \showgrid \starttext \section{Section} \subsection{Subsection} text \section{Section} text \subsection{Subsection} \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[inhibit] broken ???
wow ... the power of programming. st. Am 25.07.2008 um 13:22 schrieb Wolfgang Schuster: On Fri, Jul 25, 2008 at 10:52 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Am 25.07.2008 um 10:39 schrieb Wolfgang Schuster: On Fri, Jul 25, 2008 at 10:33 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Am 25.07.2008 um 10:25 schrieb Wolfgang Schuster: On Fri, Jul 25, 2008 at 10:15 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: ... yes, but Hans said so (see my email quoting him)!!! What did he mean? Do you know an other solution? \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[endgraf,nobreak,big]}] Not sure about the order in the blank command but this should work. Hmm, I think I have tried all possible combination now but it does not work. Did you try? \starttext \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[nobreak,endgraf,big]}] \input tufte \par \input knuth \par \input tufte \par \input knuth \par \myhead{Sektion} \index{Index} test \stoptext Steffen You're looking for http://wiki.contextgarden.net/Registers#Technical_note ok, but this was just one easily reproducible example of troubling situations. For another is \vskip, as sometimes the distance between two heading must be smaller than the normal space above or below: \subsection ... \vskip-14pt \subsubsection ... In this situation I always experience the same problem: you have a heading at bottom of page :o( I just didn't manage to show this with an minimal example. \newsignal\sectionsignal \setuphead [section] [before={\blank[big]}, after={\blank[2*big]\vskip\sectionsignal}] \def\subsectionbefore {\ifdim\lastskip=\sectionsignal %\blank[-medium]% \vskip-\medskipamount \else \blank[big]% \fi} \setuphead [subsection] [before=\subsectionbefore, after={\blank[big]}] \showgrid \starttext \section{Section} \subsection{Subsection} text \section{Section} text \subsection{Subsection} \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \blank[big]
Hello, Excuse me, but what 'big' stands for in \blank[big]? Every time I use it, I expect really big white space, but get only hardly noticeable one. Best regards, Vaytcheslav ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blank[big]
2007/11/7, Vyatcheslav Yatskovsky [EMAIL PROTECTED]: Hello, Excuse me, but what 'big' stands for in \blank[big]? Every time I use it, I expect really big white space, but get only hardly noticeable one. Best regards, Vaytcheslav From core-spa: % In earlier versions \type{\bigskipamount} was % \type{\ht\strutbox} and the stretch was plus or minus % \type{.4\dp\strutbox}. Don't ask me why. The most recent % implementation is based on a user supplied distance, which % is by default \type{.75\normalskipamount} where % \type{\normalskipamount} equals the current baseline % distance. The normal \blank is equal to \blank[big] but you can change this with \setupblank[...] To get bigger values for blank you write for example: \starttext Line 1 \blank Line 2 \blank[2*big] \setupblank[2\baselineskip] Line 3 \blank Line 4 \stoptext The source code is your friend. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] indent and blank question
hi there, i am working on a book format document using: \setupindenting[medium,yes] so the parapgrahps have no whitespace between but the first line of the next paragraph is indented. as is customary, i would like to start a new part (lacking a better word) of the same chapter without a title, unrelated to the previous text but not warranting a new chapter. some books put some symbols inbetween these chapter parts like three stars or something. if a put a \blank and start a new paragprah, it gets indented. i know i can use \noindent to get what i want, but my question is, is there something more automatic, a space command which makes the next paragraph unindented or something? or for example if i wanted to put the 3 stars there, could i redefine subject or subsubject to output these _and_ make the next paragprah unindented? -f -- the golden rule: he who has the gold makes the rules. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] indent and blank question
Hi frantisek, On 9/20/07, frantisek holop [EMAIL PROTECTED] wrote: hi there, i am working on a book format document using: \setupindenting[medium,yes] so the parapgrahps have no whitespace between but the first line of the next paragraph is indented. as is customary, i would like to start a new part (lacking a better word) of the same chapter without a title, unrelated to the previous text but not warranting a new chapter. some books put some symbols inbetween these chapter parts like three stars or something. if a put a \blank and start a new paragprah, it gets indented. i know i can use \noindent to get what i want, but my question is, is there something more automatic, a space command which makes the next paragraph unindented or something? You can define a head. or for example if i wanted to put the 3 stars there, could i redefine subject or subsubject to output these _and_ make the next paragprah unindented? -f -- the golden rule: he who has the gold makes the rules. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] additional blank line in starttyping environment
Hi, I get an extra blank line at the beginning of the starttyping environment. How do I get rid of it? See the huge space top of the line BYTEORDER M: \setupcolors[state=start] \starttext \startbuffer[1arc] \starttyping BYTEORDER M LAYOUT BIL NROWS 3601 NCOLS 3601 NBANDS 1 NBITS 16 BANDROWBYTES 7202 TOTALROWBYTES 7202 BANDGAPBYTES 0 NODATA -32768 ULXMAP $ULXMAP ULYMAP $ULYMAP XDIM 0.000278 YDIM 0.000278 \stoptyping \stopbuffer \framed[width=6cm,frame=off,align=flushleft,background=color,backgroundcolor=red]{\getbuffer[1arc]} \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] additional blank line in starttyping environment
Hi, this should do the trick: \setupcolors[state=start] \setuptyping[before={\blank[0cm]}] \startbuffer[1arc] BYTEORDER M LAYOUT BIL NROWS 3601 NCOLS 3601 NBANDS 1 NBITS 16 BANDROWBYTES 7202 TOTALROWBYTES 7202 BANDGAPBYTES 0 NODATA -32768 ULXMAP $ULXMAP ULYMAP $ULYMAP XDIM 0.000278 YDIM 0.000278 \stopbuffer \starttext \framed [width=6cm,frame=off,align=flushleft,background=color,backgroundcolor=re d]{\typebuffer[1arc]} \stoptext HTH Thomas On Jul 15, 2007, at 5:45 PM, WolfgangZ wrote: Hi, I get an extra blank line at the beginning of the starttyping environment. How do I get rid of it? See the huge space top of the line BYTEORDER M: \setupcolors[state=start] \starttext \startbuffer[1arc] \starttyping BYTEORDER M LAYOUT BIL NROWS 3601 NCOLS 3601 NBANDS 1 NBITS 16 BANDROWBYTES 7202 TOTALROWBYTES 7202 BANDGAPBYTES 0 NODATA -32768 ULXMAP $ULXMAP ULYMAP $ULYMAP XDIM 0.000278 YDIM 0.000278 \stoptyping \stopbuffer \framed [width=6cm,frame=off,align=flushleft,background=color,backgroundcolor= red]{\getbuffer[1arc]} \stoptext __ _ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] additional blank line in starttyping environment
On Sun, 15 Jul 2007, WolfgangZ wrote: I get an extra blank line at the beginning of the starttyping environment. How do I get rid of it? The cause of the problem seems to be the align=flushleft. Workaround: \vskip-\lineheight Minimal example, showing the problem and the workaround: \setupcolors[state=start] \setuptyping[before=,after=] \startbuffer BYTEORDER M \stopbuffer \starttext \framed[background=color,backgroundcolor=red]{\typebuffer} \framed[align=flushleft,background=color,backgroundcolor=red]{\typebuffer} \framed[align=flushleft,background=color,backgroundcolor=red]{% \vskip-\lineheight\typebuffer} \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] additional blank line in starttyping environment
Peter Münster schrieb: On Sun, 15 Jul 2007, WolfgangZ wrote: I get an extra blank line at the beginning of the starttyping environment. How do I get rid of it? The cause of the problem seems to be the align=flushleft. Workaround: \vskip-\lineheight Minimal example, showing the problem and the workaround: \setupcolors[state=start] \setuptyping[before=,after=] \startbuffer BYTEORDER M \stopbuffer \starttext \framed[background=color,backgroundcolor=red]{\typebuffer} \framed[align=flushleft,background=color,backgroundcolor=red]{\typebuffer} \framed[align=flushleft,background=color,backgroundcolor=red]{% \vskip-\lineheight\typebuffer} \stoptext Cheers, Peter It seemd that I needed align=flushleft to get the lines of the buffer correctly and not without any line break at all. Many thanks for your help 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] columns/blank=
On Fri, 29 Jun 2007 20:01:11 +0200 Patrick Gundlach [EMAIL PROTECTED] wrote: Hi, what is the rationale behind \setupblank[\@@klblank]% \ifdim\ctxparskip\zeropoint\relax \setupwhitespace[\@@klblank]% \fi in page-mul.tex (columns)? It seems to me that blank=line inside a startcolumn does not work if ctxparskip = 0pt, which is the default. So when I'd like to have setupwhitespace[line] to get paragraphs separated by blank lines inside a column, I have to do this some other way?!? Patrick Hi Patrick, both setups are indpendent from the other one, they use only the same value inside columns. 1. \setupblank[\@@klblank]% use the value from \setupcolumns[blank=..] for every simple blank command inside columns. The default value for blank is line and this value is used. You can use other value like small, big or dimen without problems with a complex blank. simple blank: \blank complex blank: \blank[small|dimen|...] 2. \ifdim\ctxparskip\zeropoint\relax \setupwhitespace[\@@klblank]% \fi look if the user has set parskip, if the answer is yes overwrite the global value from the user and use the local value for columns. The local comes also from the columns key \setupcolumns[blank=...] You can change the parskip value inside columns either with \setupcolumns[blank=...] or you write \setupwhitespace[...] after \startcolumns. A testfile would also help, you see I set parskip to ConTeXts small value but I get a line in columns. \showgrid \setupwhitespace[small] \starttext \startcolumns \input knuth \input knuth \blank \input knuth \stopcolumns text\par text \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] columns/blank=
Hello Wolfgang, probably I didn't understand your answer correctly. I was wondering _why_ the ctxparskip has to be 0pt for setupwhitespace to take effect. Patrick ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] columns/blank=
Hi, what is the rationale behind \setupblank[\@@klblank]% \ifdim\ctxparskip\zeropoint\relax \setupwhitespace[\@@klblank]% \fi in page-mul.tex (columns)? It seems to me that blank=line inside a startcolumn does not work if ctxparskip = 0pt, which is the default. So when I'd like to have setupwhitespace[line] to get paragraphs separated by blank lines inside a column, I have to do this some other way?!? Patrick ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 2DOWN imposition gives blank pages
On 8/29/06, Sanjoy Mahajan wrote: texexec --pdfarrange --paper=a5a4 --2up yourfile.pdf I tried a few experiments with no luck. Not sure if it's a context or texexec problem, or my confusion. I made the multi-page p5.pdf from try --paperformat instead of --paper. texexec --pdfcombine --combination=2*1 --paperformat=A4,landscape*A4,lanscape --nobanner filename.pdf seems to do almost what you want (although it's way to complicated if you ask me), but I still don't understand how \definepapersize[offset=#{paperoffset}] works. Mojca \setuppapersize[A4][A4] \starttext \dorecurse{50}{ \input tufte } \stoptext Then I ran 'texexec --pdfarrange --paper=a5a4 p5.pdf' (the --2up doesn't change the error below) and got this error: ! Missing number, treated as zero. to be read again a \@@ppoffset -a 5a4 \calculatepaperoffsets ...lue {\??pp #1\c!offset } \divide \scratchdimen \arr... argument ...!height }\calculatepaperoffsets {A4} \xdef \papersize {A4} \firstofoneargument #1-#1 \next1 #1,-\docommando {#1} \doprocesscommaitem ... l.3 \setuplayout texexec is doing the arranging by making the following 'texexec.tex' file and then, I think, running texexec on it: \definepapersize [offset=a5a4] \setuplayout [backspace=0cm, topspace=0cm, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setuppagenumbering [alternative=doublesided] \starttext \insertpages [p5.pdf] [width=0cm] \stoptext The 'offset=a5a4' is upsetting Context; according to texshow-web on the garden, the offset should be a dimension. Also, I couldn't find (using grep) the string 'a5a4' in the context sources. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 2DOWN imposition gives blank pages
Hi, The 2SIDE arrangment is not intended for a doublesided layout. If the layout is single sided you can easily add an empty page with \strut\page. This impositionscheme is only for arranging 2 pages on a suitable paper, the pages remain in their normal sequence. that is, there is no booklet! In order to have an empty page you can stop pagenumbering first and start numbering on the second page (see below). The 2UP arrangement is suitable for a doublesided layout, pages are arranged in such a way, that you can fold a booklet. Whether or not the left part of the paper-sheet remains blank depends on the number of pages to be arranged. This method uses a lot of paper because a chapter will allways start on an odd page, i.e. on the right-half of the paper. Otherwise you can use a singlesided layout with 2UP and in this case chapters will also start on odd pages. This is the most compact way of arranging 2 pages on one sheet of paper, ending up still with a booklet. Tests were performed with the following code: \setuppapersize[A5,portrait][A4,landscape]% % \setuparranging [2*8,doublesided] \setuparranging[2SIDE]%not intended for a duoblesided layout. %\setuparranging[2UP]% can be used with doublesided layout, chapters start allways on an odd page. % can be used with a singlesided layout, chapters will start also on even pages, keep in mind % that the imposition takes place after typesetting. In the case of a singlesides layout, all pages % are odd. \setuplayout [location=middle] \setuppagenumbering[location={footer,marginedge},state=start]%,alternative=doublesided \starttext \setuppagenumbering[state=stop] \strut\page \setuppagenumbering[state=start] \dostepwiserecurse{1}{20}{1}{% \startalignment[middle] \chapter{Chapter title} \vfil This is {\bfd \recurselevel} \input zapf \stopalignment \vfil \page} \stoptext Willi Sanjoy Mahajan wrote: I've mostly understood arranging but I cannot figure out how to make 2SIDE place a blank page (page 0, to not affect the page numbering) on the left half of the first arranged sheet and carry on as normal. To illustrate, where the enclosed numbers are the unarranged numbers: p.1: | |1| p.2: |2|3| p.3: |4|5| That way each arranged sheet (p.1,2, or 3) will be a spread from the final book, plus one saves paper. Gerben Wierda (12 March 2005) asked this question on the list, but I did not see an answer so perhaps it is difficult. I looked at the code in page-imp.tex and had hopes for \ejectdummypage but my experments didn't work. Also my hopes for a cheap hack also were dashed. I tried inserting a \null\page[blank] before the \chapter{First chapter}. But with doublesided pagenumbering, the chapter starts only on an odd page, so the single blank page turns into two blank pages. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 2DOWN imposition gives blank pages
On Wed, 6 Sep 2006, Sanjoy Mahajan wrote: I've mostly understood arranging but I cannot figure out how to make 2SIDE place a blank page (page 0, to not affect the page numbering) on the left half of the first arranged sheet and carry on as normal. To illustrate, where the enclosed numbers are the unarranged numbers: p.1: | |1| p.2: |2|3| p.3: |4|5| That way each arranged sheet (p.1,2, or 3) will be a spread from the final book, plus one saves paper. Also my hopes for a cheap hack also were dashed. I tried inserting a \null\page[blank] before the \chapter{First chapter}. But with doublesided pagenumbering, the chapter starts only on an odd page, so the single blank page turns into two blank pages. How about if you change the meaning of odd and even. That is, set up everything so that chapters start from even page, setuplayout as a mirror image of the layout that you want, setupheaders and footers in a mirror manner. Finally insert a blank page right at the begining; you can use \startTEXpage[width=\paperwidth, height=\paperheight] and this will not affect the normal pagenumbering. Then you can fool context to do what you want. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 2DOWN imposition gives blank pages
I've mostly understood arranging but I cannot figure out how to make 2SIDE place a blank page (page 0, to not affect the page numbering) on the left half of the first arranged sheet and carry on as normal. To illustrate, where the enclosed numbers are the unarranged numbers: p.1: | |1| p.2: |2|3| p.3: |4|5| That way each arranged sheet (p.1,2, or 3) will be a spread from the final book, plus one saves paper. Gerben Wierda (12 March 2005) asked this question on the list, but I did not see an answer so perhaps it is difficult. I looked at the code in page-imp.tex and had hopes for \ejectdummypage but my experments didn't work. Also my hopes for a cheap hack also were dashed. I tried inserting a \null\page[blank] before the \chapter{First chapter}. But with doublesided pagenumbering, the chapter starts only on an odd page, so the single blank page turns into two blank pages. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 2DOWN imposition gives blank pages
Hi Snajoy, May be you could approach that issue with preparing first a document on A4 and for paper saving arrange the pages from the pdf with texexec: texmfstart texexec --pdfarrange --paper=a5a4 --2up yourfile.pdf Willi Sanjoy Mahajan wrote: Willi Egger wrote: In your code you try to typeset two A5 portrait beneeth each other on a A4 landscape, which is impossible. ... By the way if you want to typeset A5 on a A4 landscape without intending to make a booklet, then you can use setuparranging[2SIDE] Thanks for the explanations. Now I understand what's going on, and the wiki page makes more sense too. I'll add to the wiki shortly. A related problem is how to demagnify. Then you could have (1) a high-quality, final mode that generates A4 pages, and (2) a draft, papersaving mode that demagnifies them to A5 and combines them in pairs (a la 2SIDE) into A4. I see how to use modes to do everything except the demagnifying (Context seems, perhaps wisely, to ignore \magnification). -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 2DOWN imposition gives blank pages
texexec --pdfarrange --paper=a5a4 --2up yourfile.pdf I tried a few experiments with no luck. Not sure if it's a context or texexec problem, or my confusion. I made the multi-page p5.pdf from \setuppapersize[A4][A4] \starttext \dorecurse{50}{ \input tufte } \stoptext Then I ran 'texexec --pdfarrange --paper=a5a4 p5.pdf' (the --2up doesn't change the error below) and got this error: ! Missing number, treated as zero. to be read again a \@@ppoffset -a 5a4 \calculatepaperoffsets ...lue {\??pp #1\c!offset } \divide \scratchdimen \arr... argument ...!height }\calculatepaperoffsets {A4} \xdef \papersize {A4} \firstofoneargument #1-#1 \next1 #1,-\docommando {#1} \doprocesscommaitem ... l.3 \setuplayout texexec is doing the arranging by making the following 'texexec.tex' file and then, I think, running texexec on it: \definepapersize [offset=a5a4] \setuplayout [backspace=0cm, topspace=0cm, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setuppagenumbering [alternative=doublesided] \starttext \insertpages [p5.pdf] [width=0cm] \stoptext The 'offset=a5a4' is upsetting Context; according to texshow-web on the garden, the offset should be a dimension. Also, I couldn't find (using grep) the string 'a5a4' in the context sources. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 2DOWN imposition gives blank pages
Dear Willi and Wolfgang, Thanks for the explanations. I understand ConTeXt arranging a bit better now and am trying more (and longer) experiments. I still can't figure out this one, though. Even printing doublesided, you don't want p.1 to vanish: \setuppapersize[A5][A4,landscape] \setuparranging[2DOWN] \starttext \input tufte \page \input tufte \stoptext It produces: p.1: | | | p.2: | 2 | | This makes no sense. (just tried it again to make sure that I wasn't hallucinating before.) -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 2DOWN imposition gives blank pages
Hi Sanjoy, There is no halucination involved. In your code you try to typeset two A5 portrait beneeth each other on a A4 landscape, which is impossible. Try A3 landscape and you will see. - When experimenting with short texts as tufte I usually use \showframe. By the way if you want to typeset A5 on a A4 landscape without intending to make a booklet, then you can use setuparranging[2SIDE] Kind regards Willi Sanjoy Mahajan wrote: Dear Willi and Wolfgang, Thanks for the explanations. I understand ConTeXt arranging a bit better now and am trying more (and longer) experiments. I still can't figure out this one, though. Even printing doublesided, you don't want p.1 to vanish: \setuppapersize[A5][A4,landscape] \setuparranging[2DOWN] \starttext \input tufte \page \input tufte \stoptext It produces: p.1: | | | p.2: | 2 | | This makes no sense. (just tried it again to make sure that I wasn't hallucinating before.) -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 2DOWN imposition gives blank pages
Taco wrote: Don't you need: \setuppapersize[A5,landscape][A4,landscape] \setuparranging[2DOWN,rotated] The following produces a first page with p.1 on the right half, but a blank 2nd page: \setuppapersize[A5,landscape][A4,landscape] \setuparranging[2DOWN,rotated] \starttext \input tufte \stoptext That looks okay, except for the blank 2nd page. But shouldn't it also work to impose two A5's on one landscape A4? Here's a few more puzzles related to that. If they are doing what they are supposed to, let me know -- then I need to understand the imposition system more. \setuppapersize[A5][A4,landscape] \setuparranging[2UP] \starttext \input tufte \page \input tufte \stoptext produces a two-page document: p.1: | | 1 | (i.e. blank left half, and original p.1 on the right half) p.2: | 2 | | (i.e. original p.2 on left half, blank right half) Shouldn't it produce p.1: | 1 | 2 | Here's my reasoning. Two A5's (with their long directions vertical) fit side by side to make one A4 in landscape orientation with text running down along the short direction, which looks like 2-column text done the hard way. So, for a two-page original document, 2UP arranging should produce either p.1: | 1 | 2 | or p.1: | 2 | 1 | So in case I've confused the directions of 2UP and 2DOWN, I also tried: \setuppapersize[A5][A4,landscape] \setuparranging[2DOWN] \starttext \input tufte \page \input tufte \stoptext It produces: p.1: | | | p.2: | 2 | | The original p.1 disappeared, which I don't understand. Also I don't understand why it results in two output pages. But this hack: \setuppapersize[A5][A4,landscape] \setuparranging[2UP] \starttext \null\page \input tufte \page \input tufte \stoptext produces the following arrangement, which is close to what I expect: p.1: | | 1 | (where the original p.1 is blank except for the page num) p.2: | 2 | 3 | Once I understand what's going on, I'll wikify! -Sanjoy ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 2DOWN imposition gives blank pages
Sanjoy Mahajan wrote: Once I understand what's going on, I'll wikify! Unfortunately, I do not understand it either. I wrote my 'dont you need..' based on symptoms, not on understanding. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] 2DOWN imposition gives blank pages
I'm learning page rearrangements and cannot figure out why the following small example doesn't work (it's similar to those in the cont-eni.pdf manual, fig 3.22). Here it produces a two-page, blank PDF file when I run 'texexec --arrange p2' [ConTeXt ver: 2006.08.08 21:51 fmt: 2006.8.8 int: english mes: english] \setuppapersize[A5][A4] \setuparranging[2DOWN,rotated] \setuplayout[width=fit,margin=0pt] \starttext \input tufte \input tufte \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Using doublesided and even blank page shows header
Hi Jeff, On 17/09/2003 Patrick Gundlach provided the following solution on this list: \definepagebreak [Mychapterpagebreak] [yes,header,right] %[yes,header,left] %[yes,header,footer,right] \setuphead [chapter] [page=mychapterpagebreak] % [page=Mychapterpagebreak,header=empty,footer=empty] \setuppagenumbering[alternative=doublesided,location={header,margin}] \setupheadertexts[{My special headertext}] \setupfootertexts[This is a text in the footer] % \setupbackgrounds[header][text][bottomframe=on] \starttext \chapter {testA} \dorecurse{10}{\input tufte } \chapter {testB} \dorecurse{10}{\input tufte } \chapter {testC} \dorecurse{10}{\input tufte } \stoptext Humble a hopefully correct explanation is: 1. You define a new pagebreak rule. It has the name Mychapterpagebreak. The options set read as: pagebreak=yes, placeheader, use a right page. 2. You set options for the header of type chapter and use for the option page the before defined new pagebreak.. You might want to experiment with the commented lines ans see what happens. Kind regards Willi [EMAIL PROTECTED] wrote: I have the following in my environment setup: \setuppagenumbering[alternative=doublesided,location=] I am properly getting the doublesided page setup. Also, chapters begin only on odd pages, which is exactly what I want. However, when a chapter ends on an odd page, the next (even) page that I would like to be completely blank instead contains both the header and footer. I found one other thread in this forum that told how to make this extra even page totally blank. However, I am not an advanced ConTeXt user yet, and I did not understand how to implement the solution. Is there a simple explanation of how to eliminate the header and footer on this even page? Jeff Dodson _ Call Anyone, Anytime, Anywhere in the World - FREE! Free Internet calling from NetZero Voice Visit http://www.netzerovoice.com today! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Using doublesided and even blank page shows header
Thank you! I believe I understand, so I will try this out. Jeff Dodson _ Call Anyone, Anytime, Anywhere in the World - FREE! Free Internet calling from NetZero Voice Visit http://www.netzerovoice.com today! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Using doublesided and even blank page shows header
I have the following in my environment setup: \setuppagenumbering[alternative=doublesided,location=] I am properly getting the doublesided page setup. Also, chapters begin only on odd pages, which is exactly what I want. However, when a chapter ends on an odd page, the next (even) page that I would like to be completely blank instead contains both the header and footer. I found one other thread in this forum that told how to make this extra even page totally blank. However, I am not an advanced ConTeXt user yet, and I did not understand how to implement the solution. Is there a simple explanation of how to eliminate the header and footer on this even page? Jeff Dodson _ Call Anyone, Anytime, Anywhere in the World - FREE! Free Internet calling from NetZero Voice Visit http://www.netzerovoice.com today! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Curious blank page
Aditya Mahajan wrote: framedtext does not break across pages :( Can startbackground be persuaded to become sane? We already have a feature request to make startextbackground do everything startbackground can do. After that, startbackground can be flagged a deprecated command. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Curious blank page
On Wed, 12 Apr 2006, Hans Hagen wrote: Aditya Mahajan wrote: On Mon, 10 Apr 2006, Hans Hagen wrote: Aditya Mahajan wrote: On Sun, 9 Apr 2006, Hans Hagen wrote: Aditya Mahajan wrote: On Sun, 19 Mar 2006, David Arnold wrote: Why is it that the rest of the page after Answers on page 4 of the compiled pdf is blank? I have a similar problem. Attached is the (not so) minimal example that I could prepare. (This is part of my way on mathalignment). See the page break on page 2, while all the page is empty. Adding \kern\zeropoint prevents the page break. But I find such an page break very confusing. btw, you need to patch core-mat.tex : \doif = \doifsomething \doifsomething{\formulaparameter\c!margin}% so we test first {\dosetleftskipadaption{\formulaparameter\c!margin}% \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded it seems that this was never encountered This doesn't seem to work. Changing line 303 of core-mat.tex \doif = \doifsomething and regenerating formats, does not change the output of the test file. I still get the incorrect page breaking. no, this patch is not related to the pagebreak but needed anyway (you're just lucky for not running into that bug) ; the pagebreak is just the result of background going crazy (well, not being able to determine if there is enough space left) framedtext does not break across pages :( Can startbackground be persuaded to become sane? not today, best try \definetextbackground which is the successor \definetextbackground works :). The following works correctly (breaks across pages, and does not give false blank pages) \definetextbackground [example] [width=\textwidth, background=color, backgroundcolor=lightgray, frame=off, leftoffset=1em, rightoffset=1em, location=paragraph, after={\blank[small]}, before={\blank[small]}] Thanks, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Curious blank page
On Mon, 10 Apr 2006, Hans Hagen wrote: Aditya Mahajan wrote: On Sun, 9 Apr 2006, Hans Hagen wrote: Aditya Mahajan wrote: On Sun, 19 Mar 2006, David Arnold wrote: Why is it that the rest of the page after Answers on page 4 of the compiled pdf is blank? I have a similar problem. Attached is the (not so) minimal example that I could prepare. (This is part of my way on mathalignment). See the page break on page 2, while all the page is empty. Adding \kern\zeropoint prevents the page break. But I find such an page break very confusing. btw, you need to patch core-mat.tex : \doif = \doifsomething \doifsomething{\formulaparameter\c!margin}% so we test first {\dosetleftskipadaption{\formulaparameter\c!margin}% \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded it seems that this was never encountered This doesn't seem to work. Changing line 303 of core-mat.tex \doif = \doifsomething and regenerating formats, does not change the output of the test file. I still get the incorrect page breaking. no, this patch is not related to the pagebreak but needed anyway (you're just lucky for not running into that bug) ; the pagebreak is just the result of background going crazy (well, not being able to determine if there is enough space left) framedtext does not break across pages :( Can startbackground be persuaded to become sane? Thanks, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Curious blank page
Aditya Mahajan wrote: On Sun, 9 Apr 2006, Hans Hagen wrote: Aditya Mahajan wrote: On Sun, 19 Mar 2006, David Arnold wrote: Why is it that the rest of the page after Answers on page 4 of the compiled pdf is blank? I have a similar problem. Attached is the (not so) minimal example that I could prepare. (This is part of my way on mathalignment). See the page break on page 2, while all the page is empty. Adding \kern\zeropoint prevents the page break. But I find such an page break very confusing. btw, you need to patch core-mat.tex : \doif = \doifsomething \doifsomething{\formulaparameter\c!margin}% so we test first {\dosetleftskipadaption{\formulaparameter\c!margin}% \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded it seems that this was never encountered This doesn't seem to work. Changing line 303 of core-mat.tex \doif = \doifsomething and regenerating formats, does not change the output of the test file. I still get the incorrect page breaking. no, this patch is not related to the pagebreak but needed anyway (you're just lucky for not running into that bug) ; the pagebreak is just the result of background going crazy (well, not being able to determine if there is enough space left) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Curious blank page
On Sun, 19 Mar 2006, David Arnold wrote: Why is it that the rest of the page after Answers on page 4 of the compiled pdf is blank? I have a similar problem. Attached is the (not so) minimal example that I could prepare. (This is part of my way on mathalignment). See the page break on page 2, while all the page is empty. Adding \kern\zeropoint prevents the page break. But I find such an page break very confusing. This is context version. TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeXk, 3.141592-1.30.3-2.2 (Web2c 7.5.5) context : ver: 2006.04.07 11:24 cont-en : ver: 2006.04.07 11:24 fmt: 2006.4.7 mes: english cont-nl : ver: 2006.04.07 11:24 fmt: 2006.4.7 mes: dutch total run time : 5 seconds By the way, texmfstart newtexexec --version just gives TeXExec | version 6.1.2 - 1997-2006 - PRAGMA ADE/POD No version information of context is given!! What is the correct way to get complete version information from newtexexec. Thanks, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 test.tex Description: Binary data ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Curious blank page
Aditya Mahajan wrote: On Sun, 19 Mar 2006, David Arnold wrote: Why is it that the rest of the page after Answers on page 4 of the compiled pdf is blank? I have a similar problem. Attached is the (not so) minimal example that I could prepare. (This is part of my way on mathalignment). See the page break on page 2, while all the page is empty. Adding \kern\zeropoint prevents the page break. But I find such an page break very confusing. This is context version. TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeXk, 3.141592-1.30.3-2.2 (Web2c 7.5.5) context : ver: 2006.04.07 11:24 cont-en : ver: 2006.04.07 11:24 fmt: 2006.4.7 mes: english cont-nl : ver: 2006.04.07 11:24 fmt: 2006.4.7 mes: dutch total run time : 5 seconds By the way, texmfstart newtexexec --version just gives TeXExec | version 6.1.2 - 1997-2006 - PRAGMA ADE/POD No version information of context is given!! What is the correct way to get complete version information from newtexexec. better use (for th emoment): \defineframedtext [example] [width=\textwidth, background=screen, backgroundscreen=.85, frame=off, after={\blank[small]}, before={\blank[small]}] \def\ShowExample {\blank[small] \startexample \typebuffer \stopexample \getbuffer \blank[small]} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Curious blank page
Aditya Mahajan wrote: On Sun, 19 Mar 2006, David Arnold wrote: Why is it that the rest of the page after Answers on page 4 of the compiled pdf is blank? I have a similar problem. Attached is the (not so) minimal example that I could prepare. (This is part of my way on mathalignment). See the page break on page 2, while all the page is empty. Adding \kern\zeropoint prevents the page break. But I find such an page break very confusing. This is context version. TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeXk, 3.141592-1.30.3-2.2 (Web2c 7.5.5) context : ver: 2006.04.07 11:24 cont-en : ver: 2006.04.07 11:24 fmt: 2006.4.7 mes: english cont-nl : ver: 2006.04.07 11:24 fmt: 2006.4.7 mes: dutch total run time : 5 seconds By the way, texmfstart newtexexec --version just gives TeXExec | version 6.1.2 - 1997-2006 - PRAGMA ADE/POD No version information of context is given!! What is the correct way to get complete version information from newtexexec. btw, you need to patch core-mat.tex : \doif = \doifsomething \doifsomething{\formulaparameter\c!margin}% so we test first {\dosetleftskipadaption{\formulaparameter\c!margin}% \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded it seems that this was never encountered Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Curious blank page
On Sun, 9 Apr 2006, Hans Hagen wrote: Aditya Mahajan wrote: On Sun, 19 Mar 2006, David Arnold wrote: Why is it that the rest of the page after Answers on page 4 of the compiled pdf is blank? I have a similar problem. Attached is the (not so) minimal example that I could prepare. (This is part of my way on mathalignment). See the page break on page 2, while all the page is empty. Adding \kern\zeropoint prevents the page break. But I find such an page break very confusing. btw, you need to patch core-mat.tex : \doif = \doifsomething \doifsomething{\formulaparameter\c!margin}% so we test first {\dosetleftskipadaption{\formulaparameter\c!margin}% \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded it seems that this was never encountered This doesn't seem to work. Changing line 303 of core-mat.tex \doif = \doifsomething and regenerating formats, does not change the output of the test file. I still get the incorrect page breaking. If I use the framedtext, then everything works fine. Something seems to be going wrong with \startbackground \stopbackground. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Unexplained blank page when using textblocks
All, I am using: tmp $ texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006 tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5) context : ver: 2006.03.20 10:19 cont-en : ver: 2006.03.20 10:19 fmt: 2006.3.21 mes: english cont-nl : ver: 2006.03.20 10:19 fmt: 2006.3.21 mes: dutch total run time : 3 seconds I get a blank page 2 (except for subsection title) for the following source. Thought you'd like to be aware of this. %output=pdf \starttext \setupindenting[medium,yes] \setupwhitespace[medium] \setupcolumns [verytolerant,distance=4em] \setupcolors[state=start] \defineenumeration[question] \setupenumerations [question] [location=inleft, text={\color[blue]\bgroup}, stopper={.\egroup}, way=bysection, sectionnumber=no] \defineenumeration[answer] \setupenumerations [answer] [location=inleft, text={\color[blue]\bgroup}, stopper={.\egroup}, way=bysection, sectionnumber=no] \defineblock[question,answer] \hideblocks[answer] \chapter{First Chapter} \dorecurse{1}{\input tufte\par} \section{First Section} \dorecurse{2}{\input tufte\par} \subsection{Exercises} \startcolumns[n=2] \beginquestion \startquestion[ex:1] What is the square root of $\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt\pi$ \stopanswer \endanswer \beginquestion \startquestion In exercise~\in[ex:1], we found $\sqrt{\pi}$. What is the square root of $\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt{\pi}$ \stopanswer \endanswer \beginquestion \startquestion What is the square root of $\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt{\pi}$ \stopanswer \endanswer \beginquestion \startquestion What is the square root of $\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt{\pi}$ \stopanswer \endanswer \stopcolumns \subsection{Answers} \startcolumns[n=2] \selectblocks[answer][criterium=section] \stopcolumns \section{Second Section} \dorecurse{2}{\input tufte\par} \subsection{Exercises} \startcolumns[n=2] \beginquestion \startquestion What is the square root of $2\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt{2\pi}$ \stopanswer \endanswer \beginquestion \startquestion What is the square root of $2\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt{2\pi}$ \stopanswer \endanswer \beginquestion \startquestion What is the square root of $2\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt{2\pi}$ \stopanswer \endanswer \beginquestion \startquestion What is the square root of $2\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt{2\pi}$ \stopanswer \endanswer \stopcolumns \subsection{Answers} \startcolumns[n=2] \selectblocks[answer][criterium=section] \stopcolumns \section{Third Section} \dorecurse{2}{\input tufte\par} \subsection{Exercises} \startcolumns[n=2] \beginquestion \startquestion What is the square root of $3\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt{3\pi}$ \stopanswer \endanswer \beginquestion \startquestion What is the square root of $3\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt{3\pi}$ \stopanswer \endanswer \beginquestion \startquestion What is the square root of $3\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt{3\pi}$ \stopanswer \endanswer \beginquestion \startquestion What is the square root of $3\pi$? \stopquestion \endquestion \beginanswer \startanswer $\sqrt{3\pi}$ \stopanswer \endanswer \stopcolumns \subsection{Answers} \startcolumns[n=2] \selectblocks[answer][criterium=section] \stopcolumns \section{Appendix} \setupenumerations[answer][sectionnumber=yes] \startcolumns[n=2] \selectblocks[answer][criterium=chapter] \stopcolumns \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Curious blank page
Hi David, This is a bug that I do not have a real fix for, but I have a workaround for you instead. David Arnold wrote: \section{Answers} Add this, here: \kern0pt Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Curious blank page
Taco Hoekwater wrote: Hi David, This is a bug that I do not have a real fix for, but I have a workaround for you instead. David Arnold wrote: \section{Answers} Add this, here: \kern0pt can you check the version i uploaded a moment ago? i see no blank page here but i did some fixes to the multi column mechanism last week Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Curious blank page
Hans,I have to wait until Gerben's Context Updated catches up to your update. But I will do it then.On Mar 20, 2006, at 2:42 AM, Hans Hagen wrote: Taco Hoekwater wrote: Hi David, This is a bug that I do not have a real fix for, but I have a workaround for you instead. David Arnold wrote: \section{Answers} Add this, here: \kern0pt can you check the version i uploaded a moment ago? i see no blank page here but i did some fixes to the multi column mechanism last week Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Curious blank page
All, Why is it that the rest of the page after Answers on page 4 of the compiled pdf is blank? %output=pdf \starttext \setupindenting[medium,yes] \setupwhitespace[medium] \chapter{First Chapter} \dorecurse{2}{\input tufte\par} \section{First Section} \dorecurse{5}{\input tufte\par} \section{Exercises} \startcolumns[n=2] \dorecurse{5}{\input tufte\par} \stopcolumns \section{Answers} \startcolumns[n=2] \dorecurse{5}{\input tufte\par} \stopcolumns \section{Second Section} \dorecurse{5}{\input tufte\par} \section{Third Section} \dorecurse{5}{\input tufte\par} \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] strange stretching with \blank[...]
Hi, Peter Münster wrote: But \blank[big,big] is working right. It seems, that we should replace all 2*big by big,big in core-sec.tex I regard this a bug in the definition of 2*big. I'm not sure how many old documents will break if it is fixed, though. The correct definition is: \defineblankmethod [2*big] {\addblankskip+{\bigskipamount}{\openlineheight}% \addblankskip+{\bigskipamount}{\openlineheight}} The current definition is: \defineblankmethod [2*big] {\addblankskip+{2\bigskipamount}{2\openlineheight}}% but that does not copy the stretch and shrink parts. TeX is a bit stupid come to skip assignments, after \skip0=5pt plus 10pt minus 10pt \skip1=2\skip0 \skip0 will be *exactly* 10pt, without any glue components. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] typing blocks undesired blank
Hi all, I have a document with many block \starttyping ... \stoptyping. I see some time undesired blank after headers (chaper, section,... see the shot http://people.vnoss.org/~vnpenguin/pub/context/test/test.png). How I can avoid this bad layout ? Source test file : http://people.vnoss.org/~vnpenguin/pub/context/test/test.tex PDF: http://people.vnoss.org/~vnpenguin/pub/context/test/test.pdf Thank you in advance, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] blank chapter last page
Hi, ConTeXt's default behavior is to insert a page, when necessary, to force a new chapter to begin on a right hand page. One consequence when using running headers is that they appear on these extra pages too. I use the following code to control a chapter's opening page. % Define heads for chapter opening pages \definetext[chapterstart][footer][pagenumber] \setuphead[chapter][header=empty,footer=chapterstart] I would like those inserted extra pages to be completely blank. Any suggestions how I can disable the running headers for those pages? Thanks. Cheers, Michael A. Guravage ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: blank chapter last page
Hello Michael, ConTeXt's default behavior is to insert a page, when necessary, to force a new chapter to begin on a right hand page. One consequence when using running headers is that they appear on these extra pages too. I use the following code to control a chapter's opening page. % Define heads for chapter opening pages \definetext[chapterstart][footer][pagenumber] \setuphead[chapter][header=empty,footer=chapterstart] I would like those inserted extra pages to be completely blank. Any suggestions how I can disable the running headers for those pages? Thanks. Perhaps this helps you? http://archive.contextgarden.net/message/20030329.110709.b9199ab7.en.html Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] A blank entry in the bibliography
I'm seeing a blank entry in the bibliography. However, since it's not referenced in the text, I can't tell which one is it. Some debug options to find out? -- Giuseppe Oblomov Bilotta ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] A blank entry in the bibliography
Giuseppe Bilotta wrote: I'm seeing a blank entry in the bibliography. However, since it's not referenced in the text, I can't tell which one is it. Some debug options to find out? Nope. You can't find it out from the sort order? If you \setupbibtex[sort=none], then it will be in the same order as in the .bib file. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] blank line
Hi all, I like to get blank lines (or halve lines) between mij paragraphs. I seem to misuntherstand something compleetly, because I can't get it working. Can anyone point me out?? Boris _ Een audiogesprek? Pak Messenger, niet de telefoon http://www1.imagine-msn.com/Messenger/Video.aspx ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] blank line
Boris Pedrofiets wrote: Hi all, I like to get blank lines (or halve lines) between mij paragraphs. I seem to misuntherstand something compleetly, because I can't get it working. Can anyone point me out?? For single cases: \blank [line] % one line or \blank [halfline] % half of a line or \blank [3*line] % three lines Or as a global setting : \setupwhitespace [big] Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] how to create many blank pages
I need to create a book with many blank pages (with its header footer texts). Is there any easy way to create, say, 300 blank pages one after the other, wihout using \page 300 times? I guess what I need is to know how to loop within context. thank you Ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] how to create many blank pages
Ciro Soto wrote: I need to create a book with many blank pages (with its header footer texts). Is there any easy way to create, say, 300 blank pages one after the other, wihout using \page 300 times? I guess what I need is to know how to loop within context. \dorecurse{300}{\ \page} ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] how to create many blank pages
On Thu, 2005-07-07 at 22:17 +0200, Taco Hoekwater wrote: Ciro Soto wrote: I need to create a book with many blank pages (with its header footer texts). Is there any easy way to create, say, 300 blank pages one after the other, wihout using \page 300 times? I guess what I need is to know how to loop within context. \dorecurse{300}{\ \page} Argh! Finally a question I could answer and you beat me by less than 60 seconds... Oh well, at least I can confirm that works (although I used \crlf\page instead of \ \page). -- Stuart Jansen [EMAIL PROTECTED] Guru Labs, L.C. signature.asc Description: This is a digitally signed message part ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] how to create many blank pages
Stuart Jansen wrote: \dorecurse{300}{\ \page} Argh! Finally a question I could answer and you beat me by less than 60 seconds... Oh well, at least I can confirm that works (although I used \crlf\page instead of \ \page). or, more code: \starttext \dorecurse{300}{\page[empty]} \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Some extra empty pages, why? And how to get an initial blank page with page number 0?
Fro my environment: %\setuppapersize[B5][B4,landscape] \setuppapersize[B5][B5] \setupindenting[small] \setuplayout[location=doublesided] %\setuparranging[2SIDE] \setuppagenumbering[alternative=doublesided] % \usemodule[lettri] \def\ClearChapterQuote{\def\ChapterQuote{}} \ClearChapterQuote \newcommand{\ChQuoteFormat}[1]{\starttext% %\raggedright% \startalignment[left]% \startnarrower[4*left] \noindent{\em #1}% \stopnarrower\stopalignment\stoptext\blank} \setuphead[chapter] [page=left, before={\ChQuoteFormat{\ChapterQuote}\noheaderandfooterlines% \page[right]\blank[2*big]}, after={\ClearChapterQuote\blank[3*big]}% \noheaderandfooterlines] Without \setuppagenumbering[alternative=doublesided], I get single sided layout (even if I have the \setuplayout statement, very confusing). If I do add \setuppagenumbering[alternative=doublesided], I get the following: 1. Title page 2. Empty 3. Page with only a page numer 1 at the top 4. empty 5. Page with Contents 'chapter' 6. Page with quote 7. First page of chapter Except for pages 3 and 4 that is how I want it. Why are these pages there? They are not there if \setuppagenumbering[alternative=doublesided] is left out. My product file looks like this: \startproduct prd_book \project project_teoada \starttext \start \startstandardmakeup \ss \hairline \start \switchtobodyfont[20pt]\bf \leftaligned{TEOADA}% \stop \hairline \blank[line]\rightaligned{Gerben Wierda}% \blank[10cm]\start\leftskip=10cm\hairline\stop \rightaligned{2005}% \stopstandardmakeup \stop \startfrontmatter \completecontent \component c_guide \stopfrontmatter \component c_ch1 \component c_ch2 \component c_ch3 \startappendices \component c_app1 \stopappendices \stoptext \stopproduct I have been trying a lot of permutations but so far without luck. Secondly, when I turn on 2xB5 on one B4 landscape and 2SIDE arrangement, I would like to have an initial blank page (with page number 0) so I can have my 2SIDE look just like a book would look. I have tried to get one with the \page command in various places and with various setups, but so far without *any* effect. I have been using the manual, the wiki and any documentation I have been able to find. So far no luck. Thanks, G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Some extra empty pages, why? And how to get an initial blank page with page number 0?
Hi Gerben, I puzzeled with your project code. First you are not allowed to use \starttext \stoptext in a definition. Your definitione interferes with the chapter mechnism. So more knowledge is necessary which I do not have at the moment. in the before option you say \page=right, seems to create a problem. If you want to start a page with blank lines you nee to insert a \strut Please see the attached file KR Willi Gerben Wierda wrote: Fro my environment: %\setuppapersize[B5][B4,landscape] \setuppapersize[B5][B5] \setupindenting[small] \setuplayout[location=doublesided] %\setuparranging[2SIDE] \setuppagenumbering[alternative=doublesided] % \usemodule[lettri] \def\ClearChapterQuote{\def\ChapterQuote{}} \ClearChapterQuote \newcommand{\ChQuoteFormat}[1]{\starttext% %\raggedright% \startalignment[left]% \startnarrower[4*left] \noindent{\em #1}% \stopnarrower\stopalignment\stoptext\blank} \setuphead[chapter] [page=left, before={\ChQuoteFormat{\ChapterQuote}\noheaderandfooterlines% \page[right]\blank[2*big]}, after={\ClearChapterQuote\blank[3*big]}% \noheaderandfooterlines] Without \setuppagenumbering[alternative=doublesided], I get single sided layout (even if I have the \setuplayout statement, very confusing). If I do add \setuppagenumbering[alternative=doublesided], I get the following: 1. Title page 2. Empty 3. Page with only a page numer 1 at the top 4. empty 5. Page with Contents 'chapter' 6. Page with quote 7. First page of chapter Except for pages 3 and 4 that is how I want it. Why are these pages there? They are not there if \setuppagenumbering[alternative=doublesided] is left out. My product file looks like this: \startproduct prd_book \project project_teoada \starttext \start \startstandardmakeup \ss \hairline \start \switchtobodyfont[20pt]\bf \leftaligned{TEOADA}% \stop \hairline \blank[line]\rightaligned{Gerben Wierda}% \blank[10cm]\start\leftskip=10cm\hairline\stop \rightaligned{2005}% \stopstandardmakeup \stop \startfrontmatter \completecontent \component c_guide \stopfrontmatter \component c_ch1 \component c_ch2 \component c_ch3 \startappendices \component c_app1 \stopappendices \stoptext \stopproduct I have been trying a lot of permutations but so far without luck. Secondly, when I turn on 2xB5 on one B4 landscape and 2SIDE arrangement, I would like to have an initial blank page (with page number 0) so I can have my 2SIDE look just like a book would look. I have tried to get one with the \page command in various places and with various setups, but so far without *any* effect. I have been using the manual, the wiki and any documentation I have been able to find. So far no luck. Thanks, G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context % Project Gerben Wierda % COntext file % filename: project_teoada.tex %\setuppapersize[B5][B4,landscape] \setuppapersize[B5][B5] \setupindenting[small] % \setuplayout[location=doublesided] %\setuparranging[2SIDE] \setuppagenumbering[alternative=doublesided] % \usemodule[lettri,bib] \def\ChapterQuote{} \def\ClearChapterQuote{\def\ChapterQuote{}} \ClearChapterQuote \newcommand{\ChQuoteFormat}[1]{%\starttext% %\raggedright% \startalignment[left]% \startnarrower[4*left] \noindent{\em #1}% \stopnarrower\stopalignment %\stoptext \blank} \setuphead[chapter] [page=left, before={\ChQuoteFormat{\ChapterQuote}\noheaderandfooterlines% \strut\blank[2*big]}, % \page[right] after={\ClearChapterQuote\blank[3*big]% \noheaderandfooterlines}] \startproject project_teoada \product prd_book \nomorefiles \stopproject In a second file: Project Gerben Wierda COntext file filename: prd_book.tex \startproduct prd_book \project project_teoada \starttext \start \startstandardmakeup \ss \hairline \start \switchtobodyfont[20pt]\bf \leftaligned{TEOADA}% \stop \hairline \blank[line]\rightaligned{Gerben Wierda}% \blank[10cm]\start\leftskip=10cm\hairline\stop \rightaligned{2005}% \stopstandardmakeup \stop \startfrontmatter \completecontent[level=section] \page \component c_guide \stopfrontmatter \startbodymatter \ChapterQuote{Here comes a chapter quote} \chapter{the first Chapter} \section{All components listed} \startitemize[n] \item \type{\component c_ch1} \item \type{\component c_ch2} \item \type{\component c_ch3} \stopitemize \stopbodymatter \startappendices \chapter{Appendix-chapter} \section{The appendix component} \startitemize[n] \item \type{\component c_app1} \stopitemize \stopappendices \stoptext \stopproduct
[NTG-context] controlling blank pages at end of part
How does one control headers and footers at the end of a part, such as a chapter? There are two scenarios I am trying to figure out, one in which the the blank pages at the end of a part have headers, and one in which they don't. I can't figure out how to do either. Instead, I am getting a mixture of headers and non headers. First page in first part. \page Second page in first part. \page Third page in first part. \page[quadruple] \setuphead[part][header=high, page=right] \part{} This gives me two empty (no headers) pages, followed by a page with a header, followed by the first page in the next part. If I replace \page[quadruple] with \page[blank], my last page in the previous part loses its border. I can do: Third page in first part. \page \page[blank] But then the first page in the next part loses its headers. I suppose there is a way to turn the headings off for a page or two? \page \setupheader[state=stop] \part{} \setupheader[statue=normal] % this code also does not work! Thanks Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Blank figure hack: is there a better way?
I'm doing a document which has a large logo in the upper right corner of the page. The logo (which is on a background layer) intrudes into the text area by a small amount, and so it would be nice to have the text wrap around it rather than having to do the wrapping by manual spacers and line-breaks. The obvious solution that I came up with for this is to put a blank right-aligned float at the top of each page (it's a presentation where all the page breaks are hand-coded, so that's easy to do), of about the size of the part of the logo that intrudes into the text. I defined a class of floats just for this: \definefloat[logospacer][logospacer] (Using the same name for the singular and plural was a hack to get around the fact that the manual doesn't indicate which of the two the \setupfloat command uses. Which is it?) So far, so good. Except that it's exceptionally hard to _get_ a blank float in ConTeXt, particularly one of a specified size. If I do this (and specify the size in a \setupfloat command): \placelogospacer[right, force]{none}{} I get a nice float exactly the size I want, but with a frame around it and the word undefined in the middle. If I put something in the float -- say, a letter, or a non-breaking space: \placelogospacer[right, force]{none}{~} The float suddenly becomes \textwidth wide, which is of course all wrong, but at least I have a blank float that's not undefined. If I put an \hbox in the float, with a fixed width, it stops stretching to fill the pagewidth, but unless I put something that actually makes a mark on the page, it still comes up with undefined. (The ~ that worked earlier doesn't work if it's in an \hbox.) I tried a number of tricks -- hiding the nothing in a macro, using a zero-height rule, and so forth -- and ConTeXt was sufficiently clever to see through them all. There's also the annoyance that I have to specify the size of the float by the size of the \hbox, rather than in a convenient [width=...,height=...] fashion. Eventually, what I came up with was putting the mark somewhere off the page, with the following command: \placelogospacer[right, force]{none}{\hbox to 1cm{\hskip 5cm x}} This of course gives overfull \hbox errors, and is a really ugly hack, but the results are acceptable -- a float of size 1cm by 1 x-height, which doesn't put marks on the physical page. How can I do this better? Better yet, how can I do this properly? Thanks, - Brooks ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] blank page in doublesided mode
At 15:35 18/02/2004, you wrote: Hans Many thanks. That does the trick very nicely. Is there a manual or the like that I have missed which documents this command, \installpagebreakhandler, and others such as \useURL and \setupinteraction? (I am interested in the latter, because inserting a blue, underlined URL for email in my output has curiously enough turned by footnote numbers blue.) no, these commands are not in a manual, but one can find them in the source code; the \install.. ones are real low level; the \definepagebreak[whatever][yes] one is public. Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] blank page in doublesided mode
Is there a manual or the like that I have missed which documents this command, \installpagebreakhandler, and others such as \useURL and \setupinteraction? (I am interested in the latter, because inserting a blue, underlined URL for email in my output has curiously enough turned by footnote numbers blue.) no, these commands are not in a manual, but one can find them in the source code; the \install.. ones are real low level; the \definepagebreak[whatever][yes] one is public. Regarding the rest (some hints to play with): \useURL [context] [http://www.pragma-ade.com] \goto{Pragma ADE}[URL(context)] \setupinteraction [state=start, color=black, style={\tf\underbars}] \setupunderbar[alternative=c, rulecolor=blue] % underdots Footnote numbers are interaction links, too. I don't know how to handle them different. But you can switch off footnote interaction somehow AFAIK. Grüßlis vom Hraban! -- http://www.fiee.net/texnique/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] blank page in doublesided mode
In doublesided mode ConTeXt seems to insert a blank page at the end of a document when there is an odd number of printed pages. I have checked the English documentation and so far I have only found out how to force a page in order to produce an even paged document. I have yet to come across anything that seems to show how to stop ConTeXt from adding a blank page. Any pointers will be very gratefully received. Alan ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] blank page in doublesided mode
At 13:46 18/02/2004, you wrote: In doublesided mode ConTeXt seems to insert a blank page at the end of a document when there is an odd number of printed pages. I have checked the English documentation and so far I have only found out how to force a page in order to produce an even paged document. I have yet to come across anything that seems to show how to stop ConTeXt from adding a blank page. Any pointers will be very gratefully received. \installpagebreakhandler{last}{} Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context