Re: [NTG-context] problem with texmf-local on Vista

2009-12-04 Thread Christopher G D Tipper
OK, that fixes it (except I prefer tex/context/user/mine). I have been 
using tex/sources for over a decade though.


Many thanks for your patience.

Christopher

Mojca Miklavec wrote:

On Thu, Dec 3, 2009 at 18:53, Christopher G D Tipper wrote:

So following your instructions I get:

C:\Users\Christopherkpsewhich -progname=texexec basic-template
c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex


Does it help if you move the file to
c:/Users/Christopher/Library/texmf/tex/context/third/mine/basic-template.tex

The important thing might be to put it under tex/context/[whatever].
The location tex/[whatever] won't work in general.

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

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


Re: [NTG-context] problem with texmf-local on Vista

2009-12-03 Thread Christopher G D Tipper
OK the problem becomes clearer. The map files are now fixed, and texexec 
now complains it cannot find punr8a.pfb. Copying all pfb and afm files 
to c:\context\texmf-context\font\type1\adobe\univers and refreshing the 
filename database with mktexlsr allows the document to compile.


I have two problems:
(1) (The original problem) putting the pfb and afm files in texmf-local 
and updating filename database does not work. So texmf-local is being 
ignored.


(2) (My real problem, preventing me from using my own setups) \input 
basic-template where basic-template.tex is in the local tree is an error 
and the file will not compile.


However, I get this:
C:\Users\Christopherkpsewhich basic-template
c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex

C:\Users\Christopher

So for some reason texexec is not using kpsewhich to find setups. Why not?

Christopher


Mojca Miklavec wrote:

On Wed, Dec 2, 2009 at 15:23, Christopher G D Tipper wrote:

Hi Mojca,

We are talking about a problem with texexec.bat,
and I have a feeling that texexec.exe may behave differently, once I can
execute it.


Unlikely.

I just wanted to say that texexec.exe itself is also working (if I
copy Taco's mtxrun.exe to texexec.exe).



Yes, I forgot to mention that I copied all files to the Desktop (including
the tfm and the typescript) and got the same error with texexec.bat.


If you copied all the files to desktop (including map and enc files
and removing the directory structure) and tried to compile a tex file
on desktop ...it could be that there's something wrong with either
files or ConTeXt, not necessary with wrong tree structure.

I highly suspect a problem with same map file (missing, failed to load
or corrupted). The tfm file itself is not enough. You also need to
load a map file that has the line with that font included (unless it's
a mf fonts).


Also I last had Context working on this PC in May, and the file compiled
fine. However, I removed MikTeX 2.7 shortly after that (which was broken)
and have been unable to use Context since. Not a problem, as I have a
working setup on my Mac, but there is very little reason to upgrade the Mac,
as everything I need currently works.


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

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


Re: [NTG-context] problem with texmf-local on Vista

2009-12-03 Thread Christopher G D Tipper

So following your instructions I get:

C:\Users\Christopherkpsewhich -progname=texexec basic-template
c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex

C:\Users\Christophertexmfstart --locate basic-template.tex
C:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex
C:\Users\Christopher

However when I run texexec, I get an error:
texexec --pdf --interface=en --nonstop rss-tech-tip.tex
...
(c:/context/texmf-context/tex/context/base/spec-fdf.mkii))
! I can't find file `basic-template'.
l.1 \input basic-template

(Press Enter to retry, or Control-Z to exit)
Please type another input file name
! Emergency stop.
l.1 \input basic-template

I don't have a clue what's happening, I'm afraid.

Christopher

Hans Hagen wrote:

Christopher G D Tipper wrote:
OK the problem becomes clearer. The map files are now fixed, and 
texexec now complains it cannot find punr8a.pfb. Copying all pfb and 
afm files to c:\context\texmf-context\font\type1\adobe\univers and 
refreshing the filename database with mktexlsr allows the document to 
compile.


I have two problems:
(1) (The original problem) putting the pfb and afm files in 
texmf-local and updating filename database does not work. So 
texmf-local is being ignored.


(2) (My real problem, preventing me from using my own setups) \input 
basic-template where basic-template.tex is in the local tree is an 
error and the file will not compile.


However, I get this:
C:\Users\Christopherkpsewhich basic-template
c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex

