ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* block question
@ 2003-09-25 10:14 Patrick Gundlach
  2003-09-25 13:05 ` Bernd Militzer
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick Gundlach @ 2003-09-25 10:14 UTC (permalink / raw)


Hi ConTeXt users,

I have a question concerning blocks:

%%%%%%%%%%%%%%%%%%%% hello.tex %%%%%%%%%%%%%%%%%%%%
\beginhiho
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis
natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non
turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum
accumsan nisl.  
\endhiho
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%% test.tex %%%%%%%%%%%%%%%%%%%%
\starttext
\defineblock  
   [hiho]

\setupblock   
   [hiho]
   [file=hello]

Test
\useblocks[hiho]
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

gives no sensible output (only "Test"). What am I doing wrong?

Patrick

-- 
You are your own rainbow!

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

* Re: block question
  2003-09-25 13:05 ` Bernd Militzer
@ 2003-09-25 12:38   ` Patrick Gundlach
  2003-09-25 17:12     ` Bernd Militzer
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick Gundlach @ 2003-09-25 12:38 UTC (permalink / raw)


Bernd Militzer <bernd@militzer.net> writes:

Hi,

> so wird es gehen

sorry, but it does not work this way. The file "hello" does not get
loaded. I am clueless.


Patrick
-- 
You are your own rainbow!

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

* Re: block question
  2003-09-25 10:14 block question Patrick Gundlach
@ 2003-09-25 13:05 ` Bernd Militzer
  2003-09-25 12:38   ` Patrick Gundlach
  0 siblings, 1 reply; 5+ messages in thread
From: Bernd Militzer @ 2003-09-25 13:05 UTC (permalink / raw)


Am Don, 2003-09-25 um 12.14 schrieb Patrick Gundlach:
> Hi ConTeXt users,
> 
> I have a question concerning blocks:

%%%%%%%%%%%%%%%%%%%% hello.tex %%%%%%%%%%%%%%%%%%%%
\starttext
\defineblock[hiho]
> 
> \beginhiho
> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
> hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
> nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis
> natoque penatibus et magnis dis parturient montes, nascetur ridiculus
> mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non
> turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum
> accumsan nisl.  
> \endhiho
\stoptext

> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> 
> %%%%%%%%%%%%%%%%%%%% test.tex %%%%%%%%%%%%%%%%%%%%
> \starttext
> \defineblock  
>    [hiho]
> 
> \setupblock   
>    [hiho]
>    [file=hello]
> 
> Test
> \useblocks[hiho]
> \stoptext
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> gives no sensible output (only "Test"). What am I doing wrong?
> 
> Patrick

so wird es gehen

Bernd

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

* Re: block question
  2003-09-25 17:12     ` Bernd Militzer
@ 2003-09-25 15:59       ` Patrick Gundlach
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick Gundlach @ 2003-09-25 15:59 UTC (permalink / raw)


Bernd Militzer <bernd@militzer.net> writes:

Hi,

> run first texexec hello.tex
> then      texecex test.tex
> that works for me!

that does not sound to me that this is the way one is supposed to
use blocks (files).

Patrick
-- 
You are your own rainbow!

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

* Re: Re: block question
  2003-09-25 12:38   ` Patrick Gundlach
@ 2003-09-25 17:12     ` Bernd Militzer
  2003-09-25 15:59       ` Patrick Gundlach
  0 siblings, 1 reply; 5+ messages in thread
From: Bernd Militzer @ 2003-09-25 17:12 UTC (permalink / raw)


Am Don, 2003-09-25 um 14.38 schrieb Patrick Gundlach:
> Bernd Militzer <bernd@militzer.net> writes:
> 
> Hi,
> 
> > so wird es gehen
> 
> sorry, but it does not work this way. The file "hello" does not get
> loaded. I am clueless.
> 
> 
> Patrick

run first texexec hello.tex
then      texecex test.tex
that works for me!

Bernd

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

end of thread, other threads:[~2003-09-25 17:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-25 10:14 block question Patrick Gundlach
2003-09-25 13:05 ` Bernd Militzer
2003-09-25 12:38   ` Patrick Gundlach
2003-09-25 17:12     ` Bernd Militzer
2003-09-25 15:59       ` Patrick Gundlach

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