Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
font % \showbodyfontenvironment \useexternaldocument[m001][master001][Whispering of Inscriptions, Vol.~{\sc ii}] \startfrontmatter \component tlpg000 { \setupheadtext[content=Contents of Vol.~i.] \setupheadertexts[Contents of Vol.~i.][pagenumber][pagenumber][Contents of Vol.~i.] \noheaderandfooterl

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Hans Hagen via ntg-context
- test-directions-005.pdf Description: Adobe PDF document \noheaderandfooterlines % in font-imp-scripts, line 145, comment a few lines % % orientate = function(character) % local width = character.width or 0 % local height

Re: [NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-13 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Problems I and II are apparently solved in the latest update. As for III, the following works: \definefont[ARABICFONT][file:almfixed.otf*arabic at 28pt] \noheaderandfooterlines \setupwhitespace[big] % \starttext \startTEXpage[offset=1ex] % \setupdirections[bidi=global,method=one

Re: [NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-10 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
at 28pt] % \definefont[ARABICFONT][file:Scheherazade-Regular.ttf*arabic at 28pt] % \definefont[ARABICFONT][file:UthmanTN1_Ver10.otf*arabic at 28pt] % \definefont[ARABICFONT][file:almfixed.otf*arabic at 28pt] \disabledirectives[filters.utf.reorder] \noheaderandfooterlines \setupwhitespace[big

[NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-10 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
][file:UthmanTN1_Ver10.otf*arabic at 28pt] % \definefont[ARABICFONT][file:almfixed.otf*arabic at 28pt] \disabledirectives[filters.utf.reorder] \noheaderandfooterlines \setupwhitespace[big] % \setupinterlinespace[line=4.2ex] \starttext % \startTEXpage[offset=1ex] \setupdirections[bidi=global,method=one

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
head. > > Try this: > > \setuplayout[location=doublesided] > \setuppagenumbering[alternative=doublesided] > > \definetext > [chapterfooter] % name > [footer]% vertical location > [pagenumber]% content > > \setuphead[chapter] > [page=, &

Re: [NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Wolfgang Schuster via ntg-context
]    % content \setuphead   [chapter]   [page=yes,    header=empty,    footer=chapterfooter,    sectionsegments=chapter,    before={\blank[force,2*big]},    after={\blank[3*big]},    beforesection=\directsetup{chapter:before}] \startsetups [chapter:before]     \page[left]     \noheaderandfooterlines

[NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Gerben Wierda via ntg-context
[chapter] [page=, header=empty, footer=chpaterfooter, sectionsegments=chapter, before={\setups[chapter:before]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
, header=empty, footer=chpaterfooter, sectionsegments=chapter, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
an I do this? > > Example: > > \setuplayout[location=doublesided] > \setuppagenumbering[alternative=doublesided] > \setuphead[chapter] > [page=, >sectionsegments=chapter, >before={\setups[chapter:before]}, >after={\setups[chapter:after]}] >

[NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
=doublesided] \setuppagenumbering[alternative=doublesided] \setuphead[chapter] [page=, sectionsegments=chapter, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated

Re: [NTG-context] Color problem

2021-05-20 Thread Aditya Mahajan
AA][alternative=inright,headcolor=\HighlightColor,text=] >\definelabel[BB][alternative=inright,headcolor=red,text=] >\noheaderandfooterlines >\starttext >\hsize3cm >Is the label red?\AA > >Is the label red?\BB > >\RED

[NTG-context] Color problem

2021-05-20 Thread Rik Kabel
Consider the following example: \define \HighlightColor {red} \definehighlight[RED][color=\HighlightColor] \definelabel[AA][alternative=inright,headcolor=\HighlightColor,text=] \definelabel[BB][alternative=inright,headcolor=red,text=] \noheaderandfooterlines \starttext

Re: [NTG-context] What is the ConTeXt way to handle this \vbox trick?

2021-05-09 Thread Hans Hagen
On 5/8/2021 10:05 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Consider the following MWE (for a sequential multiple-choice exam), using some old and ugly TeX code: === \setupbodyfont[schola] \noheaderandfooterlines \setupwhitespace[big] \def\CHOICE#1#2{\leavevmode\vbox

[NTG-context] What is the ConTeXt way to handle this \vbox trick?

2021-05-08 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following MWE (for a sequential multiple-choice exam), using some old and ugly TeX code: === \setupbodyfont[schola] \noheaderandfooterlines \setupwhitespace[big] \def\CHOICE#1#2{\leavevmode\vbox{\tabskip=0pt\everycr={} \halign{\strut\hfil##\hfil

[NTG-context] page counter problem

2020-09-30 Thread Alan Bowen
, method=overlay]{} \setcounter[userpage][101] \noheaderandfooterlines \getfiguredimensions[HannahBW.pdf] \dorecurse{\noffigurepages} {\vbox to \paperheight {\vskip-\dimexpr\headerheight+\headerdistance+\topspace\relax \hbox to \hsize {\hskip-\backspace \layeredtext

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Wolfgang Schuster
[location=default] \starttext ... \page \getfiguredimensions[texit.pdf] \noheaderandfooterlines \dorecurse{\noffigurepages} {\vbox to \vsize {\vskip-\dimexpr\headerheight+\topspace\relax \hbox to \hsize {\hskip-\backspace \externalfigure[texit.pdf][page=\recurselevel

Re: [NTG-context] About alternative=middle in section heads

2020-07-12 Thread Jairo A. del Rio
ction title whe alternative=middle is set. How to disable > > this behavior so one can have a section label and number next to a > > centered section title? Thank you in advance. > > You're using the wrong option. > > \noheaderandfooterlines > > \starttext > > \st

Re: [NTG-context] About alternative=middle in section heads

2020-07-12 Thread Wolfgang Schuster
in advance. You're using the wrong option. \noheaderandfooterlines \starttext \start \setuphead[section][alternative=middle] \section{\mono{alternative=middle}} \stop \start \setuphead[section][align=middle] \section{\mono{align=middle}} \stop \stoptext Wolfgang

Re: [NTG-context] Fwd: issue: multiple viewer layers

2019-01-07 Thread Hans Hagen
] \defineviewerlayer[two] \noheaderandfooterlines \starttext \startlines BEFORE LAYER \startviewerlayer[one] INSIDE LAYER ONE \startviewerlayer[two] INSIDE LAYER ONE AND TWO \stopviewerlayer INSIDE LAYER ONE

Re: [NTG-context] \noheaderandfooterlines to suppress header frame, too

2018-10-10 Thread Hans Hagen
On 10/10/2018 8:29 AM, Procházka Lukáš Ing. wrote: Hello, this may have been posted here some time before, but - would it be possible to extend \noheaderandfooterlines command to temporarily suppress bottom frame, too? won't happen ... too incompatible

[NTG-context] \noheaderandfooterlines to suppress header frame, too

2018-10-10 Thread Procházka Lukáš Ing .
Hello, this may have been posted here some time before, but - would it be possible to extend \noheaderandfooterlines command to temporarily suppress bottom frame, too? Suppose having the following code: \setupheadertexts[left][right] \setupbackgrounds[header][bottomframe=on] \starttext

Re: [NTG-context] Setting the footnote symbol

2017-11-17 Thread Pablo Rodriguez
e=2in] \setupnotation[footnote][style={\PagellaRegularSmall}, numbercommand=\PagellaRegularSmall] \setupnote [footnote] [textcommand={\setupbodyfont[nonexisting]\high}] \noheaderandfooterlines \starttext \startframedtext[width=4.5in,offset=0pt

[NTG-context] Setting the footnote symbol

2017-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد
titlestyle={\PagellaRegularSmall}] % Why is this necessary? \setupnote[footnote][textcommand={\PagellaRegularSmall}] % symbol-font style in the main text \noheaderandfooterlines \starttext \PagellaRegular \startframedtext[width=4.5in,offset=0pt] \startlocalfootnotes

Re: [NTG-context] problem with page number on last page

2016-02-29 Thread Alan Bowen
}{\input knuth}\footnote{\dorecurse{3}{\input knuth}} > %\input knuth > \stoptext > > with and without the line currently commented out. > > You can add the following lines at the begin of your docume

Re: [NTG-context] problem with page number on last page

2016-02-28 Thread Wolfgang Schuster
knuth \stoptext with and without the line currently commented out. You can add the following lines at the begin of your document. \appendtoks \noheaderandfooterlines \to \everystoptext Wolfgang ___ If your qu

Re: [NTG-context] suppress header-footers

2015-09-14 Thread Pablo Rodriguez
On 09/14/2015 11:01 AM, Meer, Hans van der wrote: > With \noheaderandfooterlines one can suppress the header and footer lines on > the current page. > > When using \setuplayout[location=doublesided] a blank page is > generated if necessary. However this generated page does c

Re: [NTG-context] suppress header-footers

2015-09-14 Thread Wolfgang Schuster
hapter][page={yes, header, footer, right}] \setupheadertexts[Header] \setupfootertexts[Footer] \starttext \dorecurse{3}{\chapter{Chapter}\noheaderandfooterlines} \stoptext For some strange reason (at least, unknown to me), header and footer must be placed before right (if specified at al

[NTG-context] suppress header-footers

2015-09-14 Thread Meer, Hans van der
With \noheaderandfooterlines one can suppress the header and footer lines on the current page. When using \setuplayout[location=doublesided] a blank page is generated if necessary. However this generated page does contain header/footer, notwhithstanding the use of \noheaderandfooterlines

Re: [NTG-context] put titles in toc

2015-09-09 Thread John Culleton
file: > > Hi John, > > I think this might do what you want: > > \definehead[titleintoc][chapter][number=no] > \starttext > \noheaderandfooterlines > \title{Contents} > \placelist[chapter,titleintoc] > \chapter{foo} > \input knuth.tex >

Re: [NTG-context] put titles in toc

2015-09-08 Thread Pablo Rodriguez
\starttext \noheaderandfooterlines \title{Contents} \placelist[chapter,titleintoc] \chapter{foo} \input knuth.tex \titleintoc{bar} \input knuth.tex \stoptext I hope it helps, Pablo -- http://

[NTG-context] put titles in toc

2015-09-08 Thread John Culleton
] \definelist[chapter] \setuplist[chapter][style=bold] \setuplist[title][style=bold] \setupcombinedlist[content][chapter,title][level=title,alternative d,aligntitle=yes] \starttext \noheaderandfooterlines \title{Contents} \placecontent \page[yes] \chapter{foo} \input knuth.tex \page[yes] \title{bar

Re: [NTG-context] noheaderandfooterlines messes with colors

2015-08-03 Thread Aditya Mahajan
On Mon, 3 Aug 2015, Hans Hagen wrote: \hbox\bgroup\forcecolorhack\starttikzpicture \draw(0,2) node[color=red]{This should be red}; \draw(0,0) node[color=red]{This is red}; \stoptikzpicture\egroup Tikz colors are broken when using anything other than red, blue, or green. I know that

Re: [NTG-context] noheaderandfooterlines messes with colors

2015-08-03 Thread Hans Hagen
On 8/3/2015 10:38 AM, Eric Détrez wrote: Le 01-08-2015 22:32, Aditya Mahajan a écrit : On Sat, 1 Aug 2015, Eric Détrez wrote: Here is a minimal example : \usemodule[tikz] \starttext \noheaderandfooterlines \starttikzpicture \draw(0,2) node[color=red]{This should be red}; \draw(0,0) node

Re: [NTG-context] noheaderandfooterlines messes with colors

2015-08-03 Thread Eric Détrez
Le 01-08-2015 22:32, Aditya Mahajan a écrit : On Sat, 1 Aug 2015, Eric Détrez wrote: Here is a minimal example : \usemodule[tikz] \starttext \noheaderandfooterlines \starttikzpicture \draw(0,2) node[color=red]{This should be red}; \draw(0,0) node[color=red]{This is red}; \stoptikzpicture

Re: [NTG-context] noheaderandfooterlines messes with colors

2015-08-01 Thread Aditya Mahajan
On Sat, 1 Aug 2015, Eric Détrez wrote: Here is a minimal example : \usemodule[tikz] \starttext \noheaderandfooterlines \starttikzpicture \draw(0,2) node[color=red]{This should be red}; \draw(0,0) node[color=red]{This is red}; \stoptikzpicture \stoptext The first line is written in black

[NTG-context] noheaderandfooterlines messes with colors

2015-08-01 Thread Eric Détrez
Here is a minimal example : \usemodule[tikz] \starttext \noheaderandfooterlines \starttikzpicture \draw(0,2) node[color=red]{This should be red}; \draw(0,0) node[color=red]{This is red}; \stoptikzpicture \stoptext The first line is written in black but when I comment \noheaderandfooterlines

Re: [NTG-context] \noheadersandfooterlines

2015-04-14 Thread Wolfgang Schuster
'i' (I am using roman numbers for the frontmatter.) 1. The command is documented on the wiki: http://wiki.contextgarden.net/Command/noheaderandfooterlines http://wiki.contextgarden.net/Command/noheaderandfooterlines 2. What is your question? \starttext \noheaderandfooterlines \dorecurse

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-20 Thread Gerben Wierda
[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-16 Thread Gerben Wierda
Thanks. I tried this % Every chapter starts with a quote on the LHS page: \setuphead [chapter] [page=, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
scrutinize or question.\crlf {\tf Stephen Jay Gould} \stopbuffer \noheaderandfooterlines \start \title[h:toc]{Contents} \setuppagenumber[number=3] \placelist[chapter,chaptertext] \stop \component c_loosely \stopfrontmatter \startbodymatter \component

[NTG-context] No number on first page

2014-11-26 Thread Richard Sherman
\setupheader[1][header=0mm] which is not what is intended, and also does not result in page numbers on pages 2, 3, ..., and \noheaderandfooterlines which is also not successful, and doesn't seem like it should be, and \definelayout[1][header=0mm] \definelayout[2][reset] which doesn't work either

Re: [NTG-context] No number on first page

2014-11-26 Thread Wolfgang Schuster
how to accomplish the same thing in ConTeXt. I have seen the suggestions \setupheader[1][header=0mm] which is not what is intended, and also does not result in page numbers on pages 2, 3, ..., and \noheaderandfooterlines which is also not successful, and doesn't seem like it should

Re: [NTG-context] No number on first page

2014-11-26 Thread Richard Sherman
Wolfgang Schuster schuster.wolfgang at gmail.com writes: \starttext \noheaderandfooterlines \dorecurse{10}{\input knuth\par} ... \stoptext Wolfgang Thank you. More time with the manuals for me. -Richard

Re: [NTG-context] \resetsetups

2014-08-14 Thread Rik Kabel
this from Gerben Wierde: \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text

[NTG-context] \resetsetups

2014-08-13 Thread Rik Kabel
Dear list, In a number of notes (recent and in the list archive) I have seen \resetsetups, used (always) as in a block of code like this from Gerben Wierde: \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated

Re: [NTG-context] \resetsetups

2014-08-13 Thread Wolfgang Schuster
] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \noheaderandfooterlines \blank[force,2*big] \stopsetups What is the purpose

[NTG-context] Suppressing the page number

2014-08-12 Thread Gerben Wierda
with \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \noheaderandfooterlines

Re: [NTG-context] Suppressing the page number

2014-08-12 Thread Aditya Mahajan
(mostly a quote or so). This is done with \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page

Re: [NTG-context] Suppressing the page number

2014-08-12 Thread Gerben Wierda
the chapter starts, but on the opposing page LHS there is something too (mostly a quote or so). This is done with \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote

[NTG-context] Why is my output body text in 15pt?

2014-07-23 Thread Gerben Wierda
starts with a quote on the LHS page: \setuphead [chapter] [page=, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em

Re: [NTG-context] pagenumber suppression howto?

2014-07-21 Thread Meer, H. van der
Would it be a good idea to add to the definition of \noheaderandfooterlines? For example \def\noheaderandfooterlines{..} % Separately kill header and footerlines on the current page. \def\noheaderlines{\setuplayoutelement[header][state=empty]} \def\nofooterlines{\setuplayoutelement[footer][state

[NTG-context] pagenumber suppression howto?

2014-07-20 Thread Meer, H. van der
that footer, to be done with: \noheaderandfooterlines But then comes the problem, because afterwards the default takes over and on the subsequent pages the pagenumber starts to appear in the header (the default setting apparently). Thus the \noheaderandfooterlines annuls the \setupheader[state=stop] I

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Wolfgang Schuster
] \setupfootertexts[some text][pagenumber] I want the first page without that footer, to be done with: \noheaderandfooterlines But then comes the problem, because afterwards the default takes over and on the subsequent pages the pagenumber starts to appear in the header (the default setting

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Wolfgang Schuster
Am 20.07.2014 um 21:35 schrieb Meer, H. van der h.vanderm...@uva.nl: Thanks. Please let us know if this addition of location=none will be taken up in a future beta. I also realised that the effect wanted can be obtained by dividing the single \noheaderandfooterlines into two additional

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Meer, H. van der
in a future beta. I also realised that the effect wanted can be obtained by dividing the single \noheaderandfooterlines into two additional macros \noheaderlines and \nofooterlines Is that a viable idea too? When you want disable only one element you can use the \setupheader or \setupfooter command

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Wolfgang Schuster
will be taken up in a future beta. I also realised that the effect wanted can be obtained by dividing the single \noheaderandfooterlines into two additional macros \noheaderlines and \nofooterlines Is that a viable idea too? When you want disable only one element you can use

Re: [NTG-context] placing an xtable

2013-06-18 Thread Wolfgang Schuster
\stopplacetable \stoptext or when you don’t mind a page break before the table a frame can be used: \defineframedtext [XFRAMED] [width=max, height=max, align={middle,lohi}, offset=overlay, frame=off, before=\page, % before=\page\noheaderandfooterlines, after=\page] \starttext \input

Re: [NTG-context] error: terminal: NOfTextColumns-1, ! Improper final value has been replaced by 0

2013-04-26 Thread Hans Hagen
20 21 22 \input ./macros/E16pagenohead.tex 23 \ifodd \pageno \else \noheaderandfooterlines \null \page[yes]\fi \noheade randfooterlines 24 25 \startptp{ 26 \pagereference[Languages]\pnum{Part II}\ptitle{Language Listings} 27 }\stopptp This error is very odd because: a) The only place I can find

Re: [NTG-context] disabling a header on the first page

2013-04-25 Thread Wolfgang Schuster
. Use the \noheaderandfooterlines command. \starttext \noheaderandfooterlines \dorecurse{10}{\input knuth\par} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry

[NTG-context] error: terminal: NOfTextColumns-1, ! Improper final value has been replaced by 0

2013-04-24 Thread Lars Huttar
\ifodd \pageno \else \noheaderandfooterlines \null \page[yes]\fi \noheade randfooterlines 24 25 \startptp{ 26 \pagereference[Languages]\pnum{Part II}\ptitle{Language Listings} 27 }\stopptp This error is very odd because: a) The only place I can find code mentioning NOfTextColumns-1 is in mp

[NTG-context] A strange problem, probably with \startitemize[columns]

2012-07-28 Thread Marcin Borkowski
0pt plus -6em (#1~minut)}} \defineitemgroup[exercises] \setupitemgroup[exercises][1][n,broad,intro][left={\headnumber[chapter]},before={},inbetween={\blank[medium]}] \def\ppauza{\unskip\kern.2em--\hskip.2em\ignorespaces} \starttext \noheaderandfooterlines \startalignment[middle] \tfd Gry

Re: [NTG-context] Centering a figure vertically on a page

2012-07-03 Thread Wolfgang Schuster
). \starttext %\noheaderandfooterlines \centerbox{\externalfigure[cow]} \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

Re: [NTG-context] Centering a figure vertically on a page

2012-07-03 Thread Marcin Borkowski
a game board and it may extend almost to the paper border), so \vfill doesn't work (and \vss doesn't, either). \starttext %\noheaderandfooterlines \centerbox{\externalfigure[cow]} \stoptext Wolfgang Thanks a lot, it works! -- Marcin Borkowski http://mbork.pl

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Wolfgang Schuster
] \starttext \noheaderandfooterlines \dorecurse{5}{\input knuth\par} \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

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Alan BRASLAU
? \defineoverlay[Bkg][\doif{\pagenumber}{1}{\externalfigure[cow]}] \setupbackgrounds[paper][background=Bkg] \starttext \noheaderandfooterlines \dorecurse{5}{\input knuth\par} \stoptext If you want to create a title page (which may not be your intention), why not simply \definemakeup[titlepage][align

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
[location={footer,middle},command=\MyPageNumber] \starttext %\noheaderandfooterlines % COMMAND NOT USED \dorecurse{5}{\input knuth\par} \stoptext 2 - BAD, page number IS on page 1 \def\MyPageNumber#1{\doifelse{#1}{1}{}{\pagenumber}} % Testing #1 instead of \pagenumber \setuppagenumbering

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
? \defineoverlay[Bkg][\doif{\pagenumber}{1}{\externalfigure[cow]}] \setupbackgrounds[paper][background=Bkg] \starttext \noheaderandfooterlines \dorecurse{5}{\input knuth\par} \stoptext If you want to create a title page (which may not be your intention), why not simply \definemakeup[titlepage][align=middle

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Wolfgang Schuster
{\pagenumber}{1}{}{\pagenumber}} % Testing \pagenumber \setuppagenumbering[location={footer,middle},command=\MyPageNumber] \starttext %\noheaderandfooterlines % COMMAND NOT USED \dorecurse{5}{\input knuth\par} \stoptext 2 - BAD, page number IS on page 1 \def\MyPageNumber#1

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... OK, thanks for the explanation. Best regards, Lukas 1) What exactly does \noheaderandfooterlines do? It disables the header/footer on the page where \noheaderandfooterlines was inserted. 2) Why testing the #1 argument in the case 2 doesn't work? When you use “\pagenumber” you

[NTG-context] Background using Image Overlay

2011-11-07 Thread Syed N Haider
][width=\overlaywidth,height=\overlayheight]}] \starttext \noheaderandfooterlines \setupbackgrounds[page][background=backg] %\placefigure %{none} %{\externalfigure[hexagon.0][width=12cm]} \stoptext Thanks in advance Syed

Re: [NTG-context] Background using Image Overlay

2011-11-07 Thread Wolfgang Schuster
): = \defineoverlay [backg] [{\externalfigure[hexagon.0][width=\overlaywidth,height=\overlayheight]}] \starttext \noheaderandfooterlines \setupbackgrounds[page][background=backg] %\placefigure %{none} %{\externalfigure[hexagon.0][width=12cm]} \stoptext With ConTeXt

Re: [NTG-context] Some short questions

2010-04-29 Thread R. Bastian
. essaye: \page\noheaderandfooterlines Second, I want to change the layout (margin, textwidth, etc) of a page. I know there is a clean way to declare a new layout for a specific page but I can't find my source again. Thanks in advance for your answers, Antoine

[NTG-context] font, sansserif

2010-04-22 Thread R. Bastian
Hello, this is an excerpt of the preambel and beginning of the text: \setupbodyfont[sansserif, 10pt] \setuphead[subject][textstyle=cap] %, \setupheadertexts[\^Aventiuren] \starttext \noheaderandfooterlines \tfe{}\^Aventiuren\blank\blank ... \subject{Chrono

Re: [NTG-context] font, sansserif

2010-04-22 Thread Taco Hoekwater
R. Bastian wrote: Hello, this is an excerpt of the preambel and beginning of the text: \setupbodyfont[sansserif, 10pt] \setuphead[subject][textstyle=cap] %, \setupheadertexts[\^Aventiuren] \starttext \noheaderandfooterlines \tfe{}\^Aventiuren\blank\blank

Re: [NTG-context] font, sansserif

2010-04-22 Thread R. Bastian
[\^Aventiuren] \starttext \noheaderandfooterlines \tfe{}\^Aventiuren\blank\blank ... \subject{Chrono} I wish for \tfe a fontsize greater than \tfd http://wiki.contextgarden.net/Reference/en/definebodyfontenvironment has an example that does

Re: [NTG-context] titlepage without page number

2009-10-13 Thread Wolfgang Schuster
] sorry but the \placetitle command has none of the keys you try to set \placetitle \noheaderandfooterlines\placetitle btw: Is there a possibility to just print the pagenumber? where, in the header/footer or in the text (\pagenumber) Wolfgang

[NTG-context] Switching off Header only on a particular page

2009-03-03 Thread Curious Learn
Hi, Is there a way to switch off just the header on a particular page? The Context manual gives the command \noheaderandfooterlines to switch off both. However, I want the page number (which is in the footer) on the first page, but no headers on the first page. Thanks

Re: [NTG-context] Switching off Header only on a particular page

2009-03-03 Thread Hans Hagen
Curious Learn wrote: Hi, Is there a way to switch off just the header on a particular page? The Context manual gives the command \noheaderandfooterlines to switch off both. However, I want the page number (which is in the footer) on the first page, but no headers on the first page. just

[NTG-context] Font with compreensive unicode

2009-02-23 Thread Maurí­cio
\noheaderandfooterlines \startcombination[2*2] { \tabelado{\blank \char2019 \par \blank} } { 2019 } { \tabelado{\blank \char2610 \par \blank} } { 2610 } { \tabelado{\blank \char226b \par \blank} } { 226b } { \tabelado{\blank \char2115 \par \blank} } { 2115 } \stopcombination \stoptext

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-22 Thread Idris Samawi Hamid ادريس سماوي ح امد
=arab, ccmp=yes, init=yes,medi=yes,fina=yes, rlig=yes, calt=yes, salt=yes, curs=yes, mark=yes, mkmk=yes] \font \Scheherazademk = ScheherazadeRegOT*scheherazade-testat 28pt \setcharactermirroring[1] \noheaderandfooterlines \Scheherazademk \starttext سلام خالد

[NTG-context] Part dividers, American style.

2008-07-16 Thread John Culleton
than arabic numerals. After many false starts I came up with this macro: - \def\Part#1#2#3{% \page[yes] \ifodd\pageno \else \noheaderandfooterlines \null \page[yes] \fi \noheaderandfooterlines \writetolist[part]{}{#1: #2 #3} \nimbux

Re: [NTG-context] Part dividers, American style.

2008-07-16 Thread Wolfgang Schuster
sequence altogether. And my current customer at least wants roman rather than arabic numerals. After many false starts I came up with this macro: - \def\Part#1#2#3{% \page[yes] \ifodd\pageno \else \noheaderandfooterlines \null

Re: [NTG-context] LuaTeX problems

2008-06-26 Thread Diego Depaoli
][width=2\paperwidth,height=\paperheight]}} \stoppostponing \startpostponing[5] \noheaderandfooterlines \offset [leftoffset=-\backspace, topoffset=-\dimexpr\topspace+\headerheight\relax] {\clip [hoffset=\paperwidth,width=\paperwidth] {\externalfigure[cow][width=2\paperwidth,height

Re: [NTG-context] Booklet hint

2008-06-23 Thread Wolfgang Schuster
] \noheaderandfooterlines \offset [leftoffset=-\backspace, topoffset=-\dimexpr\topspace+\headerheight\relax] {\clip [hoffset=\paperwidth,width=\paperwidth] {\externalfigure[cow][width=2\paperwidth,height=\paperheight]}} \stoppostponing \starttext \dorecurse{50}{\input hawking} \stoptext

Re: [NTG-context] Booklet hint

2008-06-23 Thread Diego Depaoli
=-\backspace, topoffset=-\dimexpr\topspace+\headerheight\relax] {\clip [width=\paperwidth] {\externalfigure[cow][width=2\paperwidth,height=\paperheight]}} \stoppostponing \startpostponing[5] \noheaderandfooterlines \offset [leftoffset=-\backspace, topoffset=-\dimexpr\topspace

[NTG-context] Luatex (actually Aleph) and Bidi_Mirrored chars in RTL mode

2008-06-08 Thread Khaled Hosny
I get. Is this a bug, feature, or am I missing some thing? Thanks, Khaled -- Khaled Hosny Arabic localizer and member of Arabeyes.org team % engine=luatex \noheaderandfooterlines \starttext \definefontfeature [arabic] [analyze=yes, clig=yes, curs=yes, dlig=yes, fina=yes, init

[NTG-context] Rendering of ZWNJ and ZWJ

2008-06-08 Thread Khaled Hosny
the attached example. -- Khaled Hosny Arabic localizer and member of Arabeyes.org team zwnj_ScheherazadeRegOT.pdf Description: Adobe PDF document zwnj_ae_AlMohanad.pdf Description: Adobe PDF document % engine=luatex \noheaderandfooterlines \starttext \definefontfeature [arabic] [analyze=yes

[NTG-context] newbie ConTeXt question

2008-03-11 Thread jazz_johnson
=singlesided] \noheaderandfooterlines \setupbodyfont[cmr,12pt] \usesymbols[mvs] \setupsymbolset[martinvogel 2] \def\MyLetterhead% {%\showboxes \vbox{%\showboxes \hbox{%\showboxes \vbox{\hsize 3in \tfa Your neighborhood\crlf \scd{Company Store

Re: [NTG-context] newbie ConTeXt question

2008-03-11 Thread Wolfgang Schuster
the margin location=middle,marking=on] \setuppagenumbering [alternative=singlesided] \noheaderandfooterlines \setupbodyfont[cmr,12pt] \usesymbols[mvs] \setupsymbolset[martinvogel 2] \def\MyLetterhead% {%\showboxes \vbox{%\showboxes \hbox{%\showboxes \vbox

[NTG-context] suppressing page number on an empty page

2008-01-30 Thread Jörg Hagmann
\noheaderandfooterlines at the appropriate places, but this also completely changes page breaking in the following chapters (e.g. text running down over and beyond the pagenumber at the bottom with \page[empty], or just breaking a page at a different position, which would force me to reposition all the margin

Re: [NTG-context] suppressing page number on an empty page

2008-01-30 Thread Wolfgang Schuster
then tried to do it manually: \page[empty] or \page\noheaderandfooterlines at the appropriate places, but this also completely changes page breaking in the following chapters (e.g. text running down over and beyond the pagenumber at the bottom with \page[empty], or just breaking a page

Re: [NTG-context] suppressing page number on an empty page

2008-01-30 Thread Jörg Hagmann
to suppress page numbers on empty left pages before a new chapter. I tried: \setuphead[chapter][page=yes,before={\ifodd\realpageno\else\page[empty]\fi}] This works, but messes up the layout. I then tried to do it manually: \page[empty] or \page\noheaderandfooterlines at the appropriate

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
{text} \mirror{text} \MONTH{text} \month{text} \moveongrid[options] # \MR \name{text} # \NC # \newcounter # \nextbox \nextsection \nocap{text} \noheaderandfooterlines \noindenting \nolist{text} \nomarking{text} \nomoreblocks \nomorefiles \nop \nospace \note[reference] \notopandbottomlines \nowhitespace

Re: [NTG-context] Header unwanted on first page

2007-12-25 Thread Wolfgang Schuster
On Tue, 25 Dec 2007 01:08:41 +0100 Matija Šuklje [EMAIL PROTECTED] wrote: Dne sobota 1. decembra 2007 je George N. White III napisal(a): \noheaderandfooterlines \setupheadertexts[text][XX][YY] What is the difference between this method and the \startstandardmakeup \stopstandardmakeup

Re: [NTG-context] Header unwanted on first page

2007-12-24 Thread Matija Šuklje
Dne sobota 1. decembra 2007 je George N. White III napisal(a): \noheaderandfooterlines \setupheadertexts[text][XX][YY] What is the difference between this method and the \startstandardmakeup \stopstandardmakeup method? Merry Christmas, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL

Re: [NTG-context] Header unwanted on first page

2007-12-01 Thread George N. White III
on the first page, I tried various solutions but failed so far. I use: \noheaderandfooterlines \setupheadertexts[text][XX][YY] -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia

Re: [NTG-context] Header unwanted on first page

2007-12-01 Thread Jean Magnan de Bornier
] | \setupheader [style=\ss\xii] | \setuphead[section][style=bold] | | | I don't want the header to appear on the first page, I tried various | solutions but failed so far. | I use: | \noheaderandfooterlines | \setupheadertexts[text][XX][YY] Thanks! \noheaderandfooterlines does exactly the job! I

Re: [NTG-context] TOC: page headers

2007-11-14 Thread Jeff Smith
that. In fact, I don't want *any* page header for my TOC, but this works only on the first page. No amount of \noheaderandfooterlines, \setuphead[header=nomarking] or \setupbackgrounds[state=stop] can make the header disappear on subsequent TOC pages... :-( What do I have to do? Thanks a zillion times

Re: [NTG-context] TOC: page headers

2007-11-14 Thread Idris Samawi Hamid
, chapter number and title, pagenumber, and a thin line across the width of the page), but I don't want that. In fact, I don't want *any* page header for my TOC, but this works only on the first page. No amount of \noheaderandfooterlines, \setuphead[header=nomarking] or \setupbackgrounds[state

  1   2   >