ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeroen <contextntg@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Custom Footertext
Date: Mon, 30 Sep 2019 00:16:42 +0000	[thread overview]
Message-ID: <CAPtmdbOTvUXEXJPh+VqD-sWNu2C7fLs0FaL=7Xkz1-q4LtX9eA@mail.gmail.com> (raw)
In-Reply-To: <b693501a-b03e-f06e-9f1f-d5a80153716a@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2613 bytes --]

I have condensed it into a single document. The footer has in the right
side the page numbering and at the left the "section". Both only start at
the second page, which is good. I was wondering if the "section" could have
the "title" in front of it. The title always stays the same, and the
section changes.
Many Thanks
Jeroen

\setuppapersize[A4,portrait]
               [A4,portrait]
\setuplayout[backspace=20mm,
             width=175mm,
             topspace=20mm,
             header=0mm,
             footer=2mm,
             height=263mm,
             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]
\setupcombinedlist[content][level=1]
\setupexternalfigures[directory={images}]
\startdocument[
  metadata:title={MkIV Context Notes},
  metadata:subtitle={},
  metadata:subject={MkIV Context},
  affiliation=Context]
\starttext
\startfrontmatter
\title{MkIV \CONTEXT\ Notes.}
\startcolumns[n=2]
\input zapf
\stopcolumns
\vfill
\placecontent
\stopfrontmatter
\startbodymatter
\section{Introduction}
\dorecurse{5}{\input knuth}
\section{Closure}
\dorecurse{5}{\input bryson}
\stopbodymatter
\startappendices
\setupcombinedlist[content][level=1]
\section{Appendix A}
\dorecurse{5}{\input tufte}
\stopappendices
\stoptext

Op zo 29 sep. 2019 om 21:36 schreef Wolfgang Schuster <
wolfgang.schuster.lists@gmail.com>:

> Jeroen schrieb am 29.09.2019 um 20:36:
> > This is the main file.
> Neither minimal nor complete and \stopdocument is also missing.
> > \environment mkivcnotesenv
> > \startdocument
> >  [metadata:subject={MkIV Context},
> >    affiliation=Context]
> > \starttext
> > \startfrontmatter
> > \input{frontpage.tex}
> > \stopfrontmatter
> > \startbodymatter
> > \section{Introduction}
> > \dorecurse{10}{input knuth}
> > \stopbodymatter
> > \startappendices
> > %\input{a1.tex}
> > \stopappendices
> > \stoptext
>
> Are you looking for something like this (I need more information for a
> better answer):
>
> \definetext [sectionfooter] [footer] [section]
> %\definetext [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}{\input knuth}
>
> \stoptext
>
> Wolfgang
>
>

[-- Attachment #1.2: Type: text/html, Size: 3590 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2019-09-30  0:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-29 18:16 Jeroen
2019-09-29 18:19 ` Wolfgang Schuster
2019-09-29 18:28 ` Henning Hraban Ramm
2019-09-29 18:36   ` Jeroen
2019-09-29 21:36     ` Wolfgang Schuster
2019-09-30  0:16       ` Jeroen [this message]
2019-09-30 17:20         ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPtmdbOTvUXEXJPh+VqD-sWNu2C7fLs0FaL=7Xkz1-q4LtX9eA@mail.gmail.com' \
    --to=contextntg@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).