Re: [NTG-context] White Space in Running Headers

2014-12-04 Thread Neal Lester
The following gets me close to what I am looking for.  Adding
\setupinterlinespace[1pt] seems to suppress the addition of space between
the lines of the header.  Changing the interlinespace only seems to have an
effect above some threshold related to the font size. For example, changing
1pt to 3pt has no visible effect. Changing 1pt to 10pt adds space between
the first and second lines only. Changing 1pt to 100pt adds space between
lines 1/2 and 2/3. I would prefer to have precise control over the space
between the lines, but I can live with this (it is much better than the
large spaces which appear of you remove the \setupinterlinespace
declarations).

This still leaves the problem of calculating the header height provided in
\setuplayout so that body text is a set distance from the header for
arbitrary font size, number of lines, and text contained in the header.

Thanks, Neal

\starttext
\setuppapersize[letter]
\setuplayout[topspace=0.20in,height=10.60in,header=28pt,footer=0.32in,headerdistance=0.03in,footerdistance=0.03in,backspace=0.3in,width=7.90in]
\setuppagenumbering [location=]
\define\headerframe{{\framed[frame=on,strut=no,offset=0.0pt,height=fit,width=7.9in,align=middle]{{\switchtobodyfont[24.00pt]\setupinterlinespace[1pt]
ee\par}
{\switchtobodyfont[10.00pt]\setupinterlinespace[1pt]
ee\par}
{\switchtobodyfont[24.00pt]\setupinterlinespace[1pt]
ee\par
\setupheadertexts[\headerframe][]
This is the body text.
\stoptext


On Wed, Dec 3, 2014 at 10:06 AM, Hans Hagen pra...@wxs.nl wrote:

 On 12/1/2014 9:57 PM, Neal Lester wrote:

 What is the best way to obtain precise control over the space between
 lines in a multi-line running header.  I need to be able to set the font
 size within each line by point size. Different lines may have different
 font sizes (indeed, there may be different font sizes within a single
 line).

 I've tried a number of approaches but always seem to end up with
 unexpected white space somewhere.


 if you want an answer you need to provide a minimal example showing the
 problem

 Hans


 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 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
___

[NTG-context] White Space in Running Headers

2014-12-01 Thread Neal Lester
What is the best way to obtain precise control over the space between lines
in a multi-line running header.  I need to be able to set the font size
within each line by point size. Different lines may have different font
sizes (indeed, there may be different font sizes within a single line).

I've tried a number of approaches but always seem to end up with unexpected
white space somewhere.

Thanks,

Neal
___
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] Keep Rows together in Natural Tables

2014-11-18 Thread Neal Lester
Is there a way to keep two rows in a natural table together (on the same
page)?

Thanks,

Neal
___
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] Unable To Render Table With Over 3000 Rows

2014-06-03 Thread Neal Lester
Somehow I ended up with a file called cont-tmf.zip thinking it was the
beta.  I can't even find the (apparently obsolete) page I downloaded that
from again. Anyway, installing the beta (per the context garden
instructions) worked with the new default. It did pick-up changes to
luatex.savesize.
 Thanks for the help.

Neal


On Mon, Jun 2, 2014 at 4:06 PM, Hans Hagen pra...@wxs.nl wrote:

 On 6/2/2014 8:32 PM, Neal Lester wrote:

 Are there instructions for installing the beta?  I can't find them.


 Did you look at contextgarden.net? At the top of the page there is a link.

 Hans


 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 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] Unable To Render Table With Over 3000 Rows

2014-06-02 Thread Neal Lester
Are there instructions for installing the beta?  I can't find them.

Thanks,

Neal


On Fri, May 30, 2014 at 12:19 PM, john Culleton j...@wexfordpress.com
wrote:

 On Fri, 30 May 2014 18:11:46 +0200
 Hans Hagen pra...@wxs.nl wrote:

  On 5/28/2014 6:34 PM, Neal Lester wrote:
   When I attempt to render a table with more
   than about 3000 rows I get the following
   error.  Searching the archives I found one
   message suggesting that [save size] is hard
   coded and cannot be increased.
  
   The application is rendering business
   reports; they are relatively simple documents
   but we definitely need more than 3000 rows.
   Is there a way to configure context to render
   tables of this size?
 
  at some point you will hit other limitations
 
  you can jump the number by changing a line in
  the source code but as that is cumbersome I
  changed the beta a bit so that you can add this
  line in the texmfcnf.lua file in the directives
  section:
 
   [luatex.savesize] = 10,
 
  (i now report the relevant values at the end of
  a context --make run as some need to be saved
  with the format due to startup relationships)
 
  I also set the value to 100K by default.
 
  Hans
 
   Thanks,
  
   Neal Lester
  
   (C:/projects/context/tex/texmf-context/tex/context/base/cont-yes.mkiv
  
   ConTeXt  ver: 2014.01.03 00:40 MKIV current
   fmt: 2014.5.28  int: english/english
  
   system   'cont-new.mkiv' loaded
   (C:/projects/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
   system   files  jobname
   'temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47',
   input
   './temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47',
   result
   'temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47'
   fontslatin modern fonts are not
   preloaded languageslanguage 'en' is
   active
  
 (C:/projects/jinny/report_builder/temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47.tex{C:/projects/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
   fontspreloading latin modern
   fonts (second stage) fonts   
   typescripts  unknown library
   'loc'
 {C:/projects/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/projects/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
   fonts'fallback modern rm 12pt'
   is loaded structuresectioning  part
   @ level 1 : 1 - ! TeX capacity exceeded,
   sorry [save size=5]
  
   system   tex  error on line 5025 in
   file
  
 C:/projects/jinny/report_builder/temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47.tex:
   TeX capacity exceeded, sorry [ ...
  
   5015 \bTR \bTD This is an arbitrary
   label\eTD \bTD[nc=1,align=flushright]
   4,992\eTD \eTR 5016 \bTR \bTD This is an
   arbitrary label\eTD
   \bTD[nc=1,align=flushright] 4,993\eTD \eTR
   5017 \bTR \bTD This is an arbitrary
   label\eTD \bTD[nc=1,align=flushright]
   4,994\eTD \eTR 5018 \bTR \bTD This is an
   arbitrary label\eTD
   \bTD[nc=1,align=flushright] 4,995\eTD \eTR
   5019 \bTR \bTD This is an arbitrary
   label\eTD \bTD[nc=1,align=flushright]
   4,996\eTD \eTR 5020 \bTR \bTD This is an
   arbitrary label\eTD
   \bTD[nc=1,align=flushright] 4,997\eTD \eTR
   5021 \bTR \bTD This is an arbitrary
   label\eTD \bTD[nc=1,align=flushright]
   4,998\eTD \eTR 5022 \bTR \bTD This is an
   arbitrary label\eTD
   \bTD[nc=1,align=flushright] 4,999\eTD \eTR
   5023 \bTR \bTD This is an arbitrary
   label\eTD \bTD[nc=1,align=flushright]
   5,000\eTD \eTR 5024 \eTABLEbody 5025 
   \eTABLE 5026 \stoptext 5027
  
   If you really absolutely need more capacity,
   you can ask a wizard to enlarge me.
  
   !  == Fatal error occurred, no output PDF
   file produced!
  
  
  
  
 ___
   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
  
 ___
  
 
 

 This sounds like a job for a programming language
 with printing features, and not a DTP program. In
 my days as a COBOL programmer printing a report
 from a data file with a million entries was not
 unusual. As my father used to say there are
 horses for courses.

 --
 John Culleton
 Wexford Press
 Free list of books for self-publishers:
 http://wexfordpress.net/shortlist.html
 PDF e-book: Create Book Covers with Scribus
 available at
 http://www.booklocker.com/books/4055.html

 ___
 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

[NTG-context] Unable To Render Table With Over 3000 Rows

2014-05-30 Thread Neal Lester
When I attempt to render a table with more than about 3000 rows I get the
following error.  Searching the archives I found one message suggesting
that [save size] is hard coded and cannot be increased.

The application is rendering business reports; they are relatively simple
documents but we definitely need more than 3000 rows. Is there a way to
configure context to render tables of this size?

Thanks,

Neal Lester

(C:/projects/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.01.03 00:40 MKIV current  fmt: 2014.5.28  int:
english/english

system   'cont-new.mkiv' loaded
(C:/projects/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
system   files  jobname
'temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47', input
'./temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47', result
'temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
(C:/projects/jinny/report_builder/temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47.tex{C:/projects/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown library 'loc'
{C:/projects/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/projects/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts'fallback modern rm 12pt' is loaded
structuresectioning  part @ level 1 : 1 -
! TeX capacity exceeded, sorry [save size=5]

system   tex  error on line 5025 in file
C:/projects/jinny/report_builder/temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47.tex:
TeX capacity exceeded, sorry [ ...

5015 \bTR \bTD This is an arbitrary label\eTD
\bTD[nc=1,align=flushright] 4,992\eTD \eTR
5016 \bTR \bTD This is an arbitrary label\eTD
\bTD[nc=1,align=flushright] 4,993\eTD \eTR
5017 \bTR \bTD This is an arbitrary label\eTD
\bTD[nc=1,align=flushright] 4,994\eTD \eTR
5018 \bTR \bTD This is an arbitrary label\eTD
\bTD[nc=1,align=flushright] 4,995\eTD \eTR
5019 \bTR \bTD This is an arbitrary label\eTD
\bTD[nc=1,align=flushright] 4,996\eTD \eTR
5020 \bTR \bTD This is an arbitrary label\eTD
\bTD[nc=1,align=flushright] 4,997\eTD \eTR
5021 \bTR \bTD This is an arbitrary label\eTD
\bTD[nc=1,align=flushright] 4,998\eTD \eTR
5022 \bTR \bTD This is an arbitrary label\eTD
\bTD[nc=1,align=flushright] 4,999\eTD \eTR
5023 \bTR \bTD This is an arbitrary label\eTD
\bTD[nc=1,align=flushright] 5,000\eTD \eTR
5024 \eTABLEbody
5025   \eTABLE
5026 \stoptext
5027

If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

!  == Fatal error occurred, no output PDF file produced!
___
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] Switching Font Size in a Natural Table

2006-07-26 Thread Neal Lester
Is it possible to use more than one font size within a Natural 
Table?  If so, how?

Thanks, Neal


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


Re: [NTG-context] Page Numbers in TOC; setuplabeltext

2006-06-01 Thread Neal Lester


1) Is there a way to suppress the display of Appendix page numbers in
a TOC while retaining alternative=c for Chapters?

I got the effect I wanted by hijacking subsubsection and subsubsubsection.

Is there a way to change the subsubsubsection numbers to letters?

Thanks, Neal 


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


[NTG-context] Page Numbers in TOC; setuplabeltext

2006-05-31 Thread Neal Lester
In the table of context for my documents, I would like Chapters to 
have page numbers with alternative=c.  However, my Appendices are not 
paginated so I do not want them to have page numbers in the TOC. 
Since (apparently), Appendix inherits from Chapter, each Appendix is 
listed in the TOC with leading dots and page number 0 regardless of 
what I put in \setuplist [appendix] when using \placecontent or 
\completecontent.

So I tried creating my own head (based on title) and list.  Placing 
this list under the TOC gives me the effect I want (Appendices are 
listed without dots or page numbers).  Unfortunately, setuplabeltext 
doesn't seem to work on my newly defined head.  I've tried all manner 
of variations like:

\definelist [myappendixlist]
\setuplist [myappendixlist] 
[pagenumber=no,alternative=b,label=yes,conversion=Character]

\definehead[myappendix][title]
\def\appendixlabel#1#2{Appendix #1: #2}
\setuphead[myappendix][command=\appendixlabel]
%
\setuplabeltext [en][myappendix=Appendix~]

\newcounter\myappendices

\long\def\myappendix#1%
{\ifhmode\unskip\fi
 \doglobal\increment\myappendices\relax
 \high{\myappendices}%
 \expanded{\writetolist[myappendixlist]{\myappendices}}{#1}}


1) Is there a way to suppress the display of Appendix page numbers in 
a TOC while retaining alternative=c for Chapters?

2) Assuming the answer to (1) is no, how do I enable display of 
labels in my custom defined head?

Thanks, Neal


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


Re: [NTG-context] Page Numbers in TOC; setuplabeltext

2006-05-31 Thread Neal Lester


\definelist [myappendixlist]
\setuplist [myappendixlist]
[pagenumber=no,alternative=b,label=yes,conversion=Character]

\definehead[myappendix][title]
\def\appendixlabel#1#2{Appendix #1: #2}
\setuphead[myappendix][command=\appendixlabel]
%
\setuplabeltext [en][myappendix=Appendix~]

\newcounter\myappendices

\long\def\myappendix#1%
 {\ifhmode\unskip\fi
  \doglobal\increment\myappendices\relax
  \high{\myappendices}%
  \expanded{\writetolist[myappendixlist]{\myappendices}}{#1}}

3) How can I make the numbers in myappendixlist appear as A B C (as 
Appendix does) instead of 1, 2, 3

Sorry about the second post!

Neal 


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


Re: [NTG-context] Stuck in texmfstart

2006-05-27 Thread Neal Lester
At 07:06 AM 5/27/2006, you wrote:
  What I did is copy setuptex to /etc/profile.d/setuptex.sh and then
  hard coded the value of TEXROOT in setuptex.sh instead of having the
  script set it from the command line argument.
 
  echo $TEXMFCNF prints
  $TEXROOT/texmf{-local,}/web2c
 
i'm puzzled because the loop you mentioned is not supposed to be entered
unless you run texmfstart as a kpseserver

do you use the latest versions of texmfstart etc?


I downloaded everything from pragma-ade.nl on last Thursday May 
27th.  The installation procedure I used is described in:

http://www.ntg.nl/pipermail/ntg-context/2006/018759.html

Neal



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


[NTG-context] Stuck in texmfstart

2006-05-26 Thread Neal Lester
This morning, when I try to run texexec, texmfstart gets stuck in the 
loop at line 262.

It seems that in my thrashing around yesterday I made some transient 
change to the environment (I shut this system down at night).  Any 
idea what that is?  I also applied a kernel patch, so I suppose that 
could also be the problem.

Neal


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


Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread Neal Lester
At 09:17 AM 5/26/2006, you wrote:
This morning, when I try to run texexec, texmfstart gets stuck in the
loop at line 262.

Placing

puts f

below line 266 ( f.gsub(...) do

prints:

$TEXROOT/texmf/{-local,}/web2c/texmf.cnf

(over and over again)



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


Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread Neal Lester
At 10:38 AM 5/26/2006, you wrote:
On 5/26/06, Neal Lester [EMAIL PROTECTED] wrote:
  At 09:17 AM 5/26/2006, you wrote:
  This morning, when I try to run texexec, texmfstart gets stuck in the
  loop at line 262.
 
  Placing
 
  puts f
 
  below line 266 ( f.gsub(...) do
 
  prints:
 
  $TEXROOT/texmf/{-local,}/web2c/texmf.cnf
 
  (over and over again)

Mine doesn't seem to enter this loop -- nothing is printed.   The
above line looks
like the entry from texsetup with an extra /:

set TEXMFCNF=%TEXPATH%texmf{-local,}/web2c

What I did is copy setuptex to /etc/profile.d/setuptex.sh and then 
hard coded the value of TEXROOT in setuptex.sh instead of having the 
script set it from the command line argument.

echo $TEXMFCNF prints
$TEXROOT/texmf{-local,}/web2c

Neal 


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


Re: [NTG-context] Installation Problem

2006-05-25 Thread Neal Lester
At 05:20 AM 5/25/2006, you wrote:
I don't get these sed errors using Fedora Core 4.  I suspect these come
from mktexlsr.  I have:
$ rpm -q sed
sed-4.1.4-1
$ sed --version
GNU sed version 4.1.4
$ which sed
/bin/sed

The problem was in mktexlsr.  I am running sed 4.1.2, but that 
apparently wasn't the problem.  The problem was using the -a option 
to unzip.  When I refreshed mktexlsr from the archive without the -a 
option (inadvertently)  it worked fine.  So now

texexec --make en de nl
texexec --make metafun

Both seem to run fine (output attached in a separate post).

But when I try

texexec -pdf temp

I get:

TeXExec | processing document 'temp'
TeXExec | no ctx file found
TeXExec | nothing to process
TeXExec | runtime: 0.001625



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


Re: [NTG-context] Installation Problem

2006-05-25 Thread Neal Lester
At 09:52 AM 5/25/2006, [EMAIL PROTECTED] wrote:
When you run . setuptex your_texroot_path you should end up with

TEXFORMATS='$TEXMFOS/web2c/{$engine,}'

Ouch!  I got bit by something left over from yesterdays failed 
attempt.  Fixing that, everything is working.  In Summary:

How I installed Context in /usr/local on Redhat EL WS v4 using BASH:

Verify that the native RedHat version of tetex is not installed on 
your system; it is not compatible with Contex:

rpm -q tetex
rpm -q tetex-afm
rpm -q tetex-doc
rpm -q tetex-dvilj
rpm -q tetex-dvips
rpm -q tetex-fonts
rpm -q tetex-latex
rpm -q tetex-xdvi

If any of these packages are installed use rpm -e package-name to erase them.

download http://www.pragma-ade.nl/context/install/justtex.zip
download http://www.pragma-ade.nl/context/install/linuxtex.zip
move both files to /usr/local
cd /usr/local
unzip justtex.zip
unzip linuxtex.zip
cd tex
chmod +x setuptex (may not be necessary)
./setuptex /usr/local/tex (may want to add to .bash_profile or save 
the script as /etc/profile.d/setuptex.sh and hard coding the value of 
TEXROOT in the script.)
mkdir $VARTEXMF
cd texmf
download http://www.pragma-ade.nl/context/current/cont-tmf.zip
mv cont-tmp.zip to the current directory ($TEXROOT/texmf)
unzip -o cont-tmf.zip
cd $TEXMFOS/bin
chmod +x *
chmod -x xpdfsuite.zip
cd $TEXROOT
texexec --make en de nl
texexec --make metafun


George, taco, thank you for the help.

Neal 


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


Re: [NTG-context] Installation Problem

2006-05-25 Thread Neal Lester
At 08:15 AM 5/25/2006, you wrote:
  TeXExec | processing document 'temp'
  TeXExec | no ctx file found
  TeXExec | nothing to process
  TeXExec | runtime: 0.001625

This means texexec cannot find temp.tex.

The instructions I was reading ( 
http://www.pragma-ade.nl/general/manuals/minstall.pdf ) do not 
mention the restriction on file name extension

Neal



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


[NTG-context] Installation Problem

2006-05-24 Thread Neal Lester
I am trying to verify my installation.

When I try to run texexec against the test file given in the
installation instructions I don't get a dvi or pdf file.  The output is:

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

fixing texformat path : 
.:{!!/home/neal/.texmf-config,!!/home/neal/.texmf-var,/home/neal/texmf,!!/usr/local/teTeX/share/texmf-config,!!/usr/local/teTeX/share/texmf-var,!!/usr/local/teTeX/share/texmf,!!/usr/local/teTeX/share/texmf-local,!!/usr/local/teTeX/share/texmf-dist}/web2c/{$engine,}
fixing engine variable : pdfetex
total run time : 0 seconds
warning : use 'texmfstart texexec' instead

I have set the value for TeXFormatPath in texexec.ini but still get the fixing 
texformat path message.

The contents of cont-en.log are:

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=pdfetex 
2006.5.23)  23 MAY 2006 15:35
entering extended mode
**cont-en --proxname=context temp
(/usr/local/teTeX/share/texmf/tex/context/base/cont-en.tex
(/usr/local/teTeX/share/texmf/tex/context/base/context.tex
(/usr/local/teTeX/share/texmf/tex/context/base/syst-pln.tex
\maxdimen=\dimen10
\hideskip=\skip10
\centering=\skip11
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\interdisplaylinepenalty=\count23
\interfootnotelinepenalty=\count24
\bigskipamount=\skip13
\medskipamount=\skip14
\smallskipamount=\skip15
\normalbaselineskip=\skip16
\normallineskip=\skip17
\normallineskiplimit=\dimen13
\jot=\dimen14
\mscount=\count25
\tabs=\box11
\tabsyet=\box12
\tabsdone=\box13

Runaway definition?
-\ifx \next
! Forbidden control sequence found while scanning definition of [EMAIL 
PROTECTED]
inserted text
}
to be read again
   \+
l.515   {\ifx\next\+
%
? \end
Type return to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something, E to edit your file,
H for help, X to quit.
?
! Extra \else.
l.517\else

?
! Extra \fi.
l.519\fi

?
! Argument of \nxt has an extra }.
inserted text
\par
to be read again
   }
l.521\nxt}

?
Runaway argument?
! Paragraph ended before \nxt was complete.
to be read again
   \par
to be read again
   }
l.521\nxt}

?
) (/usr/local/teTeX/share/texmf/tex/context/base/syst-prm.tex)
(/usr/local/teTeX/share/texmf/tex/context/base/syst-etx.tex)
(/usr/local/teTeX/share/texmf/tex/context/base/syst-omg.tex)
(/usr/local/teTeX/share/texmf/tex/context/base/syst-xtx.tex)
(/usr/local/teTeX/share/texmf/tex/context/base/syst-gen.tex unprotect 254
loading : Context System Macros / General
) (/usr/local/teTeX/share/texmf/tex/context/base/syst-ext.tex
loading : Context System Macro's / Extras
unprotect 255) (/usr/local/teTeX/share/texmf/tex/context/base/syst-new.tex
unprotect 256) (/usr/local/teTeX/share/texmf/tex/context/base/syst-con.tex
loading : Context System Macro's / Conversions
unprotect 257) (/usr/local/teTeX/share/texmf/tex/context/base/syst-var.tex
loading : Context System Macro's / Variables
) (/usr/local/teTeX/share/texmf/tex/context/base/math-pln.tex unprotect 258)
(/usr/local/teTeX/share/texmf/tex/context/base/supp-ini.tex
loading : Context Support Macros / Initializations
unprotect 259) (/usr/local/teTeX/share/texmf/tex/context/base/supp-fil.tex
loading : Context Support Macros / Files
unprotect 260) (/usr/local/teTeX/share/texmf/tex/context/base/supp-dir.tex
unprotect 261) (/usr/local/teTeX/share/texmf/tex/context/base/mult-ini.tex
loading : Context Multilingual Macros / Initialization
unprotect 262) (/usr/local/teTeX/share/texmf/tex/context/base/mult-sys.tex
loading : Context Multilingual Macros / System
unprotect 263
interface   : defining english interface

interface   : using english messages

) (/usr/local/teTeX/share/texmf/tex/context/base/mult-con.tex
loading : Context Multilingual Macros / Constants
) (/usr/local/teTeX/share/texmf/tex/context/base/mult-com.tex
loading : Context Multilingual Macros / Commands
) (/usr/local/teTeX/share/texmf/tex/context/base/thrd-ran.tex unprotect 264)
(/usr/local/teTeX/share/texmf/tex/context/base/thrd-trg.tex unprotect 265)
(/usr/local/teTeX/share/texmf/tex/context/base/supp-box.tex
loading : Context Support Macros / Boxes
unprotect 266) (/usr/local/teTeX/share/texmf/tex/context/base/supp-mrk.tex
loading : Context Support Macros / Marks
unprotect 267) (/usr/local/teTeX/share/texmf/tex/context/base/supp-vis.tex
loading : Context Support Macros / Visualization
unprotect 268) (/usr/local/teTeX/share/texmf/tex/context/base/supp-fun.tex
unprotect 269
loading : Context Support Macros / Fun Stuff
) (/usr/local/teTeX/share/texmf/tex/context/base/supp-eps.tex
loading : Context Support Macros / EPS
unprotect 270) (/usr/local/teTeX/share/texmf/tex/context/base/supp-pdf.tex
loading : Context Support Macros / PDF 

Re: [NTG-context] Installation Problem

2006-05-24 Thread Neal Lester
At 12:49 AM 5/24/2006, you wrote:


Neal Lester wrote:
  I am trying to verify my installation.
 
  When I try to run texexec against the test file given in the
  installation instructions I don't get a dvi or pdf file.  The output is:

What instructions did you follow, precisely? I see some problems in
your output, but it will be easier to explain using those instructions.

I followed the instructions at:

http://www.pragma-ade.nl/general/manuals/minstall.pdf

First I used the TeX that came with my Linux distribution (RedHat 
Enterprise Linux v4) but that didn't work (perhaps it was too 
old).  Then I installed teTeX ( http://www.tug.org/tetex/ ) which 
came with an old version of context that got in the way.  I removed 
that old version and installed the version from here ( 
http://www.pragma-ade.nl/context/current/cont-tmf.zip ).

Thomas Esser has (apparently just) announced that he will no longer 
be maintaining teTeX.  Which version of TeX do you recommend I install?

Thanks, Neal


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


Re: [NTG-context] Installation Problem

2006-05-24 Thread Neal Lester
At 09:07 AM 5/24/2006, you wrote:
Hans mentioned the minimal context linux distribution.

OK, I deleted everything I did yesterday and started over.  This time 
I (think) I tried the minimal contex distribution.  Things still 
aren't working.  I am on Redhat Enterprise Linux v4.  Thanks again 
for the help.

- Neal

Here is what I did today:

download http://www.pragma-ade.nl/context/install/justtex.zip
download http://www.pragma-ade.nl/context/install/linuxtex.zip
move both files to /usr/local
cd /usr/local
unzip -a justtex.zip
unzip -a linuxtex.zip
Set up environment:

export TEXROOT=/usr/local/tex
export TMP=/var/tmp
export TEXMFMAIN=$TEXROOT/texmf
export TEXMFLOCAL=$TEXROOT/texmf-local
export TEXMFFONTS=$TEXROOT/texmf-fonts
export TEXMFEXTRA=$TEXROOT/texmf-extra
export TEXMFPROJECT=$TEXROOT/texmf-project
export TEXMFOS=$TEXROOT/texmf-linux
export VARTEXMF=$TMP/texmf-var
export TEXARCH=i686 # the results of uname -m
export TEXUNIX=Linux # the results of uname -s
export PATH=$TEXMFOS/bin:$PATH
export HOMETEXMF=$HOME/Library/texmf
export TEXMFCNF=$TEXROOT/texmf/web2c
export TEXMF=$TEXMFMAIN
export TEXMFDBS=$TEXMF
export TEXFORMATS=$TEXMFOS/web2c
export MPMEMS=$TEXFORMATS
export TEXPOOL=$TEXFORMATS
export MPPOOL=$TEXPOOL
export RUBYLIB=$TEXMFLOCAL/scripts/context/ruby:$RUBYLIB
export CTXMINIMAL=yes

create the directory specified by $VARTEXMF
cd $TEXMFOS/bin
chmod +x *
chmod -x xpdfsuite.zip
download http://www.pragma-ade.nl/context/current/cont-tmf.zip
mv cont-tmp.zip to $TEXROOT/texmf
cd $TEXROOT/texmf
unzip -ao cont-tmf.zip
copy texmf/context/config/texexec.rme texexec.ini

texexec --verbose

Output:

TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

TeXExec | --checkcheck versions
TeXExec | --figures  generate overview of figures
TeXExec | --listing  list of file content
TeXExec | --make make formats
TeXExec | --modules  generate module documentation
TeXExec | --mptexprocess mp file
TeXExec | --mpxtex   process mpx file
TeXExec | --pdfarrange   impose pages (booklets)
TeXExec | --pdfcombine   combine multiple pages
TeXExec | --pdfcopy  copy pages from file(s)
TeXExec | --pdfselectselect pages from file(s)
TeXExec | --pdftrim  trim pages from file(s)
TeXExec | --process  process file
TeXExec |
TeXExec | --help --all   shows all switches

texexec --make en de nl

Output:

TeXExec | using search method 'kpsefast'
TeXExec | updating file database
sed: -e expression #1, char 3: unterminated `s' command
sed: -e expression #1, char 3: unterminated `s' command
mktexlsr: /usr/local/tex/texmf/ls-R lacks magic string. Skipping...
mktexlsr: Done.
TeXExec | using tex engine pdfetex
TeXExec | using tex format path /usr/local/tex/texmf-linux/web2c/pdfetex
TeXExec | generating tex format cont-en
This is pdfeTeXk, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (INITEX)
  %-line parsing enabled.
  (/usr/local/tex/texmf/web2c/natural.tcx)
entering extended mode
! I can't find file `cont-en'.
* *cont-en

Please type another input file name:

I'm stuck because I can't find a file 'cont-en' either. 


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