C:\Users\Christopher

So for some reason texexec is not using kpsewhich to find setups. Why 
not?


you can simulate what context looks for with:

texmfstart --locate basic-template.tex

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


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


Re: [NTG-context] problem with texmf-local on Vista

2009-12-02 Thread Christopher G D Tipper

Hi Mojca,

I recommend we wait until the issue with executables referenced in my 
previous post is resolved. We are talking about a problem with 
texexec.bat, and I have a feeling that texexec.exe may behave 
differently, once I can execute it. (Tell Hans to test it on Vista, as 
he seemed to jump to the conclusion that I was using XP).


However, my setups have been transferred directly from my iMac, and the 
test document compiles using gwTeX and an 18-month old version of Context.


Christopher

Mojca Miklavec wrote:

On Sun, Nov 29, 2009 at 23:20, Christopher G D Tipper wrote:

Hi,

I am a user of Context from the old days, and usually don't need much help
installing the software. However, I am needing to use Contextminimals for
the first time, as Miktex 2.8 has dropped Context support.

My problem is that I have a lot of my own setups and personal fonts and
Contextminimals seems to have some problem dealing with local setups. I am
using MkII by the way but these problems seem to exist in MkIV also.

I have a font, Univers, installed to texmf-local with texfont and Context
claims it cannot find the font definitions.

running texexec I get the following:

!pdfTeX error: pdftex.exe (file 8r-raw-punr8a): Font 8r-raw-punr8a at 432
not found
 == Fatal error occurred, no output PDF file produced!
TeXExec | runtime: 10.311


Hello Christopher,

You may try one thing before starting the struggle with files. Can you
try to put all the files that you need in current directory (the one
from where you need to compile your document)? If that works then
there's indeed a problem with TeX trees. If not, there might even be a
problem with files themselves or with typescripts.

(It looks like you have used the files before, but an extra check
would not hurt.)

It could be that some map file is missing or has not been properly
generated. TeXfont might be a bit buggy.

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


Re: [NTG-context] problem with texmf-local on Vista

2009-12-02 Thread Christopher G D Tipper

Hi Mojca,

Yes, I forgot to mention that I copied all files to the Desktop 
(including the tfm and the typescript) and got the same error with 
texexec.bat.


Also I last had Context working on this PC in May, and the file compiled 
fine. However, I removed MikTeX 2.7 shortly after that (which was 
broken) and have been unable to use Context since. Not a problem, as I 
have a working setup on my Mac, but there is very little reason to 
upgrade the Mac, as everything I need currently works.


Christopher

Mojca Miklavec wrote:

On Wed, Dec 2, 2009 at 15:23, Christopher G D Tipper wrote:

Hi Mojca,

I recommend we wait until the issue with executables referenced in my
previous post is resolved. We are talking about a problem with texexec.bat,
and I have a feeling that texexec.exe may behave differently, once I can
execute it. (Tell Hans to test it on Vista, as he seemed to jump to the
conclusion that I was using XP).


