Re: [NTG-context] no graph after compilation

2004-08-12 Thread Hans Hagen
Patrick Gundlach wrote:
Hello,
 

i did, but it has side-effects...
it will scale, but the color disappears too.
try.
   

This is indeed strange. Any metapost experts?
 

how did the graphic definition look? 

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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] no graph after compilation

2004-08-12 Thread Hans Hagen
Patrick Gundlach wrote:
There is no way to update this automaticalliy. But take a look at the
wiki and http://levana.de/context/  (still need to put this into the
wiki).
 

actually, if you run a minimal tree, you can do a sycn with the tree on out server using texsync, but i have to test that -) 

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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Custom Numbering Problem

2004-08-12 Thread Hans Hagen
Salman Khilji wrote:
Two problems:
1)  With the following:
\setuphead[section][ownnumber=yes]
\setupbodyfont[cmr,12pt]
\starttext
\completecontent
\section{1a0101}{Objective}
There is no objective at this moment.
\stoptext
There is no spacing between the text 1a0101 and Objective in the table of 
contents---this looks really ugly.
 

\setuplist[chapter,section][width=4em]
However, what I really want is the ownnumber to apply to \title, not a 
\section.  So if I do this:

\setuphead[title][ownnumber=yes]
\setupbodyfont[cmr,12pt]
\starttext
\completecontent
\title{1a0101}{Minimum Radius Turn}
\section{Objective}
There is no objective at this moment.
\stoptext
 

titles are unnumbered heads
\definehead[MyTitle][chapter]
\setuphead[MyTitle][ownnumber=yes]
\MyTitle{}{}
(\placelist[MyTitle] etc)
Then the number 1a0101 does not appear right next to a title. (I only see 
Minimum Radius Turn as opposed to the expected 1a0101  Minimum Radius 
Turn.  Also my \section{Objective} has numbering.  I thought numbering was 
turned off by default on \title \section \subsection etc.

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op virussen.
Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst waar op wordt 
gecontroleerd.

 


--
-
 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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: no graph after compilation

2004-08-12 Thread Patrick Gundlach
Hello Hans and Floris,

This is indeed strange. Any metapost experts?
  
 how did the graphic definition look? Hans

Well, a look at the source while being awake (although this is hardly
possible without coffee yet) made it clear, that there is a simple
drawoptions() missing to erase the former drawoptions() statement.

So Floris, use:

[...]


%   enable/disable this section %%
picture pic ; pic := currentpicture ;
currentpicture := nullpicture ;

drawoptions();
draw pic scaled 1.0 ;
%

[...]


Patrick
-- 
ConTeXt wiki: http://contextgarden.net
texshow-web:  http://texshow.contextgarden.net
List archive: http://archive.contextgarden.net
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] no graph after compilation

2004-08-12 Thread Patrick Gundlach
Hello Floris,

 i got the update from pragma-ade.com, unzipped the files in
 c:\texlive\texmf i did run the texexec --make
 but i still have texexec 4.0 running...

Any windows / texlive users should be able to tell you more. 

But unzipping it on top of the texlive was not the very best idea I'd
guess. The directory structure has changed a bit with respect to the
location of scripts and metapost files, so your old texlive metafun
macros will be used.

Patrick
-- 
ConTeXt wiki: http://contextgarden.net
texshow-web:  http://texshow.contextgarden.net
List archive: http://archive.contextgarden.net
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] automatic page sizes?

2004-08-12 Thread Christopher Creutzig
Dear everyone,
 I do know that this question has been answered here before, but I've 
not been able to find it in the archive (and my personal copy got lost 
when the harddrive of my previous laptop went berserk).

 How do I make ConTeXt emit a pdf file where each page is just as long 
as necessary for the text on it, up to say 1 meter?  Page breaks would 
usually, but not always, be initiated by some macro or other; footers 
are not used (yet?).

Regards,
Christopher Creutzig
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] no graph after compilation

