From: Nicholas Ulle <naulle@ucdavis.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Multi-page textbackground ignores topoffset
Date: Thu, 25 Oct 2012 14:00:41 -0700 [thread overview]
Message-ID: <CAJQ2EdmTFs2NS0u0_+Ck6-6MsBmmZajWsrupa0=ggubPpEVTTw@mail.gmail.com> (raw)
In-Reply-To: <CAJQ2EdkUQgviynfXQ_4iQyUvSeVDRLQO5RYK_5Y7rqsNP8Xssg@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1551 bytes --]
Hello all,
I tried working around this by wrapping the textbackground in a background
with the correct topoffset and then manually correcting for the itemize
indent, but on the first page this doubles the topoffset and introduces
problems with the bottomoffset. If this gives anyone an idea for a
workaround, though, I'd be grateful to hear about it.
Would this behavior of textbackground regarding topoffset be considered a
bug, or a missing feature? Are the any plans to do anything about it in the
future?
Thanks,
Nick
On Thu, Oct 18, 2012 at 3:07 PM, Nicholas Ulle <naulle@ucdavis.edu> wrote:
> Hi,
>
> Is there any way to get a multi-page textbackground to respect topoffset
> on each page? From the second page onwards, it leaves no offset at the top.
> I don't think I can use background instead, as I'm nesting the
> textbackgound under itemize and also use itemize within it (correct me if
> this works okay?). A minimal example (note context live doesn't display the
> frame, which is sort of necessary to see the problem):
>
> \definetextbackground[Test][
> location=paragraph,
> topoffset=1em, bottomoffset=1em,
> leftoffset=1em, rightoffset=1em,
> frame=on, framecolor=black]
>
> \starttext
> This is some text outside of a text background.
>
> \startTest
> \dorecurse{10}{\input tufte \par \input knuth \par}
> \stopTest
>
> This is more text outside of a text background.
> \stoptext
>
> Kip Warner started a thread about this several months ago, but it seems to
> have died before anyone offered a solution.
>
> Thanks,
> Nick
>
[-- Attachment #1.2: Type: text/html, Size: 2143 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-10-25 21:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-18 22:07 Nicholas Ulle
2012-10-25 21:00 ` Nicholas Ulle [this message]
2013-01-30 17:25 ` Andre Caldas
2013-01-30 17:41 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJQ2EdmTFs2NS0u0_+Ck6-6MsBmmZajWsrupa0=ggubPpEVTTw@mail.gmail.com' \
--to=naulle@ucdavis.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).