2

When typesetting a document with linenumbering, I get heavy problems with images. The linenumbering becomes a mess. What do I do wrong? Here is an MWE:

\setuppapersize[A5]
\setupexternalfigures[location={local,default}]
\setupcaption[number=no]
\starttext

\startlinenumbering
\input tufte
\placefigure[outer]{}{\externalfigure[cow][width=30mm]}
\input tufte
\placefigure[left,none]{}{\framed[height=1cm]{graphic}}
\input tufte
\placefigure[none,right]{}{\externalfigure[cow][height=2cm]}
\input tufte
\stoplinenumbering

\stoptext

enter image description here

  • I don't understand, what you mean with: "I get a not asked for blank line before the paragraph" – DG' Mar 23 at 11:50
  • Well, when I only use \placefigure, I don's get a new paragraph. \startplacefigure seems to start a new paragraph. – Jan Mar 23 at 11:59
  • I updated the MWE with \startplacefigure – Jan Mar 23 at 12:23
  • 1
    @Jan \startplacefigure ... \stopplacefigure is the same as \placefigure{...}{...} and you can’t just use them nested. – Wolfgang Schuster Mar 23 at 12:28
  • 1
    @Jan Can you show what you mean with the messy output because I can’t see anything wrong when I use the current beta. – Wolfgang Schuster Mar 23 at 12:53
1

Since TEV asked me to: It seems to be a bug in the version shipped with TL which is already fixed in the beta. So you either have to wait until TL deploys the fix or use the standalone version (recommended).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.