ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* justification
@ 2005-04-15  6:54 Jörg Hagmann
  2005-04-15  7:35 ` justification luigi.scarso
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Jörg Hagmann @ 2005-04-15  6:54 UTC (permalink / raw)


Dear list members,
After months of trying to figure out what TeX, ConTeXt etc is and how 
to install everything needed I finally produced my first document. I 
was thrilled when I saw real pdf pages with footnotes and all!

However, I noticed the following problem (no doubt the first of many to 
come): justification on the right is far from perfect - there are lines 
sticking out. After going through the manual, I decided that 
"\setuptolerance[horizontal,verystrict]" in the setup area should do 
the trick, but it didn't.  Any suggestions? (I set up ConTeXt on two 
Macs, once with teTeX and once with TeXLive, and on a Mac running 
Mandrakelinux and teTeX - the result was the same (same lines sticking 
out) on all of them).

I am currently writing a textbook and I am looking forward to using 
ConTeXt.

PD Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
DKBW, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 6953049

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

* Re: justification
  2005-04-15  6:54 justification Jörg Hagmann
@ 2005-04-15  7:35 ` luigi.scarso
  2005-04-15  9:32   ` justification Jörg Hagmann
  2005-04-15  7:51 ` AutoScale and AutoSize luigi.scarso
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 23+ messages in thread
From: luigi.scarso @ 2005-04-15  7:35 UTC (permalink / raw)


Jörg Hagmann wrote:

> However, I noticed the following problem (no doubt the first of many 
> to come): justification on the right is far from perfect - there are 
> lines sticking out. After going through the manual, I decided that 
> "\setuptolerance[horizontal,verystrict]" in the setup area should do 
> the trick, but it didn't.

Can you give some examples ?