Hans works on Vista. I tested Taco's executables on Windows 7 and they
seem to work ok, but I can confirm that what's currently in
distribution is broken on windows. (Which means that Hans either needs
to take Taco's executables or completely remove them from distribution
and I'll add them in minimals separately.) But then again ... I forgot
to test texexec.exe, luatools.exe and mtxrun.exe run just fine. (2GB
of ram hardly suffices to run windows inside VM since OSX with Safari
alone takes it all, but I'll try to test again later.)

I could use ugly patches now to remove the broken executables and
replace them with newer ones, but I hope that Hans will fix that issue
soon enough.


However, my setups have been transferred directly from my iMac, and the test
document compiles using gwTeX and an 18-month old version of Context.


18 months most probably refers to TeX Live 2007 ... the fonts should
still work, but anything is possible.

There are two easy things to check if the tree is guilty:
- either copy everything to current directory
- or copy everything to texmf-context and run mktexlrs

If it starts working then you may judge the tree structure, else it
must be some other problem.

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

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


[NTG-context] Windows executables not DOS in beta

2009-12-01 Thread Christopher G D Tipper

Hi,

I just updated to the latest beta on Vista and I get the following 
executing texexec.exe:

This program cannot be run in DOS mode.

Isn't this just a compiler switch? Would be helpful as I am calling 
texexec from a Tcl script.


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


Re: [NTG-context] Windows executables not DOS in beta

2009-12-01 Thread Christopher G D Tipper
No still not working. I've discounted the 'cygwin1.dll' issue as there 
are only two copies on my hard-disk and the non-Context one is 
definitely not on my path.


Christopher

Hans Hagen wrote:

Massimiliano Lambertini wrote:

Christopher G D Tipper wrote:
I just updated to the latest beta on Vista and I get the following 
executing texexec.exe:

This program cannot be run in DOS mode.
I stumbled upon it in my XP box. I checked out on google and it seemed 
that this bug had someting to do with the presence of multiple copies 
of cygwin1.dll in your executable path.


However, wiping out all supplemental cygwin copies did not address the 
problem :-(


new beta

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


Re: [NTG-context] Windows executables not DOS in beta

2009-12-01 Thread Christopher G D Tipper
OK, further investigations suggests that ctxtools has been fixed but 
texexec returns the same message, This program cannot be run in DOS 
mode. No problem, it's not urgent.


Christopher

Christopher G D Tipper wrote:
No still not working. I've discounted the 'cygwin1.dll' issue as there 
are only two copies on my hard-disk and the non-Context one is 
definitely not on my path.


Christopher

Hans Hagen wrote:

Massimiliano Lambertini wrote:

Christopher G D Tipper wrote:
I just updated to the latest beta on Vista and I get the following 
executing texexec.exe:

This program cannot be run in DOS mode.
I stumbled upon it in my XP box. I checked out on google and it 
seemed that this bug had someting to do with the presence of multiple 
copies of cygwin1.dll in your executable path.


However, wiping out all supplemental cygwin copies did not address 
the problem :-(


new beta

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


--
o00o
  In the beginning there was nothing. God said, 'Let there be
   light!' And there was light. There was still nothing, but
   you could see it a whole lot better.
   -- Ellen DeGeneres
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] problem with texmf-local on Vista

2009-11-30 Thread Christopher G D Tipper




Message: 2
Date: Mon, 30 Nov 2009 10:33:00 +0100
From: Hans Hagen pra...@wxs.nl
To: mailing list for ConTeXt users ntg-context@ntg.nl
Subject: Re: [NTG-context] problem with texmf-local on Vista
Message-ID: 4b13914c.1000...@wxs.nl
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Christopher G D Tipper wrote:

Hi,

I am a user of Context from the old days, and usually don't need much 
help installing the software. However, I am needing to use 
Contextminimals for the first time, as Miktex 2.8 has dropped Context 
support.


My problem is that I have a lot of my own setups and personal fonts and 
Contextminimals seems to have some problem dealing with local setups. I 
am using MkII by the way but these problems seem to exist in MkIV also.


I have a font, Univers, installed to texmf-local with texfont and 
Context claims it cannot find the font definitions.


running texexec I get the following:

!pdfTeX error: pdftex.exe (file 8r-raw-punr8a): Font 8r-raw-punr8a at 
432 not found

 == Fatal error occurred, no output PDF file produced!
TeXExec | runtime: 10.311

ConTeXt Full finished at Sun Nov 29 21:58:36

Then from command prompt, I type:
C:\Users\Christopherkpsewhich 8r-raw-punr8a.tfm
c:/context/texmf-local/fonts/tfm/adobe/univers/8r-raw-punr8a.tfm

C:\Users\Christophercontext --version
MTXrun | main context file: 
c:/context/texmf-context/tex/context/base/context.te

x
MTXrun | current version: 2009.10.27 16:35

How do I get Context to recognise the local setup?


can you check the TEXMF variable?


 there should be texmf-local as well as texmf-fonts and texmf-project

 (i normally put fonts in texmf-fonts)

This is set in several places, and I can never tell which takes precedence.

But User Environment variable TEXMF is set to:
{%HOME%\Library\texmf,c:\context\texmf,c:\context\texmf-local,c:\context\texmf-context,c:\context\texmf-mswin}

Then we have C:\context\texmf\web2c\texmf.cnf with the following line:
TEXMF = 
{$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFOS,!!$TEXMFEXTRA,!!$TEXMFMAIN}


Then we have C:\context\texmf-context\web2c\context.cnf with the 
following line:
TEXMF = 
{$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFEXTRA,!!$TEXMFMAIN}


Then we have C:\context\texmf-local\web2c\texmf.cnf with the following line:
TEXMF = 
{$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFOS,!!$TEXMFEXTRA,!!$TEXMFMAIN}


Note I am also trying to use TEXMFHOME, but this problem also exists and 
fixing one may fix both.


Christopher



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


[NTG-context] problem with texmf-local on Vista

2009-11-29 Thread Christopher G D Tipper

Hi,

I am a user of Context from the old days, and usually don't need much 
help installing the software. However, I am needing to use 
Contextminimals for the first time, as Miktex 2.8 has dropped Context 
support.


My problem is that I have a lot of my own setups and personal fonts and 
Contextminimals seems to have some problem dealing with local setups. I 
am using MkII by the way but these problems seem to exist in MkIV also.


I have a font, Univers, installed to texmf-local with texfont and 
Context claims it cannot find the font definitions.


running texexec I get the following:

!pdfTeX error: pdftex.exe (file 8r-raw-punr8a): Font 8r-raw-punr8a at 
432 not found

 == Fatal error occurred, no output PDF file produced!
TeXExec | runtime: 10.311

ConTeXt Full finished at Sun Nov 29 21:58:36

Then from command prompt, I type:
C:\Users\Christopherkpsewhich 8r-raw-punr8a.tfm
c:/context/texmf-local/fonts/tfm/adobe/univers/8r-raw-punr8a.tfm

I know this is not strictly relevant to MkII, but for comparison:
C:\Users\Christopherluatools --expand-path TEXMFLOCAL
c:/context/texmf-local

Also
C:\Users\Christophertexexec --version
TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

C:\Users\Christophercontext --version
MTXrun | main context file: 
c:/context/texmf-context/tex/context/base/context.te

x
MTXrun | current version: 2009.10.27 16:35

How do I get Context to recognise the local setup?

Christopher


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


[NTG-context] dosetupidentity problem

2007-06-13 Thread Christopher G D Tipper
Hi friends,

I've been using eXaMpLe for some years and I find that recently  
dosetupidentity stopped doing anything. (This is a setup for document  
headers in PDF). I was wondering if this was a bug, as I used to get  
Acrobat Document Properties and now I don't, simply from updating  
ConTeXt.

I am using latest gwTeX on Mac OS X.
(Web2C 7.5.6) (format=cont-en 2007.5.15)

Sample code:

\defineXMLenvironment [meta]
   {\bgroup
\defineXMLpush[author]
\defineXMLpush[subject]
\defineXMLpush[head]
\defineXMLpush[keywords]}
   {\dosetupidentity
 {\XMLpop{head}}
 {\XMLpop{subject}}
 {\XMLpop{author}}
 {TeX with the ConTeXt macro package}
 {}
 {\XMLpop{keywords}}
   \egroup}

Many thanks, it's been a long time!
Christopher

___
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] indenting in XML environment

2006-01-15 Thread Christopher G D Tipper

Hi Taco,

I've found the miscreant. In my stylesheet I have
\def\eDroppedCaps
{\DroppedCaps
{} {ptmr8r}
{2.2\baselineskip} {2pt} {\baselineskip} {2}}

and in my XML I have:
\defineXMLcommand [dropped-caps] \eDroppedCaps

and for some reason this screws up all paragraph indenting. Has this  
changed recently, because it used to work?


Christopher


xml-indenting.tex
Description: Binary data
document
body
pdropped-caps /Thus, I came to the conclusion that the designer of a new
system must not only be the implementer and first   
large-scale user; the designer should also write the first 
user manual.
/p
pThe separation of any of these four components would have   
hurt tex/ significantly. If I had not participated fully in
all these activities, literally hundreds of improvements
would never have been made, because I would never have  
thought of them or perceived why they were important.   
/p
pBut a system cannot be successful if it is too strongly 
influenced by a single person. Once the initial design is   
complete and fairly robust, the real test begins as people  
with many different viewpoints undertake their own  
experiments.
/p
/body
/document


On 14 Jan 2006, at 23:09, Taco Hoekwater wrote:


I've created a test file with this appended to your definition:

\defineXMLenvironment[p]{}{\par}
\starttext
\startXMLdata
body
ptext/p
ptext/p
ptext/p
/body
\stopXMLdata
\stoptext

And it nicely indents the second and third paragraph.

I would use
\noindentation }
instead of
{\noindening} }
but both possibilities work out fine here.


