ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \startplacefigure and \startframedtext in lmtx
Date: Wed, 10 Jun 2020 17:40:57 +0200	[thread overview]
Message-ID: <ea6b8528-77fb-251c-09f0-9ade9ea8b8bf@gmail.com> (raw)
In-Reply-To: <5d1a0ca3-ca31-b1d1-f478-4a5b2cd217ed@xs4all.nl>

Hans Hagen schrieb am 10.06.2020 um 17:30:
> On 6/9/2020 11:04 AM, Otared Kavian wrote:
>> Hi all,
>>
>> I just noticed that in lmtx, the commands \startplacefigure and 
>> \startframedtext, when used together, do not behave in the same way as 
>> they do in mkiv.
>> I wonder whether this is a permanent change or rather a buglet.
>>
>> I found a fix around the issue, but since in my document I have a 
>> certain number of cases where such combinations are used, I woul dlike 
>> to be sure to not make a mistake by changing all the instances… Here 
>> is an example:
>>
>> %% begin figure-framedtext.tex
>> \useMPlibrary[dum]
>> \defineexternalfigure[dummy]
>>
>> \starttext
>> \startplacefigure[location=left,number=no,title={}]
>>     \externalfigure[dummy][width=.45\textwidth]
>> \stopplacefigure
>> \dontleavehmode % if this is commented out then the text and the 
>> figure are placed on top of each other
>> \startframedtext[frame=off]
>>     \input ward.tex
>> \stopframedtext
>> \stoptext
>> %% end figure-framedtext.tex
>>
>> In the above example the fix is to add \dontleavehmode between the 
>> figue and the framedtext. If one comments out that line then the issue 
>> can be seen.
>>
>> Thanks in advance for any help: Otared K.
> can others confirm this
> 
> This is LuaMetaTeX, Version 2.06.07
> 
> system          > ConTeXt  ver: 2020.06.10

No problem here (but the version from May a problem).

mtx-context     | current version: 2020.06.10 12:26

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
___________________________________________________________________________________

  reply	other threads:[~2020-06-10 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09  9:04 Otared Kavian
2020-06-10 13:19 ` Otared Kavian
2020-06-10 15:30 ` Hans Hagen
2020-06-10 15:40   ` Wolfgang Schuster [this message]
2020-06-10 15:49   ` mf

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=ea6b8528-77fb-251c-09f0-9ade9ea8b8bf@gmail.com \
    --to=wolfgang.schuster.lists@gmail.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).