* avoiding unfortunate line breaking
@ 2005-06-26 21:52 Stuart Jansen
2005-06-27 11:15 ` John R. Culleton
2005-06-27 16:17 ` Peter Münster
0 siblings, 2 replies; 3+ messages in thread
From: Stuart Jansen @ 2005-06-26 21:52 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 612 bytes --]
Below is an exaggerated case I haven't been able to solve. Assuming the
frame can't be enlarged, the URL can't be manually broken, and extending
outside the frame a tiny bit is okay, how can I prevent the line break
inserted between the bullet and the url in the example below?
\starttext
\framed[height=2in,width=3in,align={right,broad},frame=on]{
\startitemize[1,serried,packed,joinedup]
\item{}foo
\item{}bar
\item\bgroup\tt{}http://areallyreallylongdomainname.org/index.html
\egroup
\item{}baz
\item{}qux
\stopitemize}
\stoptext
--
Stuart Jansen <sjansen@gurulabs.com>
Guru Labs, L.C.
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: avoiding unfortunate line breaking
2005-06-26 21:52 avoiding unfortunate line breaking Stuart Jansen
@ 2005-06-27 11:15 ` John R. Culleton
2005-06-27 16:17 ` Peter Münster
1 sibling, 0 replies; 3+ messages in thread
From: John R. Culleton @ 2005-06-27 11:15 UTC (permalink / raw)
On Sunday 26 June 2005 09:52 pm, Stuart Jansen wrote:
> Below is an exaggerated case I haven't been able to solve. Assuming the
> frame can't be enlarged, the URL can't be manually broken, and extending
> outside the frame a tiny bit is okay, how can I prevent the line break
> inserted between the bullet and the url in the example below?
>
> \starttext
> \framed[height=2in,width=3in,align={right,broad},frame=on]{
> \startitemize[1,serried,packed,joinedup]
> \item{}foo
> \item{}bar
> \item\bgroup\tt{}http://areallyreallylongdomainname.org/index.html
> \egroup
> \item{}baz
> \item{}qux
> \stopitemize}
> \stoptext
This works for me:
\setupoutput[pdftex]
\starttext
\framed[height=2in,width=3in,align={right,broad},frame=on]{
\startitemize[1,serried,packed,joinedup]
\item foo
\item bar
\hbox{\item \tt http://areallyreallylongdomainname.org/index.html}
\item baz
\item qux
\stopitemize}
\stoptext
--
John Culleton
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: avoiding unfortunate line breaking
2005-06-26 21:52 avoiding unfortunate line breaking Stuart Jansen
2005-06-27 11:15 ` John R. Culleton
@ 2005-06-27 16:17 ` Peter Münster
1 sibling, 0 replies; 3+ messages in thread
From: Peter Münster @ 2005-06-27 16:17 UTC (permalink / raw)
On Sun, 26 Jun 2005, Stuart Jansen wrote:
> Below is an exaggerated case I haven't been able to solve. Assuming the
> frame can't be enlarged, the URL can't be manually broken, and extending
> outside the frame a tiny bit is okay, how can I prevent the line break
> inserted between the bullet and the url in the example below?
>
> \starttext
> \framed[height=2in,width=3in,align={right,broad},frame=on]{
> \startitemize[1,serried,packed,joinedup]
> \item{}foo
> \item{}bar
> \item\bgroup\tt{}http://areallyreallylongdomainname.org/index.html
2 suggestions:
\item\hyphenatedurl{http://areallyreallylongdomainname.org/index.html}
or just
\item\bgroup\tt{}http://areallyreallylong
domainname.org/index.html
Cheers, Peter
--
http://pmrb.free.fr/contact/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-06-27 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-26 21:52 avoiding unfortunate line breaking Stuart Jansen
2005-06-27 11:15 ` John R. Culleton
2005-06-27 16:17 ` Peter Münster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).