ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* justified text
@ 2002-09-28  9:30 Jens-Uwe Morawski
  2002-09-29 17:06 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Jens-Uwe Morawski @ 2002-09-28  9:30 UTC (permalink / raw)


Ahoi,

today two simple questions (i hope so) caused by a lack of my basic
TeX knowledge.

How can i get fully justified text with hyphenation, as in normal text,
in:
(1) TaBlE (\bTD <Text> \eTD) 
(2) in general in a \vbox{\hsize <dimen> <Text>}

I've tried to modify tolerance (\setuptolerance) but this did not
help.

Thanks in advance.

  Jens


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

* Re: justified text
  2002-09-28  9:30 justified text Jens-Uwe Morawski
@ 2002-09-29 17:06 ` Hans Hagen
  2002-09-30 11:26   ` Jens-Uwe Morawski
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2002-09-29 17:06 UTC (permalink / raw)
  Cc: ConTeXt

At 11:30 AM 9/28/2002 +0200, Jens-Uwe Morawski wrote:

>Ahoi,
>
>today two simple questions (i hope so) caused by a lack of my basic
>TeX knowledge.
>
>How can i get fully justified text with hyphenation, as in normal text,
>in:
>(1) TaBlE (\bTD <Text> \eTD)

[align=normal]

>(2) in general in a \vbox{\hsize <dimen> <Text>}

this normally happens already there, unless you have set justification to 
left / right

>I've tried to modify tolerance (\setuptolerance) but this did not
>help.

\setuptolerance[verytolerant,stretch]

is handy for big docs where you don't want to check justification

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

* Re: justified text
  2002-09-29 17:06 ` Hans Hagen
@ 2002-09-30 11:26   ` Jens-Uwe Morawski
  2002-09-30 19:15     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Jens-Uwe Morawski @ 2002-09-30 11:26 UTC (permalink / raw)


On Sun, 29 Sep 2002 19:06:27 +0200
Hans Hagen <pragma@wxs.nl> wrote:

> At 11:30 AM 9/28/2002 +0200, Jens-Uwe Morawski wrote:
> >How can i get fully justified text with hyphenation, as in normal text,
> >in:
> >(1) TaBlE (\bTD <Text> \eTD)
> 
> [align=normal]
> 
> >(2) in general in a \vbox{\hsize <dimen> <Text>}
> 
> this normally happens already there, unless you have set justification to 
> left / right
> 
> >I've tried to modify tolerance (\setuptolerance) but this did not
> >help.
> 
> \setuptolerance[verytolerant,stretch]

thanks. Setting \setuptolerance[tolerant,stretch] for the \vbox
gives the desired result.

While testing i've got the following error:
! I can't find file `tufte}'.
l.15 \vbox{\hsize 6cm \input tufte}

The TeX-input is:
\vbox{\hsize 6cm \input tufte}

'kpsewhich tufte.tex' gives:
/usr/local/share/texmf-context/tex/context/sample/tufte.tex

and even the following works:

\startbuffer
\input tufte
\stopbuffer

\vbox{\hsize 6cm  \getbuffer}

Can anybody explain why i cannot use \input in \vbox directly?

Jens


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

* Re: justified text
  2002-09-30 11:26   ` Jens-Uwe Morawski
@ 2002-09-30 19:15     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2002-09-30 19:15 UTC (permalink / raw)
  Cc: ConTeXt

At 01:26 PM 9/30/2002 +0200, Jens-Uwe Morawski wrote:

>While testing i've got the following error:
>! I can't find file `tufte}'.
>l.15 \vbox{\hsize 6cm \input tufte}
>
>The TeX-input is:
>\vbox{\hsize 6cm \input tufte}

add a space after the filename, or a \relax

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

end of thread, other threads:[~2002-09-30 19:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-28  9:30 justified text Jens-Uwe Morawski
2002-09-29 17:06 ` Hans Hagen
2002-09-30 11:26   ` Jens-Uwe Morawski
2002-09-30 19:15     ` 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).