>   Any suggestions? (I set up ConTeXt on two Macs, once with teTeX and 
> once with TeXLive, and on a Mac running Mandrakelinux and teTeX

Brave heart.

> I am currently writing a textbook and I am looking forward to using 
> ConTeXt.

Context IS the right choice.

luigi

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

* AutoScale and AutoSize
  2005-04-15  6:54 justification Jörg Hagmann
  2005-04-15  7:35 ` justification luigi.scarso
@ 2005-04-15  7:51 ` luigi.scarso
  2005-04-15  9:26   ` Hans Hagen
  2005-04-15  9:43   ` AutoScale and AutoSize luigi.scarso
  2005-04-15  9:17 ` justification Hans Hagen
  2005-04-15 20:12 ` justification Willi Egger
  3 siblings, 2 replies; 23+ messages in thread
From: luigi.scarso @ 2005-04-15  7:51 UTC (permalink / raw)


I have to typeset a small paragraph inside fixed box.
I don't have much control about it's content, so sometimes
text overflow.
I try the following two macros, but they aren't good.



% AutoScaled: not what I really want, but
% sometimes works
%
\def\AutoScaled#1#2#3#4#5{%
% #1 horiz. limit
% #2 unused (maybe vert. limit)
% #3 horiz. scale
% #4 vert. scale
% #5 text
\setbox800=\hbox{\color[black]{\scale[sx=#3,sy=#4]{\bf #5}}}%
\newdimen\ScaleX \ScaleX=#3pt \newdimen\ScaleY \ScaleY=#4pt %%
\newdimen\LimitX \LimitX=#1 %
\ifdim\wd800 > \LimitX %
\edef\Ratio{\withoutpt{\the\dimexpr( (2\LimitX/(\wd800 /32768))) }}%
\edef\XSCALE{\withoutpt{\the\dimexpr( \Ratio\ScaleX ) }}%
\edef\YSCALE{\withoutpt{\the\dimexpr( \Ratio\ScaleY ) }}%
\setbox800=\hbox{\color[black]{\scale[sx=\XSCALE,sy=\YSCALE]{\bf #5}}}%
\fi%
\box800\relax%
}%%enddef \Autoscaled

%AutoSize is what I really want, but it's
%WRONG!!
\def\AutoSize#1#2#3{%
% #1=string #2=horiz.limit #3=initial font size
\newdimen\Limit \Limit=#2
\newdimen\FontSize \FontSize=#3
\doloop{%
\setbox800=\hbox{#1}%
\ifdim\wd800 <\Limit\exitloop
\else
% WARNING: eat memory , 1bp is bad step,
% force ss .... it's wrong
\advance\FontSize by -1bp\switchtobodyfont[ss,\the\FontSize]%
%%
\fi}%
%\newdimen\Dimen \Dimen=0.35277778\wd800 \pointless\Dimen mm\relax%
\box800\relax%
}


luigi

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

* Re: justification
  2005-04-15  6:54 justification Jörg Hagmann
  2005-04-15  7:35 ` justification luigi.scarso
  2005-04-15  7:51 ` AutoScale and AutoSize luigi.scarso
@ 2005-04-15  9:17 ` Hans Hagen
  2005-04-15 10:20   ` justification Jörg Hagmann
                     ` (2 more replies)
  2005-04-15 20:12 ` justification Willi Egger
  3 siblings, 3 replies; 23+ messages in thread
From: Hans Hagen @ 2005-04-15  9:17 UTC (permalink / raw)


Jörg Hagmann wrote:

> However, I noticed the following problem (no doubt the first of many to 
> come): justification on the right is far from perfect - there are lines 
> sticking out. After going through the manual, I decided that 
> "\setuptolerance[horizontal,verystrict]" in the setup area should do the 
> trick, but it didn't.  Any suggestions? (I set up ConTeXt on two Macs, 
> once with teTeX and once with TeXLive, and on a Mac running 
> Mandrakelinux and teTeX - the result was the same (same lines sticking 
> out) on all of them).

can you check if you have hyphenation? there have been pattern problems (changes 
in names and such)

btw, doe anyone object if i ship generic context patterns in the main zip?

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: AutoScale and AutoSize
  2005-04-15  7:51 ` AutoScale and AutoSize luigi.scarso
@ 2005-04-15  9:26   ` Hans Hagen
  2005-04-15 12:07     ` luigi.scarso
  2005-04-15  9:43   ` AutoScale and AutoSize luigi.scarso
  1 sibling, 1 reply; 23+ messages in thread
From: Hans Hagen @ 2005-04-15  9:26 UTC (permalink / raw)


luigi.scarso wrote:
> I have to typeset a small paragraph inside fixed box.
> I don't have much control about it's content, so sometimes
> text overflow.
> I try the following two macros, but they aren't good.

see latest magazine for an example + some explanation

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: justification
  2005-04-15  7:35 ` justification luigi.scarso
@ 2005-04-15  9:32   ` Jörg Hagmann
  2005-04-18 15:52     ` justification Peter Münster
  0 siblings, 1 reply; 23+ messages in thread
From: Jörg Hagmann @ 2005-04-15  9:32 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 611 bytes --]


On Apr 15, 2005, at 9:35 AM, luigi.scarso wrote:

> Jörg Hagmann wrote:
>
>> However, I noticed the following problem (no doubt the first of many 
>> to come): justification on the right is far from perfect - there are 
>> lines sticking out. After going through the manual, I decided that 
>> "\setuptolerance[horizontal,verystrict]" in the setup area should do 
>> the trick, but it didn't.
>
> Can you give some examples ?

See the attachment (testpage.pdf). There is a line sticking out in this 
way on 3 of 6 pages, plus a few minor protrusions of the width of about 
one character.




[-- Attachment #2: testpage.pdf --]
[-- Type: application/pdf, Size: 43243 bytes --]

[-- Attachment #3: Type: text/plain, Size: 172 bytes --]


PD Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
DKBW, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 6953049

[-- Attachment #4: 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] 23+ messages in thread

* Re: AutoScale and AutoSize
  2005-04-15  7:51 ` AutoScale and AutoSize luigi.scarso
  2005-04-15  9:26   ` Hans Hagen
@ 2005-04-15  9:43   ` luigi.scarso
  1 sibling, 0 replies; 23+ messages in thread
From: luigi.scarso @ 2005-04-15  9:43 UTC (permalink / raw)


% AutoSize seem better, but
% I must setup ss and tfb inside body
% (I need these) so it's no a general macros
% Same problems of previous version.
%
\def\AutoSize#1#2#3{% #1=string #2=horiz.limit #3=startfont
\newdimen\Limit \Limit=#2 %
\newdimen\FontSize \FontSize=#3 %
\doloop{%
\setbox800=\hbox{\switchtobodyfont[ss,\the\FontSize]\tfb #1}%
\ifdim\wd800 <\Limit\exitloop%
\else%
\ifdim\FontSize <1bp\exitloop%
\else %
\advance\FontSize by -0.5bp%
\fi%
\fi}%
\box800\relax%
}

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

* Re: justification
  2005-04-15  9:17 ` justification Hans Hagen
@ 2005-04-15 10:20   ` Jörg Hagmann
  2005-04-15 21:35     ` justification Hans Hagen
  2005-04-15 14:31   ` justification Jörg Hagmann
  2005-04-16  7:42   ` Hyphenation-paterns was:Re: justification Willi Egger
  2 siblings, 1 reply; 23+ messages in thread
From: Jörg Hagmann @ 2005-04-15 10:20 UTC (permalink / raw)


Hyphenation is working. I attached one pdf-page showing the result to a 
previous message which is being "hold for approval".

On Apr 15, 2005, at 11:17 AM, Hans Hagen wrote:

> Jörg Hagmann wrote:
>
>> However, I noticed the following problem (no doubt the first of many 
>> to come): justification on the right is far from perfect - there are 
>> lines sticking out. After going through the manual, I decided that 
>> "\setuptolerance[horizontal,verystrict]" in the setup area should do 
>> the trick, but it didn't.  Any suggestions? (I set up ConTeXt on two 
>> Macs, once with teTeX and once with TeXLive, and on a Mac running 
>> Mandrakelinux and teTeX - the result was the same (same lines 
>> sticking out) on all of them).
>
> can you check if you have hyphenation? there have been pattern 
> problems (changes in names and such)

PD Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
DKBW, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 6953049

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

* Re: AutoScale and AutoSize
  2005-04-15  9:26   ` Hans Hagen
@ 2005-04-15 12:07     ` luigi.scarso
  2005-04-15 13:35       ` Hans Hagen
  0 siblings, 1 reply; 23+ messages in thread
From: luigi.scarso @ 2005-04-15 12:07 UTC (permalink / raw)


Hans Hagen wrote:

>
> see latest magazine for an example + some explanation
>
Great, as usually
(I lose it because if I  I visit
http://www.pragma-ade.com/show-mag-1.htm
and from here I click on previous at bottom right,
I will go
http://www.pragma-ade.com/show-mag-10.htm
which is  mag 0009.
It seems that from mag-0000 you jump to previous mag-0009 and not mag-0010).

I've printed and read it ; if I have understand, I 've tried to do 
something similiar with my \AutoScaled with implicit rettangular shape 
and one line of text;
maybe \AutoSize is not the right way.

luigi

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

* Re: AutoScale and AutoSize
  2005-04-15 12:07     ` luigi.scarso
@ 2005-04-15 13:35       ` Hans Hagen
  2005-04-15 14:06         ` luigi.scarso
  0 siblings, 1 reply; 23+ messages in thread
From: Hans Hagen @ 2005-04-15 13:35 UTC (permalink / raw)


luigi.scarso wrote:

> It seems that from mag-0000 you jump to previous mag-0009 and not 
> mag-0010).

the zero issue is, well, the zero issue that any magazine has, explaining the 
magazine

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: AutoScale and AutoSize
  2005-04-15 13:35       ` Hans Hagen
@ 2005-04-15 14:06         ` luigi.scarso
  2005-04-15 21:38           ` Hans Hagen
  0 siblings, 1 reply; 23+ messages in thread
From: luigi.scarso @ 2005-04-15 14:06 UTC (permalink / raw)


Hans Hagen wrote:

> luigi.scarso wrote:
>
>> It seems that from mag-0000 you jump to previous mag-0009 and not 
>> mag-0010).
>
>
> the zero issue is, well, the zero issue that any magazine has, 
> explaining the magazine

Yes, I know (mag-0000 is a meta-magazine... :) )


When I try http://www.pragma-ade.com/show-mag-1.htm
I see
mag-0000, page 1 of 10  and link previous and next (on bottom right)
Click on next:
I am at  http://www.pragma-ade.com/show-mag-2.htm
mag-0001, pag 1 of 10


So on until PAGE 7 OF 10, and click next
I am are at  http://www.pragma-ade.com/show-mag-8.htm
and I see PAGE 8 OF 11. (why?)

Again from start  http://www.pragma-ade.com/show-mag-1.htm
click  on previous:
I am at  http://www.pragma-ade.com/show-mag-10.htm
it's mag-0009, and I see PAGE 10 OF 11.
So previous of first is last -1 .

click on next:
mag-0010, which I had missed last night., which is last.

Maybe a broken link on site ?


luigi

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

* Re: justification
  2005-04-15  9:17 ` justification Hans Hagen
  2005-04-15 10:20   ` justification Jörg Hagmann
@ 2005-04-15 14:31   ` Jörg Hagmann
  2005-04-16  7:42   ` Hyphenation-paterns was:Re: justification Willi Egger
  2 siblings, 0 replies; 23+ messages in thread
From: Jörg Hagmann @ 2005-04-15 14:31 UTC (permalink / raw)


Since the attachment showing one pdf-page doesn't seem to pass through, 
let me describe the outcome:
On 6 pages with mostly default settings, there are 3 lines sticking out 
on the right side by 2- 3 characters ("igt", "mt" and "ng"). In 
addition, there are about 3 smaller defects (ca. 1 character 
protrusions). I am using "il1", and "de" as mainlanguage. 
Interestingly, on 2 pages the defects occur at exactly the same 
distance from the upper edge.

On Apr 15, 2005, at 11:17 AM, Hans Hagen wrote:

> Jörg Hagmann wrote:
>
>> However, I noticed the following problem (no doubt the first of many 
>> to come): justification on the right is far from perfect - there are 
>> lines sticking out. After going through the manual, I decided that 
>> "\setuptolerance[horizontal,verystrict]" in the setup area should do 
>> the trick, but it didn't.  Any suggestions? (I set up ConTeXt on two 
>> Macs, once with teTeX and once with TeXLive, and on a Mac running 
>> Mandrakelinux and teTeX - the result was the same (same lines 
>> sticking out) on all of them).
>
> can you check if you have hyphenation? there have been pattern 
> problems (changes in names and such)
>
> btw, doe anyone object if i ship generic context patterns in the main 
> zip?
>
> Hans
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

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

* Re: justification
  2005-04-15  6:54 justification Jörg Hagmann
                   ` (2 preceding siblings ...)
  2005-04-15  9:17 ` justification Hans Hagen
@ 2005-04-15 20:12 ` Willi Egger
  2005-04-16 10:50   ` justification Henning Hraban Ramm
  3 siblings, 1 reply; 23+ messages in thread
From: Willi Egger @ 2005-04-15 20:12 UTC (permalink / raw)


Guata obat!

This is nice, another swiss user! (sorry gang for this bit of patriotism)

In fact if you use \setuptolerance[verystrict] will cause TeX to use as 
few glue as possible, so the possibilities to stretch a line to have a 
better breakpoint is lowered. Instead you might use 
\setuptolerance[tolerant, stretch] or even 
\setuptolerance[verytolerant,stretch]

Kind regards
Willi

Jörg Hagmann wrote:
> Dear list members,
> After months of trying to figure out what TeX, ConTeXt etc is and how to 
> install everything needed I finally produced my first document. I was 
> thrilled when I saw real pdf pages with footnotes and all!
> 
> However, I noticed the following problem (no doubt the first of many to 
> come): justification on the right is far from perfect - there are lines 
> sticking out. After going through the manual, I decided that 
> "\setuptolerance[horizontal,verystrict]" in the setup area should do the 
> trick, but it didn't.  Any suggestions? (I set up ConTeXt on two Macs, 
> once with teTeX and once with TeXLive, and on a Mac running 
> Mandrakelinux and teTeX - the result was the same (same lines sticking 
> out) on all of them).
> 
> I am currently writing a textbook and I am looking forward to using 
> ConTeXt.
> 
> PD Dr.med. Jörg Hagmann-Zanolari
> Institute of Biochemistry and Genetics
> DKBW, University of Basel
> Mattenstrasse 28
> CH-4058 Basel
> Switzerland
> Phone +41 (0)61 6953049
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: justification
  2005-04-15 10:20   ` justification Jörg Hagmann
@ 2005-04-15 21:35     ` Hans Hagen
  0 siblings, 0 replies; 23+ messages in thread
From: Hans Hagen @ 2005-04-15 21:35 UTC (permalink / raw)


Jörg Hagmann wrote:
> Hyphenation is working. I attached one pdf-page showing the result to a 
> previous message which is being "hold for approval".

no attachment here

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: AutoScale and AutoSize
  2005-04-15 14:06         ` luigi.scarso
@ 2005-04-15 21:38           ` Hans Hagen
  2005-04-18  7:12             ` Strange link on pragma site ? luigi.scarso
  0 siblings, 1 reply; 23+ messages in thread
From: Hans Hagen @ 2005-04-15 21:38 UTC (permalink / raw)


luigi.scarso wrote:

> Maybe a broken link on site ?

it works ok here; maybe some caching problem on your site?

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Hyphenation-paterns     was:Re: justification
  2005-04-15  9:17 ` justification Hans Hagen
  2005-04-15 10:20   ` justification Jörg Hagmann
  2005-04-15 14:31   ` justification Jörg Hagmann
@ 2005-04-16  7:42   ` Willi Egger
  2 siblings, 0 replies; 23+ messages in thread
From: Willi Egger @ 2005-04-16  7:42 UTC (permalink / raw)


Hi Hans,

For me that is fine.

Willi

Hans Hagen wrote:
> Jörg Hagmann wrote:
> 
>> However, I noticed the following problem (no doubt the first of many 
>> to come): justification on the right is far from perfect - there are 
>> lines sticking out. After going through the manual, I decided that 
>> "\setuptolerance[horizontal,verystrict]" in the setup area should do 
>> the trick, but it didn't.  Any suggestions? (I set up ConTeXt on two 
>> Macs, once with teTeX and once with TeXLive, and on a Mac running 
>> Mandrakelinux and teTeX - the result was the same (same lines sticking 
>> out) on all of them).
> 
> 
> can you check if you have hyphenation? there have been pattern problems 
> (changes in names and such)
> 
> btw, doe anyone object if i ship generic context patterns in the main zip?
> 
> Hans
> 
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: justification
  2005-04-15 20:12 ` justification Willi Egger
@ 2005-04-16 10:50   ` Henning Hraban Ramm
  2005-04-18 12:48     ` justification Jörg Hagmann
  0 siblings, 1 reply; 23+ messages in thread
From: Henning Hraban Ramm @ 2005-04-16 10:50 UTC (permalink / raw)


Am 15.04.2005 um 22:12 schrieb Willi Egger:
> This is nice, another swiss user!

Me too ;-)

