Re: [Pub-forum] Lyx justification problem

2010-11-25 Thread Richard Heck

On 11/25/2010 01:39 AM, Michael Joyner wrote:

We are using Lyx for automatically formated PDF creation at my job.
We ended up putty \begin{sloppy} at the very beginning of the 
document, and closing off with \end{sloppy} as the very last thing.
It seems rather strange for the default behavior of latex to have text 
over-run the margins (IMHO)


Let me second Gunter's remarks about this. If you want it to be entirely 
automated, then this is a fine solution, but the reason it isn't the 
default behavior is that, when the text does overrun the margin, this is 
due to an overful hbox that LaTeX itself does not know how to resolve 
within the parameters that have been set. The definition of \sloppy is just:


\def\sloppy{%
  \tolerance %
  \emergencystretch 3em%
  \hfuzz .5\p@
  \vfuzz\hfuzz}

So it's resetting how tolerant LaTeX is of bad lines, and allowing it to 
insert extra whitespace between words. Here's fussy:


\def\fussy{%
  \emergencystretch\z@
  \tolerance 200%
  \hfuzz .1\p@
  \vfuzz\hfuzz}

So you can also adjust these yourself, to more relaxed, but not 
completely relaxed, limits.



I have just installed Lyx on a MacBook and have tried to format
some test
copy. Everything is fine except that whenever a hyphenated word
appears at
the end of a line it is not properly justified. The hyphenated
word just
hangs out in the margin.

This is almost certainly not true, i.e., that whenever a hyphenated 
word appears, you get this problem. It will happen sometimes, for the 
reasons given, but if it's happening every time, then that is just bad luck.


Richard



Re: [Pub-forum] Lyx justification problem

2010-11-25 Thread Richard Heck

On 11/25/2010 01:39 AM, Michael Joyner wrote:

We are using Lyx for automatically formated PDF creation at my job.
We ended up putty \begin{sloppy} at the very beginning of the 
document, and closing off with \end{sloppy} as the very last thing.
It seems rather strange for the default behavior of latex to have text 
over-run the margins (IMHO)


Let me second Gunter's remarks about this. If you want it to be entirely 
automated, then this is a fine solution, but the reason it isn't the 
default behavior is that, when the text does overrun the margin, this is 
due to an overful hbox that LaTeX itself does not know how to resolve 
within the parameters that have been set. The definition of \sloppy is just:


\def\sloppy{%
  \tolerance %
  \emergencystretch 3em%
  \hfuzz .5\p@
  \vfuzz\hfuzz}

So it's resetting how tolerant LaTeX is of bad lines, and allowing it to 
insert extra whitespace between words. Here's fussy:


\def\fussy{%
  \emergencystretch\z@
  \tolerance 200%
  \hfuzz .1\p@
  \vfuzz\hfuzz}

So you can also adjust these yourself, to more relaxed, but not 
completely relaxed, limits.



I have just installed Lyx on a MacBook and have tried to format
some test
copy. Everything is fine except that whenever a hyphenated word
appears at
the end of a line it is not properly justified. The hyphenated
word just
hangs out in the margin.

This is almost certainly not true, i.e., that whenever a hyphenated 
word appears, you get this problem. It will happen sometimes, for the 
reasons given, but if it's happening every time, then that is just bad luck.


Richard



Re: [Pub-forum] Lyx justification problem

2010-11-25 Thread Richard Heck

On 11/25/2010 01:39 AM, Michael Joyner wrote:

We are using Lyx for automatically formated PDF creation at my job.
We ended up putty \begin{sloppy} at the very beginning of the 
document, and closing off with \end{sloppy} as the very last thing.
It seems rather strange for the default behavior of latex to have text 
over-run the margins (IMHO)


Let me second Gunter's remarks about this. If you want it to be entirely 
automated, then this is a fine solution, but the reason it isn't the 
default behavior is that, when the text does overrun the margin, this is 
due to an "overful hbox" that LaTeX itself does not know how to resolve 
within the parameters that have been set. The definition of \sloppy is just:


\def\sloppy{%
  \tolerance %
  \emergencystretch 3em%
  \hfuzz .5\p@
  \vfuzz\hfuzz}

So it's resetting how tolerant LaTeX is of bad lines, and allowing it to 
insert extra whitespace between words. Here's fussy:


\def\fussy{%
  \emergencystretch\z@
  \tolerance 200%
  \hfuzz .1\p@
  \vfuzz\hfuzz}

So you can also adjust these yourself, to more relaxed, but not 
completely relaxed, limits.



I have just installed Lyx on a MacBook and have tried to format
some test
copy. Everything is fine except that whenever a hyphenated word
appears at
the end of a line it is not properly justified. The hyphenated
word just
hangs out in the margin.

This is almost certainly not true, i.e., that "whenever a hyphenated 
word appears", you get this problem. It will happen sometimes, for the 
reasons given, but if it's happening every time, then that is just bad luck.


Richard



Fwd: [Pub-forum] Lyx justification problem

2010-11-24 Thread Steve Litt
Hi all,

See the forwarded message...

Once again I've been called upon to come to the defense of TeX/LaTeX/LyX from 
various InDesign fans and the like, so I need to give this guy a definitive 
answer. Personally, when LyX fails to justify, I don't worry about it, but 
these guys are more particular.

I already suggested starting the paragraph with \sloppy and ending it with 
\fussy. Will that work? Is there anything else he can do? Is there a package 
he can include to guarantee justification when there's hyphenation?

Thanks

SteveT

--  Forwarded Message  --

Subject: [Pub-forum] Lyx justification problem
Date: Wednesday 24 November 2010

To: Publisher's Forum pub-fo...@pub-forum.net

John or Steve:
I guess you are the two TeX authorities but anybody else can pop in with an
answer.

I have just installed Lyx on a MacBook and have tried to format some test
copy. Everything is fine except that whenever a hyphenated word appears at
the end of a line it is not properly justified. The hyphenated word just
hangs out in the margin.

Have you encountered this problem and what is the solution?
Thanks for any help from anyone.



Re: [Pub-forum] Lyx justification problem

2010-11-24 Thread Michael Joyner
We are using Lyx for automatically formated PDF creation at my job.
We ended up putty \begin{sloppy} at the very beginning of the document, and
closing off with \end{sloppy} as the very last thing.
It seems rather strange for the default behavior of latex to have text
over-run the margins (IMHO)

On Thu, Nov 25, 2010 at 1:04 AM, Steve Litt sl...@troubleshooters.comwrote:

 Hi all,

 See the forwarded message...

 Once again I've been called upon to come to the defense of TeX/LaTeX/LyX
 from
 various InDesign fans and the like, so I need to give this guy a definitive
 answer. Personally, when LyX fails to justify, I don't worry about it, but
 these guys are more particular.

 I already suggested starting the paragraph with \sloppy and ending it with
 \fussy. Will that work? Is there anything else he can do? Is there a
 package
 he can include to guarantee justification when there's hyphenation?

 Thanks

 SteveT

 --  Forwarded Message  --

 Subject: [Pub-forum] Lyx justification problem
 Date: Wednesday 24 November 2010

 To: Publisher's Forum pub-fo...@pub-forum.net

 John or Steve:
 I guess you are the two TeX authorities but anybody else can pop in with an
 answer.

 I have just installed Lyx on a MacBook and have tried to format some test
 copy. Everything is fine except that whenever a hyphenated word appears at
 the end of a line it is not properly justified. The hyphenated word just
 hangs out in the margin.

 Have you encountered this problem and what is the solution?
 Thanks for any help from anyone.




-- 
---

   - Learn to speak Cherokee: http://www.cherokeelessons.com/
   - Cherokee Language Help BBS/Chat:
   http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
   - Cherokee Lessons PDF made with: http://www.lyx.org/