o00o
  “Since light travels faster than sound, isn’t that why
   some people appear bright until you hear them speak”
  — Steve Wright


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


Re: [NTG-context] New Installation under miktex, not working

2006-01-15 Thread Christopher G D Tipper
Some defaults from my old MiKTeX .ini file (local-texmf/scripts/perl/ 
texexec.ini) I can't test this as I have defected to a saner  
platform :-)


enable variable miktex at top of file and some variation of this below.

for  miktex  set  UsedInterfacesto  en, uk
for  miktex  set  UserInterface to  uk
for  miktex  set  TeXExecutable to  pdfetex.exe
for  miktex  set  TeXVirginFlag to  -initialize
for  miktex  set  TeXBatchFlag  to  -interaction=batchmode
for  miktex  set  TeXFormatFlag to  
for  miktex  set  MpToTeXExecutable to  mptotex.exe
for  miktex  set  MpVirginFlag  to  -initialize
for  miktex  set  MpPassString  to
for  miktex  set  MpBatchFlag   to  -interaction=batchmode
for  miktex  set  MpFormat  to  metafun
for  miktex  set  MpFormatFlag  to  -undump=
for  miktex  set  TeXFormatPath   to d:\local-texmf\miktex\fmt\
for  miktex  set  ConTeXtPath to d:\local-texmf\tex\context\base\
for  miktex  set  SetupPath   to c:\Progra~1\MiKTeX\miktek\base\
for  miktex  set  TeXScriptsPath  to d:\local-texmf\scripts\context 
\perl\

