[NTG-context] Right Margin Being ignored bug?
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? Thanks \starttext % \showlayout \showframe _, 20__, at , California. \startitemize[n] \item by Lessor/Optionor and Lessee/Optionee, regarding property situated in the City of _, County of California, referred to as ___ ___ \item by Lessor/Optionor and Lessee/Optionee, regarding property situated in the City of _, County of California, referred to as ___ ___ \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Right Margin Being ignored bug?
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___