Re: word-wrap and itemize

2006-01-25 Thread Andre Poenitz
On Tue, Jan 24, 2006 at 01:46:42PM -0800, Jeremy C. Reed wrote:
 Thank you Todd and Johan for the further ideas.
 
 I think in my case, I don't want hyphenation, but I want latex to 
 automatically wrap the word going into the margin to the next line AND 
 justify the line to make up for the moved word.
 
 I have been reading about \tolerance and \emergencystretch but can't seem 
 to find good explanations. I tried \tolerance with from 50 to 250 but 
 didn't see differences yet. I also don't know if the \emergencystretch is 
 used on a case-by-case basis or for preamble.
 
 Here is another example sentence:
 
   This assigns packets belonging to SSH login connections to the 
   ssh_login queue and packets belonging to SCP and SFTP connections to the
   ssh_bulk queue.
 
 On my 6 inch wide page, the ssh_login goes out into the right margin. So 
 I manually put in a \linefeed before it. Now my resulting output has a 
 blank area after ... to the (which I do not want) and the ssh_login in 
 on the next line (which I do want).

Putting '\hbox{' and '}' in ERT around the word in question should help.

I am not sure, though, whether this is the 'recommended solution'

Andre'



Re: word-wrap and itemize

2006-01-25 Thread Andre Poenitz
On Tue, Jan 24, 2006 at 01:46:42PM -0800, Jeremy C. Reed wrote:
 Thank you Todd and Johan for the further ideas.
 
 I think in my case, I don't want hyphenation, but I want latex to 
 automatically wrap the word going into the margin to the next line AND 
 justify the line to make up for the moved word.
 
 I have been reading about \tolerance and \emergencystretch but can't seem 
 to find good explanations. I tried \tolerance with from 50 to 250 but 
 didn't see differences yet. I also don't know if the \emergencystretch is 
 used on a case-by-case basis or for preamble.
 
 Here is another example sentence:
 
   This assigns packets belonging to SSH login connections to the 
   ssh_login queue and packets belonging to SCP and SFTP connections to the
   ssh_bulk queue.
 
 On my 6 inch wide page, the ssh_login goes out into the right margin. So 
 I manually put in a \linefeed before it. Now my resulting output has a 
 blank area after ... to the (which I do not want) and the ssh_login in 
 on the next line (which I do want).

Putting '\hbox{' and '}' in ERT around the word in question should help.

I am not sure, though, whether this is the 'recommended solution'

Andre'



Re: word-wrap and itemize

2006-01-25 Thread Andre Poenitz
On Tue, Jan 24, 2006 at 01:46:42PM -0800, Jeremy C. Reed wrote:
> Thank you Todd and Johan for the further ideas.
> 
> I think in my case, I don't want hyphenation, but I want latex to 
> automatically wrap the word going into the margin to the next line AND 
> justify the line to make up for the moved word.
> 
> I have been reading about \tolerance and \emergencystretch but can't seem 
> to find good explanations. I tried \tolerance with from 50 to 250 but 
> didn't see differences yet. I also don't know if the \emergencystretch is 
> used on a case-by-case basis or for preamble.
> 
> Here is another example sentence:
> 
>   This assigns packets belonging to SSH login connections to the 
>   ssh_login queue and packets belonging to SCP and SFTP connections to the
>   ssh_bulk queue.
> 
> On my 6 inch wide page, the "ssh_login" goes out into the right margin. So 
> I manually put in a \linefeed before it. Now my resulting output has a 
> blank area after "... to the" (which I do not want) and the "ssh_login" in 
> on the next line (which I do want).

Putting '\hbox{' and '}' in ERT around the word in question should help.

I am not sure, though, whether this is the 'recommended solution'

Andre'



Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Roy Schestowitz wrote:

 There was recently a thread about justification and hyphenation, but
 particularly about tendency of margins to be dishonoured at times [1].
 There were various solutions proposed. Insertion of a linebreak is, as you
 already know, undesirable. This may break as the output type (or
 compiliation process) changes.

Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)

I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.

This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.

I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Todd Denniston

Jeremy C. Reed wrote:

On Tue, 24 Jan 2006, Roy Schestowitz wrote:



