Re: [NTG-context] Page layout: doublesided
... Thanks, I wouldn't figure this out. Lukas On Thu, 04 Nov 2010 18:55:12 +0100, Andreas Harder ahar...@uni-koblenz.de wrote: \setuppagenumbering[alternative=doublesided] \starttext \showframe \dorecurse{10}{\input knuth\par} \stoptext Greeting Andreas ___ 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 ___
[NTG-context] Page layout: doublesided
Hello, although I guess this is one of the really basic tasks, I'm not able to setup successfully page layout for double-sided printing. My idea is to have different free space leftwards and rightwards from the text area. I just want to get different width of the left/right area: 2.5 cm left (for binding) and 2 cm right (odd pages); and the same values mirrored for even pages. My code is: --- \setuplayout[location=doublesided] %\setuplayout[location=duplex] %\setuplayout[location=middle] \starttext \showsetups \showlayout \showgrid \dorecurse{1}{\input knuth\par} \stoptext --- You can see the result: 1. The left margin is pushed left, so only 2 cm of it is visible (but the margin should have 2.5 cm - see listed value of leftmargin). - And obviously there is 0.5 cm extra space rightwards from the right margin. Moreover, if any horizontal pushing is present, I'd expect shifting to the right to get a bit more space left, so that to allow binding on the left side. (I tried the horizontal shift to the left was the same for single- and double-sided setup.) 2. Horizontal pushing (shifting) is the same for even and odd pages. - I succeeded to remove horizontal pushing by setting the backspace value to 3 cm. But it's strange to me that one has to set this value explicitly, when keeping all other values default. - I'm still not able to provide switching the size of the left/right space for even/odd pages. So how to achieve this? Btw: Why the dimensions (- \showsetups) are printed 5 times? Thank you for patience. Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t-PageSetup.mkiv Description: Binary data t-PageSetup.pdf Description: Adobe PDF document ___ 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 ___
Re: [NTG-context] Page layout: doublesided
\setuppagenumbering[alternative=doublesided] \starttext \showframe \dorecurse{10}{\input knuth\par} \stoptext Greeting Andreas ___ 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 ___
Re: [NTG-context] page layout
On Wed, 7 Apr 2010 15:27:48 +0200 Sebastien Mengin sebastien-lis...@edilibre.net scribit: Le 07 avril 2010 à 03:16, Vianney le Clément a écrit: I'm trying to find a French equivalent for back/cutspace... any idea? Marge intérieure / marge extérieure? No, this would be the equivalent of Inner margin / outer margin, I guess. The thing is that I don't know and don't find printers terminology using backspace or cutspace. In French, we also have petit fond and grand fond, that might be what I'm looking for, but not sure. It's not procrastination, by the way: I'd just like to get a clear picture of the concepts behind context terminology and, eventually, try to translate them in order to help new users (and myself!) to get in the way easily. ask Jacques André -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net ___ 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 ___ -- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/ ___ 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 ___
Re: [NTG-context] page layout
Le 06 avril 2010 à 11:45, Wolfgang Schuster a écrit: Am 06.04.10 21:23, schrieb Sebastien Mengin: Here's what I use, it's almost satisfying but I've a small amount of space at the left edge of each pages and the whole layout isn't double-side. To set 1cm at the left side and 2cm at the right side use \setuplayout [..., backspace=1cm, % inner/left margin cutspace=2cm, % outer/right margin width=middle, % calculate the textwidth ...] I'm trying to find a French equivalent for back/cutspace... any idea? -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net ___ 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 ___
Re: [NTG-context] page layout
I'm trying to find a French equivalent for back/cutspace... any idea? Marge intérieure / marge extérieure? ___ 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 ___
Re: [NTG-context] page layout
Vianney le Clément wrote: I'm trying to find a French equivalent for back/cutspace... any idea? mult-def.lua holds the database of translations of keywords. This database is used to create the mult-xx files for context mkii. In there you will find: [backspace]={ [cs]=odsazenizleva, [de]=rumpfweite, [en]=backspace, [fr]=retourarriere, [it]=spaziodietro, [nl]=rugwit, [pe]=, [ro]=spatiuspate, }, [cutspace]={ [cs]=cutspace, [de]=cutspace, [en]=cutspace, [fr]=cutspace, [it]=cutspace, [nl]=snijwit, [pe]=, [ro]=cutspace, }, Best wishes, Taco ___ 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 ___
Re: [NTG-context] page layout
Le 07 avril 2010 à 03:16, Vianney le Clément a écrit: I'm trying to find a French equivalent for back/cutspace... any idea? Marge intérieure / marge extérieure? No, this would be the equivalent of Inner margin / outer margin, I guess. The thing is that I don't know and don't find printers terminology using backspace or cutspace. In French, we also have petit fond and grand fond, that might be what I'm looking for, but not sure. It's not procrastination, by the way: I'd just like to get a clear picture of the concepts behind context terminology and, eventually, try to translate them in order to help new users (and myself!) to get in the way easily. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net ___ 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 ___
Re: [NTG-context] page layout
Le 07 avril 2010 à 03:23, Taco Hoekwater a écrit: Vianney le Clément wrote: I'm trying to find a French equivalent for back/cutspace... any idea? mult-def.lua holds the database of translations of keywords. This database is used to create the mult-xx files for context mkii. Thanks. retourarriere is a litteral translation (to my opinion) and is not reflecting what the keyword backspace really means. In fact, I find it quite exotic in a definition of a page layout... In there you will find: [backspace]={ [cs]=odsazenizleva, [de]=rumpfweite, [en]=backspace, [fr]=retourarriere, [it]=spaziodietro, [nl]=rugwit, [pe]=, [ro]=spatiuspate, }, [cutspace]={ [cs]=cutspace, [de]=cutspace, [en]=cutspace, [fr]=cutspace, [it]=cutspace, [nl]=snijwit, [pe]=, [ro]=cutspace, }, -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net ___ 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 ___
Re: [NTG-context] page layout
retourarriere is a litteral translation (to my opinion) and is not reflecting what the keyword backspace really means. In fact, I find it quite exotic in a definition of a page layout... I agree on that one. Maybe we can try some literal translation of the dutch terms: backspace - rugwit - blanc de dos? cutspace - snijwit - blanc de coupure? ___ 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 ___
Re: [NTG-context] page layout
Le 07 avril 2010 à 03:39, Vianney le Clément a écrit: retourarriere is a litteral translation (to my opinion) and is not reflecting what the keyword backspace really means. In fact, I find it quite exotic in a definition of a page layout... I agree on that one. Maybe we can try some literal translation of the dutch terms: backspace - rugwit - blanc de dos? cutspace - snijwit - blanc de coupure? Not bad at all, I think. Maybe blanc de coupe would be a little bit better. But I'd rather follow, for example: http://www.alain.les-hurtig.org/varia/empagement.html who uses petit fond et grand fond. It has the advantage to use a professional terminology, which is easier to fall back to when discovering the context system. No? -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net ___ 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 ___
Re: [NTG-context] page layout
On 7-4-2010 3:27, Sebastien Mengin wrote: Le 07 avril 2010 à 03:16, Vianney le Clément a écrit: I'm trying to find a French equivalent for back/cutspace... any idea? Marge intérieure / marge extérieure? No, this would be the equivalent of Inner margin / outer margin, I guess. The thing is that I don't know and don't find printers terminology using backspace or cutspace. well, it was translated (not by me) from rugwit (rug == back as in Scratch my Back (http://www.petergabriel.com/scratchmyback/)) and snijwit Hans - 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 - ___ 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 ___
Re: [NTG-context] page layout
Le 02 avril 2010 à 01:56, Wolfgang Schuster a écrit: Am 02.04.10 12:13, schrieb Sebastien Mengin: Hi, Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [backspace=1cm, width=middle, topspace=1cm, bottomspace=1.5cm, %header=..., %headerdistance=..., %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] Thanks. Can we have a little bit more details when the marking is on (jobname, date, for example)? My question was a bit simpler than my real case: I mentioned left right margins should be 1cm. Ok, what if I actually need left (inner) 2 cm and right (outer) 1 cm. Thanks (again) in advance. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net ___ 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 ___
Re: [NTG-context] page layout
Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... If you want more information when marking is needed, then you could have a look at t-cropmarks by Thomas A. Schmitz. \usemodule-cropmarks \setupmodule[Mark=Cross,Info=yes] Willi On 6 Apr 2010, at 16:37, Sebastien Mengin wrote: Le 02 avril 2010 à 01:56, Wolfgang Schuster a écrit: Am 02.04.10 12:13, schrieb Sebastien Mengin: Hi, Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [backspace=1cm, width=middle, topspace=1cm, bottomspace=1.5cm, %header=..., %headerdistance=..., %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] Thanks. Can we have a little bit more details when the marking is on (jobname, date, for example)? My question was a bit simpler than my real case: I mentioned left right margins should be 1cm. Ok, what if I actually need left (inner) 2 cm and right (outer) 1 cm. Thanks (again) in advance. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net __ _ 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 __ _ ___ 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 ___
Re: [NTG-context] page layout
Sorry for replying to my own mail. I was just a little to fast with my answer concerning the t- cropmarks. I realize that it is not in the list of the third-party modules on the wiki. Willi On 6 Apr 2010, at 20:52, Willi Egger wrote: Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... If you want more information when marking is needed, then you could have a look at t-cropmarks by Thomas A. Schmitz. \usemodule-cropmarks \setupmodule[Mark=Cross,Info=yes] Willi On 6 Apr 2010, at 16:37, Sebastien Mengin wrote: Le 02 avril 2010 à 01:56, Wolfgang Schuster a écrit: Am 02.04.10 12:13, schrieb Sebastien Mengin: Hi, Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [backspace=1cm, width=middle, topspace=1cm, bottomspace=1.5cm, %header=..., %headerdistance=..., %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] Thanks. Can we have a little bit more details when the marking is on (jobname, date, for example)? My question was a bit simpler than my real case: I mentioned left right margins should be 1cm. Ok, what if I actually need left (inner) 2 cm and right (outer) 1 cm. Thanks (again) in advance. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net _ __ 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 _ __ __ _ 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 __ _ ___ 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 ___
Re: [NTG-context] page layout
Le 06 avril 2010 à 08:52, Willi Egger a écrit: Hi, Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... I think I'm misleaded by the (my) confusion between margins and edges. Here's what I use, it's almost satisfying but I've a small amount of space at the left edge of each pages and the whole layout isn't double-side. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [%backspace=1cm, % am I right to comment out this line? leftedge=1cm, rightedge=2cm, leftedgedistance=0cm, rightedgedistance=0cm, leftmargin=0cm, rightmargin=0cm, width=7cm, % either fit doesn't suppress the above mentionned % whitespace topspace=1cm, bottomspace=1.5cm, %header=..., headerdistance=1cm, %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] \showlayout \starttext \input tufte \stoptext Sincerely, -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net ___ 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 ___
Re: [NTG-context] page layout
Le 06 avril 2010 à 08:58, Willi Egger a écrit: Sorry for replying to my own mail. I was just a little to fast with my answer concerning the t-cropmarks. I realize that it is not in the list of the third-party modules on the wiki. No problem, I saw a mail of yours on the archive and got the module finally. Interesting... Thanks for the tip. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net ___ 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 ___
Re: [NTG-context] page layout
Hi, \setuplayout [backspace=1cm, % am I right to comment out this line? - No backspace defines where the textblock starts from the left % leftedge=1cm, %edge is reserved for screendocuments, where you can have margin and edge spaces % rightedge=2cm, % leftedgedistance=0cm, % rightedgedistance=0cm, leftmargin=1cm, leftmargindistance=0pt, rightmargin=2cm, rightmargindistance=0pt, % width=7cm, % either fit doesn't suppress the above mentionned % whitespace width=fit, topspace=1cm, bottomspace=1.5cm, %header=..., headerdistance=1cm, %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] Willi On 6 Apr 2010, at 21:23, Sebastien Mengin wrote: Le 06 avril 2010 à 08:52, Willi Egger a écrit: Hi, Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... I think I'm misleaded by the (my) confusion between margins and edges. Here's what I use, it's almost satisfying but I've a small amount of space at the left edge of each pages and the whole layout isn't double-side. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [%backspace=1cm, % am I right to comment out this line? leftedge=1cm, rightedge=2cm, leftedgedistance=0cm, rightedgedistance=0cm, leftmargin=0cm, rightmargin=0cm, width=7cm, % either fit doesn't suppress the above mentionned % whitespace topspace=1cm, bottomspace=1.5cm, %header=..., headerdistance=1cm, %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] \showlayout \starttext \input tufte \stoptext Sincerely, -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net __ _ 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 __ _ ___ 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 ___
Re: [NTG-context] page layout
Hi, This might be an old version. I hope, that we can upload an newer version shortly. Kind regards Willi On 6 Apr 2010, at 21:27, Sebastien Mengin wrote: Le 06 avril 2010 à 08:58, Willi Egger a écrit: Sorry for replying to my own mail. I was just a little to fast with my answer concerning the t- cropmarks. I realize that it is not in the list of the third-party modules on the wiki. No problem, I saw a mail of yours on the archive and got the module finally. Interesting... Thanks for the tip. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net __ _ 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 __ _ ___ 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 ___
Re: [NTG-context] page layout
Le 06 avril 2010 à 09:43, Willi Egger a écrit: Hi, \setuplayout [backspace=1cm, % am I right to comment out this line? - No backspace defines where the textblock starts from the left % leftedge=1cm,%edge is reserved for screendocuments, where you can have margin and edge spaces Ok. Thanks again. % rightedge=2cm, % leftedgedistance=0cm, % rightedgedistance=0cm, leftmargin=1cm, leftmargindistance=0pt, rightmargin=2cm, rightmargindistance=0pt, % width=7cm, % either fit doesn't suppress the above mentionned % whitespace width=fit, topspace=1cm, bottomspace=1.5cm, %header=..., headerdistance=1cm, %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] I still feel like there's some magic knowledge involved ;) But I guess that with time I'm going to get used to this new -- at least for me -- terminology. Are those keywords translatable (or already translated)? I read that context commands are localized. Sincerely, -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net ___ 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 ___
Re: [NTG-context] page layout
On 6-4-2010 9:23, Sebastien Mengin wrote: Le 06 avril 2010 à 08:52, Willi Egger a écrit: Hi, Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... I think I'm misleaded by the (my) confusion between margins and edges. edges and top/bottom are sort of virtual ... they were originally meant for navigational goodies that then would not interfere with margins and headers/footers and could be turned on/off easilly; of course one can also use them otherwise Hans -- - 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 - ___ 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 ___
Re: [NTG-context] page layout
On 6 Apr 2010, at 22:05, Sebastien Mengin wrote: Le 06 avril 2010 à 09:43, Willi Egger a écrit: Hi, \setuplayout [backspace=1cm, % am I right to comment out this line? - No backspace defines where the textblock starts from the left % leftedge=1cm, %edge is reserved for screendocuments, where you can have margin and edge spaces Ok. Thanks again. % rightedge=2cm, % leftedgedistance=0cm, % rightedgedistance=0cm, leftmargin=1cm, leftmargindistance=0pt, rightmargin=2cm, rightmargindistance=0pt, % width=7cm, % either fit doesn't suppress the above mentionned % whitespace width=fit, topspace=1cm, bottomspace=1.5cm, %header=..., headerdistance=1cm, %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] I still feel like there's some magic knowledge involved ;) But I guess that with time I'm going to get used to this new -- at least for me -- terminology. Indeed, naming differs from other TEX-tastes Are those keywords translatable (or already translated)? I read that context commands are localized. you can run ConTeXt with french interface. For translated keywords look into mult-def.lua Willi Sincerely, -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net __ _ 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 __ _ ___ 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 ___
Re: [NTG-context] page layout
Am 06.04.10 21:23, schrieb Sebastien Mengin: Here's what I use, it's almost satisfying but I've a small amount of space at the left edge of each pages and the whole layout isn't double-side. To set 1cm at the left side and 2cm at the right side use \setuplayout [..., backspace=1cm, % inner/left margin cutspace=2cm, % outer/right margin width=middle, % calculate the textwidth ...] A doublesided layout is enabled with \setuppagenumbering[alternative=doublesided] Wolfgang ___ 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 ___
[NTG-context] page layout
Hi, Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. My attempts based on the docs fail. Sorry, but this simple request is not easy to deduce directly from the beginners doc -- although I translated the chapter about page layout (sigh...) Thanks in advance. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.net ___ 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 ___
Re: [NTG-context] page layout
Am 02.04.10 12:13, schrieb Sebastien Mengin: Hi, Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [backspace=1cm, width=middle, topspace=1cm, bottomspace=1.5cm, %header=..., %headerdistance=..., %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] Wolfgang ___ 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 ___
Re: [NTG-context] Page layout : Need help to begin
On Fri, Jan 30, 2009 at 8:09 AM, Antoine Cailliau antoinecaill...@gmail.com wrote: Hi, You can also place backgrounds only on left/right pages. Ok, I'll investigate that. Is it also with overlay? Yes, overlays are used to put text, graphics etc. behind the text. You can use different backgrounds for a left/right page with \setupbackgrounds[leftpage|rightpage][..,..=..,..] Is the content for each topic short enough for one double page or is it possible the content on a left page requires more space and continues on the next left page? The content is short enought because it is for leaflets. So, only a front page, thoose two pages and a backpage. In this case I would take care to spend more time in easy to use interface with a few macros to write the content. Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Page layout : Need help to begin
Hi guys, I'm quite new to context and I'm not sure about the best way to achieve the layout I've in mind. You may find a representation of my layout in the attached PDF. Can someone help me by giving some tips on how to proceed to achieve such a result. What's the best technique? The best method? Regards, Antoine C. layout.pdf Description: Adobe PDF document ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page layout : Need help to begin
Hi Antoine, do you have also questions on beginners level or has everything to be on expert level. I'm quite new to context and I'm not sure about the best way to achieve the layout I've in mind. You may find a representation of my layout in the attached PDF. Can someone help me by giving some tips on how to proceed to achieve such a result. What's the best technique? The best method? It's hard to say what't the best method in your case is because more information are needed. The first thing that came to my mind was to reduce the text area to a narrow column and place the extra text and the figures and a wide left margin. \setuplayout [backspace=12.5cm, width=6.7cm, leftmargin=6.7cm, leftmargindistance=4cm, topspace=3.4cm, header=.5cm, headerdistance=2cm, height=19.2cm] %\showframe \starttext \inmargin{\raggedright\input ward}\input knuth \page \placefigure [inleft] {Caption} {\framed[width=4cm,height=3cm]{}} \input knuth \stoptext Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page layout : Need help to begin
Am 29.01.2009 um 21:22 schrieb Antoine Cailliau: It's hard to say what't the best method in your case is because more information are needed. The first thing that came to my mind was to reduce the text area to a narrow column and place the extra text and the figures and a wide left margin. Ok, so I was not so wrong. But my main concern is about the background that has to take the full height and half width. In addition, if the background may be larger than the page it would nice in case of printing (so, no margin at all) \setupcolors[state=start] \defineoverlay [graybar] [{\blackrule [color=middlegray, height=\dimexpr\paperheight+1cm\relax, width=\dimexpr\paperwidth/2+1cm]% \hskip\dimexpr\paperwidth/2+1cm\relax}] \setupbackgrounds[page][background=graybar] [rest of the document] If you want the background on chapter pages etc. it makes sense to integrate the background in a slightly different way but more details about the layout needed for this to find the best solution. Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page layout : Need help to begin
Hi, Thanks for your help. Your solution works but I need more fine tuning on this background. If you want the background on chapter pages etc. it makes sense to integrate the background in a slightly different way but more details about the layout needed for this to find the best solution. So, I'll explain in more details the structure of my layout. The idea is that the pages are presented side-by-side. Visually we have 4 columns. - The last one (right, on the right page) is the main text. - The third column (left, on the right page) is used for the figures (images, graphs, diagrams, etc.) - The second column (right, on the left page) is used to discuss some points of the main text. Like advanced stuff, debate, historical notes, etc) - The first one (left, on the left page) have some light gray background and is an area for FAQ about the topic. The title of each double page is on the right page, aligned with the left column of the right page. The second column (right, on the left page) may have a title defining the topic of this column. Regards, Antoine ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page layout : Need help to begin
Am 29.01.2009 um 22:49 schrieb Antoine Cailliau: Thanks for your help. Your solution works but I need more fine tuning on this background. You can also place backgrounds only on left/right pages. If you want the background on chapter pages etc. it makes sense to integrate the background in a slightly different way but more details about the layout needed for this to find the best solution. So, I'll explain in more details the structure of my layout. The idea is that the pages are presented side-by-side. Visually we have 4 columns. - The last one (right, on the right page) is the main text. - The third column (left, on the right page) is used for the figures (images, graphs, diagrams, etc.) - The second column (right, on the left page) is used to discuss some points of the main text. Like advanced stuff, debate, historical notes, etc) - The first one (left, on the left page) have some light gray background and is an area for FAQ about the topic. The title of each double page is on the right page, aligned with the left column of the right page. The second column (right, on the left page) may have a title defining the topic of this column. Is the content for each topic short enough for one double page or is it possible the content on a left page requires more space and continues on the next left page? With the layout described above it also possible to write a environment where the content is saved and macros/buffer and placed at the end of the environment, this has the advantage to know how much space is needed and you're not forced to write the input in the order they are output on the page. Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___