From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Newbie questions
Date: Sun, 25 Jun 2006 18:54:13 +0200 [thread overview]
Message-ID: <449EBFB5.2070100@wxs.nl> (raw)
In-Reply-To: <6faad9f00606250833o4bbcd54am9ea50b8e27e66d5e@mail.gmail.com>
Mojca Miklavec wrote:
>
> \definelayer
> [page]
> [width=\paperwidth,
> height=\paperheight]
> \setupbackgrounds
> [page]
> [background=page]
> \setlayerframed
> [page]
> [voffset=\topspace,
> hoffset=\the\dimexpr\backspace-\leftmarginwidth-\leftmargindistance\relax,
> preset=lefttop]
> [width=\the\dimexpr\textwidth+\leftmarginwidth+\leftmargindistance\relax,
> rulethickness=1pt,
> frame=off,
> bottomframe=on]
> {\pagenumber\hfill\getmarking[chapter][first]}
>
> Hoping that someone can fix at least one of the solutions above to
> work as intended,
>
ok, here is a trick:
\definelayer
[page]
[hoffset=\the\dimexpr\backspace-
\leftmarginwidth-\leftmargindistance\relax,
voffset=\topspace,
width=\paperwidth,
height=\paperheight]
\setupbackgrounds
[page]
[background=page]
\startsetups page:setup
\setlayerframed
[page]
[preset=lefttop]
[width=\dimexpr\textwidth+\leftmarginwidth+\leftmargindistance\relax,
rulethickness=1pt,
frame=off,
bottomframe=on]
{\pagenumber\hfill\getmarking[chapter][first]}
\stopsetups
\setupheadertexts
[\setups{page:setup}]
so,
- makea setup (clean)
- hook it into something that is done each page (maybe i should cook up a hook for that)
now, the left right page problem is up to you ... keep in mind that we have
\setupbackgrounds
[leftpage]
[...]
\setupbackgrounds
[rightpage]
[...]
-----------------------------------------------------------------
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
-----------------------------------------------------------------
next prev parent reply other threads:[~2006-06-25 16:54 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-24 14:56 Thomas Moore
2006-06-24 15:46 ` Sanjoy Mahajan
2006-06-24 16:45 ` Thomas Moore
2006-06-25 16:31 ` Hans Hagen
2006-06-29 15:02 ` Thomas Moore
2006-06-24 15:57 ` Mojca Miklavec
2006-06-24 16:52 ` Thomas Moore
2006-06-24 20:57 ` Sanjoy Mahajan
2006-06-24 17:15 ` Aditya Mahajan
2006-06-25 15:33 ` Mojca Miklavec
2006-06-25 16:54 ` Hans Hagen [this message]
2006-06-28 18:36 ` Thomas Moore
2006-06-29 0:33 ` Thomas Moore
2006-06-29 1:12 ` Aditya Mahajan
2006-06-29 2:35 ` Sanjoy Mahajan
2006-06-29 15:05 ` Thomas Moore
2006-06-29 14:57 ` Thomas Moore
2006-06-27 19:53 ` Gerben Wierda
2006-06-27 20:14 ` Hans Hagen
2006-06-28 18:42 ` Thomas Moore
2011-05-31 15:38 newbie questions Sanja C.
2011-05-31 16:27 ` Marco
2011-05-31 22:07 ` Pontus Lurcock
2011-05-31 23:44 ` George N. White III
2014-05-15 13:40 Joan & Gary
2014-05-16 8:03 ` Hans Hagen
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=449EBFB5.2070100@wxs.nl \
--to=pragma@wxs.nl \
--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).