On 05/02/2015 09:36 AM, henman wrote:
The following minimal example demonstrate how a series of underscores in not handled right with regards to right margins.
I realize there are a few rules command and I plan to use them in the future but for now I am just trying to port old forms into ConText and have them be usable.
Any ideas on how I can get ConText to split the lines and honor the righ margin space?
There are two commands that do what you intend: http://wiki.contextgarden.net/Command/fillinline http://wiki.contextgarden.net/Command/fillinrules If required, you should add \hskip0pt between two underscore hyphens to enable line breaking. I would avoid it since it doesn’t work well. It might be a bug. \showframe \starttext \fillinline[width=2cm]{name} \fillinrules[n=4,width=2cm, separator=:]{Name} _\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_% \hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_, 20_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_, at _\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_% \hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_% \hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_% \hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_% \hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_% \hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_% \hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_% \hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_\hskip0pt_% \hskip0pt_\hskip0pt_\hskip0pt_, California. \stoptext I hope it helps, Pablo -- http://www.ousia.tk