[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] line_breaker_rep::next_ragged_break() question

From: Salman Khilji
Subject: [Texmacs-dev] line_breaker_rep::next_ragged_break() question
Date: Sat, 24 Apr 2004 09:57:10 -0700
User-agent: KMail/1.5.1

When a word is hyphenated, the following code runs:

if ( cur_spc+item1->b->w() <= line_width )
  return (cur_nr > pos->item) ? path (cur_nr, i) : pos * i;

I can see that usually the condition (cur_nr > pos->item) will hold true.  
Under what circumstances will this codition not be true? i.e When will (pos * 
i) be executed?

An example tm document that forces \TeXmacs to run this particular code would 
be appreciated.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]