[NTG-context] Tex drawing tool

2005-12-12 Thread Boris Pedrofiets

Hi guys,

I run into a drawing tool, capable of generating metapost. It's on 
http://tpx.sourceforge.net/ . It looks great to me, soo I like to share this 
with you all!


Has anyone got any experiance with it?

B.

_
Een audiogesprek? Pak Messenger, niet de telefoon 
http://www1.imagine-msn.com/Messenger/Video.aspx


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Tex drawing tool

2005-12-12 Thread Boris Pedrofiets

Hi guys,

I run into a drawing tool, capable of generating metapost. It's on 
http://tpx.sourceforge.net/ . It looks great to me, soo I like to share this 
with you all!


Has anyone got any experiance with it?

B.

_
Een audiogesprek? Pak Messenger, niet de telefoon 
http://www1.imagine-msn.com/Messenger/Video.aspx


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] blank line

2005-10-21 Thread Boris Pedrofiets

Hi all,

I like to get blank lines (or halve lines) between mij paragraphs. I seem to 
misuntherstand something compleetly, because I can't get it working. Can 
anyone point me out??


Boris

_
Een audiogesprek? Pak Messenger, niet de telefoon 
http://www1.imagine-msn.com/Messenger/Video.aspx


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Modules how?

2005-10-02 Thread Boris Pedrofiets

Hi,


From: Taco Hoekwater

  p-boris.tex
Now you can start your documents with
  \usemodule[boris]



This works when I put the module file in the same directory as my textfile.
When the file is in the same dir as s-mag-01.tex, context can't find it. How 
can I achieve this? And where do I place the picture file (logo) needed in 
my module?


Tanks again!

Boris

_
Zie en hoor je vrienden met MSN Messenger 7.5 
http://www1.imagine-msn.com/Messenger/Video.aspx


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Modules how?

2005-10-01 Thread Boris Pedrofiets
Looking at the files s-mag-01.tex and mag-.tex from the context 
distribution I created a file with layout and defs myself. My question: how 
can I use my-module?


Boris

_
Vind alles terug op je PC: MSN Search Toolbar http://toolbar.msn.nl/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] using 1 layout on several documents

2005-09-30 Thread Boris Pedrofiets

Thank you Peter!

Just wondering...
Looking at the files s-mg-01.tex and mag-.tex from the context 
distribution, there is a different approach. Here I find \usemodule.


What are the differences? And, when use with? Or is it just a metter of 
taste?


Boris.



From: Peter Rolf [EMAIL PROTECTED]
Reply-To: mailing list for ConTeXt users ntg-context@ntg.nl
To: mailing list for ConTeXt users ntg-context@ntg.nl
Subject: Re: [NTG-context] using 1 layout on several documents
Date: Fri, 30 Sep 2005 13:46:45 +0200

Hi Boris,

Boris Pedrofiets wrote:
 Hi,

 I made a layout that I want to use for several documents. What is the
 best way to handle this, without placing a copy of the layout
 description in every file?

Simply use an environment (file).

Something like...

[content of file 'env-mylayout.tex']

\startenvironment env-mylayout

your layout settings

\stopenvironment



Then put the file somewhere in the tex-path
(??/texmf/texmf-local/tex/context/user/ is a good place) and call
texhash/mktexlsr(!), so that context can find it;

Now you can use your layout settings by just typing

\environment env-mylayout

at the beginning of your document (before \starttext).

If the environment is not already defined, then context tries to load a
file with the same name as the environment name (environment foo --
foo.tex). I just use the prefix 'env-' to seperate the env. files from
the rest in this folder (typescripts, modules, ...).

Hope that helps,

Peter

 Thanks for helping!

 Boris

 _
 Vind alles terug op je PC: MSN Search Toolbar http://toolbar.msn.nl/

 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


_
Nieuw op MSN Messenger 7.5: Dynamische achtergronden 
http://www1.imagine-msn.com/Messenger/Audio.aspx


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] help at layout

2005-09-13 Thread Boris Pedrofiets

Thank you Taco.
This is exactly what i needed!

btw. I think I need to do layouts more often. What is good litterature about 
this subject?


Boris




From:  Taco Hoekwater [EMAIL PROTECTED]
Reply-To:  mailing list for ConTeXt users ntg-context@ntg.nl
To:  mailing list for ConTeXt users ntg-context@ntg.nl
Subject:  Re: [NTG-context] help at layout
Date:  Tue, 13 Sep 2005 11:22:21 +0200



Boris Pedrofiets wrote:

Hello,
I want to make a layout where a vertical line is putted at the rigth of 
the left margin. Capters and paragraphs must indent in the left margin, 
and be boxed.

Someting like:


The important trick is to define a special command that does the
typesetting  of the chapter number + text, I hope you're not too
scared of low-level TeX, because in the actual example below I've
added  some low-level stuff to fiddle with the outdent.

This is the basic setup for the chapter command:


  \setupcolors[state=start]

  \def\Boxedchapter#1#2%
{\framed[background=color,
 backgroundcolor=white]{#1.~#2}}

  \setuphead[chapter][command=\Boxedchapter]


The color commands are needed so that the background of the
chapter head overwrites the line in the margin. That line
is a single command, btw:

  \setupbackgrounds[text][leftmargin][state=start,rightframe=on]


Also, I've added a \blank in the example below so that a bit
of the line sticks out above the framed text, that looks
better, I think.


You can look up other options for \setupbackgrounds, \framed and
\setuphead in http://texshow.contextgarden.net, or use your local 'texshow' 
command.



Greetings, Taco


% start
\setupcolors[state=start]

\setupbackgrounds[text][leftmargin][state=start,rightframe=on]

\newdimen\outdentchapter

\outdentchapter=1cm % change this for more or less outdent

\def\Boxedchapter#1#2%
   {\advance\hsize\outdentchapter
\vbox
  {\moveleft\outdentchapter
   \vbox
  {\blank[2*line]
   \framed[background=color,
   backgroundcolor=white]{#1.~#2

\setuphead[chapter][command=\Boxedchapter]

\starttext

\chapter{The first chapter}

\input knuth

\stoptext
% end

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


_
Stuur een voiceclip met MSN Messenger 7.5 
http://www1.imagine-msn.com/Messenger/Video.aspx


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] help at layout

2005-09-12 Thread Boris Pedrofiets
Hello, 
I want to make a layout where a vertical line is putted at the rigth of the left margin. Capters and paragraphs must indent in the left margin, and be boxed.

Someting like:



| 
 |
 [ 2. Chapter ]
 --
|
I'm new on this, so please help me out.
Boris

Vind alles terug op je PC: MSN Search Toolbar klik hier 

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] help with layouts

2005-08-19 Thread Boris Pedrofiets

Hello,

I'm really interested in de context concept. I see several impressive 
layouts at de pragma-ade site.

As a newbie I find it difficult to create such layout.

Can anyone point me some good examples?

thanks
p.

_
Speel online games via MSN Messenger http://messenger.msn.nl/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context