ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* issue with line breaking and images
@ 2020-12-08 16:18 Pablo Rodriguez
  2020-12-08 16:59 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Rodriguez @ 2020-12-08 16:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

I have the following MWE:

  \setupexternalfigures[location=default]
  \starttext
  \dontleavehmode
    \dorecurse{80}{\externalfigure[cow][width=.075\textwidth] }
  \stoptext

MkIV does break the lines to compose a paragraph, but LMTX doesn’t use
the space to break. In fact, it doesn’t add the space.

There is a simple workaround for that (explicitly adding "\ " between
the closing bracket and the closing brace).

But I wonder whether this might point to a more general issue in LMTX
(or my lack of understanding of MkXL).

Mnay thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 2+ messages in thread

* Re: issue with line breaking and images
  2020-12-08 16:18 issue with line breaking and images Pablo Rodriguez
@ 2020-12-08 16:59 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2020-12-08 16:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez

On 12/8/2020 5:18 PM, Pablo Rodriguez wrote:
> Hi Hans,
> 
> I have the following MWE:
> 
>    \setupexternalfigures[location=default]
>    \starttext
>    \dontleavehmode
>      \dorecurse{80}{\externalfigure[cow][width=.075\textwidth] }
>    \stoptext
> 
> MkIV does break the lines to compose a paragraph, but LMTX doesn’t use
> the space to break. In fact, it doesn’t add the space.
> 
> There is a simple workaround for that (explicitly adding "\ " between
> the closing bracket and the closing brace).
> 
> But I wonder whether this might point to a more general issue in LMTX
> (or my lack of understanding of MkXL).
not really ... commands that take optional arguments will gobble spaces 
and lmtx does that a bit more consistently

so, as \externalfigure takes upto three arguments that is what happens 
... a typical example of where you then have to be explicit

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2020-12-08 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 16:18 issue with line breaking and images Pablo Rodriguez
2020-12-08 16:59 ` Hans Hagen

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