ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* stupbackgrounds and margin
@ 2009-02-01 11:21 Antoine Junod
  2009-02-01 11:58 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Antoine Junod @ 2009-02-01 11:21 UTC (permalink / raw)
  To: ntg-context

Hello, list!

I'm struggling to try to do something that seems simple but I'm not
able to succeed. I would like to have the left margin of my document
painted in red (or another color, I don't mind right now).

Here is what I have:

\setuppapersize[A5][A4]
\setuparranging[2UP,rotated,doublesided]
\setuplayout[margin=18mm,
             width=middle,height=middle,
             topspace=0cm,backspace=18mm]
\setupcolors[state=start]
\setupbackgrounds[text]
                 [leftmargin] [background=color,backgroundcolor=red]

But it makes as if I had no leftmargin. What am I doing wrong?

Thanks for your help,
A+
-AJ
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stupbackgrounds and margin
  2009-02-01 11:21 stupbackgrounds and margin Antoine Junod
@ 2009-02-01 11:58 ` Wolfgang Schuster
  2009-02-01 13:11   ` Antoine Junod
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2009-02-01 11:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 01.02.2009 um 12:21 schrieb Antoine Junod:

> I'm struggling to try to do something that seems simple but I'm not
> able to succeed. I would like to have the left margin of my document
> painted in red (or another color, I don't mind right now).
>
> Here is what I have:
>
> \setuppapersize[A5][A4]
> \setuparranging[2UP,rotated,doublesided]
> \setuplayout[margin=18mm,
>             width=middle,height=middle,
>             topspace=0cm,backspace=18mm]
> \setupcolors[state=start]
> \setupbackgrounds[text]
>                 [leftmargin] [background=color,backgroundcolor=red]
>
> But it makes as if I had no leftmargin. What am I doing wrong?

Make a complete (with text) example where we can see your problem
(a example of the output could help), I get a red background for
the left margin.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stupbackgrounds and margin
  2009-02-01 11:58 ` Wolfgang Schuster
@ 2009-02-01 13:11   ` Antoine Junod
  2009-02-01 13:36     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Antoine Junod @ 2009-02-01 13:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

Hi wolfgang, and thanks for your reply.

Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes:

[trying to get a red leftmargin]

> Make a complete (with text) example where we can see your problem (a
> example of the output could help), I get a red background for the
> left margin.

Here it is. And the output (processed with texexec --lua) is attached.

Thanks for everything.
-AJ

\setuppapersize
        [A5][A4]
\setuparranging
        [2UP,rotated,doublesided]
\setuplayout
        [margin=18mm,
         width=middle,height=middle,
         topspace=0cm,backspace=18mm]
\setupcolors
        [state=start]
\setupbackgrounds
        [text]
        [leftmargin]
        [background=color,backgroundcolor=red]

\showframe
\showgrid

\enableregime[utf]

\starttext

\section{my taylor is rich}
knuthknuth
\page[yes]
\section{God save the Queen}
knuthknuth
\stoptext


[-- Attachment #2: left_margin_in_red.pdf --]
[-- Type: application/pdf, Size: 11073 bytes --]

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stupbackgrounds and margin
  2009-02-01 13:11   ` Antoine Junod
@ 2009-02-01 13:36     ` Wolfgang Schuster
  2009-02-01 13:41       ` Antoine Junod
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2009-02-01 13:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 01.02.2009 um 14:11 schrieb Antoine Junod:

> Hi wolfgang, and thanks for your reply.
>
> Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes:
>
> [trying to get a red leftmargin]
>
>> Make a complete (with text) example where we can see your problem (a
>> example of the output could help), I get a red background for the
>> left margin.
>
> Here it is. And the output (processed with texexec --lua) is attached.
>
> \showframe

\showframe overwrites the \setupbackgrounds settings, comment it and
you can see it.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stupbackgrounds and margin
  2009-02-01 13:36     ` Wolfgang Schuster
@ 2009-02-01 13:41       ` Antoine Junod
  0 siblings, 0 replies; 5+ messages in thread
From: Antoine Junod @ 2009-02-01 13:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes:

> Am 01.02.2009 um 14:11 schrieb Antoine Junod:
>
>> Hi wolfgang, and thanks for your reply.
>>
>> Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes:
>>
>> [trying to get a red leftmargin]
>>
>>> Make a complete (with text) example where we can see your problem (a
>>> example of the output could help), I get a red background for the
>>> left margin.
>>
>> Here it is. And the output (processed with texexec --lua) is attached.
>>
>> \showframe
>
> \showframe overwrites the \setupbackgrounds settings, comment it and
> you can see it.

Thanks Wolfgang, that was that.

A+
-AJ
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-01 13:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-01 11:21 stupbackgrounds and margin Antoine Junod
2009-02-01 11:58 ` Wolfgang Schuster
2009-02-01 13:11   ` Antoine Junod
2009-02-01 13:36     ` Wolfgang Schuster
2009-02-01 13:41       ` Antoine Junod

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).