[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
[alternative=doublesided,location=,] \setupheadertexts[{\headnumber[section].~\getmarking[section]}---{\headnumber[chapter].~\getmarking[chapter]}] \setupfootertexts[][pagenumber][pagenumber][] \setuphead[chapter][header=high] \starttext \dorecurse{10}{ \startchapter[title={This is my chapter

[NTG-context] Why is header page number appearing when I define a header?

2024-03-16 Thread Joel via ntg-context
\starttext              \setupheadertexts[Name:~][Date:~__][Date:~__][Name:~]             \setupfootertexts[][pagenumber][][pagenumber]     \input knuth \stoptext I used this code to create header texts that prints Name / Date

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
[\directsetup{header:leftpage}] [] \setupfootertexts [] [\directsetup{footer:rightpage}] [\directsetup{footer:leftpage}] [] \setupheader [strut=no] \setupfooter [strut=no] \setuplayout [grid=yes, header=\bodyfontsize, headerdistance=\bodyfontsize, lines=26, footer=\b

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
setupinterlinespace[line=3.2ex] \setupitemize[each][margin=yes] \setuphead[title][header=empty] \setupheader[style={\sc}] \setupfooter[style={\itxx}] \setupheadertexts[Utilisation de plusieurs langues dans un même texte avec \ConTeXt][][][{\getmarking[section]}] \setupfootertexts[][][][© J.-P. Delange

[NTG-context] Re: Adjust pagenumbering while skipping first page

2023-09-04 Thread Hans Hagen via ntg-context
On 9/4/2023 6:09 PM, Jeroen wrote: The following MWE shows pagenumbering starting at the second page with page number 1. With the totalnumberofpages we end up with one page too many. Is there a way to reduce this with 1? \setupfootertexts [title] [\pagenumber{} of \totalnumberofpages

[NTG-context] Adjust pagenumbering while skipping first page

2023-09-04 Thread Jeroen
The following MWE shows pagenumbering starting at the second page with page number 1. With the totalnumberofpages we end up with one page too many. Is there a way to reduce this with 1? \setupfootertexts [title] [\pagenumber{} of \totalnumberofpages] \setcounter [userpage] [0

[NTG-context] Different Layout for First Page

2023-09-04 Thread Jeroen
] \setupfootertexts [title] [\pagenumber{} of \totalnumberofpages] \setupfooter[state=stop] \startfrontmatter \input{frontpage.tex} \stopfrontmatter \setupfooter[state=start] \startbodymatter \input{introduction.tex} \stopbodymatter What would be the easiest way to change the layout only

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread śrīrāma via ntg-context
space[tnumber]3806\hspace[tnumber]007\\ 011\hspace[tnumber]3820\hspace[tnumber]457\\ 011\hspace[tnumber]2419\hspace[tnumber]078\\ \vskip 2em Жике Поповића бб, 12220, Велико Градиште\\ 012\hspace[tnumber]662\hspace[tnumber]016\\ \eTD \eTR \eTABLE \stop \stopsetups \setuppagenumbering[location=]

[NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
\hspace[tnumber]007\\ 011\hspace[tnumber]3820\hspace[tnumber]457\\ 011\hspace[tnumber]2419\hspace[tnumber]078\\ \vskip 2em Жике Поповића бб, 12220, Велико Градиште\\ 012\hspace[tnumber]662\hspace[tnumber]016\\ \eTD \eTR \eTABLE \stop \stopsetups \setuppagenumbering[location=] \setupfootertexts

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread śrīrāma via ntg-context
ult as that with the makeup: \setuppagenumbering[alternative=doublesided] \setupexternalfigures[location=default] \setupheadertexts[] \setupheadertexts[chapter][\date] \setupfootertexts[pagenumber] \starttext \startchapter [title={Chapter title}] \dorecurse{2}{\samplefile{knuth}} \placefig

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread Michael Urban via ntg-context
pagestate=start, > align=middle, > footerstate=normal] > > \setupheadertexts[] > \setupheadertexts[chapter][\date] > \setupfootertexts[pagenumber] > > \starttext > \startchapter [title={Chapter title}] >\startpostponing[+1] > \startFloatPagemakeup >

Re: [NTG-context] Full-page Figure?

2022-03-28 Thread śrīrāma via ntg-context
ate=normal, pagestate=start, align=middle, footerstate=normal] \setupheadertexts[] \setupheadertexts[chapter][\date] \setupfootertexts[pagenumber] \starttext \startchapter [title={Chapter title}] \startpostponing[+1] \startFloatPagemakeup \placefig

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
ated] > \startnarrower[4*left] > \em \getbuffer[chapter:quote] > \stopnarrower > \stopalignment > \resetsetups[quote:text] > \page[right] > \blank[force,2*big] > \stopsetups Change chapter:before to be as follows (changes marked with %%) \s

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
I attempted this: \page[right] \setupheadertexts[] \setupfootertexts[pagenumber] \setupfooter[text][after={\setupfootertexts[]\setupheadertexts[pagenumber]}] but that does not work. This definitely moves the page numbers to the footer. Gerben Wierda (LinkedIn <ht

Re: [NTG-context] Image cropped

2021-09-13 Thread Fabrice Couvreur via ntg-context
ayout > [width=middle, >height=middle] > > \setupfootertexts > [margin] > [] > [{\offset[x=-1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] > [] > [{\offset[x=1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] > > %\showframe > &

Re: [NTG-context] Image cropped

2021-09-12 Thread Wolfgang Schuster via ntg-context
,    height=middle] \setupfootertexts   [margin]   []   [{\offset[x=-1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}]   []   [{\offset[x=1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] %\showframe \starttext \dorecurse{8}{\samplefile{knuth}} \stoptext Wolfgang

Re: [NTG-context] Image cropped

2021-09-11 Thread Fabrice Couvreur via ntg-context
ced that the image is > cropped on the edge. > I tried to change the printer's print settings but was unsuccessful. > > > Add these settings to your example and you see the problem. > > \setuppapersize[A4][A3] > > \setuplayout[location=middle] > > \setuplayout[width=middl

Re: [NTG-context] Image cropped

2021-09-11 Thread Wolfgang Schuster via ntg-context
. \setuppapersize[A4][A3] \setuplayout[location=middle] \setuplayout[width=middle,height=middle] \setupfootertexts    [margin]    []  [{\offset[y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}]    []  [{\offset[y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] \showframe \starttext

[NTG-context] Image cropped

2021-09-11 Thread Fabrice Couvreur via ntg-context
Hello, I like to put a logo on my statements but I noticed that the image is cropped on the edge. I tried to change the printer's print settings but was unsuccessful. Thanks Fabrice \setuplayout[width=middle,height=middle] \setupfootertexts [margin] [] [{\offset[y=\strutdp

Re: [NTG-context] Test for displaying a header

2021-08-28 Thread Wolfgang Schuster via ntg-context
eadertexts   [\doif{\pagenumber}{1}{\directsetup{header}}] \setupfootertexts   [\doifnot{\totalnumberofpages}{1}{\directsetup{footer}}] \starttext \dorecurse{12}{\samplefile{lorem}\par} \stoptext stop example 1 start example 2 \startsetups [header]     \setupheader[state=high]     \startframed

[NTG-context] Adjustment for header and footer

2021-08-22 Thread Fabrice Couvreur via ntg-context
=darkred,rulethickness=1pt] \setupbackgrounds [footer] [text] [frame=off,bottomframe=on,width=max, framecolor=darkred,rulethickness=1pt] \setupfootertexts [margin] [] [{\offset[y=\strutdp]{\externalfigure[dum][factor=max]}}] [] [{\offset[y=\strutdp]{\externalfigure[dum][factor=max

Re: [NTG-context] Different footers for frontmatter and bodymatter

2021-08-18 Thread Rik Kabel via ntg-context
setups. Right now I have ``` \setupfootertexts   [chapter]   [pagenumber] ``` There are a few ways to do this. * You can explicitly change the footer settings in the body of the document (after \starttext) at any time. If placed within a group, the command is local to that group

[NTG-context] Different footers for frontmatter and bodymatter

2021-08-18 Thread noib3 via ntg-context
switch between roman numerals and numbers with ``` \defineconversionset [frontpart:pagenumber] [] [romannumerals] \defineconversionset [bodypart:pagenumber] [] [numbers] ``` but I can't figure out how to have two different footer setups. Right now I have ``` \setupfootertexts [chapter

Re: [NTG-context] Using Lua to format lecture titles

2021-08-17 Thread Wolfgang Schuster via ntg-context
[lecturenumber] \doiftext{\getmarking[lecture]}{: \getmarking[lecture]} \stopsetups \setupfootertexts [\directsetup{footer:left}] [] \starttext \completecontent \startlecture [title={Foo}] Foo bar baz \stoplecture \page \startlecture Foo bar baz \stoplecture \stoptext Wolfgang

[NTG-context] Using Lua to format lecture titles

2021-08-17 Thread noib3 via ntg-context
]==], }) }} \setupfootertexts [\ctxlua{ userdata.format_lecture_title({ label = context.labeltext('lecture'), number = context.getmarking({'lecturenumber'}), title = context.getmarking({'lecture'}), }) }] [pagenumber] \startluacode userdata = userdata or {} function

[NTG-context] JavaScript in multimedia PDF

2021-08-08 Thread Pablo Rodriguez via ntg-context
})] \goto{{\ssb Q}}[JS(SwitchFS{})]% } \setupfootertexts[\SlideNavigationButtons] \starttext \definerenderingwindow[soundplace] [width=0pt, height=0pt] \useexternalrendering[mainsound][audio/mp3][sound.mp3][embed=yes] \placerenderingwindow[soundplace][mainsound

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Joey McCollum via ntg-context
t;[MyPart] >[part] > > \definecharacterkerning >[mypartkerning] >[factor=0., > features=letterspacing] > > \setuphead >[MyPart] >[placehead=yes, > number=no, > page=blankpagebreak, > header=empty, > f

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Wolfgang Schuster via ntg-context
D]}, after={\page[blankpagebreak]}] \setupheadertexts [\structureuservariable{booktitle}] [] [] [\structureuservariable{booktitle}] \setupfootertexts [pagenumber] [] [] [pagenumber] \setupblank [line,fixed] \starttext \startMyPart [title={Title for Title Page}] [booktitle={Title for Header}]

[NTG-context] Setting a heading text on its own page with \setuphead

2021-08-06 Thread Joey McCollum via ntg-context
=\AfterBookTitle%add a double page break afterwards ] %Setup header and footer text: \setupheadertexts[{\structureuservariable{booktitle}}\hfill][][][\hfill {\structureuservariable{booktitle}}] %even left, even right, odd left, odd right \setupfootertexts[\pagenumber][][][\pagenumber] %even left,

Re: [NTG-context] Footer

2021-07-06 Thread Fabrice Couvreur
hapter" ; > > on the odd pages at the bottom and on the right : the title of the > > chapter, a line vertical and page number. > > Thanks for your help. > > Fabrice > > > > \setupfootertexts > > [{\getmarking[chapter]}] > > [{\pagenumber}]

Re: [NTG-context] Footer

2021-07-05 Thread Wolfgang Schuster
the title of the chapter, a line vertical and page number. Thanks for your help. Fabrice  \setupfootertexts     [{\getmarking[chapter]}]     [{\pagenumber}]     [{\pagenumber}]     [Chapter\space\pagenumber] \starttext \startchapter   [title=First chapter]   \dorecurse{10}{\input knuth} \s

[NTG-context] Footer

2021-07-05 Thread Fabrice Couvreur
er. Thanks for your help. Fabrice \setupfootertexts [{\getmarking[chapter]}] [{\pagenumber}] [{\pagenumber}] [Chapter\space\pagenumber] \starttext \startchapter [title=First chapter] \dorecurse{10}{\input knuth} \stopchapter \startchapter [title=Second chapter] \dorecurse{10}{\i

Re: [NTG-context] ntg-context Digest, Vol 204, Issue 76

2021-06-26 Thread Kirkham, Robin (Mineral Resources, Clayton)
ter (denis.ma...@unibe.ch) > 5. Re: Align in setup header/footer (Jan U. Hasecke) > > From: "Jan U. Hasecke" > Subject: Re: [NTG-context] Align in setup header/footer > Date: 25 June 2021 at 20:23:24 AEST > To: > > > > Hi Denis, > > Am 25.06.21 um 09:

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
Am 25.06.21 um 12:36 schrieb denis.ma...@unibe.ch: but you'll perhaps have to put the stuff inside a hbox first \definehbox[pagenumber][12.5mm] \setupfootertexts [] [{\getmarking[chapter]}\hboxpagenumber{\hfill\pagenumber}] [\hboxpagenumber{\pagenumber\hfill}{\getmarking

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
Hi Denis, Am 25.06.21 um 09:50 schrieb denis.ma...@unibe.ch: Or, for more complex footers/headers you can use: \setupfootertexts [left on odd page] % out [right on odd page] % in [right on even page] % in [left on even page] % out In fact it is something like

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 25.06.2021 um 12:36: but you'll perhaps have to put the stuff inside a hbox first \definehbox[pagenumber][12.5mm] \setupfootertexts [] [{\getmarking[chapter]}\hboxpagenumber{\hfill\pagenumber}] [\hboxpagenumber{\pagenumber\hfill}{\getmarking

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
but you'll perhaps have to put the stuff inside a hbox first \definehbox[pagenumber][12.5mm] \setupfootertexts [] [{\getmarking[chapter]}\hboxpagenumber{\hfill\pagenumber}] [\hboxpagenumber{\pagenumber\hfill}{\getmarking[part]}][] > -Ursprüngliche Nachri

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
6.21 um 09:50 schrieb denis.ma...@unibe.ch: > > Or, for more complex footers/headers you can use: > > \setupfootertexts > > [left on odd page] % out > > [right on odd page] % in > > [right on even page] % in > > [left on even page] % out > &g

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
> Or, for more complex footers/headers you can use: > \setupfootertexts > [left on odd page] % out > [right on odd page] % in > [right on even page] % in > [left on even page] % out > > https://wiki.contextgarden.net/Command/setupheadertexts > >

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
Hi, what do you have in the footer? Page numers? Then you can just use: \setuppagenumbering [alternative=doublesided, location={footer,right}] Or, for more complex footers/headers you can use: \setupfootertexts [left on odd page] % out [right on odd page] % in [right

Re: [NTG-context] Chapternumber and chaptertitle in footer

2021-05-16 Thread Wolfgang Schuster
Jeroen schrieb am 16.05.2021 um 19:20: How can I combine in the footer the chapternumber and the chaptertitle in the footer. This way I can achieve the chaptertitle \setupfootertexts   [chapter]   [\pagenumber] \starttext \input{tufte} \stoptext The following I achieve

[NTG-context] Chapternumber and chaptertitle in footer

2021-05-16 Thread Jeroen
How can I combine in the footer the chapternumber and the chaptertitle in the footer. This way I can achieve the chaptertitle \setupfootertexts [chapter] [\pagenumber] \starttext \input{tufte} \stoptext The following I achieve this with the chapternumber \setupfootertexts

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
=doublesided] \setupheadertexts [] \setupfooter [style=\it] \setupfootertexts [{Footer Title} \hfill \pagenumber] \definemakeup [titlepage] [align=left] \definemakeup [copyrightpage] \setupmakeup [copyrightpage] [align={right,bottom}, top=\vfill, pagestate=stop, style

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
=doublesided] \setupheadertexts [] \setupfooter [style=\it] \setupfootertexts [{Footer Title} \hfill \pagenumber] \definemakeup [titlepage] [align=left] \definemakeup [copyrightpage] \setupmakeup [copyrightpage] [align={right,bottom}, top=\vfill, pagestate=stop, style

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
t;mailto:oi...@gmx.es <mailto:oi...@gmx.es>>> wrote: > >     Hi Sylvain, > >        \setupfootertexts[\pagenumber/\lastpagenumber] >        \starttext >        \dorecurse{25}{\null\page} >        \stoptext > > &

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 12:07, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 08.11.2020 um 11:48: > > On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez > <mailto:oi...@gmx.es>> wrote: > > > > Hi Sylvain, >

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 11:48: On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez <mailto:oi...@gmx.es>> wrote: Hi Sylvain,   \setupfootertexts[\pagenumber/\lastpagenumber]   \starttext   \dorecurse{25}{\null\page}   \stoptext Indeed, \setupf

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez wrote: > Hi Sylvain, > > \setupfootertexts[\pagenumber/\lastpagenumber] > \starttext > \dorecurse{25}{\null\page} > \stoptext > Indeed, \setupfooterexts is much clearer for page numbering. Thanks for the help!. Btw

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
>[ left={Page }, > right={/\lastuserpagenumber}] > > \starttext > \unknown > \stoptext > > or > > > \setuppagenumbering >[location=] > > \setupfootertexts >[Page \userpagenumber/\lastuserpagenumber] > > \starttext > \unknown > \st

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Pablo Rodriguez
e > }{/\lastcounter[userpage]}] > > but \lastcounter[userpage] results in empty string. Hi Sylvain, \setupfootertexts[\pagenumber/\lastpagenumber] \starttext \dorecurse{25}{\null\page} \stoptext I never used you approach with \setuppagenubering (all being said). This migh

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
r[userpage]}] but \lastcounter[userpage] results in empty string. \setuppagenumbering [ left={Page }, right={/\lastuserpagenumber}] \starttext \unknown \stoptext or \setuppagenumbering [location=] \setupfootertexts [Page \userpagenumber/\lastuserpagenumber] \starttext \unknown \stoptext

[NTG-context] tabulation and \textwidth

2020-08-13 Thread Pablo Rodriguez
Dear list, I have this sample: \showframe \startsetups[footers] \starttabulate [|cw(.5\textwidth)| cw(.5\textwidth)|] [unit=0pt] \NC one\NC two\NC\NR \stoptabulate \stopsetups \setupfootertexts[\directsetup{footers}] \starttext \dorecurse{20}{\input{zapf.tex}\par

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
entering it in each section.I’m hoping there’s a way to automate this; put it into the environment file for all sections. Of course you can set different header/footer layouts for chapter pages. With \setupheadertexts and \setupfootertexts you set first the text which should appear on regular

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-10 Thread Mike Cooper
erent specific > > content.Right now, I am manually entering it in each section.I’m hoping > > there’s a way to automate this; put it into the environment file for all > > sections. > > Of course you can set different header/footer layouts for chapter pages. > >

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-06 Thread Wolfgang Schuster
it in each section.I’m hoping there’s a way to automate this; put it into the environment file for all sections. Of course you can set different header/footer layouts for chapter pages. With \setupheadertexts and \setupfootertexts you set first the text which should appear on regular pages

Re: [NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Wolfgang Schuster
me options (and passes the values to \setupcounter). \setupfootertexts[\userpagenumber] \starttext \setupuserpagenumber[state=stop] \dorecurse{10}{\input knuth } \page \setupuserpagenumber[state=start,number=7] \dorecurse{10}{\input zapf } \stoptext

[NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Willi Egger
] [{\getmarking[chapter]}] \setupfootertexts [] [\pagenumber] [\pagenumber] [] \setupmakeup[standard][top=,bottom=,doublesided=yes] \setupcounter[userpagenumber][state=stop] \starttext \startstandardmakeup[page=yes,doublesided=yes] \strut \godown

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Garulfo
ent • \em, \bf, \cap, • \startitemize, \startitem, \starthead, • \placefigure, \externalfigure, • \placetable, \starttable,\starttabulate, \setupTABLE, \bTABLE • \index, \completeindex • \setuplayout, \setupfootertexts et \setupheadertexts • \definedescription, \defineenumeration • \at, \in Anyway, t

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
> Thanks for the suggestion. I have tried it with \incrementcounter before > and after the TEXpage. Sadly, neither worked. > > > > This mwe is an attempt to capture the failure of the following in > processing a product with numerous components: > > > > \definecounter[

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
er[volpage][type=page, way=bypage] > \setupfootertexts[text] > [] > [{\centerline{\raise\NumberRaise\hbox{\rawcounter[volpage]}} > \incrementcounter[volpage]}] > [{\centerline{\raise\NumberRaise\hbox{\rawcounter[volpage]}} &

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
] \setupfootertexts[text] [] [{\centerline{\raise\NumberRaise\hbox{\rawcounter[volpage]}} \incrementcounter[volpage]}] [{\centerline{\raise\NumberRaise\hbox{\rawcounter[volpage]}} \incrementcounter[volpage]}] [] If your suggestion had worked, I would have had difficulty in applying it. Alan On Wed, Jun

Re: [NTG-context] page number with brief centered line above

2020-05-14 Thread jbf
  [style=bold] And I was able to achieve a result with a short line above where the page number should be - but by adopting the solution below I have now lost the page number. \setuppagenumbering   [alternative=doublesided,location={footer,middle}] \setupfootertexts[{\framed[frame=off,topframe

Re: [NTG-context] page number with brief centered line above

2020-05-14 Thread Wolfgang Schuster
={footer,middle}] \setupfootertexts[{\framed[frame=off,topframe=on,width=.5\textwidth]}] You forgot the braces for the argument of \framed. So then I thought that having left out any reference to page numbers I had better put it in, so I added [pagenumber] to the above, but I ended up with two

[NTG-context] page number with brief centered line above

2020-05-13 Thread jbf
={footer,middle}] \setupfooter   [style=bold] And I was able to achieve a result with a short line above where the page number should be - but by adopting the solution below I have now lost the page number. \setuppagenumbering   [alternative=doublesided,location={footer,middle}] \setupfootertexts

Re: [NTG-context] SOLVED Re: \bTABLE bug, please help !

2020-03-10 Thread Taco Hoekwater
> On 10 Mar 2020, at 16:20, Hans Hagen wrote: > > On 3/10/2020 3:07 PM, Taco Hoekwater wrote: >> Hi, >> Never mind, I got it (starting at \loggingall output for a while). This >> patch to my input fixes it: >> \unprotect >> \setupfootertexts[{

Re: [NTG-context] SOLVED Re: \bTABLE bug, please help !

2020-03-10 Thread Hans Hagen
On 3/10/2020 3:07 PM, Taco Hoekwater wrote: Hi, Never mind, I got it (starting at \loggingall output for a while). This patch to my input fixes it: \unprotect \setupfootertexts[{\tabl_ntb_next_level \getbuffer[mytable] \tabl_ntb_prev_level}] \protect you beat me on this ... (still

[NTG-context] SOLVED Re: \bTABLE bug, please help !

2020-03-10 Thread Taco Hoekwater
Hi, Never mind, I got it (starting at \loggingall output for a while). This patch to my input fixes it: \unprotect \setupfootertexts[{\tabl_ntb_next_level \getbuffer[mytable] \tabl_ntb_prev_level}] \protect Best wishes, Taco > On 10 Mar 2020, at 14:47, Taco Hoekwater wrote: >

[NTG-context] Chapters, sections, usw

2020-02-24 Thread Jean-Pierre Delange
}] \setupfooter[style={\itxx}] \setupheadertexts[ Cours de Philosophie][][][{\getmarking[section]}] \setupfootertexts[][][][© J.-P. Delange, 2018-2020 — Texte composé avec ConTeXt - Reproduction soumise à autorisation.] \setupsymbolset[text] \starttext \startchapter[title ={Introduction

[NTG-context] Column sets (span) & unwanted vertical gap

2019-10-01 Thread Procházka Lukáš Ing .
distance=5mm,height=270mm, backspace=20mm,width=380mm, ] \setupheadertexts[] \setupfootertexts[] \definecolumnset[example][n=3,balancing=no] \definecolumnsetspan[wide][n=2] \setupexternalfigures[location=default] \setupindenting[no] \setupwhitespace[none] \setuplayout[grid=yes] \definehead[MyTit][title]

Re: [NTG-context] Custom Footertext

2019-09-30 Thread Pablo Rodriguez
t[pagella] > \setupbodyfont[pagella,12pt] I would say that the first line isn’t required. > \setupcolors[state=start] If I’m not wrong, this is also the default. > \setupfootertexts[section][] This might be what you need: \setupfootertexts[section][\getvariable{document}{metad

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
bottomheight=1mm, footerdistance=10mm] \usetypescript[pagella] \setupbodyfont[pagella,12pt] \setupcolors[state=start] \setupfootertexts[section][] \setupfooter[alternative=,style=\bf\em] \setuppagenumbering[alternative=,location={footer,right},style=\bf\em] \setcounter[userpage][0] \setu

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Wolfgang Schuster
[sectionfooter] [footer] [text] [section] [] \setupfootertexts [I'm a footer text!] [pagenumber] \setuppagenumbering   [location=,    style=bolditalic] \setuphead   [section]   [page=yes, % needed for the footer setting    footer=sectionfooter] \starttext \section{Introduction} \dorecurse{10

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
ections only. Instead of the section as footer, I would like to > add a custom footer text throughout the document, starting at the second > page as is the page numbering. I just don't seem to be able to adjust it. > Who can help me out? > > What’s wrong with > \setupfootertext

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Henning Hraban Ramm
ng at the second page as is the > page numbering. I just don't seem to be able to adjust it. Who can help me > out? What’s wrong with \setupfootertexts[some][text][of your][own] ? Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertel

[NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
=263mm, bottomheight=1mm, footerdistance=10mm] \usetypescript[pagella] \setupbodyfont[pagella,12pt] \setupcolors[state=start] \setuptype[style={\switchtobodyfont[11pt,tt]}] \setuptyping[style={\switchtobodyfont[11pt,tt]}] \setupfootertexts[section][] \setupfooter[alternative

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
On 8/2/2019 11:36 PM, Wolfgang Schuster wrote: Hans Hagen schrieb am 02.08.2019 um 23:10: On 8/2/2019 10:26 PM, Alan Braslau wrote: \setupheader [lefttext=,leftoddtext=,middletext=,...] This would be logical. we have a lot or areas ... and if you really want you can do this ...

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
On 8/2/2019 11:59 PM, Alan Braslau wrote: On Fri, 2 Aug 2019 23:36:47 +0200 Wolfgang Schuster wrote: we have a lot or areas ... and if you really want you can do this ... \setuplayouttext Has been there for ages ... (but I never use that method). I has the same question a few years ago

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
On 8/2/2019 11:59 PM, Alan Braslau wrote: On Fri, 2 Aug 2019 23:36:47 +0200 Wolfgang Schuster wrote: we have a lot or areas ... and if you really want you can do this ... \setuplayouttext Has been there for ages ... (but I never use that method). I has the same question a few years ago

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
On Fri, 2 Aug 2019 23:36:47 +0200 Wolfgang Schuster wrote: > > we have a lot or areas ... and if you really want you can do this ... > > > > \setuplayouttext > > > > Has been there for ages ... (but I never use that method). > > I has the same question a few years ago but I never used it >

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Wolfgang Schuster
Hans Hagen schrieb am 02.08.2019 um 23:10: On 8/2/2019 10:26 PM, Alan Braslau wrote: \setupheader [lefttext=,leftoddtext=,middletext=,...] This would be logical. we have a lot or areas ... and if you really want you can do this ... \setuplayouttext   [header][text]   [lefttext=L,   

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
On 8/2/2019 10:26 PM, Alan Braslau wrote: \setupheader [lefttext=,leftoddtext=,middletext=,...] This would be logical. we have a lot or areas ... and if you really want you can do this ... \setuplayouttext [header][text] [lefttext=L, middletext=M,

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
On Fri, 2 Aug 2019 21:08:00 +0200 Wolfgang Schuster wrote: Thank you > When you use three arguments the first is used for the position of text, > i.e. above the text, margin or edge areas. I know this, and I find the syntax unfortunate, to say the least. > Only six or seven arguments work

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Wolfgang Schuster
Alan Braslau schrieb am 02.08.2019 um 20:29: Hello, \setupheadertexts [{center}] sets a centered header (and wipes-out any left and right header) \setupheadertexts [{left}] [{right}] sets the left and right headers (and keeps the centered header) \setupheadertexts [{left odd}] [{right odd}]

[NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
Hello, \setupheadertexts [{center}] sets a centered header (and wipes-out any left and right header) \setupheadertexts [{left}] [{right}] sets the left and right headers (and keeps the centered header) \setupheadertexts [{left odd}] [{right odd}] [{left even}] [{right even}] sets the left and

Re: [NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-28 Thread Denis Maier
latino] >> >> \setuphead[section][style=\bfa\ss] >> >> \setuplayout >> [grid=yes] >> >> \setuplayout >> [backspace=20mm, >> cutspace=15mm, >> width=middle, >> height=middle] >> >> \setupsystem >> [random=1234] >> >&

[NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-24 Thread Denis Maier
> [grid=yes] > > \setuplayout > [backspace=20mm, > cutspace=15mm, > width=middle, > height=middle] > > \setupsystem > [random=1234] > > \setuppagenumbering [ > alternative=, > location=, > ] > > \setupfootertexts > [Laubblatt 2019/1] [{\externalf

[NTG-context] (no subject)

2019-07-23 Thread Denis Maier
] \setuplayout [grid=yes] \setuplayout [backspace=20mm, cutspace=15mm, width=middle, height=middle] \setupsystem [random=1234] \setuppagenumbering [ alternative=, location=, ] \setupfootertexts [Laubblatt 2019/1] [{\externalfigure[cow][height=15mm]}] \setupfooter [style=\ss] \setuptolerance

[NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
ing[alternative=doublesided,location=] \setupheadertexts [] [{{\small\sans\getmarking[chapter]}}] [{{\small\sans\getmarking[chapter]}}] [] \setupfootertexts [] [{\rojo{\small\sansbold\pagenumber}}] [{\rojo{\small\sansbold\pagenumber}}] [] \starttext \dorecurse{4

[NTG-context] Strange behavior in somewhat complex layout

2019-06-23 Thread Andres Conrado Montoya
[{{\small\sans\getmarking[chapter]}}] [] \setupfootertexts [] [{\rojo{\small\sansbold\pagenumber}}] [{\rojo{\small\sansbold\pagenumber}}] [] \starttext \dorecurse{4}{% \startchapter[title={A chapter with a really long, long title}] \dorecurse{9}{\input{tufte}} \stopchapte

Re: [NTG-context] placing content in footers

2019-05-12 Thread Pablo Rodriguez
it, but I didn’t know about \page[dummy]. >> Is there any way to place content in the middle of doublesided footers, >> besides left and right contents? > \setuppagenumbering >   [alternative=doublesided] > > \setupfootertexts >   [\doifoddpageelse{right page}{left page}]

Re: [NTG-context] placing content in footers

2019-05-12 Thread Henning Hraban Ramm
Am 2019-05-11 um 19:40 schrieb Henning Hraban Ramm : > Am 2019-05-11 um 16:35 schrieb Pablo Rodriguez : > >> Dear list, >> >> I have the following sample: >> >> \setuppapersize[A8] >> \setuppagenumbering >> [alternative=doublesi

Re: [NTG-context] placing content in footers

2019-05-11 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 11.05.2019 um 16:35: Dear list, I have the following sample: \setuppapersize[A8] \setuppagenumbering [alternative=doublesized] \setupfootertexts [even-right] [even-left] [odd-right] [odd-left

Re: [NTG-context] placing content in footers

2019-05-11 Thread Henning Hraban Ramm
Am 2019-05-11 um 16:35 schrieb Pablo Rodriguez : > Dear list, > > I have the following sample: > >\setuppapersize[A8] >\setuppagenumbering >[alternative=doublesized] >\setupfootertexts >[even-right] >[even-left] >

[NTG-context] placing content in footers

2019-05-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A8] \setuppagenumbering [alternative=doublesized] \setupfootertexts [even-right] [even-left] [odd-right] [odd-left] %~ [even-middle] %~ [odd-middle] \starttext

Re: [NTG-context] Manipulating the pagenumber in the TOC

2019-04-21 Thread Wolfgang Schuster
scape] \setupuserpagenumber[numberconversion=dwarsligger] \setuppagenumbering[location=none] \setupheadertexts [\doifoddpageelse{}{\prefixedpagenumber}] \setupfootertexts [\doifoddpageelse{\prefixedpagenumber}{}] \usemodule [visual] \starttext \completecontent \dorecurse{10}   {\chapter{\fakewo

Re: [NTG-context] Troubles with the \cldcontext command

2019-04-02 Thread Willi Egger
pulate the page number. However I > get an error: > > > MWE: > > \setuppapersize [A6] [A6] > > \setuppagenumbering[location=none] > > \startsetups [Pagenumber] > \doifrightpageelse >{\cldcontext{"\letterpercent d",(\pagenumber+1)/2}} >

[NTG-context] Troubles with the \cldcontext command

2019-04-02 Thread Willi Egger
stopsetups \setupfootertexts [\directsetup{Pagenumber}] \setupbodyfont [pagella,9pt] \starttext \startstandardmakeup Hello world! \stopstandardmakeup \dorecurse{3}{TEST\page} \stoptext Error: \cldcontext #1->\directlua {context(#1)} \ignorecrlf

[NTG-context] setupdirections RTL bug

2019-02-04 Thread Mohammad Hossein Bateni
Hello, This is perhaps *related* to what Alan Bowen reported. Not the same, since I don't get compilation errors. Here's a MWE. See explanation of bad behavior below. \setupdirections[bidi=global,method=one] \definefont[Ar][dejavusans*arabic] \setupfootertexts[\setups{L}][\setups{R

[NTG-context] align is reversed inside a table

2018-09-29 Thread David Walther
Process Management 1.01 mtx-context | mtx-context | main context file: /usr/share/texmf/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2017.05.15 21:48 Minimal example here: \setuppagenumbering[alternative=doublesided,location=none,page=no] \setupfootertexts[\sans

[NTG-context] table making ugly column sizes, how to fix?

2018-09-29 Thread David Walther
[alternative=doublesided,location=none,page=no] \setupfootertexts[\sans{Source: http://mywebsite}] \setupheadertexts[test column text wrapping] \setupheadertexts [] [Page \userpagenumber\ of \lastuserpagenumber] [Page \userpagenumber\ of \lastuserpagenumber] [] \setuppapersize[letter, portrait] \setuplayout

  1   2   3   4   5   >