I'm having trouble resetting my margins in makeup pages. I want the makeup pages to have equal topspace, bottomspace, backspace and cutspace, regardless of the standard layout of the rest of the document. Following Wolfgang's recommendation ( http://www.ntg.nl/pipermail/ntg-context/2014/079409.html), I tried the following: \setuppapersize [A4][A4] % Standard page layout \setuplayout [width=middle, backspace=1.5in, cutspace=1.5in, height=middle, topspace=0.75in, bottomspace=0.75in] % Title page layout % \definemakeup defines a layout with the same name, which we alter. \definemakeup[titlepage] \setuplayout [titlepage][width=middle, backspace=20mm, height=middle, topspace=20mm] \starttext \startmakeup[titlepage][top=,] bla \stopmakeup But, on my system, this puts the "bla" too far from the top of the page, and it looks as though the topspace has not been set properly. (Backspace seems ok), Am I doing something wrong or is there a better way to achieve this? Also, the manual says I can use the command \showframe to display frames to help in debugging, but that doesn't seem to do anything for me? Thanks in advance, Mark
Sorry for the noise, I've solved it, turns out makeup pages still have
headers which you need to set to zero if you want uniform margins:
% Title page layout
% \definemakeup defines a layout with the same name, which we alter.
\definemakeup[titlepage]
\setuplayout [titlepage][width=middle, backspace=20mm,
height=middle, topspace=20mm,
header=0mm]
did the trick for me.
Incidentally, what threw me off was the phrasing in the manual:
4.19
Makeup
A document may have a titlepage, a colofon and some pages that are not
directly related to the
main part of the document. Mostly these pages are not numbered and can do
without headers
and footers. Because their layout needs extra attention we prefer the word
makeup for defining
their specific layout.
Since my makeup pages indeed don't have page numbers, I presumed they
wouldn't have headers either. I may have read too much into that, but
perhaps that passage can be improved?
On Fri, Dec 19, 2014 at 3:33 PM, Mark Szepieniec
I'm having trouble resetting my margins in makeup pages. I want the makeup pages to have equal topspace, bottomspace, backspace and cutspace, regardless of the standard layout of the rest of the document.
Following Wolfgang's recommendation ( http://www.ntg.nl/pipermail/ntg-context/2014/079409.html), I tried the following:
\setuppapersize [A4][A4]
% Standard page layout \setuplayout [width=middle, backspace=1.5in, cutspace=1.5in, height=middle, topspace=0.75in, bottomspace=0.75in]
% Title page layout % \definemakeup defines a layout with the same name, which we alter. \definemakeup[titlepage] \setuplayout [titlepage][width=middle, backspace=20mm, height=middle, topspace=20mm]
\starttext
\startmakeup[titlepage][top=,] bla \stopmakeup
But, on my system, this puts the "bla" too far from the top of the page, and it looks as though the topspace has not been set properly. (Backspace seems ok), Am I doing something wrong or is there a better way to achieve this?
Also, the manual says I can use the command \showframe to display frames to help in debugging, but that doesn't seem to do anything for me?
Thanks in advance,
Mark
On 12/19/2014 04:38 PM, Mark Szepieniec wrote:
[...] Incidentally, what threw me off was the phrasing in the manual:
4.19 Makeup A document may have a titlepage, a colofon and some pages that are not directly related to the main part of the document. Mostly these pages are not numbered and can do without headers and footers. Because their layout needs extra attention we prefer the word makeup for defining their specific layout.
Since my makeup pages indeed don't have page numbers, I presumed they wouldn't have headers either. I may have read too much into that, but perhaps that passage can be improved?
Hi Mark, makeups don’t have either headers or footers, but have the document layout unless otherwise specified. You are right: makeups don’t have header or footer /texts/, although they don’t have the space for headers and footers removed. Pablo -- http://www.ousia.tk
On 12/20/2014 11:55 PM, Pablo Rodriguez wrote:
On 12/19/2014 04:38 PM, Mark Szepieniec wrote:
[...] Incidentally, what threw me off was the phrasing in the manual:
4.19 Makeup A document may have a titlepage, a colofon and some pages that are not directly related to the main part of the document. Mostly these pages are not numbered and can do without headers and footers. Because their layout needs extra attention we prefer the word makeup for defining their specific layout.
Since my makeup pages indeed don't have page numbers, I presumed they wouldn't have headers either. I may have read too much into that, but perhaps that passage can be improved?
Hi Mark,
makeups don’t have either headers or footers, but have the document layout unless otherwise specified.
You are right: makeups don’t have header or footer /texts/, although they don’t have the space for headers and footers removed.
they have them but their state is empty (headerstate etc parameters) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sun, Dec 21, 2014 at 12:02 PM, Hans Hagen
On 12/20/2014 11:55 PM, Pablo Rodriguez wrote:
On 12/19/2014 04:38 PM, Mark Szepieniec wrote:
[...] Incidentally, what threw me off was the phrasing in the manual:
4.19 Makeup A document may have a titlepage, a colofon and some pages that are not directly related to the main part of the document. Mostly these pages are not numbered and can do without headers and footers. Because their layout needs extra attention we prefer the word makeup for defining their specific layout.
Since my makeup pages indeed don't have page numbers, I presumed they wouldn't have headers either. I may have read too much into that, but perhaps that passage can be improved?
Hi Mark,
makeups don’t have either headers or footers, but have the document layout unless otherwise specified.
You are right: makeups don’t have header or footer /texts/, although they don’t have the space for headers and footers removed.
they have them but their state is empty (headerstate etc parameters)
Hans
Thanks for the clarification both of you, that was exactly what I was getting wrong. Best, Mark
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
____________________________________________________________ _______________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
On 12/19/2014 03:33 PM, Mark Szepieniec wrote:
Also, the manual says I can use the command \showframe to display frames to help in debugging, but that doesn't seem to do anything for me?
Hi Mark, I removed the most part of the message, because I think you solved it (as you posted in a reply to your original message). Regarding to \showframe, if you put it as the first line of your document preamble, you would see side margins and frames for headers and footers. Just in case it helps, Pablo -- http://www.ousia.tk
participants (3)
-
Hans Hagen
-
Mark Szepieniec
-
Pablo Rodriguez