ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: urban.m@ca.rr.com
To: "'ntg-context@ntg.nl'" <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Why Difference Between \placefloat and \definefloat
Date: Sun, 28 Apr 2024 18:26:51 +0000	[thread overview]
Message-ID: <944aa7f1756f2ad94b51cec33a8363f9bf9c4715@webmail> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]

I don't think that 'sidebar' has much to do with it. The part that is
not working as expected is the 'mysidebar', which is not getting the
'outer' location, nor the 'none' captioning that I get with
placefloat.

setupfloat[mysidebar][leftmargindistance=-.25in,rightmargindistance=-.25in,outer,none]

defineframedtext [sidebartext]
[width=.4textwidth,bodyfont=small,corner=round,background=color,backgroundcolor=lightgray,align=flushleft]

starttext
This is a bit of text
placefloat[newsidebar][leftmargindistance=-.25in,rightmargindistance=-.25in,outer,none]{}{
startsidebartext
This is a short sidebar
stopsidebartext
}
And something to follow.

A bit of text
placemysidebar{}{
startsidebartext
This is a short sidebar
stopsidebartext
}
And something to follow.

stoptext



[-- Attachment #1.2: Type: text/html, Size: 926 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2024-04-28 18:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-28 18:26 urban.m [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-28 17:54 [NTG-context] " urban.m
2024-04-28 18:08 ` [NTG-context] " Henning Hraban Ramm
2024-04-29 16:32 ` Wolfgang Schuster

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=944aa7f1756f2ad94b51cec33a8363f9bf9c4715@webmail \
    --to=urban.m@ca.rr.com \
    --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).