ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Philippe Rey <jean-philippe.rey@ecp.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Paragraph beginning with { doesn't flow around a float
Date: Sun, 4 Mar 2012 02:09:18 +0100	[thread overview]
Message-ID: <2847D83E-B32D-4AD3-A908-E05A2FD10DFD@ecp.fr> (raw)

Hello everybody,

I found a problem with text flowing around a float. As far as I understand the problem, if a paragraph begins with a {, it doesn't flow around a float. Here is a minimal example :

\starttext
\placefigure[left]{}{\framed[width=50mm,height=20mm]{}}

{\bf Lorem} ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus.
Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies
sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius
a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy
molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat.
Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a,
enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor.
Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent
blandit odio eu enim.
\stoptext


Everything works fine with paragraphs that don't start with a {. I found the following workaround:

\hskip0mm{\bf Lorem} ipsum dolor ...

(\relax doesn't work)

I am using 

ConTeXt  ver: 2011.05.18 18:04 MKIV  fmt: 2011.7.31  int: english/english

It is the same with

ConTeXt  ver: 2011.05.18 18:04 MKII  fmt: 2011.7.31  int: english/english

I didn't see any relevant message in the log file.

It is not really a problem for me as I have found a simple workaround. I thought however that it might be useful to the community to report the problem.

-- 
Jean-Philippe Rey                 Professeur - École Centrale Paris
jean-philippe.rey@ecp.fr          92295 Châtenay-Malabry Cedex - France



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


             reply	other threads:[~2012-03-04  1:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-04  1:09 Jean-Philippe Rey [this message]
2012-03-05  9:20 ` 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=2847D83E-B32D-4AD3-A908-E05A2FD10DFD@ecp.fr \
    --to=jean-philippe.rey@ecp.fr \
    --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).