> In fact if you use \setuptolerance[verystrict] will cause TeX to use 
> as few glue as possible, so the possibilities to stretch a line to 
> have a better breakpoint is lowered. Instead you might use 
> \setuptolerance[tolerant, stretch] or even 
> \setuptolerance[verytolerant,stretch]

I'd suggest
\setuptolerance[{horizontal,verytolerant,stretch},{vertical,strict}]

German has that many long words that I never get nice columns without 
"stretch".

Grüßlis vom Hraban!
(CH-8274 Tägerwilen TG)
---
http://www.fiee.net/texnique/
http://contextgarden.net

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

* Strange link on pragma site ?
  2005-04-15 21:38           ` Hans Hagen
@ 2005-04-18  7:12             ` luigi.scarso
  0 siblings, 0 replies; 23+ messages in thread
From: luigi.scarso @ 2005-04-18  7:12 UTC (permalink / raw)


Dear users,
it seems that I have some problems with
links to magazines.
If I go to mag-0000 at
http://www.pragma-ade.com/show-mag-1.htm

on bottom right there are
PAGE 1 OF 10
and link
'previous'


If I click on 'previous'
I will go to
http://www.pragma-ade.com/show-mag-10.htm
(mag-0009) and on bottom right appears
PAGE 10 of 11
mag-0009 is not last magazine, so from first I jump to last-1 .