There was recently a thread about justification and hyphenation, but
particularly about tendency of margins to be dishonoured at times [1].
There were various solutions proposed. Insertion of a linebreak is, as you
already know, undesirable. This may break as the output type (or
compiliation process) changes.



Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)


I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.




Would building up a lexikon.tex of words/abbreviations you use be more 
trouble than you are looking for? Juergen suggested[1] that it could be done 
to keep some words from being broken up or to have them broken correctly, And 
G. Milde suggested[2] that \sloppy might reduce hyphenation for small words.
Paul A. Rubin suggested[3] setting \tolerance and \emergencystretch to deal 
with them.


And of course there is the ever helpful TeXnik site's[4] advice.


[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33952.html
[2] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33966.html
[3] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33794.html
[4] http://tug.org/TeXnik/mainFAQ.cgi?file=language/hyphen

Good luck.


Re: word-wrap and itemize

2006-01-24 Thread Johan Ingvast

Jeremy C. Reed wrote:
I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

I think your problems will go away if you turn to left justification.
\raggedright{} in ERT somewhere in the beginning of the document or in the 
preamble.
Since you have so many long words that can't be hypenated, you can not expect 
latex to manage to make the text justified.


/johan


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
Thank you Todd and Johan for the further ideas.

I think in my case, I don't want hyphenation, but I want latex to 
automatically wrap the word going into the margin to the next line AND 
justify the line to make up for the moved word.

I have been reading about \tolerance and \emergencystretch but can't seem 
to find good explanations. I tried \tolerance with from 50 to 250 but 
didn't see differences yet. I also don't know if the \emergencystretch is 
used on a case-by-case basis or for preamble.

Here is another example sentence:

  This assigns packets belonging to SSH login connections to the 
  ssh_login queue and packets belonging to SCP and SFTP connections to the
  ssh_bulk queue.

On my 6 inch wide page, the ssh_login goes out into the right margin. So 
I manually put in a \linefeed before it. Now my resulting output has a 
blank area after ... to the (which I do not want) and the ssh_login in 
on the next line (which I do want).

I want to continue using justification. I want latex to know that the line 
is too long and simply wrap the word that it didn't hyphenate and then 
attempt to right justify the line that lost the word.

Will \tolerance or \emergencystretch work with that?

And what is the difference between
\emergencystretch=2em
and
\setlength{\emergencystretch}{2em}
?

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Jeremy C. Reed wrote:

 I want to continue using justification. I want latex to know that the line 
 is too long and simply wrap the word that it didn't hyphenate and then 
 attempt to right justify the line that lost the word.

I tried over ten different \tolerance settings and I found that 
\tolerance=545 ended up working like I want.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Martin Geisler
Jeremy C. Reed [EMAIL PROTECTED] writes:

 An example of my problem is the words (with the punctuation):
 (LAN_INET) and (LAN_DMZ)

 I don't want to hyphenate them. I don't want to manually add a
 \newline before them. I just want the latex magic to automatically
 move it to the next line and justify the line as needed.

But unlike many other systems, (La)TeX evaluates the quality of its
output.  Penalties are given when lines have to be streached too much,
and when reaching a specific badness TeX will simply refuse to
typeset the line.

 This also happens in regular Standard text too, where I have
 (TTL), (MSS), MIB-like variables like net.inet.ip.porthilast and
 net.inet.ip.portrange.hifirst, filenames (with backslashes) like
 /etc/authpf/authpf.allow, and words that start with a dollar sign
 (like $foo). These are all same font.

Try using the url package -- it is designed to break long stuff like
URLs at good places, such as after a slash.  It works nicely for file-
and variablenames (of the form $foo_bar_baz) too.

-- 
Martin Geisler GnuPG Key: 0x7E45DD38

PHP Exif Library  |  PHP Weather |  PHP Shell
http://pel.sf.net/|  http://phpweather.net/  |  http://mgeisler.net/
Read/write Exif data  |  Show current weather|  A shell in a browser


pgpmgsW2OZxHS.pgp
Description: PGP signature


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Roy Schestowitz wrote:

 There was recently a thread about justification and hyphenation, but
 particularly about tendency of margins to be dishonoured at times [1].
 There were various solutions proposed. Insertion of a linebreak is, as you
 already know, undesirable. This may break as the output type (or
 compiliation process) changes.

Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)

