ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* issue with framed texts
@ 2022-04-24 18:56 Pablo Rodriguez via ntg-context
  2022-04-24 19:13 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-04-24 18:56 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

Dear list,

I have the following sample:

  \defineframedtext[backcover]
  \setupframedtext[backcover]
      [frame=off,
       offset=overlay,
       width=\textwidth]
  \starttext
  \startframedtext[backcover]
  \input zapf
  \stopframedtext
  \stoptext

Using current LMTX (2022.04.20 19:18), I’m afraid no format from
\setupframedtext is applied to the backcover framed text.

Can anyone confirm the issue or explain what I’m doing wrong?

Just in case it may be relevant, I’m on Linux 64bit.

Many thanks for your help,

Pablo
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: issue with framed texts
  2022-04-24 18:56 issue with framed texts Pablo Rodriguez via ntg-context
@ 2022-04-24 19:13 ` Wolfgang Schuster via ntg-context
  2022-04-25 16:17   ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2022-04-24 19:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster

Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56:
> Dear list,
>
> I have the following sample:
>
>    \defineframedtext[backcover]
>    \setupframedtext[backcover]
>        [frame=off,
>         offset=overlay,
>         width=\textwidth]
>    \starttext
>    \startframedtext[backcover]
>    \input zapf
>    \stopframedtext
>    \stoptext
>
> Using current LMTX (2022.04.20 19:18), I’m afraid no format from
> \setupframedtext is applied to the backcover framed text.
>
> Can anyone confirm the issue or explain what I’m doing wrong?

You have to use

\startbackcover
...
\stopbackcover

in your document.

While you can pass a instance to \starframed (e.g. 
\startframed[backcover]) the same isn't possible with \startframedtext.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: issue with framed texts
  2022-04-24 19:13 ` Wolfgang Schuster via ntg-context
@ 2022-04-25 16:17   ` Pablo Rodriguez via ntg-context
  2022-04-25 20:00     ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-04-25 16:17 UTC (permalink / raw)
  To: Wolfgang Schuster via ntg-context; +Cc: Pablo Rodriguez

On 4/24/22 21:13, Wolfgang Schuster via ntg-context wrote:
> Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56:
>> [...]
>> Using current LMTX (2022.04.20 19:18), I’m afraid no format from
>> \setupframedtext is applied to the backcover framed text.
>> [...]
> While you can pass a instance to \starframed (e.g.
> \startframed[backcover]) the same isn't possible with \startframedtext.

Many thanks for your reply, Wolfgang.

I thought I could do that, because
http://www.pragma-ade.com/general/qrcs/setup-en.pdf seems to allow it.

Many thanks for your help,

Pablo
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: issue with framed texts
  2022-04-25 16:17   ` Pablo Rodriguez via ntg-context
@ 2022-04-25 20:00     ` Wolfgang Schuster via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2022-04-25 20:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster

Pablo Rodriguez via ntg-context schrieb am 25.04.2022 um 18:17:
> On 4/24/22 21:13, Wolfgang Schuster via ntg-context wrote:
>> Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56:
>>> [...]
>>> Using current LMTX (2022.04.20 19:18), I’m afraid no format from
>>> \setupframedtext is applied to the backcover framed text.
>>> [...]
>> While you can pass a instance to \starframed (e.g.
>> \startframed[backcover]) the same isn't possible with \startframedtext.
> Many thanks for your reply, Wolfgang.
>
> I thought I could do that, because
> http://www.pragma-ade.com/general/qrcs/setup-en.pdf seems to allow it.

\startframedtext allow the following four keywords for the first 
optional argument

     - left
     - middle
     - right
     - none

These four keywords can be used to control the horizontal alignment of 
the frame but they aren't framedtext instances.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2022-04-25 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-24 18:56 issue with framed texts Pablo Rodriguez via ntg-context
2022-04-24 19:13 ` Wolfgang Schuster via ntg-context
2022-04-25 16:17   ` Pablo Rodriguez via ntg-context
2022-04-25 20:00     ` Wolfgang Schuster via ntg-context

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