Re: [Pub-forum] Lyx justification problem

2010-11-24 Thread Guenter Milde

On 2010-11-25, Michael Joyner wrote:

 We are using Lyx for automatically formated PDF creation at my job.
 We ended up putty \begin{sloppy} at the very beginning of the document, and
 closing off with \end{sloppy} as the very last thing.
 It seems rather strange for the default behavior of latex to have text
 over-run the margins (IMHO)

The default behaviour is trimmed towards perfection: knowing that no
automatism is infallible, it prefers to highlight the cases where user
interaction is required. (There is also a warning message for every
overlong line in the log file and console output.)

 On Thu, Nov 25, 2010 at 1:04 AM, Steve Litt sl...@troubleshooters.comwrote:

 I already suggested starting the paragraph with \sloppy and ending it with
 \fussy. Will that work? Is there anything else he can do? Is there a
 package
 he can include to guarantee justification when there's hyphenation?

Are you sure you correctly understood the problem?
Maybe its criticism of the optical adjustment of the margin by the
microtype package, which normally is thought to be one of the advances
of LaTeX typesetting. - In this case, commenting out the line with
\usepackage{microtype} will give the desired result.

 --  Forwarded Message  --

 Subject: [Pub-forum] Lyx justification problem
 Date: Wednesday 24 November 2010

 To: Publisher's Forum pub-fo...@pub-forum.net

 I have just installed Lyx on a MacBook and have tried to format some test
 copy. Everything is fine except that whenever a hyphenated word appears at
 the end of a line it is not properly justified. The hyphenated word just
 hangs out in the margin.

How much does it hang? Just the word or only the margin?
Does the margin look straight or ragged when looked at from a distance?

 Have you encountered this problem and what is the solution?

There are quite a lot of similar problems and at least as many
solutions. We need more info.


BTW:

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


Günter



Re: Fwd: [Pub-forum] Lyx justification problem

2010-11-24 Thread Wolfgang Engelmann
Am Thursday 25 November 2010 07:04:12 schrieb Steve Litt:
 Hi all,
 See the forwarded message...

 Once again I've been called upon to come to the defense of TeX/LaTeX/LyX
 from various InDesign fans and the like, so I need to give this guy a
 definitive answer. Personally, when LyX fails to justify, I don't worry
 about it, but these guys are more particular.

 I already suggested starting the paragraph with \sloppy and ending it with
 \fussy. Will that work? Is there anything else he can do? Is there a
 package he can include to guarantee justification when there's hyphenation?

 Thanks

 SteveT

 --  Forwarded Message  --

 Subject: [Pub-forum] Lyx justification problem
 Date: Wednesday 24 November 2010

 To: Publisher's Forum pub-fo...@pub-forum.net

 John or Steve:
 I guess you are the two TeX authorities but anybody else can pop in with an
 answer.

 I have just installed Lyx on a MacBook and have tried to format some test
 copy. Everything is fine except that whenever a hyphenated word appears at
 the end of a line it is not properly justified. The hyphenated word just
 hangs out in the margin.

 Have you encountered this problem and what is the solution?
 Thanks for any help from anyone.

perhaps this helps:
http://ctan.org/pkg/l2tabu-english
page 6 and 7

Wolfgang


Fwd: [Pub-forum] Lyx justification problem

2010-11-24 Thread Steve Litt
Hi all,

See the forwarded message...

Once again I've been called upon to come to the defense of TeX/LaTeX/LyX from 
various InDesign fans and the like, so I need to give this guy a definitive 
answer. Personally, when LyX fails to justify, I don't worry about it, but 
these guys are more particular.

I already suggested starting the paragraph with \sloppy and ending it with 
\fussy. Will that work? Is there anything else he can do? Is there a package 
he can include to guarantee justification when there's hyphenation?

Thanks

SteveT

--  Forwarded Message  --

Subject: [Pub-forum] Lyx justification problem
Date: Wednesday 24 November 2010