for  miktex  set  TeXProgramPath  to c:\Progra~1\MiKTeX\miktex\bin\

Also mptopdf will not work unless you set the TEXSYSTEM environment  
variable to miktex as on ContextGarden.


Also it occurs to me that texexec will not recognise test.txt, but  
will expect test and add .tex itself.


Don't forget to update fndb at every opportunity from MikTeX's  
management app.


Christopher


Todd DeVries wrote:

Hi,
I'm attempting to install context under miktex 2.4. I've updated the
format files and followed other instructions as per the contextgarden
discussions. I'm probably missing something really obvious and would
appreciate any help offered.  I receive this output when running the
following commands:

texexec test.txt


Are you sure your tex file has extension txt? Your output is precisely
what you get when texexec cannot find the input file, so I am a bit
suspicious that that may be the problem.

For the warnings: You need to tell texexec that you are running
miktex, but I do not know how precisely that is done (I use tetex)

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


o00o
  “Since light travels faster than sound, isn’t that why
   some people appear bright until you hear them speak”
  — Steve Wright


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


[NTG-context] indenting in XML environment

2006-01-14 Thread Christopher G D Tipper
Ok, after taking deep breath I'll try this issue again. I got  
indenting to work after putting \noindenting inside its own environment.


However, the following code block stopped working recently and I  
don't know why:


\defineXMLenvironment[body]
  {\bgroup
   \rm\setupwhitespace[none]
   \setupindenting[small,yes]
   \startcolumns[rule=on,n=2,tolerance=strict]
   {\noindenting} }
  {\stopcolumns
   \egroup}

It just doesn't indent anything, even after removing the  
{\noindenting} environment.


Christopher
o00o
  “Since light travels faster than sound, isn’t that why
   some people appear bright until you hear them speak”
  — Steve Wright


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


[NTG-context] paragraph indenting

2006-01-06 Thread Christopher G D Tipper

Hi,

I hope this is not a bug, and that the reference manual is just  
incorrect.


In
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)  
(format=cont-en 2005.12.24)  6 JAN 2006 20:07

ConTeXt  ver: 2005.12.19  fmt: 2005.12.24  int: english  mes: english

The following produces no indenting at all. I expect all paragraphs  
to be indented except for the very first.


\starttext

\setupindenting[small]

\noindenting\input knuth
\input knuth

\stoptext

Some of my very old stylesheets stopped working when I moved to a new  
machine. What is the new syntax, please?


