* layout maximal width and height
@ 2007-04-20 9:58 Xan
2007-04-20 10:41 ` Wolfgang Schuster
0 siblings, 1 reply; 10+ messages in thread
From: Xan @ 2007-04-20 9:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: layout maximal width and height
2007-04-20 9:58 layout maximal width and height Xan
@ 2007-04-20 10:41 ` Wolfgang Schuster
2007-04-21 19:02 ` Xan
0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2007-04-20 10:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1240 bytes --]
2007/4/20, Xan <DXpublica@telefonica.net>:
>
> 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
[-- Attachment #1.2: Type: text/html, Size: 1944 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: layout maximal width and height
2007-04-20 10:41 ` Wolfgang Schuster
@ 2007-04-21 19:02 ` Xan
2007-04-22 9:17 ` Xan
2007-04-22 11:07 ` Wolfgang Schuster
0 siblings, 2 replies; 10+ messages in thread
From: Xan @ 2007-04-21 19:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
En/na Wolfgang Schuster ha escrit:
> 2007/4/20, Xan <DXpublica@telefonica.net>:
>>
>> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: layout maximal width and height
2007-04-21 19:02 ` Xan
@ 2007-04-22 9:17 ` Xan
2007-04-22 9:51 ` Thomas A. Schmitz
2007-04-22 11:07 ` Wolfgang Schuster
1 sibling, 1 reply; 10+ messages in thread
From: Xan @ 2007-04-22 9:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
En/na Xan ha escrit:
> En/na Wolfgang Schuster ha escrit:
>> 2007/4/20, Xan <DXpublica@telefonica.net>:
>>> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: layout maximal width and height
2007-04-22 9:17 ` Xan
@ 2007-04-22 9:51 ` Thomas A. Schmitz
2007-04-22 12:29 ` Mojca Miklavec
2007-04-22 16:00 ` Hans Hagen
0 siblings, 2 replies; 10+ messages in thread
From: Thomas A. Schmitz @ 2007-04-22 9:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: layout maximal width and height
2007-04-21 19:02 ` Xan
2007-04-22 9:17 ` Xan
@ 2007-04-22 11:07 ` Wolfgang Schuster
2007-04-22 18:05 ` Xan
1 sibling, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2007-04-22 11:07 UTC (permalink / raw)
To: ntg-context
On Sat, 21 Apr 2007 21:02:15 +0200
Xan <DXpublica@telefonica.net> 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]
Wolfgang
>
> My version is too old I think. It does not support "height=fit"
>
> Thanks,
> Xan.
> >
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: layout maximal width and height
2007-04-22 9:51 ` Thomas A. Schmitz
@ 2007-04-22 12:29 ` Mojca Miklavec
2007-04-22 16:00 ` Hans Hagen
1 sibling, 0 replies; 10+ messages in thread
From: Mojca Miklavec @ 2007-04-22 12:29 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: layout maximal width and height
2007-04-22 9:51 ` Thomas A. Schmitz
2007-04-22 12:29 ` Mojca Miklavec
@ 2007-04-22 16:00 ` Hans Hagen
2007-04-22 16:31 ` Mike Bird
1 sibling, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2007-04-22 16:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: layout maximal width and height
2007-04-22 16:00 ` Hans Hagen
@ 2007-04-22 16:31 ` Mike Bird
0 siblings, 0 replies; 10+ messages in thread
From: Mike Bird @ 2007-04-22 16:31 UTC (permalink / raw)
To: ntg-context
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: layout maximal width and height
2007-04-22 11:07 ` Wolfgang Schuster
@ 2007-04-22 18:05 ` Xan
0 siblings, 0 replies; 10+ messages in thread
From: Xan @ 2007-04-22 18:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
En/na Wolfgang Schuster ha escrit:
> On Sat, 21 Apr 2007 21:02:15 +0200
> Xan <DXpublica@telefonica.net> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-04-22 18:05 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-20 9:58 layout maximal width and height Xan
2007-04-20 10:41 ` Wolfgang Schuster
2007-04-21 19:02 ` Xan
2007-04-22 9:17 ` Xan
2007-04-22 9:51 ` Thomas A. Schmitz
2007-04-22 12:29 ` Mojca Miklavec
2007-04-22 16:00 ` Hans Hagen
2007-04-22 16:31 ` Mike Bird
2007-04-22 11:07 ` Wolfgang Schuster
2007-04-22 18:05 ` Xan
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).