Is it right ?
Does anybody have this 'problems' ?

thanks
luigi

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

* Re: justification
  2005-04-16 10:50   ` justification Henning Hraban Ramm
@ 2005-04-18 12:48     ` Jörg Hagmann
  0 siblings, 0 replies; 23+ messages in thread
From: Jörg Hagmann @ 2005-04-18 12:48 UTC (permalink / raw)


Thank you for the welcome and the suggestions - they worked. I 
misinterpreted the term "strict", thinking it would apply to 
justification. In the future, I'll try a little harder myself before 
asking the next question!

On Apr 16, 2005, at 12:50 PM, Henning Hraban Ramm wrote:

> Am 15.04.2005 um 22:12 schrieb Willi Egger:
>> This is nice, another swiss user!

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

* Re: justification
  2005-04-15  9:32   ` justification Jörg Hagmann
@ 2005-04-18 15:52     ` Peter Münster
  0 siblings, 0 replies; 23+ messages in thread
From: Peter Münster @ 2005-04-18 15:52 UTC (permalink / raw)


On Fri, 15 Apr 2005, Jörg Hagmann wrote:

> See the attachment (testpage.pdf). There is a line sticking out in this 
> way on 3 of 6 pages, plus a few minor protrusions of the width of about 
> one character.

Hello,
seems to be a problem with non-ascii characters. See also:
http://archive.contextgarden.net/message/20040109.203000.b863a98b.html