Christopher
o00o
  “Since light travels faster than sound, isn’t that why
   some people appear bright until you hear them speak”
  — Steve Wright


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


Re: [NTG-context] paragraph indenting

2006-01-06 Thread Christopher G D Tipper


On 6 Jan 2006, at 21:03, Hans Hagen wrote:


In
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)   
(format=cont-en 2005.12.24)  6 JAN 2006 20:07

ConTeXt  ver: 2005.12.19  fmt: 2005.12.24  int: english  mes: english



\setupindenting[small,yes] % small sets it, yes enables it

btw in you rexample you hav eonly one paragraph


I am truly sorry but this solution does not work for me. And if you  
try the example it has six paragraphs.


Christopher

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


o00o
  “Since light travels faster than sound, isn’t that why
   some people appear bright until you hear them speak”
  — Steve Wright


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


Re: [NTG-context] TaBle example fails

2004-04-01 Thread Christopher G D Tipper
On 31 Mar 2004 at 8:44, George N. White III wrote:

 On Tue, 30 Mar 2004, Christopher G D Tipper wrote:
 
  I am learning the TaBle package and I get the following from a verbatim
  example from the manual.
 
 ConTeXt uses heavily modified macros.  There is \ObeyTableBarAndQuote,
 but you still need to use the ConTeXt versions of the macros.  See
 core-tab.tex.
 

I see, so the TaBle manual is redundant? When's someone going to write 
The ConTeXt Book.

Christopher

 --
 George N. White III  [EMAIL PROTECTED]
   Head of St. Margarets Bay, Nova Scotia, Canada
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context

o00o
  Since light travels faster than sound, isn't that why 
   some people appear bright until you hear them speak 
  - Steve Wright

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


Re: [NTG-context] Typescript for Helvetica - what's wrong?

2004-03-30 Thread Christopher G D Tipper
On 30 Mar 2004 at 16:54, Stefan Wachter wrote:

 Hi all!
 
 I tried to write a typescript to use the Helvetica PDF base 14 fonts. 

What on earth is wrong with

\setupencoding [default=8r]
\usetypescript [berry][8r]

\setupbodyfont
  [pos,12pt]

Christopher
o00o
  Since light travels faster than sound, isn't that why 
   some people appear bright until you hear them speak 
  - Steve Wright

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


[NTG-context] TaBle example fails

2004-03-30 Thread Christopher G D Tipper
I am learning the TaBle package and I get the following from a verbatim 
example from the manual.

\handleTABLEerror ...LE {columnspan too large}\SR 
  \or \fillTABLEcolumns \ttt...
l.54 \use2
 control \\
? 
! Emergency stop.

The \use#1 function always returns an error code.

With following input (exercise 5, p.61)

\BeginTable
\BeginFormat
| r |   c   |   c   |   r   |
\EndFormat
\use2 control \\
alive  dead  \\+02
\use2 \=  \\0
 low risk  | 5 |  ~3   |   8\\
\use3 \=   \\0
 high risk | 4 |  26   |  30\\
\use3 \=   \\0
9 |  29   |  39\\
\EndTable

Is there a way around this snafu?

Christopher
o00o
  Since light travels faster than sound, isn't that why 
   some people appear bright until you hear them speak 
  - Steve Wright

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


Re: [NTG-context] floats in column sets [was: (no subject)]

2004-02-23 Thread Christopher G D Tipper
   I find myself with a similar problem with floats not working. Could I 
  have a link to 'columns.pdf'. I have searched the website, but no joy.
 
 what do you mean with 'not working', floats in column sets behave 

I found columns.pdf, about columnsets. This is useful stuff, but text does not wrap 
around images. For example 

\placefigure[fxtb:1*1,none]{}{\externalfigure[letwin_101001][width=2.5cm, lines=7]}

drops an image in the right place, but it is floating in the centre of the column. 
There is really no way of getting text to wrap around an image, like I was expecting.

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


Re: [NTG-context] floats in column sets [was: (no subject)]

2004-02-20 Thread Christopher G D Tipper
 At 07:15 05/02/2004, you wrote:
 Hallo,
 
 it seems to me that text surrounding is ignored for floats inside columns,
 see the code below. Am I right?
 
 yes; see columns.pdf for the many figure options in column sets
 
 Hans  
 I find myself with a similar problem with floats not working. Could I have a link to 
