ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* line justification alignment.
@ 2010-10-22 14:08 seasoul
  2010-10-22 14:22 ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: seasoul @ 2010-10-22 14:08 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 197 bytes --]

Is there a way to justify the line? I mean no word hyphenation, and words
are justified like in office word. My boss is quite angry to see
hyphenations at the end of lines in my file.
What a hell.

[-- Attachment #1.2: Type: text/html, Size: 236 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: line justification alignment.
  2010-10-22 14:08 line justification alignment seasoul
@ 2010-10-22 14:22 ` Hans Hagen
  2010-10-23  8:21   ` seasoul
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2010-10-22 14:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 22-10-2010 4:08, seasoul wrote:
> Is there a way to justify the line? I mean no word hyphenation, and words

\setupalign[nothyphenated]

> are justified like in office word. My boss is quite angry to see
> hyphenations at the end of lines in my file.

lucky him that he was not born in Germany or the Netherlands with all 
their compound words

> What a hell.

your boss probably has never read a book

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: line justification alignment.
  2010-10-22 14:22 ` Hans Hagen
@ 2010-10-23  8:21   ` seasoul
  2010-10-23 10:55     ` Peter Münster
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: seasoul @ 2010-10-23  8:21 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1322 bytes --]

Yes, when he was talking about there must be two spaces after a period, and
there is strictly no hyphenation at the end of lines, I was almost driven
crazy: How can you set such a rule as in a typewritter period? Of course, I
did not speak out.

I use the setting, that works. Then the line became ugly, the length of
lines are irregular. Is it possible to fine-tune it.

On Fri, Oct 22, 2010 at 10:22 PM, Hans Hagen <pragma@wxs.nl> wrote:

> On 22-10-2010 4:08, seasoul wrote:
>
>> Is there a way to justify the line? I mean no word hyphenation, and words
>>
>
> \setupalign[nothyphenated]
>
>
> are justified like in office word. My boss is quite angry to see
>> hyphenations at the end of lines in my file.
>>
>
> lucky him that he was not born in Germany or the Netherlands with all their
> compound words
>
> What a hell.
>>
>
> your boss probably has never read a book
>
> Hans
>
>
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
> -----------------------------------------------------------------
>



-- 
Yours Sincerely
Ba Te

[-- Attachment #1.2: Type: text/html, Size: 2225 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: line justification alignment.
  2010-10-23  8:21   ` seasoul
@ 2010-10-23 10:55     ` Peter Münster
  2010-10-23 21:20       ` Peter Münster
  2010-10-23 12:34     ` Alan BRASLAU
  2010-10-23 23:31     ` Aditya Mahajan
  2 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2010-10-23 10:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Oct 23 2010, seasoul wrote:

> I use the setting, that works. Then the line became ugly, the length of
> lines are irregular. Is it possible to fine-tune it.

Use landscape, with about 200 characters per line, that should resolve your
problem... ;)

The most important: mention somewhere, that you are not responsible for the
output!

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: line justification alignment.
  2010-10-23  8:21   ` seasoul
  2010-10-23 10:55     ` Peter Münster
@ 2010-10-23 12:34     ` Alan BRASLAU
  2010-10-23 23:31     ` Aditya Mahajan
  2 siblings, 0 replies; 11+ messages in thread
From: Alan BRASLAU @ 2010-10-23 12:34 UTC (permalink / raw)
  To: ntg-context

On Saturday 23 October 2010 10:21:01 seasoul wrote:
> 
> I use the setting, that works. Then the line became ugly, the length of
> lines are irregular. Is it possible to fine-tune it.
> 

Try:
\setupalign[verytolerant,stretch]

Alan
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: line justification alignment.
  2010-10-23 10:55     ` Peter Münster
@ 2010-10-23 21:20       ` Peter Münster
  2010-10-24  7:40         ` Alan BRASLAU
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2010-10-23 21:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Oct 23 2010, Peter Münster wrote:
> 
> > I use the setting, that works. Then the line became ugly, the length of
> > lines are irregular. Is it possible to fine-tune it.
> 
> Use landscape, with about 200 characters per line, that should resolve your
> problem... ;)

Oh, stupid answer, I'm sorry.  I thought, that you had already been using
verytolerant and stretch, that was so ugly... (it *is* ugly)

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: line justification alignment.
  2010-10-23  8:21   ` seasoul
  2010-10-23 10:55     ` Peter Münster
  2010-10-23 12:34     ` Alan BRASLAU
@ 2010-10-23 23:31     ` Aditya Mahajan
  2010-10-24  5:28       ` seasoul
  2 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2010-10-23 23:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, 23 Oct 2010, seasoul wrote:

> I use the setting, that works. Then the line became ugly, the length of
> lines are irregular. Is it possible to fine-tune it.

Perhaps enabling character protrusion and expansion will help a little.

\setupalign[hanging, highquality]

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: line justification alignment.
  2010-10-23 23:31     ` Aditya Mahajan
@ 2010-10-24  5:28       ` seasoul
  2010-10-24 15:07         ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: seasoul @ 2010-10-24  5:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1310 bytes --]

Thanks to Hans,Peter,Alan,Aditya,

         It really helps. I combined your ideas together, the final result
is perfect.
         \setupalign[verytolerant,stretch,hanging,highquility,nothyphenated]

I did not try many combinations, but withouth verytoleratnt and stretch, the
result is not as good as all of them included.
Hope this thread will help those who work with annoying boss :).





On Sun, Oct 24, 2010 at 7:31 AM, Aditya Mahajan <adityam@umich.edu> wrote:

> On Sat, 23 Oct 2010, seasoul wrote:
>
> I use the setting, that works. Then the line became ugly, the length of
>> lines are irregular. Is it possible to fine-tune it.
>>
>
> Perhaps enabling character protrusion and expansion will help a little.
>
> \setupalign[hanging, highquality]
>
> Aditya
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>



-- 
Yours Sincerely
Ba Te

[-- Attachment #1.2: Type: text/html, Size: 2350 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: line justification alignment.
  2010-10-23 21:20       ` Peter Münster
@ 2010-10-24  7:40         ` Alan BRASLAU
  2010-10-24 10:37           ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Alan BRASLAU @ 2010-10-24  7:40 UTC (permalink / raw)
  To: ntg-context

On Saturday 23 October 2010 23:20:06 Peter Münster wrote:
> On Sat, Oct 23 2010, Peter Münster wrote:
>
> Oh, stupid answer, I'm sorry.  I thought, that you had already been using
> verytolerant and stretch, that was so ugly... (it *is* ugly)
> 

But just perfect for a boss who is probably trained on MS-Word!

Alan
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: line justification alignment.
  2010-10-24  7:40         ` Alan BRASLAU
@ 2010-10-24 10:37           ` Hans Hagen
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2010-10-24 10:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 24-10-2010 9:40, Alan BRASLAU wrote:
> On Saturday 23 October 2010 23:20:06 Peter Münster wrote:
>> On Sat, Oct 23 2010, Peter Münster wrote:
>>
>> Oh, stupid answer, I'm sorry.  I thought, that you had already been using
>> verytolerant and stretch, that was so ugly... (it *is* ugly)
>>
>
> But just perfect for a boss who is probably trained on MS-Word!

of add intercharacter spacing ... maybe I should add

\startdtplook ... \stopdtplook

which does intercharacter kern stretch after the linebreaks have been 
made ... actually a braindead 15 minute extension in mkiv .. makes a 
nice totorial so I might actually do it

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: line justification alignment.
  2010-10-24  5:28       ` seasoul
@ 2010-10-24 15:07         ` Hans Hagen
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2010-10-24 15:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 24-10-2010 7:28, seasoul wrote:
> Thanks to Hans,Peter,Alan,Aditya,
>
>           It really helps. I combined your ideas together, the final result
> is perfect.
>           \setupalign[verytolerant,stretch,hanging,highquility,nothyphenated]
>
> I did not try many combinations, but withouth verytoleratnt and stretch, the
> result is not as good as all of them included.
> Hope this thread will help those who work with annoying boss :).

we can make a module m-realbad.tex or so:

\setups[*strict] % high penalties (no solutionspace left)
\setupalign[verytolerant,stretch,nothyphenated,flushleft]
\setupwhitespace[line] % maybe een that without stretch
\setuplayout[header=2\lineheight] % only lines

the strict might also help your position at work

(we could make a competition out of this as we also need fonts without 
features, math without smaller sizes, sans fonts only, 9bp bodyfont 
sizes, etc)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-10-24 15:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-22 14:08 line justification alignment seasoul
2010-10-22 14:22 ` Hans Hagen
2010-10-23  8:21   ` seasoul
2010-10-23 10:55     ` Peter Münster
2010-10-23 21:20       ` Peter Münster
2010-10-24  7:40         ` Alan BRASLAU
2010-10-24 10:37           ` Hans Hagen
2010-10-23 12:34     ` Alan BRASLAU
2010-10-23 23:31     ` Aditya Mahajan
2010-10-24  5:28       ` seasoul
2010-10-24 15:07         ` Hans Hagen

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).