To: Publisher's Forum pub-fo...@pub-forum.net

John or Steve:
I guess you are the two TeX authorities but anybody else can pop in with an
answer.

I have just installed Lyx on a MacBook and have tried to format some test
copy. Everything is fine except that whenever a hyphenated word appears at
the end of a line it is not properly justified. The hyphenated word just
hangs out in the margin.

Have you encountered this problem and what is the solution?
Thanks for any help from anyone.



Re: [Pub-forum] Lyx justification problem

2010-11-24 Thread Michael Joyner
We are using Lyx for automatically formated PDF creation at my job.
We ended up putty \begin{sloppy} at the very beginning of the document, and
closing off with \end{sloppy} as the very last thing.
It seems rather strange for the default behavior of latex to have text
over-run the margins (IMHO)

On Thu, Nov 25, 2010 at 1:04 AM, Steve Litt sl...@troubleshooters.comwrote:

 Hi all,

 See the forwarded message...

 Once again I've been called upon to come to the defense of TeX/LaTeX/LyX
 from
 various InDesign fans and the like, so I need to give this guy a definitive
 answer. Personally, when LyX fails to justify, I don't worry about it, but
 these guys are more particular.

 I already suggested starting the paragraph with \sloppy and ending it with
 \fussy. Will that work? Is there anything else he can do? Is there a
 package
 he can include to guarantee justification when there's hyphenation?

 Thanks

 SteveT

 --  Forwarded Message  --

 Subject: [Pub-forum] Lyx justification problem
 Date: Wednesday 24 November 2010

 To: Publisher's Forum pub-fo...@pub-forum.net

 John or Steve:
 I guess you are the two TeX authorities but anybody else can pop in with an
 answer.

 I have just installed Lyx on a MacBook and have tried to format some test
 copy. Everything is fine except that whenever a hyphenated word appears at
 the end of a line it is not properly justified. The hyphenated word just
 hangs out in the margin.

 Have you encountered this problem and what is the solution?
 Thanks for any help from anyone.




-- 
---

   - Learn to speak Cherokee: http://www.cherokeelessons.com/
   - Cherokee Language Help BBS/Chat:
   http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
   - Cherokee Lessons PDF made with: http://www.lyx.org/


Re: [Pub-forum] Lyx justification problem

2010-11-24 Thread Guenter Milde

On 2010-11-25, Michael Joyner wrote:

 We are using Lyx for automatically formated PDF creation at my job.
 We ended up putty \begin{sloppy} at the very beginning of the document, and
 closing off with \end{sloppy} as the very last thing.
 It seems rather strange for the default behavior of latex to have text
 over-run the margins (IMHO)

The default behaviour is trimmed towards perfection: knowing that no
automatism is infallible, it prefers to highlight the cases where user
interaction is required. (There is also a warning message for every
overlong line in the log file and console output.)

 On Thu, Nov 25, 2010 at 1:04 AM, Steve Litt sl...@troubleshooters.comwrote:

 I already suggested starting the paragraph with \sloppy and ending it with
 \fussy. Will that work? Is there anything else he can do? Is there a
 package
 he can include to guarantee justification when there's hyphenation?

Are you sure you correctly understood the problem?
Maybe its criticism of the optical adjustment of the margin by the
microtype package, which normally is thought to be one of the advances
of LaTeX typesetting. - In this case, commenting out the line with
\usepackage{microtype} will give the desired result.

 --  Forwarded Message  --

 Subject: [Pub-forum] Lyx justification problem
 Date: Wednesday 24 November 2010

 To: Publisher's Forum pub-fo...@pub-forum.net

 I have just installed Lyx on a MacBook and have tried to format some test
 copy. Everything is fine except that whenever a hyphenated word appears at
 the end of a line it is not properly justified. The hyphenated word just
 hangs out in the margin.

How much does it hang? Just the word or only the margin?
Does the margin look straight or ragged when looked at from a distance?

 Have you encountered this problem and what is the solution?

