layout maximal width and height
Hi, Is it any way to set only left and right margin on layout and that width and height of the text are automatically set to the maximal of the possible width (that is \printpaperwidth-\leftmargin-\leftedge-\leftedgedistance-\leftmarginditance-{the same with right margins})? I think that it will be useful if there were something like: \setuplayout[ leftmargin=0mm, leftedge=10mm, %distance between border of paper and margin leftmargindistance=0mm, %distance between margin ant text leftedgedistance=0mm, %distance between margin and leftedge rightmargin=0mm, rightedge=10mm, %distance between border of paper and margin rightmargindistance=0mm, %distance between margin ant text rightedgedistance=0mm, %distance between margin and leftedge width=maximal] (see the last line) Thanks, Xan
2007/4/20, Xan
Hi,
Is it any way to set only left and right margin on layout and that width and height of the text are automatically set to the maximal of the possible width (that is
\printpaperwidth-\leftmargin-\leftedge-\leftedgedistance-\leftmarginditance-{the same with right margins})?
I think that it will be useful if there were something like:
\setuplayout[ leftmargin=0mm, leftedge=10mm, %distance between border of paper and margin leftmargindistance=0mm, %distance between margin ant text leftedgedistance=0mm, %distance between margin and leftedge rightmargin=0mm, rightedge=10mm, %distance between border of paper and margin rightmargindistance=0mm, %distance between margin ant text rightedgedistance=0mm, %distance between margin and leftedge width=maximal]
(see the last line)
Thanks, Xan
Hi Xan, I think you misunderstood the layout of ConTeXt. You are looking for backspace and cutspace. \setuplayout [backspace=2cm, % left margin on the page cutspace=4cm, % right margin on the page height=fit] \starttext \dorecurse{10}{\input knuth\par} \stoptext Wolfgang
En/na Wolfgang Schuster ha escrit:
2007/4/20, Xan
: Hi,
Is it any way to set only left and right margin on layout and that width and height of the text are automatically set to the maximal of the possible width (that is
\printpaperwidth-\leftmargin-\leftedge-\leftedgedistance-\leftmarginditance-{the
same with right margins})?
I think that it will be useful if there were something like:
\setuplayout[ leftmargin=0mm, leftedge=10mm, %distance between border of paper and margin leftmargindistance=0mm, %distance between margin ant text leftedgedistance=0mm, %distance between margin and leftedge rightmargin=0mm, rightedge=10mm, %distance between border of paper and margin rightmargindistance=0mm, %distance between margin ant text rightedgedistance=0mm, %distance between margin and leftedge width=maximal]
(see the last line)
Thanks, Xan
Hi Xan,
I think you misunderstood the layout of ConTeXt.
You are looking for backspace and cutspace.
\setuplayout [backspace=2cm, % left margin on the page cutspace=4cm, % right margin on the page height=fit]
My version is too old I think. It does not support "height=fit" Thanks, Xan.
\starttext \dorecurse{10}{\input knuth\par} \stoptext
Wolfgang
------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
En/na Xan ha escrit:
En/na Wolfgang Schuster ha escrit:
2007/4/20, Xan
: Hi,
Is it any way to set only left and right margin on layout and that width and height of the text are automatically set to the maximal of the possible width (that is
\printpaperwidth-\leftmargin-\leftedge-\leftedgedistance-\leftmarginditance-{the
same with right margins})?
I think that it will be useful if there were something like:
\setuplayout[ leftmargin=0mm, leftedge=10mm, %distance between border of paper and margin leftmargindistance=0mm, %distance between margin ant text leftedgedistance=0mm, %distance between margin and leftedge rightmargin=0mm, rightedge=10mm, %distance between border of paper and margin rightmargindistance=0mm, %distance between margin ant text rightedgedistance=0mm, %distance between margin and leftedge width=maximal]
(see the last line)
Thanks, Xan
Hi Xan,
I think you misunderstood the layout of ConTeXt.
You are looking for backspace and cutspace.
\setuplayout [backspace=2cm, % left margin on the page cutspace=4cm, % right margin on the page height=fit]
My version is too old I think. It does not support "height=fit"
There is no updated documentation that shows this option. Please, update wiki and context reference manual Thanks, Xan
Thanks, Xan.
\starttext \dorecurse{10}{\input knuth\par} \stoptext
Wolfgang
------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
On Apr 22, 2007, at 11:17 AM, Xan wrote:
There is no updated documentation that shows this option. Please, update wiki and context reference manual
Thanks, Xan
You've asked a question. You've received help. And now you complain that it's not in the documentation and ask other people to update the wiki. Why don't YOU do it as a "thank you" for the help you've received? As an aside: Isn't this something we discussed in Epen? Adding a new footer to messages in the list that would refer people to the wiki and ask them to post the solutions there? All best Thomas
On 4/22/07, Thomas A. Schmitz wrote:
On Apr 22, 2007, at 11:17 AM, Xan wrote:
There is no updated documentation that shows this option. Please, update wiki and context reference manual
Reference manual lays a bit behind time (but is still the most useful reference), so this is not the only missing part there. Hans prefers new challenges to documentation, so it's up to the community to document new things ;) You're more than invited to contribute to the wiki!
You've asked a question. You've received help. And now you complain that it's not in the documentation and ask other people to update the wiki. Why don't YOU do it as a "thank you" for the help you've received?
As an aside: Isn't this something we discussed in Epen? Adding a new footer to messages in the list that would refer people to the wiki and ask them to post the solutions there?
There was a little discussion about it on the dev mailing list (subject:Footer for ntg-context mailing list, to encourage feedback), but Hans should have the final word (and act) about it. * Did the solution work? Was the bug resolved? Please test and provide feedback for any answers you get on the list! * Help us improve the ConTeXt documentation: http://wiki.contextgarden.net/Contribute [to be written] * Please help us collect new files for testing against bugs: http://wiki.contextgarden.net/Test * Confirmed and unresolved bugs are collected on https://foundry.supelec.fr/tracker/?atid=161&group_id=21 Mojca
Thomas A. Schmitz wrote:
As an aside: Isn't this something we discussed in Epen? Adding a new footer to messages in the list that would refer people to the wiki and ask them to post the solutions there?
as far as i can see, there is no option to add such a footer in the mail program 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 -----------------------------------------------------------------
On Sunday 22 April 2007 09:00, Hans Hagen wrote:
Thomas A. Schmitz wrote:
As an aside: Isn't this something we discussed in Epen? Adding a new footer to messages in the list that would refer people to the wiki and ask them to post the solutions there?
as far as i can see, there is no option to add such a footer in the mail program
Hans, There ought to be such an option on a page with an address something like this: http://www.ntg.nl/mailman/admin/ntg-context/nondigest If that doesn't work go to the mailing list's page, then to the admin link near the bottom, then to the non-digest options link near the top. If you send digests then there's a similar page where you can change the digest footer. --Mike Bird
On Sat, 21 Apr 2007 21:02:15 +0200
Xan
\setuplayout [backspace=2cm, % left margin on the page cutspace=4cm, % right margin on the page height=fit]
This should be width=fit. The depends on the following values: \setuplayout [topspace=3cm, header=3cm, footer=3cm, bottomspace=3cm, height=fit] Wolfgang
My version is too old I think. It does not support "height=fit"
Thanks, Xan.
En/na Wolfgang Schuster ha escrit:
On Sat, 21 Apr 2007 21:02:15 +0200 Xan
wrote: \setuplayout [backspace=2cm, % left margin on the page cutspace=4cm, % right margin on the page height=fit]
This should be width=fit.
The depends on the following values:
\setuplayout [topspace=3cm, header=3cm, footer=3cm, bottomspace=3cm, height=fit]
Now it works!!! Thank you very much, Xan.
Wolfgang
My version is too old I think. It does not support "height=fit"
Thanks, Xan.
ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (6)
-
Hans Hagen
-
Mike Bird
-
Mojca Miklavec
-
Thomas A. Schmitz
-
Wolfgang Schuster
-
Xan