Re: [NTG-context] install help

2005-05-01 Thread h h extern
Skip Collins wrote:
Sorry for rambling. I guess this goes with the territory when living
on the bleeding edge. As you can see, I am in need of some basic
guidance for getting a newish context working properly. I have spent
some time looking for step-by-step instructions, but all I get is more
confused. The contextgarden wiki could be updated with more complete
instructions. I would be happy to help with this if I could only
figure out the correct recipe.
if you download the latest alpha release, the engine subpath stuff should work; 
if not, run:

ctxtools --make --all(ruby script)
and process your document with:
texexec --pdf yourfile.tex   (perl script)
there is also a rather up to date minimal context for linux on the website
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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] layer in texshow

2005-05-01 Thread Vít Zýka
Hallo,
commands for layers (\setuplayer, ...) are missing in the texshow. What 
is the mechanism to add them?

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


[NTG-context] Table in columns or framed columns

2005-05-01 Thread Guillaume Chazarain
Hi,
I cannot manage to let a long table span multiple columns, and I also
can't find a way to put a frame around a multicolumns piece of text.
I am using tetex-3.0 on Linux:
texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4)
context : ver: 2005.01.31
cont-en : ver: 2005.01.31  fmt: 2005.4.30  mes: english
Here is a sample:
\starttext
\startcolumns[n=2]
\starttable[|l|l|]
\HL
\NC \bf a \NC \bf b \NC\SR
\HL
\NC a \NC b \NC\FR
\dorecurse{100}{\NC \recurselevel \NC b \NC\MR}
\NC a \NC b \NC\LR
\HL
\stoptable
\stopcolumns
\startframedtext
\startcolumns[n=2]
\dorecurse{100}{\recurselevel
}
\stopcolumns
\stopframedtext
\stoptext
Subsidiary question: if \dorecurse is used to make a loop, and
\recurselevel to get the current iteration, then why does it work in the
framed text, but not in the table?
Thanks in advance for any help.
--
Guillaume
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TEXMFMAIN problem in gwTeX (font installation)

2005-05-01 Thread Gerben Wierda
On Apr 29, 2005, at 15:03, Ville Voipio wrote (on the ConTeX list, but 
this also is interesting for all gwTeX users):

I have spent some very interesting time trying to install the TeXlive 
fonts by using texfont type-tmf.dat. What happened was that a lot of 
complaints about unknown subpath ../afm/public/urw were given even 
though the path should have been there. This is a known problem, has 
been on several mailing lists, as well.

After a lot of thinking it became clear that texfont was really unable 
to find any font files. By browsing through the texfont.pl, the reason 
became evident: In gwTeX the root variables are:

   TEXMFMAIN = /usr/local/teTeX/share/texmf
   TEXMFTE = /usr/local/teTeX/share/texmf.tetex
The problem here is that all the TeXlive fonts (and almost everthing 
else) is really in the TEXMFTE tree.

My quick'n'dirty was to make new file type-tmf-gwtex.dat by replacing 
all occurrences of TEXMFMAIN by TEXMFTE. Running that one in batch 
mode works fine.

Problem solved -- this time. But the solution is not a beautiful one. 
Could someone suggest something cleaner? Or has this been solved 
already (I tried googling after the answer without success)?
TEXMFMAIN in TL is now reserved for only the stuff that is directly 
related to the binaries (like the pool files or anything that needs to 
stay in sync - grammar wise - with the binaries and scripts). In TeX 
Live the 'foundation' now lives in .../texmf-dist (TEXMFDIST) and not 
in ../texmf

In gwTeX, there are a few foundation trees: TEXMFTE for the teTeX tree 
and TEXMFGW for my additions

I think it is a simplification by texfont that it has a hardwired 
location. TeX is not set up that way. Probably the correct solution is 
for texfont itself to act in a more dynamic way, e.g. by trying to 
locate with kpsewhich some elements that are supposed to be there 
already and take th eresult of that search as the settin for what it 
now assumes to be hardwired.

In the meantime: your fix is correct.
G
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] ConTeXt oddities

2005-05-01 Thread Frank Grieshaber
Dear fellow-ConTeXters,
working with Context I noticed some small, strange behaviours:
1. I arranged pages in the following way:
\definepapersize[myCustomLayout][width=12cm, height=19cm]
\setuppapersize[myCustomLayout][A4,landscape]
\setuparranging[2SIDE]
now, when I use \showsetups I get the following values:
paperhight: 18.9973cm
paperwidth: 11.99829cm
(happens with the rest of layout-definitions as well)
well, sure enough nobody will see the difference in print... but 
nevertheless a bit annoying if you wanted to show the result of 
\showsetups to your clients (maybe the values are converted from cm to 
pt and back again?)

2. for control of orphans and widows I use the following:
\clubpenalty=8000
\widowpenalty=8000
it seems, this has to be inserted after \starttext, which is - I think - 
not a too good place for such a global definition,  shouldn't it be in 
the setup area before \starttext? but there I cant't get it working. Or 
am I doing something wrong with the commands?

3. if a command has lots of options it's better to sort of 
pretty-print those like the following:

\setuplayout[
backspace=15mm,
cutspace=10mm,
...
grid=yes,
marking=on,
]
After some time (lots of time..) I figured out that the last , is a 
must, without it, the last option is ignored - why is that?

4. I am well aware this has been asked before on this list, but no good 
solution came up: I need the footnote ref number to be beneath the main 
text, not in the small blank space between the text and the margin 
column. I managed to get it working with the hack by Paul Tremblay 
posted on this list some time ago and defined my own \myFootnote-command 
for it, but that is a quick and dirty solution, there has to be a 
better way, so I'd like to raise the question once again: How can this 
be done? Is it that difficult to change this kind of strange setting of 
footnotes?

Many thanks for your answers,
Frank
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] enumerated lists

2005-05-01 Thread Frank Grieshaber
Dear all,
I have a manuscript with long nested numbered enumerations and I want 
the numbers of all levels to be printed like:

1. one
1.1 one-one
1.2 one-two
2. two
2.1 two-one
2.2.1 two-two-one
...
Using the following prints only the current level's number, not all levels:
\startitemize[n,packed]
\item
\item
  \startitemize[m,packed]
  \item
  \item
  \stopitemize
\item
\item
\stopitemize
For Latex there is the package paralist.sty for doing the desired 
numbering, how can this be done with ConTeXt?

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


Re: [NTG-context] ConTeXt oddities

2005-05-01 Thread Adam Lindsay
Frank Grieshaber said this at Sun, 1 May 2005 17:57:30 +0200:

3. if a command has lots of options it's better to sort of 
pretty-print those like the following:

\setuplayout[
backspace=15mm,
cutspace=10mm,
...
grid=yes,
marking=on,
]

After some time (lots of time..) I figured out that the last , is a 
must, without it, the last option is ignored - why is that?

Hi Frank.

I think this complaint was one of the first ones I had on the list.
ConTeXt does a great job of gobbling up spaces after the commas
(actually, before keywords) in argument lists, but it doesn't do so well
with other spaces.

Your solution is good. Another would be to have the last line be:
   marking=on]

Hans said a few more words on it here:
http://archive.contextgarden.net/message/20050328.150952.ff9f4cae.html
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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