I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.

This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.

I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Todd Denniston

Jeremy C. Reed wrote:

On Tue, 24 Jan 2006, Roy Schestowitz wrote:



There was recently a thread about justification and hyphenation, but
particularly about tendency of margins to be dishonoured at times [1].
There were various solutions proposed. Insertion of a linebreak is, as you
already know, undesirable. This may break as the output type (or
compiliation process) changes.



Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)


I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.




Would building up a lexikon.tex of words/abbreviations you use be more 
trouble than you are looking for? Juergen suggested[1] that it could be done 
to keep some words from being broken up or to have them broken correctly, And 
G. Milde suggested[2] that \sloppy might reduce hyphenation for small words.
Paul A. Rubin suggested[3] setting \tolerance and \emergencystretch to deal 
with them.


And of course there is the ever helpful TeXnik site's[4] advice.


[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33952.html
[2] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33966.html
[3] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33794.html
[4] http://tug.org/TeXnik/mainFAQ.cgi?file=language/hyphen

Good luck.


Re: word-wrap and itemize

2006-01-24 Thread Johan Ingvast

Jeremy C. Reed wrote:
I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

I think your problems will go away if you turn to left justification.
\raggedright{} in ERT somewhere in the beginning of the document or in the 
preamble.
Since you have so many long words that can't be hypenated, you can not expect 
latex to manage to make the text justified.


/johan


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
Thank you Todd and Johan for the further ideas.

I think in my case, I don't want hyphenation, but I want latex to 
automatically wrap the word going into the margin to the next line AND 
justify the line to make up for the moved word.

I have been reading about \tolerance and \emergencystretch but can't seem 
to find good explanations. I tried \tolerance with from 50 to 250 but 
didn't see differences yet. I also don't know if the \emergencystretch is 
used on a case-by-case basis or for preamble.

Here is another example sentence:

  This assigns packets belonging to SSH login connections to the 
  ssh_login queue and packets belonging to SCP and SFTP connections to the
  ssh_bulk queue.

On my 6 inch wide page, the ssh_login goes out into the right margin. So 
I manually put in a \linefeed before it. Now my resulting output has a 
blank area after ... to the (which I do not want) and the ssh_login in 
on the next line (which I do want).

I want to continue using justification. I want latex to know that the line 
is too long and simply wrap the word that it didn't hyphenate and then 
attempt to right justify the line that lost the word.

Will \tolerance or \emergencystretch work with that?

And what is the difference between
\emergencystretch=2em
and
\setlength{\emergencystretch}{2em}
?

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Jeremy C. Reed wrote:

 I want to continue using justification. I want latex to know that the line 
 is too long and simply wrap the word that it didn't hyphenate and then 
 attempt to right justify the line that lost the word.

I tried over ten different \tolerance settings and I found that 
\tolerance=545 ended up working like I want.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Martin Geisler
Jeremy C. Reed [EMAIL PROTECTED] writes:

 An example of my problem is the words (with the punctuation):
 (LAN_INET) and (LAN_DMZ)

 I don't want to hyphenate them. I don't want to manually add a
 \newline before them. I just want the latex magic to automatically
 move it to the next line and justify the line as needed.

But unlike many other systems, (La)TeX evaluates the quality of its
output.  Penalties are given when lines have to be streached too much,
and when reaching a specific badness TeX will simply refuse to
typeset the line.

 This also happens in regular Standard text too, where I have
 (TTL), (MSS), MIB-like variables like net.inet.ip.porthilast and
 net.inet.ip.portrange.hifirst, filenames (with backslashes) like
 /etc/authpf/authpf.allow, and words that start with a dollar sign
 (like $foo). These are all same font.

Try using the url package -- it is designed to break long stuff like
URLs at good places, such as after a slash.  It works nicely for file-
and variablenames (of the form $foo_bar_baz) too.

-- 
Martin Geisler GnuPG Key: 0x7E45DD38

PHP Exif Library  |  PHP Weather |  PHP Shell
http://pel.sf.net/|  http://phpweather.net/  |  http://mgeisler.net/
Read/write Exif data  |  Show current weather|  A shell in a browser


pgpmgsW2OZxHS.pgp
Description: PGP signature


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Roy Schestowitz wrote:

> There was recently a thread about justification and hyphenation, but
> particularly about tendency of margins to be dishonoured at times [1].
> There were various solutions proposed. Insertion of a linebreak is, as you
> already know, undesirable. This may break as the output type (or
> compiliation process) changes.

Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)

