[texhax] Punctuation around inline diagrams

Tim McKenzie tjm1983 at gmail.com
Sat Jul 5 04:11:37 CEST 2008


> I understand. Thanks for the suggestion, in this case the problem is
> the comma or period that follows an inline object, which is not part
> of the object. So I think I need another solution.

I haven't tried to reproduce your problem, but have you tried adding
\nolinebreak to the end of the definition of \pdobj? That might
prevent lines from breaking even when you want them to, though (i.e.
when you don't have punctuation immediately after). To fix that, you
might need to explicitly allow a line break again, or something. Or
maybe you could just explicitly add \nolinebreak when you do have
punctuation there, and leave \pdobj as it is for cases when you don't
want punctuation.

Tim
<><


More information about the texhax mailing list