Could you try this?

\enableregime[il1]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% solution:
\usetypescript[modern][texnansi]
\setupbodyfont[modern]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\starttext
\dorecurse{65}x übernimmt
\stoptext

Cheers, Peter

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

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

* Re: Justification
       [not found] <CAG4oGFRBnKWs=m=Xa72vc7983vhhEs-tvpiJFzC54813Q+iRug@mail.gmail.com>
@ 2013-02-12 14:36 ` Hans Hagen
  0 siblings, 0 replies; 23+ messages in thread
From: Hans Hagen @ 2013-02-12 14:36 UTC (permalink / raw)
  To: Honza Hejzl, mailing list for ConTeXt users

On 2/12/2013 2:24 PM, Honza Hejzl wrote:
> Hello,
>
> I am sorry I am not using mailing list now.
>
> Please, is there any way to use "full-justify" in context? It is a very
> common typographic rule that if the last line of a paragraph is longer
> (and closer) to its end than is the first-line indent ot the same
> paragraph, it should be justified to the end of the line. In Scribus/InD
> and so on there is typically "full-justify" option in formatting the
> paragraph.
>
> Is there any way?
>
> Thanks in advance!
>
> Kind regards, Honza Hejzl
>
> P. S.:
>
>      xxxx
> xxxxxxx
> xxxxxxx
> xxxxx>

\starttext

\setupalign[verytolerant,stretch] \parfillskip\zeropoint

\input tufte

\stoptext

-----------------------------------------------------------------
                                           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] 23+ messages in thread

* Re: Justification
       [not found]   ` <000f01c268a5$3c033190$34a563d9@michal>