2004-08-12 Thread Eros Albertazzi
Patrick Gundlach wrote:
But unzipping it on top of the texlive was not the very best idea I'd
guess. 
I agree... but be aware that in 
http://contextgarden.net/Linux_Installation this is just what is suggested
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] automatic page sizes?

2004-08-12 Thread Hans Hagen
Christopher Creutzig wrote:
Dear everyone,
 I do know that this question has been answered here before, but I've 
not been able to find it in the archive (and my personal copy got lost 
when the harddrive of my previous laptop went berserk).

 How do I make ConTeXt emit a pdf file where each page is just as long 
as necessary for the text on it, up to say 1 meter?  Page breaks would 
usually, but not always, be initiated by some macro or other; footers 
are not used (yet?).
\startTEXpage
\stopTEXpage 

-
 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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: automatic page sizes?

2004-08-12 Thread Christopher Creutzig
Patrick Gundlach [EMAIL PROTECTED] writes:

 Just look for pervert idiot on the archive ;-) Perhaps this is what
 you need.

 Thanks indeed.  It seems I really need to practice finding the
proper search keywords. :-))

 http://archive.contextgarden.net/search/[EMAIL PROTECTED],idiot.html

 Oh, by the way: The links inside the archive (e.g., the previous
and next buttons) for me sometimes(??) have the @ sign
spam-protected, so lurker says, Bad request
(2004...%20%3Cat%3E%20page.html): The given parameter was not of the
correct format. ...

-- 
+--+
   +--+|   
   |+-|+Christopher Creutzig ([EMAIL PROTECTED])
   +--+ Tel.: 05251-60-5525
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] no graph after compilation

2004-08-12 Thread Floris van Manen
h.

I just want to use context with the metafun and xml features.
I don't know if that is minimal enough :-)

HH actually, if you run a minimal tree, you can do a sycn with the
HH tree on out server using texsync, but i have to test that -)

via google i found:

http://www.pragma-ade.com/general/manuals/mtexsync-s.pdf

in that document is a link:

http://www.pragma-ade.com/system/rsync-cw.zip

but that seems to be void these days :-(

how do i get this texsync, it seems the right tool for me...

thanks
% floris


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] no graph after compilation

2004-08-12 Thread Floris van Manen
 But unzipping it on top of the texlive was not the very best idea I'd
 guess. 
EA 
EA I agree... but be aware that in 
EA http://contextgarden.net/Linux_Installation this is just what is suggested

and precisely what i therefor did :-(

% f

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] no graph after compilation

2004-08-12 Thread Patrick Gundlach
Hi Floris,

 that is explaining the situation. But for an end-user (i try to keep
 myself on that level) it is *not* very convenient left with this
 situation (not knowing it exists in the first place)

Not all hope is lost. IIRC there were two important differences from
your texlive upto now:

1) paths of scripts have changed (now in texmf/scripts/context/perl/
   I don't remember were they were ... wait texmf/context/perltk)

2) metafun macros are now in metapost/context/base (hmm, it looks as
   if this is now since a long time ... OK found it: this was in
   metapost/context in version 2003.1.28 and in .../base in version
   2003.1.30 - long time before current texlive came out. You use the
   current texlive (almost a year old now))?

So you are probably only affected by 1). Any window user should tell
you how to use the texexec.pl from the scripts path and use this in
favour of the default one.

 I guess i have to uninstall the present pftex and start from
 scratch.

Oh no, don't do this. It looks fine. An uptodate texexec is not
extremely important.

 Which one is the best option to get Context,metafun,xml working?
 And i would like to have a similar working set on my OSX laptop too.
 Where are the experts ? :-)

You use texlive on your OS X laptop? That is what I have, too. I have
not taken the default ConTeXt, but downloaded a current one from
Pragma ADE page and installed it in a spearate directory and did a
few things that are mentioned on my old ConTeXt page
(http://levana.de/context).


 Hints for improvement:


[...]

I'll return to the live... next week, I'll save your (and the other)
suggestions until then.

Patrick

-- 
ConTeXt wiki: http://contextgarden.net
texshow-web:  http://texshow.contextgarden.net
List archive: http://archive.contextgarden.net
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] no graph after compilation

