* Unexpected indentation
@ 2011-02-18 11:18 Richard Lennox
2011-02-18 12:35 ` Hans Hagen
2011-02-18 14:16 ` Wolfgang Schuster
0 siblings, 2 replies; 6+ messages in thread
From: Richard Lennox @ 2011-02-18 11:18 UTC (permalink / raw)
To: ntg-context
Hi,
getting unexpected o/p with the following (both locally and on http://live.contextgarden.net/:
It took me a while to come across the second incantation to get my desired o/p but I would be obliged if anyone would care to comment on why the first does not work as (I) expected.
I would expect both addresses to be indented the same amount but only the first line of the first address appears indented as expected:
\starttext
% define skip before paragraphs (default is no skip)
\setupwhitespace[3.5mm]
%\setupwhitespace[big]
\hskip 2cm 9/99 Addr Line 1 Street\hfil\break
\hskip 2cm Addr Line 2\hfil\break
\hskip 2cm City\hfil\break
\startnarrower[2*left]
\startalignment[right]
2/99 addr line 1\hfil\break
addr line 2\hfil\break
addr line 3
\stopalignment
\stopnarrower
\stoptext
___________________________________________________________________________________
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] 6+ messages in thread
* Re: Unexpected indentation
2011-02-18 11:18 Unexpected indentation Richard Lennox
@ 2011-02-18 12:35 ` Hans Hagen
2011-02-18 17:04 ` Richard Lennox
2011-02-21 10:07 ` Richard Lennox
2011-02-18 14:16 ` Wolfgang Schuster
1 sibling, 2 replies; 6+ messages in thread
From: Hans Hagen @ 2011-02-18 12:35 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Richard Lennox
On 18-2-2011 12:18, Richard Lennox wrote:
> Hi,
>
> getting unexpected o/p with the following (both locally and on http://live.contextgarden.net/:
>
> It took me a while to come across the second incantation to get my desired o/p but I would be obliged if anyone would care to comment on why the first does not work as (I) expected.
>
> I would expect both addresses to be indented the same amount but only the first line of the first address appears indented as expected:
>
>
> \starttext
>
> % define skip before paragraphs (default is no skip)
> \setupwhitespace[3.5mm]
> %\setupwhitespace[big]
>
> \hskip 2cm 9/99 Addr Line 1 Street\hfil\break
> \hskip 2cm Addr Line 2\hfil\break
> \hskip 2cm City\hfil\break
>
> \startnarrower[2*left]
> \startalignment[right]
> 2/99 addr line 1\hfil\break
> addr line 2\hfil\break
> addr line 3
> \stopalignment
> \stopnarrower
>
> \stoptext
use \crlf
-----------------------------------------------------------------
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] 6+ messages in thread
* Re: Unexpected indentation
2011-02-18 12:35 ` Hans Hagen
@ 2011-02-18 17:04 ` Richard Lennox
2011-02-21 10:07 ` Richard Lennox
1 sibling, 0 replies; 6+ messages in thread
From: Richard Lennox @ 2011-02-18 17:04 UTC (permalink / raw)
To: mailing list for ConTeXt users, Hans Hagen
Hi Hans,
I was trying to keep it simple. I omitted to mention that I also tried \crlf as well, with the same result as \hfill\break (i.e. indentation not as expected).
--- On Fri, 18/2/11, Hans Hagen <pragma@wxs.nl> wrote:
> From: Hans Hagen <pragma@wxs.nl>
> Subject: Re: [NTG-context] Unexpected indentation
> To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
> Cc: "Richard Lennox" <rlx_01@yahoo.com>
> Date: Friday, 18 February, 2011, 4:35
> On 18-2-2011 12:18, Richard Lennox
> wrote:
> > Hi,
> >
> > getting unexpected o/p with the following (both
> locally and on http://live.contextgarden.net/:
> >
> > It took me a while to come across the second
> incantation to get my desired o/p but I would be obliged if
> anyone would care to comment on why the first does not work
> as (I) expected.
> >
> > I would expect both addresses to be indented the same
> amount but only the first line of the first address appears
> indented as expected:
> >
> >
> > \starttext
> >
> > % define skip before paragraphs (default is no skip)
> > \setupwhitespace[3.5mm]
> > %\setupwhitespace[big]
> >
> > \hskip 2cm 9/99 Addr Line 1 Street\hfil\break
> > \hskip 2cm Addr Line 2\hfil\break
> > \hskip 2cm City\hfil\break
> >
> > \startnarrower[2*left]
> > \startalignment[right]
> > 2/99 addr line
> 1\hfil\break
> > addr line 2\hfil\break
> > addr line 3
> > \stopalignment
> > \stopnarrower
> >
> > \stoptext
>
> use \crlf
>
> -----------------------------------------------------------------
>
>
> 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] 6+ messages in thread
* Re: Unexpected indentation
2011-02-18 12:35 ` Hans Hagen
2011-02-18 17:04 ` Richard Lennox
@ 2011-02-21 10:07 ` Richard Lennox
2011-02-21 10:13 ` Wolfgang Schuster
1 sibling, 1 reply; 6+ messages in thread
From: Richard Lennox @ 2011-02-21 10:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
I am trying to understand how context is working.
Would anyone like to comment on why the following does not work as expected?
"hfil\break" and "\crlf" do not indent after the first line (but "\startnarrower" works):
\starttext
\setupwhitespace[3.5mm]
\hskip 2cm 9/99 Addr Line 1 Street\hfil\break
\hskip 2cm Addr Line 2\hfil\break
\hskip 2cm City\hfil\break
\hskip 2cm 9/99 Addr Line 1 Street\crlf
\hskip 2cm Addr Line 2\crlf
\hskip 2cm City\crlf
\startnarrower[2*left]
\startalignment[right]
2/99 addr line 1\hfil\break
addr line 2\hfil\break
addr City
\stopalignment
\stopnarrower
\stoptext
[snip]
___________________________________________________________________________________
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] 6+ messages in thread
* Re: Unexpected indentation
2011-02-18 11:18 Unexpected indentation Richard Lennox
2011-02-18 12:35 ` Hans Hagen
@ 2011-02-18 14:16 ` Wolfgang Schuster
1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2011-02-18 14:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 18.02.2011 um 12:18 schrieb Richard Lennox:
> Hi,
>
> getting unexpected o/p with the following (both locally and on http://live.contextgarden.net/:
>
> It took me a while to come across the second incantation to get my desired o/p but I would be obliged if anyone would care to comment on why the first does not work as (I) expected.
>
> I would expect both addresses to be indented the same amount but only the first line of the first address appears indented as expected:
>
> \startnarrower[2*left]
> \startalignment[right]
> 2/99 addr line 1\hfil\break
> addr line 2\hfil\break
> addr line 3
> \stopalignment
> \stopnarrower
\startnarrower[2*left]
\startlines
2/99 addr line 1
addr line 2
addr line 3
\stoplines
\stopnarrower
Wolfgang
___________________________________________________________________________________
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] 6+ messages in thread
end of thread, other threads:[~2011-02-21 10:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 11:18 Unexpected indentation Richard Lennox
2011-02-18 12:35 ` Hans Hagen
2011-02-18 17:04 ` Richard Lennox
2011-02-21 10:07 ` Richard Lennox
2011-02-21 10:13 ` Wolfgang Schuster
2011-02-18 14:16 ` Wolfgang Schuster
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).