'columns.pdf'. I have searched the website, but no joy.

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


Re: [NTG-context] floats in column sets [was: (no subject)]

2004-02-20 Thread Christopher G D Tipper
 yes; see columns.pdf for the many figure options in column sets
 
 Hans  
 I find myself with a similar problem with floats not working. Could I have a link to 
 'columns.pdf'. I have searched the website, but no joy.
I reply to my own message because I have found columns.pdf in tex/sources/user, but 
this is meaningless to me. Are there some undocumented \placefigure switches I need to 
know about?

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


Re: [NTG-context] floats in column sets [was: (no subject)]

2004-02-20 Thread Christopher G D Tipper
 yes; see columns.pdf for the many figure options in column sets
 
 Hans  
 I find myself with a similar problem with floats not working. Could I have a link to 
 'columns.pdf'. I have searched the website, but no joy.

Thanks for your help, for others in this situation the url is
http://www.pragma-ade.com/overview.htm

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


Re: [NTG-context] newbie question about xml

2004-02-19 Thread Christopher G D Tipper
 It would be wonderful if I could find an easy way to translate my 
 ConTeXt source-files to html. So I was wondering if going via xml would 

XML in Context is designed for those who plan to set up an XML workflow, and need PDF 
output. Certainly I use example, but as part of existing workflow starting from XML 
source. I use XSLT to produce HTML, and Context offers no help here. There was some 
discussion on this list about adapting T4Ht for Context before Christmas, so check the 
mailing list.

 3) If I understand xml in context correctly, one has to specify quite 
 a few of the xml commands in a dtd so ConTeXt understands them. I had a 

Use a header file with your example commands in it. A DTD is used for parsing XML, and 
is really if different ball-game.

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


Re: [NTG-context] PDF - JPEG was:(no subject)

2004-01-27 Thread Christopher G D Tipper
 I wonder how can I direct get a flowchart in some imgage formats (e.g. in png, 
 jpg format) from the source tex file. Are there some 
 tricks in the settings of the tex source file?

Use Ghostscript and use the JPEG output converter
http://www.cs.wisc.edu/~ghost/index.html
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] UnicodeRegular

2004-01-17 Thread Christopher G D Tipper
At 17:46 16/01/2004, you wrote:
I am trying to find a euro symbol for my work.

MikTeX has a comprehensive package manager,  and I have tried installing 
packages uni [billed as The Universal Font] and universa but no joy. 
Does anyone know where to get this font? Please don't tell me from YY :-)

do you need unicode?

   \usesymbols[eur]

hans

Actually this just requires another font I don't have (eurose). If anyone has any 
exeprience with Unicode I would like the flexibility this provides, as the euro is 
just a sample case. btw I have searched CTAN for UnicodeRegular and eurose, and no 
hits. If anyone happens to know which package bundles either of these two fonts I'd 
appreciate it. Especially if you have it working in MiKTeX 2.4.

Thanks all.
Christopher

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


[NTG-context] UnicodeRegular

2004-01-16 Thread Christopher G D Tipper
I am trying to find a euro symbol for my work.

I have \def\euro{\uchar{32}{172}} [character #x20AC; which I got from some XSL-FO 
literature I downloaded] and I use 
\defineXMLentity[euro]  {\euro}
as I am transforming from XML.

What I then get is 
! Font \unicodefont=UnicodeRegular20 at 10.0pt not loadable: Metric (TFM) file 
not found.

MikTeX has a comprehensive package manager,  and I have tried installing packages 
uni [billed as The Universal Font] and universa but no joy. Does anyone know 
where to get this font? Please don't tell me from YY :-)

Christopher
o00o
  Since light travels faster than sound, isnt that why 
   some people appear bright until you hear them speak 
   Steve Wright
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: ConTeXt Switcher?