I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.

This also happens in regular Standard text too, where I have "(TTL)", 
"(MSS)", MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.

I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Todd Denniston

Jeremy C. Reed wrote:

On Tue, 24 Jan 2006, Roy Schestowitz wrote:



There was recently a thread about justification and hyphenation, but
particularly about tendency of margins to be dishonoured at times [1].
There were various solutions proposed. Insertion of a linebreak is, as you
already know, undesirable. This may break as the output type (or
compiliation process) changes.



Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)


I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have "(TTL)", 
"(MSS)", MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.




Would building up a "lexikon.tex" of words/abbreviations you use be more 
trouble than you are looking for? Juergen suggested[1] that it could be done 
to keep some words from being broken up or to have them broken correctly, And 
G. Milde suggested[2] that \sloppy might reduce hyphenation for small words.
Paul A. Rubin suggested[3] setting \tolerance and \emergencystretch to deal 
with them.


And of course there is the ever helpful TeXnik site's[4] advice.


[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33952.html
[2] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33966.html
[3] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33794.html
[4] http://tug.org/TeXnik/mainFAQ.cgi?file=language/hyphen

Good luck.


Re: word-wrap and itemize

2006-01-24 Thread Johan Ingvast

Jeremy C. Reed wrote:
I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have "(TTL)", 
"(MSS)", MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

I think your problems will go away if you turn to left justification.
\raggedright{} in ERT somewhere in the beginning of the document or in the 
preamble.
Since you have so many long words that can't be hypenated, you can not expect 
latex to manage to make the text justified.


/johan


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
Thank you Todd and Johan for the further ideas.

I think in my case, I don't want hyphenation, but I want latex to 
automatically wrap the word going into the margin to the next line AND 
justify the line to make up for the moved word.

I have been reading about \tolerance and \emergencystretch but can't seem 
to find good explanations. I tried \tolerance with from 50 to 250 but 
didn't see differences yet. I also don't know if the \emergencystretch is 
used on a case-by-case basis or for preamble.

Here is another example sentence:

  This assigns packets belonging to SSH login connections to the 
  ssh_login queue and packets belonging to SCP and SFTP connections to the
  ssh_bulk queue.

On my 6 inch wide page, the "ssh_login" goes out into the right margin. So 
I manually put in a \linefeed before it. Now my resulting output has a 
blank area after "... to the" (which I do not want) and the "ssh_login" in 
on the next line (which I do want).

I want to continue using justification. I want latex to know that the line 
is too long and simply wrap the word that it didn't hyphenate and then 
attempt to right justify the line that lost the word.

Will \tolerance or \emergencystretch work with that?

And what is the difference between
\emergencystretch=2em
and
\setlength{\emergencystretch}{2em}
?

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Jeremy C. Reed wrote:

> I want to continue using justification. I want latex to know that the line 
> is too long and simply wrap the word that it didn't hyphenate and then 
> attempt to right justify the line that lost the word.

I tried over ten different \tolerance settings and I found that 
\tolerance=545 ended up working like I want.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Martin Geisler
"Jeremy C. Reed" <[EMAIL PROTECTED]> writes:

> An example of my problem is the words (with the punctuation):
> (LAN_INET) and (LAN_DMZ)
>
> I don't want to hyphenate them. I don't want to manually add a
> \newline before them. I just want the latex magic to automatically
> move it to the next line and justify the line as needed.

But unlike many other systems, (La)TeX evaluates the quality of its
output.  Penalties are given when lines have to be streached too much,
and when reaching a specific "badness" TeX will simply refuse to
typeset the line.

> This also happens in regular Standard text too, where I have
> "(TTL)", "(MSS)", MIB-like variables like net.inet.ip.porthilast and
> net.inet.ip.portrange.hifirst, filenames (with backslashes) like
> /etc/authpf/authpf.allow, and words that start with a dollar sign
> (like $foo). These are all same font.

Try using the url package -- it is designed to break long stuff like
URLs at good places, such as after a slash.  It works nicely for file-
and variablenames (of the form $foo_bar_baz) too.

-- 
Martin Geisler GnuPG Key: 0x7E45DD38

PHP Exif Library  |  PHP Weather |  PHP Shell
http://pel.sf.net/|  http://phpweather.net/  |  http://mgeisler.net/
Read/write Exif data  |  Show current weather|  A shell in a browser


pgpmgsW2OZxHS.pgp
Description: PGP signature


word-wrap and itemize

2006-01-23 Thread Jeremy C. Reed
I have a itemize list with:

* Traffic from the internal LAN to the Internet is permitted 
(LAN_INET) and must be translated (LAN_INET_NAT).

* Traffic from the internal LAN to the DMZ is permitted 
(LAN_DMZ).

* Traffic from the Internet to servers in the DMZ is permitted (INET_DMZ).

* Traffic from the Internet that's being redirected to spamd(8) is 
permitted (SPAMD).


I am using koma scrbook. My page width is 6 inches.

The first and second items of list are not formatted correctly. The 
(LAN_INET) and the (LAN_DMZ) are not wrapped to next line and go out 
into the right margin. There are no special fonts.

To workaround this, I manually enter a Linebreak.

How can I get this to justify word-wrap correctly?

Also, maybe related, when I have a couple words of typewriter mixed in my 
regular content, then I also lose my correct justification. I thought I 
saw a posting on how to automatically fix this recently, but can't find 
now.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-23 Thread Roy Schestowitz

_/ On Tue 24 Jan 2006 04:27:21 GMT, [Jeremy C. Reed] wrote : \_


I have a itemize list with:

* Traffic from the internal LAN to the Internet is permitted
(LAN_INET) and must be translated (LAN_INET_NAT).

* Traffic from the internal LAN to the DMZ is permitted
(LAN_DMZ).

* Traffic from the Internet to servers in the DMZ is permitted (INET_DMZ).

* Traffic from the Internet that's being redirected to spamd(8) is
permitted (SPAMD).


I am using koma scrbook. My page width is 6 inches.

The first and second items of list are not formatted correctly. The
(LAN_INET) and the (LAN_DMZ) are not wrapped to next line and go out
into the right margin. There are no special fonts.

To workaround this, I manually enter a Linebreak.

How can I get this to justify word-wrap correctly?

Also, maybe related, when I have a couple words of typewriter mixed in my
regular content, then I also lose my correct justification. I thought I
saw a posting on how to automatically fix this recently, but can't find
now.


There was recently a thread about justification and hyphenation, but
particularly about tendency of margins to be dishonoured at times [1].
There were various solutions proposed. Insertion of a linebreak is, as you
already know, undesirable. This may break as the output type (or
compiliation process) changes.

I don't know how to solve the issue of justifying a mixture of fonts. If I
were you, as a workaround, I would try to manipluate the font size. Again,
this is far from ideal, for the same reasons listed above.

With kind regards,

Roy

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44625.html



word-wrap and itemize

2006-01-23 Thread Jeremy C. Reed
I have a itemize list with:

* Traffic from the internal LAN to the Internet is permitted 
(LAN_INET) and must be translated (LAN_INET_NAT).

* Traffic from the internal LAN to the DMZ is permitted 
(LAN_DMZ).

* Traffic from the Internet to servers in the DMZ is permitted (INET_DMZ).

* Traffic from the Internet that's being redirected to spamd(8) is 
permitted (SPAMD).


I am using koma scrbook. My page width is 6 inches.

The first and second items of list are not formatted correctly. The 
(LAN_INET) and the (LAN_DMZ) are not wrapped to next line and go out 
into the right margin. There are no special fonts.

To workaround this, I manually enter a Linebreak.

How can I get this to justify word-wrap correctly?

Also, maybe related, when I have a couple words of typewriter mixed in my 
regular content, then I also lose my correct justification. I thought I 
saw a posting on how to automatically fix this recently, but can't find 
now.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-23 Thread Roy Schestowitz

_/ On Tue 24 Jan 2006 04:27:21 GMT, [Jeremy C. Reed] wrote : \_


I have a itemize list with:

* Traffic from the internal LAN to the Internet is permitted
(LAN_INET) and must be translated (LAN_INET_NAT).

* Traffic from the internal LAN to the DMZ is permitted
(LAN_DMZ).

* Traffic from the Internet to servers in the DMZ is permitted (INET_DMZ).

* Traffic from the Internet that's being redirected to spamd(8) is
permitted (SPAMD).


I am using koma scrbook. My page width is 6 inches.

The first and second items of list are not formatted correctly. The
(LAN_INET) and the (LAN_DMZ) are not wrapped to next line and go out
into the right margin. There are no special fonts.

To workaround this, I manually enter a Linebreak.

How can I get this to justify word-wrap correctly?

Also, maybe related, when I have a couple words of typewriter mixed in my
regular content, then I also lose my correct justification. I thought I
saw a posting on how to automatically fix this recently, but can't find
now.


There was recently a thread about justification and hyphenation, but
particularly about tendency of margins to be dishonoured at times [1].
There were various solutions proposed. Insertion of a linebreak is, as you
already know, undesirable. This may break as the output type (or
compiliation process) changes.

I don't know how to solve the issue of justifying a mixture of fonts. If I
were you, as a workaround, I would try to manipluate the font size. Again,
this is far from ideal, for the same reasons listed above.

With kind regards,

Roy

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44625.html



word-wrap and itemize

2006-01-23 Thread Jeremy C. Reed
I have a itemize list with:

* Traffic from the internal LAN to the Internet is permitted 
(LAN_INET) and must be translated (LAN_INET_NAT).

* Traffic from the internal LAN to the DMZ is permitted 
(LAN_DMZ).

* Traffic from the Internet to servers in the DMZ is permitted (INET_DMZ).

* Traffic from the Internet that's being redirected to spamd(8) is 
permitted (SPAMD).


I am using koma scrbook. My page width is 6 inches.

The first and second items of list are not formatted correctly. The 
"(LAN_INET)" and the "(LAN_DMZ)" are not wrapped to next line and go out 
into the right margin. There are no special fonts.

To workaround this, I manually enter a Linebreak.

How can I get this to justify word-wrap correctly?

Also, maybe related, when I have a couple words of typewriter mixed in my 
regular content, then I also lose my correct justification. I thought I 
saw a posting on how to automatically fix this recently, but can't find 
now.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-23 Thread Roy Schestowitz

_/ On Tue 24 Jan 2006 04:27:21 GMT, [Jeremy C. Reed] wrote : \_


I have a itemize list with:

* Traffic from the internal LAN to the Internet is permitted
(LAN_INET) and must be translated (LAN_INET_NAT).

* Traffic from the internal LAN to the DMZ is permitted
(LAN_DMZ).

* Traffic from the Internet to servers in the DMZ is permitted (INET_DMZ).

* Traffic from the Internet that's being redirected to spamd(8) is
permitted (SPAMD).


I am using koma scrbook. My page width is 6 inches.

The first and second items of list are not formatted correctly. The
"(LAN_INET)" and the "(LAN_DMZ)" are not wrapped to next line and go out
into the right margin. There are no special fonts.

To workaround this, I manually enter a Linebreak.

How can I get this to justify word-wrap correctly?

Also, maybe related, when I have a couple words of typewriter mixed in my
regular content, then I also lose my correct justification. I thought I
saw a posting on how to automatically fix this recently, but can't find
now.


There was recently a thread about justification and hyphenation, but
particularly about tendency of margins to be dishonoured at times [1].
There were various solutions proposed. Insertion of a linebreak is, as you
already know, undesirable. This may break as the output type (or
compiliation process) changes.

I don't know how to solve the issue of justifying a mixture of fonts. If I
were you, as a workaround, I would try to manipluate the font size. Again,
this is far from ideal, for the same reasons listed above.

With kind regards,

Roy

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44625.html