Dear crew, Another e-TeX culprit? Try this in plain tex mode: the heading corresponding to \title disappears, but works in pdfetex: =========== \starttext \setupheadertexts% [][title][\Author][]% \setupheader[style=\sc,state=high] \setuppagenumbering[alternative=doublesided, location={footer,marginedge}] \title{Test Chapter1} \def\Author{Author 1} \dorecurse{10}{\input tufte \input knuth \par} \title{Test Chapter2} \def\Author{Author 1} \stoptext =========== A related problem: I tried doing each article manually, e.g., \setupheadertexts% [][An Article][\Author][]% but the headings start 2 pages earlier than needed. So the last few pages of Article~1 contain the headings for Article~2! Aside from fixing the original problem I'd like to be understand how to handle this manually as well. Idris
At 07:39 PM 2/4/2003 -0700, you wrote:
Dear crew,
Another e-TeX culprit? Try this in plain tex mode: the heading corresponding to \title disappears, but works in pdfetex:
Did you try eomega? The otp mechanism seems to dislike the \dorecurse line [i wonder if you could use the latest enctex mechanism for your applications, since it has a similar mapping functionality [multiple chars onto one, with output mapping as well] but seems less sensitive to lookahead problems also, if you want a chap start dependent header: \setuphead[chapter][style=\sc,header=high] now your headertext only 'disappears' at the first page Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl 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 -------------------------------------------------------------------------
Hans Hagen wrote:
At 07:39 PM 2/4/2003 -0700, you wrote:
Dear crew,
Another e-TeX culprit? Try this in plain tex mode: the heading corresponding to \title disappears, but works in pdfetex:
Did you try eomega? The otp mechanism seems to dislike the \dorecurse line
I am waiting for Fabrice to make eomega 1.15 binaries (he said he would try to do something this week). If he takes too long I'll have to install MiKTeX or beg Thomas Esser to make Linux binaries. Then I have to test eomega to make sure it at least does exhibit any fatal bugs above what already in Omega1.15. But the journal sponsors will not be able to wait for all that;-) If there's anyway to get patches for the relevant eTeX stuff I'll be quite grateful:-) In any case, this particular problem is apparently not Omega-related. See below.
[i wonder if you could use the latest enctex mechanism for your applications, since it has a similar mapping functionality [multiple chars onto one, with output mapping as well] but seems less sensitive to lookahead problems
Could you give me an example to try?
also, if you want a chap start dependent header:
\setuphead[chapter][style=\sc,header=high]
now your headertext only 'disappears' at the first page
This does not solve my problem. Try running the following in plain tex mode: the title/chapter headings will not appear: texexec --tex=tex test ==========test.tex======= \setuphead[chapter][style=\sc,header=high] \setuphead[title][%numberstyle=normal, style=\sc, alternative=middle, %page=right, %number=no, %ownnumber=no, %incrementnumber=no, %continue=no, header=high%, %text=high, %footer=empty, %command=\tfc, %after={\blank[small]% %\blank[big,small]% %\blank[disable] %\placelogos[ijss]}% ] \setupheadertexts% [][title][\Author][]% \setupheader[style=\sc,state=high] \setuppagenumbering[alternative=doublesided, location={footer,marginedge}] \starttext \title{Test Chapter1} \def\Author{Author 1} \dorecurse{10}{\input tufte \input knuth \par} \title{Test Chapter2} \def\Author{Author 1} \stoptext ====================== As always, thnx 4 your help. I hope this is soluble;-) Best Idris
Headers are driving me crazy;-) Consider the test file at the end of this mail: It is designed so that every new chapter (\title since journal articles need no numbering) begins on an odd page. I tried localizing the headers with \start and \stop. Here is what happens 1. On page five (odd, last page of Test~1) we are still in chapter Test~1, yet the heading for Test~2 appears; 2. The blank page before the beginning of Chapter Test~2 has a heading and a footer. How can I automatically make it completely empty of header and footer (I know about \noheaderandfooterlines but I have had no luck positioning it just right to get the effect I want); 3. On page ten (even, last page of Test~2), the heading reads Author~3, when it should read Author~2. How do I get things right here? I'm truly desperate on this one. I found clever (or clunky) workarounds to some of my other problems (I processed my tables in pdfetex and turned them into eps files for the Gamma run, for instance) but this one is really driving me bats. While I would still like to fix the original problem in Gamma where the global setting of \setupheadertexts% [][title][\Author][]% \setupheader[style=\sc,state=high] makes the title disappear, even the global setting in pdfetex creates similar problems. Problem~1 disappears but problems 2 & 3 remain. Please help! Best Idris ====================== \setuphead[title][numberstyle=normal, style=\scb, alternative=middle, page=right, number=no, ownnumber=no, incrementnumber=yes, continue=no, header=high, text=high, footer=empt% ] \setuppagenumbering[alternative=doublesided, location={footer,marginedge}] %\setupheadertexts% % uncomment %[][title][\Author][]% % for global version %\setupheader[style=\sc,state=high] % title will disappear % % in Plain \starttext \start \setupheadertexts% []% [Test 1] [Author 1]% []% \def\Author{Author 1} \title{Test 1} \dorecurse{10}{\input tufte \input knuth \par} \stop \start \setupheadertexts% []% [Test 2] [Author 2]% []% \def\Author{Author 2} \title{Test 2} \dorecurse{7}{\input tufte \input knuth \par} \stop \start \setupheadertexts% []% [Test 3] [Author 3]% []% \def\Author{Author 3} \title{Test 3} \dorecurse{7}{\input tufte \input knuth \par} \stop \stoptext ======================
participants (2)
-
Hans Hagen
-
Idris S Hamid