2003-12-11 Thread Christopher G. D. Tipper
 Date: Wed, 10 Dec 2003 01:27:34 +0100
 From: Giuseppe Bilotta [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re[2]: [NTG-context] ConTeXt Switcher?
 Reply-To: [EMAIL PROTECTED]

 Not that I see the purpose of using Word in the frist place.
 Any decent editor has enough macro power to do the same.

 -- 
 Giuseppe Oblomov Bilotta

You missed the point. You markup and style your document using Word
styles, and then XML is a matter of search and replace. I am not interested
in Word per se, but I find using emacs to insert markup during document
creation gets in the way of my thought processes. This way I can push markup
worries to the editorial stage.

People are fond of pointing out Words vices, and I wouldn't quibble with
arguments about its stability, but it is about time OpenOffice and its ilk
stopped resting on their laurels and started implementing some macro
capability. I notice that AbiWord has a DocBook output format, but how well
integrated this is I don't know.

On Micro$oft's part if they had some real competition a real market in
third-party templates might arrive. As it stands I have a 50% solution that
handles footnotes and lists, but re-distribution is hampered by the way Word
handles its templates and virus worries. Theoretically I could do tables and
limited image markup using the same techniques. Leveraging the visual layout
tools of a word-processor makes so much sense I wonder at the mentality of
people still struggling with text-editors. I have emacs set up on my
machine, but it really looks like back to the future from my point of view.
I use WinEdt when I'm booted into Windows.

btw you can use the same technique to generate native Context markup. It
needs hand-editting, but as a rough draft, this works fine for me, and I
don't have to re-invent the wheel every time I have a new document.

Christopher


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


[NTG-context] Re: ntg-context digest, Vol 1 #581 - 7 msgs

2003-12-10 Thread Christopher G. D. Tipper
 Date: Wed, 10 Dec 2003 01:27:34 +0100
 From: Giuseppe Bilotta [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re[2]: [NTG-context] ConTeXt Switcher?
 Reply-To: [EMAIL PROTECTED]

 Not that I see the purpose of using Word in the frist place.
 Any decent editor has enough macro power to do the same.

 -- 
 Giuseppe Oblomov Bilotta

You missed the point. You markup and style your document using Word
stylesheets, and then XML is a matter of search and replace. A hold load
better than a lame text-editor. If Word hadn't got such a stupid macro
installation technology (templates have never been promoted properly by
Micor$oft) this would be routine stuff. It would probably be a pain to
automatically markup tables, and handling image properties is something I
haven't investigated, but as a 50% solution it works for me. As for TOCs and
bibliographies, use Context. btw exactly the same technique works for
generating LaTeX commands. Context is just so much more elegant.

Christopher


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


Re: [NTG-context] ConTeXt Switcher?

2003-12-09 Thread Christopher G D Tipper
 On Dec 8, 2003, at 2:33 PM, Henning Hraban Ramm wrote:
 
  Am Montag, 08.12.03, um 18:20 Uhr (Europe/Zurich) schrieb Bob 
  Kerstetter:
  ConTeXt is very attractive because of its detailed control, layers, 
  colors, few or no packages(!), magical developers, and on and on. 
  It can obvious produce PDF. Can it also produce HTML and Word from 
  the same document?
 
  The normal way to get both PDF and HTML is using a XML source.
  You know of ConTeXts native XML mode?
  AFAIK you can import XML or HTML into MS Office, too, so you need no 
  real Word DOC output.
  Or perhaps there's an other XML to RTF/DOC Konverter...
 
 I know XML source should work, but at least for me, creating XML source 
 is unproductive.  I work with a text editor and find writing this:
 
 ``Hello world,'' says HAL.
 
 much more productive than writing this:
 
 p#8220;Hello world#8221;/p, says HAL.
 
 Maybe I'm missing something, but for writing, XML's markup requirements 
 -- which are invisible to field-based data entry screen -- are way too 
 intense for hand-editing. TeX source is much less verbose. It is easier 
 to create, proof (both visually and audibly),  spell check 
 troubleshoot, etc. I have not seen an editor capable of doing XML 
 source in a productive manner, like (La)TeX with text editor. 

This is probably taboo, but surely the smart thing to do is start from Word, generate 
some XML with macros, and produce some HTML with stylesheets, some PDF with ConTeXt. 
BTW you can generate some simple Context with VB macros and hand-edit -- saves a whole 
load of mundane stuff. I can go from a web page to PDF in under 15 minutes using the 
Word macros I have for Context.

Christopher


o00o
  Since light travels faster than sound, isnt that why 
   some people appear bright until you hear them speak 
   Steve Wright
?'mx%g({`Xm' ffX)?'m