[NTG-context] \startplacefigure and \startframedtext in lmtx
Otared Kavian
otared at gmail.com
Wed Jun 10 15:19:43 CEST 2020
Hi,
I tried today's new version 2020.06.09, to see whether the issue I was reporting below is fixed.
Unfortunately it is not, and my fix with \dontleavehmode does not work anymore. Is there a way to fix the problem ?
Thanks in advance: Otared
> On 9 Jun 2020, at 11:04, Otared Kavian <otared at gmail.com> 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.
>
More information about the ntg-context
mailing list