Re: [NTG-context] context minimals installation

2008-06-24 Thread Hans Hagen
Diego Depaoli wrote:
 Due the differences between csh and bash I argued a bit with system
 variables set by setuptex.
 That's my .login
 setenv TEXROOT /home/diego/tex
 setenv TEXPATH  /home/diego/tex
 setenv TEXOS  texmf-freebsd
 setenv TEXMFOS  /home/diego/tex/texmf-freebsd
 setenv PATH /home/diego/tex/texmf-freebsd/bin:$PATH
 setenv TEXMFCACHE /home/diego/tex/texmf-cache
 and until now all works fine.
 May be TEXMFLOCAL and OSFONTDIR are missed, but I ask...
 are all those variables set by setuptex still needed?

no, most of them are used for convenience inside the script; in the end 
what maters is that tex knows where to find the tree, configuration and 
that the bin path is set up

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Howto float text around an image on layer (in a frame, inside standardmakeup)?

2008-06-24 Thread Wolfgang Schuster
On Tue, Jun 24, 2008 at 3:07 AM, Uwe Koloska [EMAIL PROTECTED] wrote:
 Hello,

 hopefully this is the last dumb question, cause the CD is nearing it's end an
 will be prepared for printing soon ;-)


 How can I float text around a picture if I place them on a layer?

 What I want to achieve is something like this:

 ppp
 ppp
 ...

 but typeset onto a layer to position it at my will ...

Not possible with a layer.

 But I can't get the text flow around the graphic.  Here is a minimal example:
 -
 \definelayer[test]

 \startbuffer[text]
 \placefigure[left,none]{}{\framed[height=1cm]{graphic}}
 \input tufte
 \stopbuffer

 \setlayerframed[test]
  [x=.5\paperwidth,y=2em,location=bottom]
  [width=0.8\textwidth,height=0.3\textheight,align=normal]
  {\getbuffer[text]}

 \setupbackgrounds[page][background=test]

 \starttext
 \startstandardmakeup
 \stopstandardmakeup
 \stoptext
 -

 and the result can be seen in the attached PDF.

 The same happens inside a standardmakeup
 -
 \startbuffer[text]
 \placefigure[left,none]{}{\framed[height=1cm]{graphic}}
 \input tufte
 \stopbuffer

 \starttext
 \startstandardmakeup
 \getbuffer[text]
 \stopstandardmakeup
 \stoptext
 -

 and inside a framedtext
 -
 \startbuffer[text]
 \placefigure[left,none]{}{\framed[height=1cm]{graphic}}
 \input tufte
 \stopbuffer

 \starttext
 \startframedtext[width=0.8\textwidth]
 \getbuffer[text]
 \stopframedtext
 \stoptext
 -

 Neither the mailinglist, nor the wiki or the documentation have given me any
 clue, what to change or where to look further ...

standardmakeup and framedtext use a \vbox and floating text around a image
did not work in restricted vertical mode unless you use ConTeXt's stream
mechanism, you can find examples in m-streams or in the list archive.

 Is there another way to flow text around an image?  The image has a fixed
 position (top left corner of the text) so it don't has to be a float at all.

Do you really need standardmakeup or why do you use it.

A alternative for framedtext is textbackground, it is also the better solution
in grid mode.

\definetextbackground
  [cover]
  [frame=on,
   location=paragraph,
   background=,
   leftoffset=.25ex,
   rightoffset=.25ex,
   topoffset=.25ex,
   bottomoffset=.25ex]

\starttext
\starttextbackground[cover]
\getbuffer[text]
\stoptextbackground
\stoptext

Regards
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Howto float text around an image on layer (in a frame, inside standardmakeup)?

2008-06-24 Thread Hans Hagen
Uwe Koloska wrote:
 Hello,
 
 hopefully this is the last dumb question, cause the CD is nearing it's end an 
 will be prepared for printing soon ;-)
 
 
 How can I float text around a picture if I place them on a layer?
 
 What I want to achieve is something like this:
 
 ppp
 ppp
 

\starthangaround{\externalfigure[cow]}\input tufte \stophangaround

undocumented but already there for a while (in cont-new) so now *you* 
have to wikify it

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] A \part command for ConTeXt

2008-06-24 Thread Hans Hagen
Aditya Mahajan wrote:
 On Tue, 24 Jun 2008, TeXWorld wrote:
 
 Hello,

 In latex, there is the \part command. If my memory is good, this command
 is available only in the book class (and maybe report).
 Is there an equivalent command in ConTeXt ?
 
 Yes, it is called \part :)
 
 Actually, \part does not work out of the box, you need to do
 
 \setuphead[part][placehead=yes]
 
 \starttext
 
 \part {Something important}
 
 \input tufte
 
 \stoptext
 
 Hans, why is \part defined with placehead=no?

because in most cases there is a more fancy sthing needed than just a 
part title; also, we don't want 0.1 as chapter number when we don't use 
parts

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Howto float text around an image on layer (in a frame, inside standardmakeup)?

2008-06-24 Thread Thomas A. Schmitz

On Jun 24, 2008, at 9:40 AM, Hans Hagen wrote:

 \starthangaround

That's a great name for an environment! :-)

Thomas
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Howto float text around an image on layer (in a frame, inside standardmakeup)?

2008-06-24 Thread Uwe Koloska
Hello Hans,

Am Dienstag, 24. Juni 2008 schrieb Hans Hagen:
 \starthangaround{\externalfigure[cow]}\input tufte \stophangaround

 undocumented but already there for a while (in cont-new) so now *you*
 have to wikify it

