The following line gets its line break at the %cont, that is _after_
the '(', whereas it should have been _before_ the '('. %cont is
intended to insert a directive _without_ breaking a line, isn't it ?
====
symbolic constants not used (
%cont, font "tt"
access(...,0); open(...,1);...
%cont, font "std"
)
====
At Mon, 29 Nov 1999 16:15:50 +0100 (MET), Yann Dirson - LOGATIQUE <Yann.Dirson@France.Sun.COM> wrote: Hmm, but the following example will line break after access(...,0); ---------------------------------------------------------------- %include "default.mgp" %page symbolic constants not used ( %cont, font "tt" access(...,0); open(...,1);... %cont, font "std" ) ---------------------------------------------------------------- I'm not sure but I think %cont directive is not non-breakable, but soft line concatination, so if first line is too long, it would get line break at %cont. Anyway, I'll ask upstream developers. Thanks, Fumitoshi UKAI
At Mon, 29 Nov 1999 16:15:50 +0100 (MET), Yann Dirson - LOGATIQUE <Yann.Dirson@France.Sun.COM> wrote: Hmm, but the following example will line break after access(...,0); ---------------------------------------------------------------- %include "default.mgp" %page symbolic constants not used ( %cont, font "tt" access(...,0); open(...,1);... %cont, font "std" ) ---------------------------------------------------------------- I'm not sure but I think %cont directive is not non-breakable, but soft line concatination, so if first line is too long, it would get line break at %cont. Anyway, I'll ask upstream developers. Thanks, Fumitoshi UKAI
Fumitoshi UKAI writes:
> At Mon, 29 Nov 1999 16:15:50 +0100 (MET),
> Yann Dirson - LOGATIQUE <Yann.Dirson@France.Sun.COM> wrote:
>
> > The following line gets its line break at the %cont, that is _after_
> > the '(', whereas it should have been _before_ the '('. %cont is
> > intended to insert a directive _without_ breaking a line, isn't it ?
>
> Hmm, but the following example will line break after access(...,0);
Ah yes, it does. Probably I had the following in effect at this time:
%deffont "std" xfont "helvetica-medium-r", tfont "arial.ttf", size 4
%deffont "tt" xfont "courier-medium-r", tfont "courbd.ttf", size 3
I suppressed the %size's since then, because I then get
inconsistencies with itemized stuff which stays at %size 5.
> I'm not sure but I think %cont directive is not non-breakable, but
> soft line concatination, so if first line is too long, it would get
> line break at %cont.
Maybe there should be a special directive to explicitely tell whether
breakable or not, but I don't think it's necessary. I'd rather think
that breakable places are whitespace on only whitespace. If I need a
whitespace at a %cont, then I explicitely add one, and then I'd accept
the line to be broken at that place.
> Anyway, I'll ask upstream developers.
Thanks,
--
/\ Yann Dirson <ydirson@sunchorus.france.sun.com>
\\ \
\ \\ / Sun Microsystems Inc. <http://www.sun.com/>
/ \/ / / Consumer and Embedded / ChorusOS Support
/ / \//\
\//\ / / Phone: +33 139 44 74 50
/ / /\ / Phone: 44450
/ \\ \
\ \\
\/ Subcontractant from Logatique <http://www.logatique.fr/>
This bug has been forwarded to mgp-users-jp 00660 http://www.mew.org/archive/mgp-users-jp/A/msg00656.html