2004-08-12 Thread Hans Hagen
Patrick Gundlach wrote:
that is explaining the situation. But for an end-user (i try to keep
myself on that level) it is *not* very convenient left with this
situation (not knowing it exists in the first place)
   

Not all hope is lost. IIRC there were two important differences from
your texlive upto now:
1) paths of scripts have changed (now in texmf/scripts/context/perl/
  I don't remember were they were ... wait texmf/context/perltk)
2) metafun macros are now in metapost/context/base (hmm, it looks as
  if this is now since a long time ... OK found it: this was in
  metapost/context in version 2003.1.28 and in .../base in version
  2003.1.30 - long time before current texlive came out. You use the
  current texlive (almost a year old now))?
So you are probably only affected by 1). Any window user should tell
you how to use the texexec.pl from the scripts path and use this in
favour of the default one.
 

if you have textools.rb:
textools --fixtexmftrees
will fix the tree
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: no graph after compilation

2004-08-12 Thread Hans Hagen
Floris van Manen wrote:
what is going on here???
is this the babel of our time? :-)
OK, i re-installed a fresh copy of fpTex with the Context option.
It will *not* install texexec at first.
only after removing and re-installing the context option it will.
then i added/unzipped all the cont-*.zip files into the texmf folder.
i also copied the texexec.pl files into the place where the original
files were.
when i do a texexec --make  at pone point it will complain.
(c:/TeXLive/texmf/metapost/context/base/metafun.mp
! I can't find file `plain.mp'.
l.27   input plain.mp
 ; % John Hobby's file
Please type another input file name:
 

if you install context, you can best do it into 

 texmf-local 

(sometimes texmflocal) 

that way the files will be found there first; (it's also easier to prune that tree) 

here i have: 

texmf : latest tex live
texmf-local : updates 
texmf-fonts : all kind if font stuff
texmf-project : project files 

(i set the texmf cum suis variables to handle that) 

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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] getting context going

2004-08-12 Thread Floris van Manen
hans.


i re-started fresh (again :-) re-installing livetex using the
texsetup.exe command.

HH if you install context, you can best do it into
HH 
HH   texmf-local 
HH 
HH (sometimes texmflocal) 
HH 
HH that way the files will be found there first; (it's also easier to prune
HH that tree) 

i did that too.

HH if you have textools.rb:
HH 
HH textools --fixtexmftrees
HH 
HH will fix the tree


i did find textools.rb in the folder
C:\texlive\texmf-local\scripts\context\ruby

when i type the instruction windows does not (yet) understand it.

C:\textools --fixtexmftrees
'textools' is not recognized as an internal or external command,
operable program or batch file.


in the windows environment there is:

path  c:\texlive\bin\win32;...
texmfcnf  c:\texlive\texmf-var\web2c
texmftemp c:\texlive\temp




texexec --verbose gives the following:

C:\texexec --verbose
Kpathsea released!

 TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003

  current path : C:/Documents and Settings/vm/Desktop
 locating ini file : found by kpsewhich
   reading : c:/TeXLive/texmf/context/config/texexec.ini
   setting : 'TeXShell' to 'fptex' for 'all'
   setting : 'UsedInterfaces' to 'en nl metafun mptopdf' for 'all'
   setting : 'UserInterface' to 'en' for 'all'
   setting : 'TeXExecutable' to 'tex' for 'all'
   setting : 'MpExecutable' to 'mpost' for 'all'
   setting : 'MpToTeXExecutable' to 'mpto' for 'all'
   setting : 'DviToMpExecutable' to 'dvitomp' for 'all'
   setting : 'DviSpecialScript' to 'dvispec' for 'all'
   setting : 'MpFormat' to 'metafun' for 'all'
   setting : 'TeXFormatFlag' to '' for 'all'
   setting : 'MpFormatFlag' to '' for 'all'
   setting : 'TeXFontsPath' to 'l:/tex/texmf;l:/tex/texmf-local;' fo
r 'all'
   setting : 'TeXHashExecutable' to 'mktexlsr' for 'fptex'
   setting : 'TeXExecutable' to 'pdfetex' for 'fptex'
   setting : 'TeXVirginFlag' to '-ini' for 'fptex'
   setting : 'TeXPassString' to '-progname=context --default-transla
te-file=cp8bit' for 'fptex'
   setting : 'TeXBatchFlag' to '-int=batchmode' for 'fptex'
   setting : 'MpToTeXExecutable' to 'mpto' for 'fptex'
   setting : 'MpVirginFlag' to '-ini' for 'fptex'
   setting : 'MpPassString' to '-progname=mpost' for 'fptex'
   setting : 'MpBatchFlag' to '-int=batchmode' for 'fptex'

  used setting : TeXShell = fptex
  used setting : SetupPath =
  used setting : UserInterface = en
  used setting : UsedInterfaces = en nl metafun mptopdf
  used setting : TeXFontsPath = l:/tex/texmf;l:/tex/texmf-local;
  used setting : MpExecutable = mpost
  used setting : MpToTeXExecutable = mpto
  used setting : DviToMpExecutable = dvitomp
  used setting : TeXProgramPath =
  used setting : TeXFormatPath =
  used setting : ConTeXtPath =
  used setting : TeXScriptsPath =
  used setting : TeXHashExecutable = mktexlsr
  used setting : TeXExecutable = pdfetex
  used setting : TeXVirginFlag = -ini
  used setting : TeXBatchFlag = -int=batchmode
  used setting : TeXNonStopFlag = -int=nonstopmode
  used setting : MpBatchFlag = -int=batchmode
  used setting : MpNonStopFlag = -int=nonstopmode
  used setting : TeXPassString = -progname=context --default-translate-f
ile=cp8bit
  used setting : TeXFormatFlag = 
  used setting : MpFormatFlag = 
  used setting : MpVirginFlag = -ini
  used setting : MpPassString = -progname=mpost
  used setting : MpFormat = metafun
  used setting : MpFormatPath =
  used setting : FmtLanguage =
  used setting : FmtBodyFont =
  used setting : FmtResponse =
  used setting : TcXPath =
  used setting : SetFile =

 applications will use : c:\TeXLive\texmf-var\web2c/texmf.cnf
  locating fmtutil : C:/TeXLive/bin/win32/fmtutil.exe

--help   overview of all options and their values
--help all   all about all options
  --help short   just the main options
   --help mode ... pdf   all about a few options
--help '*.pdf'   all about options containing 'pdf'

total run time : 0 seconds






the problem to me is that it is difficult to know what to look for and
where. then it turns out that the documentation is not in sync with
reality. that makes it difficult for a novice user (which i try to
remain :-).

i'm really looking forward in using context, but getting the car out
of the garage is cumbersome.

which (automatic) setup is best to use for XP and OSX ?

as i wrote before, i hope at least that there is also a positive
aspect to my stumbling e.g. what do people wrong...


% floris



Re: [NTG-context] getting context going

2004-08-12 Thread Hans Hagen
Floris van Manen wrote:
C:\textools --fixtexmftrees
'textools' is not recognized as an internal or external command
 

operable program or batch file.
 

it's a ruby script so you need to install ruby 

(i'll upload a new minimal tree so that you can just download, and unzip that one; easier -) 

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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \startenvironment \currentfile

2004-08-12 Thread Peter Mnster
Hello,
isn't it redundant:
\startenvironment filename
\startproject filename
\startproduct filename
\startcomponent filename
??

Is this argument really needed?
\startenvironment xxx seems to works too.

Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context