Thank you for all your help!  Yes I *have to* wikify all the stuff I learned 
while setting the Booklet.  And I promise, I will do it!

Best regards
Uwe

-- 
Dipl.-Ing. Uwe Koloska
Leiter Softwareentwicklung

voice INTER connect GmbH   Tel +351 481 088 3
Ammonstraße 35 Fax +351 438 399 25
01067 Dresden - Germanywww.voiceinterconnect.de
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupitemize[afterhead=...] not working

2008-06-24 Thread Peter Münster
On Tue, Jun 24 2008, Wolfgang Schuster wrote:

 @Peter: afterhead is meant for vertical material like skips, rules
 etc. or you could
 use to draw a frame around the itemize head.

Ok, so afterhead applies only to the \head command. I've chosen \txt{},
because I need something like this:

\setupitemize[headstyle=\bf\groupedcommand{}{:}, width=5em, distance=1em]
\starttext
\startitemize
\txt{Short}
\input tufte
\txt{Very very very long}
\input tufte
\stopitemize
\stoptext

Should \head better be used for this purpose? And if yes, how?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupitemize[afterhead=...] not working

2008-06-24 Thread Wolfgang Schuster
On Tue, Jun 24, 2008 at 11:45 AM, Peter Münster [EMAIL PROTECTED] wrote:
 On Tue, Jun 24 2008, Wolfgang Schuster wrote:

 @Peter: afterhead is meant for vertical material like skips, rules
 etc. or you could
 use to draw a frame around the itemize head.

 Ok, so afterhead applies only to the \head command. I've chosen \txt{},
 because I need something like this:

 \setupitemize[headstyle=\bf\groupedcommand{}{:}, width=5em, distance=1em]
 \starttext
 \startitemize
 \txt{Short}
 \input tufte
 \txt{Very very very long}
 \input tufte
 \stopitemize
 \stoptext

 Should \head better be used for this purpose? And if yes, how?

You should better use descriptions, this is what your example looks
like and what I guess only by looking at the output.

Regards
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] context minimals installation

2008-06-24 Thread Alan Stone
i suspect there's a (configuration) file containing a path specification
which scite uses to catch some path setting to the old context directory,
hence that path could be modified to first look in the new context directory

any clues which file that is and where it's located ?

alan
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] context minimals installation

2008-06-24 Thread Mojca Miklavec
On Tue, Jun 24, 2008 at 12:15 PM, Alan Stone wrote:
 i suspect there's a (configuration) file containing a path specification
 which scite uses to catch some path setting to the old context directory,
 hence that path could be modified to first look in the new context directory

 any clues which file that is and where it's located ?

If you don't find any suggestions here, ask on the context-dev mailing
list, explain in short what you have already written here - Norbert
will definitely know the answer. (Put debian or ubuntu in subject
line :)

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupitemize[afterhead=...] not working

2008-06-24 Thread Peter Münster
On Tue, Jun 24 2008, Wolfgang Schuster wrote:

  \setupitemize[headstyle=\bf\groupedcommand{}{:}, width=5em, distance=1em]
  \starttext
  \startitemize
  \txt{Short}
  \input tufte
  \txt{Very very very long}
  \input tufte
  \stopitemize
  \stoptext
 
  Should \head better be used for this purpose? And if yes, how?
 
 You should better use descriptions, this is what your example looks
 like and what I guess only by looking at the output.

Indeed, but I don't know how to do that with descriptions... :(
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] NTG bijeenkomst in Purmeend

2008-06-24 Thread Willi Egger
Beste TeX-gebruikers,

de NTG organiseert a.s. donderdag 26 juni een bijeenkomst. Iedereen,  
die interesse heeft is hartelijk uitgenodigd om na de  
ledenvergadering aan te schuiven en mee te luisteren.

Het programma ziet er uit als volgt:

09:30   Ontvangst met koffie en thee
10:00   Ledenvergadering met bestuursverkiezingen
10:45   Pauze
11:00   Hans Hagen: MATHml
11:30   Taco Hoekwater: MPlib: het project, de library en de toekomst
12:15   Siep Kroonenberg: TeX-Live installatie
12:45   Lunch
14:00   Hans Hagen; Actuele stand van ontwikkeling op LuaTeX
14:30   Frans Goddijn: Zelf je boek uitgeven
15:00   Pauze
15:30   Willi Egger: Brieven in internationale context
16:00   Einde van de bijeenkomst


De bijeenkomst vindt plaats in het Partycentrum Concordia, Koemarkt  
45, 1441 DB Purmerend


Vriendelijke groeten


Willi Egger
Secretaris NTG
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] page header and footer question

2008-06-24 Thread Alan Stone
With...

\setuppagenumbering[alternative=doublesided]

how do you prevent the

- page header, and/or
- page footer

to be displayed on an occasional even blank
page between a previous chapter last page
and the next chapter page ?

Alan
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] page header and footer question

2008-06-24 Thread Alan Stone
just found something here...
http://wiki.contextgarden.net/Titles

will try it out.

alan


On Tue, Jun 24, 2008 at 9:36 PM, Alan Stone [EMAIL PROTECTED]
wrote:

 With...

 \setuppagenumbering[alternative=doublesided]

 how do you prevent the

 - page header, and/or
 - page footer

 to be displayed on an occasional even blank
 page between a previous chapter last page
 and the next chapter page ?

 Alan

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___