There are quite a lot of similar problems and at least as many
solutions. We need more info.


BTW:

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


Günter



Re: Fwd: [Pub-forum] Lyx justification problem

2010-11-24 Thread Wolfgang Engelmann
Am Thursday 25 November 2010 07:04:12 schrieb Steve Litt:
 Hi all,
 See the forwarded message...

 Once again I've been called upon to come to the defense of TeX/LaTeX/LyX
 from various InDesign fans and the like, so I need to give this guy a
 definitive answer. Personally, when LyX fails to justify, I don't worry
 about it, but these guys are more particular.

 I already suggested starting the paragraph with \sloppy and ending it with
 \fussy. Will that work? Is there anything else he can do? Is there a
 package he can include to guarantee justification when there's hyphenation?

 Thanks

 SteveT

 --  Forwarded Message  --

 Subject: [Pub-forum] Lyx justification problem
 Date: Wednesday 24 November 2010

 To: Publisher's Forum pub-fo...@pub-forum.net

 John or Steve:
 I guess you are the two TeX authorities but anybody else can pop in with an
 answer.

 I have just installed Lyx on a MacBook and have tried to format some test
 copy. Everything is fine except that whenever a hyphenated word appears at
 the end of a line it is not properly justified. The hyphenated word just
 hangs out in the margin.

 Have you encountered this problem and what is the solution?
 Thanks for any help from anyone.

perhaps this helps:
http://ctan.org/pkg/l2tabu-english
page 6 and 7

Wolfgang


Fwd: [Pub-forum] Lyx justification problem

2010-11-24 Thread Steve Litt
Hi all,

See the forwarded message...

Once again I've been called upon to come to the defense of TeX/LaTeX/LyX from 
various InDesign fans and the like, so I need to give this guy a definitive 
answer. Personally, when LyX fails to justify, I don't worry about it, but 
these guys are more particular.

I already suggested starting the paragraph with \sloppy and ending it with 
\fussy. Will that work? Is there anything else he can do? Is there a package 
he can include to guarantee justification when there's hyphenation?

Thanks

SteveT

--  Forwarded Message  --

Subject: [Pub-forum] Lyx justification problem
Date: Wednesday 24 November 2010

To: "Publisher's Forum" <pub-fo...@pub-forum.net>

John or Steve:
I guess you are the two TeX authorities but anybody else can pop in with an
answer.

I have just installed Lyx on a MacBook and have tried to format some test
copy. Everything is fine except that whenever a hyphenated word appears at
the end of a line it is not properly justified. The hyphenated word just
hangs out in the margin.

Have you encountered this problem and what is the solution?
Thanks for any help from anyone.



Re: [Pub-forum] Lyx justification problem

2010-11-24 Thread Michael Joyner
We are using Lyx for automatically formated PDF creation at my job.
We ended up putty \begin{sloppy} at the very beginning of the document, and
closing off with \end{sloppy} as the very last thing.
It seems rather strange for the default behavior of latex to have text
over-run the margins (IMHO)

On Thu, Nov 25, 2010 at 1:04 AM, Steve Litt <sl...@troubleshooters.com>wrote:

> Hi all,
>
> See the forwarded message...
>
> Once again I've been called upon to come to the defense of TeX/LaTeX/LyX
> from
> various InDesign fans and the like, so I need to give this guy a definitive
> answer. Personally, when LyX fails to justify, I don't worry about it, but
> these guys are more particular.
>
> I already suggested starting the paragraph with \sloppy and ending it with
> \fussy. Will that work? Is there anything else he can do? Is there a
> package
> he can include to guarantee justification when there's hyphenation?
>
> Thanks
>
> SteveT
>
> ------  Forwarded Message  --
>
> Subject: [Pub-forum] Lyx justification problem
> Date: Wednesday 24 November 2010
>
> To: "Publisher's Forum" <pub-fo...@pub-forum.net>
>
> John or Steve:
> I guess you are the two TeX authorities but anybody else can pop in with an
> answer.
>
> I have just installed Lyx on a MacBook and have tried to format some test
> copy. Everything is fine except that whenever a hyphenated word appears at
> the end of a line it is not properly justified. The hyphenated word just
> hangs out in the margin.
>
> Have you encountered this problem and what is the solution?
> Thanks for any help from anyone.
>
>


