Dear list, I've got two layout problems I can't resolve by myself: * On the left pages, in the left margin, there is a white stripe. I don't really understand why. I've read on the wiki that when we describe a layout for a double page layout, the left pages layout is a mirror of the right ones. And on the right ones, there are no white stripes... * My 'printer' (the company that will print the booklet for me, not sure that the good word) asks me to provide him with a document that is 2mm larger and 2mm higher that the final one to be sure he can print precisely to the exact border of the paper. I don't want to magnify the whole document as it will maybe cut some information. Any idea on how I could achive that? Linked is the pdf output. Below is the minimal example used to create the pdf output. Thanks a lot for your reply, -AJ Here is my setup: \setuppapersize[A5][A4] \setuparranging[2UP,rotated] \setuppagenumbering [alternative=doublesided] \definelayout [default] [leftmargin=0mm,rightmargin=24mm, topspace=0mm,backspace=10mm, width=115mm, height=middle] \setuplayout[default] \setupbodyfont[sansserif,10pt] \enableregime[utf] \setupcolors[state=start] \definecolor [marginblue] [c=.71,m=.58,y=0,k=.43] \setupbackgrounds [text,header,footer] [rightmargin] [background=color,backgroundcolor=marginblue] \starttext page de titre \page[yes] colophon \page[yes] \section{Le mot du président} pouet \page[yes] toujours les bêtises d'Alain \page[yes] \section{Votre comité} \stoptext
Antoine Junod schrieb:
Dear list,
I've got two layout problems I can't resolve by myself:
* On the left pages, in the left margin, there is a white stripe. I don't really understand why. I've read on the wiki that when we describe a layout for a double page layout, the left pages layout is a mirror of the right ones. And on the right ones, there are no white stripes...
A5 paper has not the exactly the half size as A4 paper. A4 has a height of 297mm and A5 a width of 148mm. 297 - 2 * 148 = 1mm (the gap on the left side). Wolfgang
Hi Wolfgang :)
Wolfgang Schuster
Antoine Junod schrieb:
Dear list, I've got two layout problems I can't resolve by myself: * On the left pages, in the left margin, there is a white stripe. I don't really understand why. I've read on the wiki that when we describe a layout for a double page layout, the left pages layout is a mirror of the right ones. And on the right ones, there are no white stripes...
A5 paper has not the exactly the half size as A4 paper.
A4 has a height of 297mm and A5 a width of 148mm.
297 - 2 * 148 = 1mm (the gap on the left side).
God. I always thought it was exactly one half of A4. Thanks for the info. A+ -AJ
2009/2/9 Antoine Junod
A5 paper has not the exactly the half size as A4 paper.
A4 has a height of 297mm and A5 a width of 148mm.
297 - 2 * 148 = 1mm (the gap on the left side).
God. I always thought it was exactly one half of A4. Thanks for the info.
ISO 216 paper sizes are always rounded to full millimeters. http://en.wikipedia.org/wiki/ISO_A4 Best Martin
Wolfgang Schuster
Antoine Junod schrieb:
Dear list, I've got two layout problems I can't resolve by myself: * On the left pages, in the left margin, there is a white stripe. I don't really understand why. I've read on the wiki that when we describe a layout for a double page layout, the left pages layout is a mirror of the right ones. And on the right ones, there are no white stripes...
A5 paper has not the exactly the half size as A4 paper.
A4 has a height of 297mm and A5 a width of 148mm.
297 - 2 * 148 = 1mm (the gap on the left side).
So, for the record, the only solution I found to center my two A5 pages on the A4 one is to add veroffset=.5mm (ie, half of Wolfgang's milimeter) to the layout definition. If anybody has something better, feel free to complete the thread :) All the best, -AJ
Antoine Junod schrieb:
Wolfgang Schuster
writes: Antoine Junod schrieb:
Dear list, I've got two layout problems I can't resolve by myself: * On the left pages, in the left margin, there is a white stripe. I don't really understand why. I've read on the wiki that when we describe a layout for a double page layout, the left pages layout is a mirror of the right ones. And on the right ones, there are no white stripes... A5 paper has not the exactly the half size as A4 paper.
A4 has a height of 297mm and A5 a width of 148mm.
297 - 2 * 148 = 1mm (the gap on the left side).
So, for the record, the only solution I found to center my two A5 pages on the A4 one is to add veroffset=.5mm (ie, half of Wolfgang's milimeter) to the layout definition.
If anybody has something better, feel free to complete the thread :)
\setuplayout[location=middle] \setuplayout[default] Wolfgang
Wolfgang Schuster
Antoine Junod schrieb:
Wolfgang Schuster
writes: Antoine Junod schrieb:
Dear list, I've got two layout problems I can't resolve by myself: * On the left pages, in the left margin, there is a white stripe. I don't really understand why. I've read on the wiki that when we describe a layout for a double page layout, the left pages layout is a mirror of the right ones. And on the right ones, there are no white stripes... A5 paper has not the exactly the half size as A4 paper.
A4 has a height of 297mm and A5 a width of 148mm.
297 - 2 * 148 = 1mm (the gap on the left side). So, for the record, the only solution I found to center my two A5 pages on the A4 one is to add veroffset=.5mm (ie, half of Wolfgang's milimeter) to the layout definition. If anybody has something better, feel free to complete the thread :)
\setuplayout[location=middle] \setuplayout[default]
It works... but if I put location=middle in \definelayout, as I tried, it does not works. I'm a bit lost, right now :) A+ -AJ
Antoine Junod schrieb:
So, for the record, the only solution I found to center my two A5 pages on the A4 one is to add veroffset=.5mm (ie, half of Wolfgang's milimeter) to the layout definition. If anybody has something better, feel free to complete the thread :)
\setuplayout[location=middle] \setuplayout[default]
It works... but if I put location=middle in \definelayout, as I tried, it does not works. I'm a bit lost, right now :)
Not all setting from \setuplayout work also with \definelayout, e.g. the location keys or the grid option. Wolfgang
Antoine Junod schrieb:
I've got two layout problems I can't resolve by myself:
* My 'printer' (the company that will print the booklet for me, not sure that the good word) asks me to provide him with a document that is 2mm larger and 2mm higher that the final one to be sure he can print precisely to the exact border of the paper. I don't want to magnify the whole document as it will maybe cut some information. Any idea on how I could achive that?
Not so easy because you can't use backgrounds tricks but it can be done with modified page dimension.
Here is my setup:
\setuppapersize[A5][A4]
Make the resulting page 2mm larger on each side. \definepapersize[A5plus][width=150mm,height=214mm] \definepapersize[A4plus][width=214mm,height=300mm] \setuppapersize[A5plus][A4plus]
\setuparranging[2UP,rotated] \setuppagenumbering [alternative=doublesided] \definelayout [default] [leftmargin=0mm,rightmargin=24mm, topspace=0mm,backspace=10mm, width=115mm, height=middle]
\definelayout [default] [leftmargin=0mm, rightmargin=24mm, top=2mm, bottom=2mm, topspace=2mm, backspace=10mm, width=115mm, height=middle] %\setuplayout[location=middle] % not necessary
\setuplayout[default] \setupbodyfont[sansserif,10pt] \enableregime[utf] \setupcolors[state=start] \definecolor [marginblue] [c=.71,m=.58,y=0,k=.43] \setupbackgrounds [text,header,footer] [rightmargin] [background=color,backgroundcolor=marginblue]
\setupbackgrounds [top,header,text,footer,bottom] [rightmargin] [background=color,backgroundcolor=marginblue] Wolfgang
Dear all,
I follow up my own post to answer my own question:
Antoine Junod
* My 'printer' (the company that will print the booklet for me, not sure that the good word) asks me to provide him with a document that is 2mm larger and 2mm higher that the final one to be sure he can print precisely to the exact border of the paper. I don't want to magnify the whole document as it will maybe cut some information. Any idea on how I could achive that?
What I did first has been to define two new paper sizes. The first one, pca4 is the format I have to send to the printer. The second one is exactly half size of the first one: \definepapersize[pca4][width=212mm,height=299mm] \definepapersize[pca5][width=149.5mm, height=212mm] Then, I put two pca5 on one pca5: \setuppapersize[pca5][pca4] \setuparranging[2UP,rotated] The only thing I changed to my layout was the outside margin (rightmargin), to which I added pca5.width minus a5.width (that is 1.5mm). \definelayout [default] [leftmargin=0mm,rightmargin=25.5mm, % instead of 24mm topspace=0mm,backspace=10mm, width=115mm,height=middle] \setuplayout[location=middle] \setuplayout[default] This is not a good solution because the 'security' milimeters are part of the margin (ie, if you center something in the margin, it won't be still centered after printing / cutting). So, if anybody has a solution to even 'extend' the borders of a given size or put graphics on the 'container' (here, pca4), I'm a buyer :) Thanks to everybody, -AJ
participants (3)
-
Antoine Junod
-
Martin Schröder
-
Wolfgang Schuster