@ 2002-09-30 22:16     ` Hans Hagen
  0 siblings, 0 replies; 23+ messages in thread
From: Hans Hagen @ 2002-09-30 22:16 UTC (permalink / raw)
  Cc: ntg-context

At 07:17 PM 9/30/2002 +0200, you wrote:

> > >
> > >xxxxx xxxxx xxxxxx xxxxxx xxx
> > >xx yyyy xxxxxx xx xxxxx xxxxx
> > >xxxx ccccc xxxxx xxxxxxxxxxxxxxx   <= overfull here
> > >xx yyyy xxxxxx xx xxxxx xxxxx
> >
> > \hyphenatedurl{...}

hm, no url but aaaaa12345678

so, how about:

\def\hyphenationpoint
   {\ruledhskip\zeropoint}

\def\hyphenated#1%
   {\bgroup
    \!!counta\zerocount
    \def\hyphenated##1{\advance\!!counta\plusone}%
    \handletokens#1\with\hyphenated
    \!!countb\plusone
    \def\hyphenated##1%
      {##1%
       \advance\!!countb\plusone\relax
       \ifnum\!!countb>2 \ifnum\!!countb<\!!counta
         \hyphenationpoint
       \fi\fi}%
    \handletokens#1\with\hyphenated
    \egroup}

\hyphenated{123456789}
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


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

* Re: Justification
       [not found] <001801c26732$a527a620$17e64dd5@michal>
@ 2002-09-29 22:10 ` Hans Hagen
       [not found]   ` <000f01c268a5$3c033190$34a563d9@michal>
  0 siblings, 1 reply; 23+ messages in thread
From: Hans Hagen @ 2002-09-29 22:10 UTC (permalink / raw)
  Cc: Context

At 10:44 PM 9/28/2002 +0200, =?iso-8859-2?Q?Micha=B3_Morawski?= wrote:
>In many cases (long words, IP addresses, URL (written often as a \type{}),
>etc) text looks like this:
>
>
>xxxxx xxxxx xxxxxx xxxxxx xxx
>xx yyyy xxxxxx xx xxxxx xxxxx
>xxxx ccccc xxxxx xxxxxxxxxxxxxxx   <= overfull here
>xx yyyy xxxxxx xx xxxxx xxxxx

\hyphenatedurl{...}
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


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

end of thread, other threads:[~2013-02-12 14:36 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-15  6:54 justification Jörg Hagmann
2005-04-15  7:35 ` justification luigi.scarso
2005-04-15  9:32   ` justification Jörg Hagmann
2005-04-18 15:52     ` justification Peter Münster
2005-04-15  7:51 ` AutoScale and AutoSize luigi.scarso
2005-04-15  9:26   ` Hans Hagen
2005-04-15 12:07     ` luigi.scarso
2005-04-15 13:35       ` Hans Hagen
2005-04-15 14:06         ` luigi.scarso
2005-04-15 21:38           ` Hans Hagen
2005-04-18  7:12             ` Strange link on pragma site ? luigi.scarso
2005-04-15  9:43   ` AutoScale and AutoSize luigi.scarso
2005-04-15  9:17 ` justification Hans Hagen
2005-04-15 10:20   ` justification Jörg Hagmann
2005-04-15 21:35     ` justification Hans Hagen
2005-04-15 14:31   ` justification Jörg Hagmann
2005-04-16  7:42   ` Hyphenation-paterns was:Re: justification Willi Egger
2005-04-15 20:12 ` justification Willi Egger
2005-04-16 10:50   ` justification Henning Hraban Ramm
2005-04-18 12:48     ` justification Jörg Hagmann
     [not found] <CAG4oGFRBnKWs=m=Xa72vc7983vhhEs-tvpiJFzC54813Q+iRug@mail.gmail.com>
2013-02-12 14:36 ` Justification Hans Hagen
     [not found] <001801c26732$a527a620$17e64dd5@michal>
2002-09-29 22:10 ` Justification Hans Hagen
     [not found]   ` <000f01c268a5$3c033190$34a563d9@michal>
2002-09-30 22:16     ` Justification 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).