-- 
---

   - Learn to speak Cherokee: http://www.cherokeelessons.com/
   - Cherokee Language Help BBS/Chat:
   http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
   - Cherokee Lessons PDF made with: http://www.lyx.org/


Re: [Pub-forum] Lyx justification problem

2010-11-24 Thread Guenter Milde

On 2010-11-25, Michael Joyner wrote:

> We are using Lyx for automatically formated PDF creation at my job.
> We ended up putty \begin{sloppy} at the very beginning of the document, and
> closing off with \end{sloppy} as the very last thing.
> It seems rather strange for the default behavior of latex to have text
> over-run the margins (IMHO)

The default behaviour is trimmed towards perfection: knowing that no
automatism is infallible, it prefers to highlight the cases where user
interaction is required. (There is also a warning message for every
overlong line in the log file and console output.)

> On Thu, Nov 25, 2010 at 1:04 AM, Steve Litt <sl...@troubleshooters.com>wrote:

>> I already suggested starting the paragraph with \sloppy and ending it with
>> \fussy. Will that work? Is there anything else he can do? Is there a
>> package
>> he can include to guarantee justification when there's hyphenation?

Are you sure you correctly understood the problem?
Maybe its criticism of the optical adjustment of the margin by the
microtype package, which normally is thought to be one of the advances
of LaTeX typesetting. -> In this case, commenting out the line with
\usepackage{microtype} will give the desired result.

>> ------  Forwarded Message  --

>> Subject: [Pub-forum] Lyx justification problem
>> Date: Wednesday 24 November 2010

>> To: "Publisher's Forum" <pub-fo...@pub-forum.net>

>> I have just installed Lyx on a MacBook and have tried to format some test
>> copy. Everything is fine except that whenever a hyphenated word appears at
>> the end of a line it is not properly justified. The hyphenated word just
>> hangs out in the margin.

How much does it hang? Just the word or only the margin?
Does the margin look straight or ragged when looked at from a distance?

>> Have you encountered this problem and what is the solution?

There are quite a lot of similar problems and at least as many
solutions. We need more info.


BTW:

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


Günter



Re: Fwd: [Pub-forum] Lyx justification problem

2010-11-24 Thread Wolfgang Engelmann
Am Thursday 25 November 2010 07:04:12 schrieb Steve Litt:
> Hi all,
> See the forwarded message...
>
> Once again I've been called upon to come to the defense of TeX/LaTeX/LyX
> from various InDesign fans and the like, so I need to give this guy a
> definitive answer. Personally, when LyX fails to justify, I don't worry
> about it, but these guys are more particular.
>
> I already suggested starting the paragraph with \sloppy and ending it with
> \fussy. Will that work? Is there anything else he can do? Is there a
> package he can include to guarantee justification when there's hyphenation?
>
> Thanks
>
> SteveT
>
> ------  Forwarded Message  ------
>
> Subject: [Pub-forum] Lyx justification problem
> Date: Wednesday 24 November 2010
>
> To: "Publisher's Forum" <pub-fo...@pub-forum.net>
>
> John or Steve:
> I guess you are the two TeX authorities but anybody else can pop in with an
> answer.
>
> I have just installed Lyx on a MacBook and have tried to format some test
> copy. Everything is fine except that whenever a hyphenated word appears at
> the end of a line it is not properly justified. The hyphenated word just
> hangs out in the margin.
>
> Have you encountered this problem and what is the solution?
> Thanks for any help from anyone.

perhaps this helps:
http://ctan.org/pkg/l2tabu-english
page 6 and 7

Wolfgang