ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \startlinenumbering and \starttyping
@ 2004-06-11 16:22 Nikolai Weibull
  2004-06-11 16:52 ` Patrick Gundlach
  0 siblings, 1 reply; 7+ messages in thread
From: Nikolai Weibull @ 2004-06-11 16:22 UTC (permalink / raw)


I hope I'm missing something, because these commands don't seem to
interact flawlessly.  What I do now is

\startlinenumbering
\startfiletyping
Kenneth Brown recent conduct
has been rather unacceptable
in my humble opinion.  It is,
perhaps, not a coincidence that
his last name is the name of
the colour of poo.
\stopfiletyping
\stoplinenumbering

This causes an overfull hbox though:

Overfull \hbox (17.62482pt too wide) in paragraph at lines 196--196
 [] |

\hbox(10.41603+4.05064)x0.0
.\glue(\leftskip) 17.62482
.\hbox(10.41603+4.05064)x0.0
..\rule(10.41603+4.05064)x0.0
..\glue 0.0 plus 1.0fil minus 1.0fil
.\penalty 10000
.\glue(\parfillskip) 0.0 plus 1.0fil
.\glue(\rightskip) 0.0
.etc.

The lines don't go beyond even half the width of the normal paragraph.
Am I doing this wrong in some way?
	nikolai

--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

* Re: \startlinenumbering and \starttyping
  2004-06-11 16:22 \startlinenumbering and \starttyping Nikolai Weibull
@ 2004-06-11 16:52 ` Patrick Gundlach
  2004-06-11 17:05   ` Nikolai Weibull
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Gundlach @ 2004-06-11 16:52 UTC (permalink / raw)


Nikolai Weibull <context-list@pcppopper.org> writes:

> I hope I'm missing something, because these commands don't seem to
> interact flawlessly.  What I do now is
>
> \startlinenumbering


! Undefined control sequence.
<recently read> \startfiletyping 
                                 
l.3 \startfiletyping
                    
! Undefined control sequence.
l.10 \stopfiletyping
                    

What is your def of \startfiletyping?

Patrick
-- 
Es wird kein Wunder geschehen

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

* Re: \startlinenumbering and \starttyping
  2004-06-11 16:52 ` Patrick Gundlach
@ 2004-06-11 17:05   ` Nikolai Weibull
  2004-06-11 17:27     ` Patrick Gundlach
  2004-06-14 11:52     ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Nikolai Weibull @ 2004-06-11 17:05 UTC (permalink / raw)


* Patrick Gundlach <pg@levana.de> [Jun 11, 2004 19:00]:
> What is your def of \startfiletyping?

Argh, should have sticked to the original example - copy and pasted...

Anyway, it is equivalent to

\startlinenumbering
\starttyping
Kenneth Brown recent conduct has been rather
unacceptible in my humble opinion.  It is,
perhaps, not a coincidence that his last name
is the as that of the color of poo.
\stoptyping
\stoplinenumbering

	nikolai

--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

* Re: \startlinenumbering and \starttyping
  2004-06-11 17:05   ` Nikolai Weibull
@ 2004-06-11 17:27     ` Patrick Gundlach
  2004-06-11 19:36       ` Nikolai Weibull
  2004-06-14 11:52     ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Patrick Gundlach @ 2004-06-11 17:27 UTC (permalink / raw)


Hello Nikolai,

> Argh, should have sticked to the original example - copy and pasted...
>
> Anyway, it is equivalent to


[...]

Sorry, your file works fine here, except that there is no
\starttext...\stoptext pair. No error/overfull box/...

...
systems        : begin file test at line 1
[1.1{/opt/texlive/8/texmf/fonts/map/pdftex/updmap/pdftex.map}{/opt/local/texmf/
dvips/config/dolly.map}{/opt/local/texmf/dvips/config/typedesign.map}]
systems        : end file test at line 12
...


Please post a minimal file that is *complete* (!!) and shows the error
/warning you get.

Patrick

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

* Re: \startlinenumbering and \starttyping
  2004-06-11 17:27     ` Patrick Gundlach
@ 2004-06-11 19:36       ` Nikolai Weibull
  0 siblings, 0 replies; 7+ messages in thread
From: Nikolai Weibull @ 2004-06-11 19:36 UTC (permalink / raw)


* Patrick Gundlach <pg@levana.de> [Jun 11, 2004 19:30]:
> Please post a minimal file that is *complete* (!!) and shows the error
> /warning you get.

I tried producing one, but it didn't give.  Weird, I can't understand
why it gets messed up.  Oh well, such is life.
	nikolai

--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

* Re: Re: \startlinenumbering and \starttyping
  2004-06-11 17:05   ` Nikolai Weibull
  2004-06-11 17:27     ` Patrick Gundlach
@ 2004-06-14 11:52     ` Hans Hagen
  2004-06-17 12:02       ` Nikolai Weibull
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2004-06-14 11:52 UTC (permalink / raw)


Nikolai Weibull wrote:

>* Patrick Gundlach <pg@levana.de> [Jun 11, 2004 19:00]:
>  
>
>>What is your def of \startfiletyping?
>>    
>>
>
>Argh, should have sticked to the original example - copy and pasted...
>
>Anyway, it is equivalent to
>
>\startlinenumbering
>\starttyping
>Kenneth Brown recent conduct has been rather
>unacceptible in my humble opinion.  It is,
>perhaps, not a coincidence that his last name
>is the as that of the color of poo.
>\stoptyping
>\stoplinenumbering
>  
>
this works ok  here

what is startfiletyping supposed to do?

\setuptyping[file][numbering=file] \typefile{test.tex}


Hans

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

* Re: Re: \startlinenumbering and \starttyping
  2004-06-14 11:52     ` Hans Hagen
@ 2004-06-17 12:02       ` Nikolai Weibull
  0 siblings, 0 replies; 7+ messages in thread
From: Nikolai Weibull @ 2004-06-17 12:02 UTC (permalink / raw)


* Hans Hagen <pragma@wxs.nl> [Jun 14, 2004 13:52]:
> what is startfiletyping supposed to do?

It was simply a wrapper around starttyping.

> \setuptyping[file][numbering=file] \typefile{test.tex}

OK, this gave ma an idea that worked much better.  Thank you.  (I
originally didn't want to split it out into separate files, but I guess
it was just as well to do so.
	nikolai

--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

end of thread, other threads:[~2004-06-17 12:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-11 16:22 \startlinenumbering and \starttyping Nikolai Weibull
2004-06-11 16:52 ` Patrick Gundlach
2004-06-11 17:05   ` Nikolai Weibull
2004-06-11 17:27     ` Patrick Gundlach
2004-06-11 19:36       ` Nikolai Weibull
2004-06-14 11:52     ` Hans Hagen
2004-06-17 12:02       ` Nikolai Weibull

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