Re: [NTG-context] Re: Palatino? - bitmap fonts???

2005-03-17 Thread Hans Hagen
Matthias Weber wrote:
[...]
pxex.pfb
rpxmi.pfb
uplr8a.pfb
pxsy.pfb
rpxr.pfb
uplri8a.pfb
These look ok.
/var/tmp/texfonts/pk/modeless/adobe/palatino/pplr
8r.86pk
i wonder why in some cases uplr is used and in other situations pplr.
- maybe palatino px does not go well with the adobekb file?
- maybe some magick auto-name-remapping via the aliases file?
(maybe it's time to drop mapfiles completely)
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


Re: [NTG-context] Re: Palatino? - bitmap fonts???

2005-03-17 Thread Hans Hagen
Patrick Gundlach wrote:
Is there somebody else out there using Gerben's TeXstuff? (I know
there is at least one :-)) I can only guess. Or get a fresh
cont-sys.tex
(www.pragma-ade.com/system/tex/texmf-local/tex/context/user/cont-sys.tex)
and play with that one.
when no cont-sys.tex is found (or when you delete it) context will use 
cont-sys.rme instead

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


Re: [NTG-context] Header background won't go away

2005-03-17 Thread Hans Hagen
Duncan Hothersall wrote:
Hi all.
I have a book with parts and chapters, which wants a tint in the 
background of the header line. I have the following set-up producing 
almost what I want (apologies for the length but I've stripped out as 
much as I can to still show the same effect):

--
\setupsectionblock[bodypart][page=right]
%...
\setuppagenumbering[alternative=doublesided]
\setuplayout[location=doublesided,
backspace=8.5pc,topspace=5.5pc,top=0pt,topdistance=0pt,
header=12pt,headerdistance=12pt,height=61pc,footer=16pt,
bottom=6pc,leftedge=9pc,leftedgedistance=0pt,leftmargin=0pt,
leftmargindistance=0pt,width=29pc,rightmargindistance=0pt,
rightmargin=6.5pc,rightedgedistance=0pt,rightedge=6.5pc]
\setuphead[part]
 [placehead=yes,command=\XPart,resetnumber=no,page=right,
  header=high,before=,after=]
\def\XPart#1#2{#1 #2} %simplified
\setuphead[chapter]
 [command=\XChapter,header=high,
  before=\vbox to 14pc\bgroup,after=\vss\egroup]
\def\XChapter#1#2{#1 #2} %simplified
%...
\setupcolors[rgb=no,cmyk=no,spot=yes,state=start]
\definecolor[PantoneTwoNineFour][c=1,m=.56,y=0,k=.18]
\definecolor[IFSblueheadertint][PantoneTwoNineFour][p=.12]
%...
\setupbackgrounds[header]
 [leftedge,leftmargin,text,rightmargin,rightedge]
 [background=color,backgroundcolor=IFSblueheadertint,state=start]
\setupheader[state=start]
\setupheadertexts[margin]
[]
[\hfill\llap{\tfx\getmarking[chapter][current]}]
[\hbox to \leftmarginwidth{\rlap{\tfx\getmarking[section][last]\hfil}}]
[]
%...
\starttext
\startbodymatter
\part{First part}
Looks good, but still has band on next page
\chapter{First chapter}
Looks good, no band on first page of chapter. \page[yes]
\section{First section}
Looks good, the band is there. \page[yes]
\section{Second section}
Looks good, the band is still there.
\chapter{Second chapter}
Ugh, the band has impinged on my title, and I'm getting an extra odd 
page at the end too.
\stopbodymatter
\stoptext
--

The above code runs in live.contextgarden.net and demonstrates my 
problems, which are:

1. The big problem - the second chapter title page doesn't suppress the 
band, even though the first one did. NB this behaviour seems to change 
depending on whether the previous chapter ends on an odd or even page. 
Bug, or incorrect header setup?

2. Empty pages (like the back of the part title) have the colour band on 
them - how can this be suppressed for empty pages?

3. There's an extra odd page at the end (I've tried a few of the 
suggested fixes for this but can't get them to work).

If anyone can answer, especially question 1, I'd be really grateful!
you can do a stepwise page change:
  \setuphead[part][page={yes,blank,right}]
  \setuphead[chapter][header=high,page={yes,blank,right}]
also, in order to let backgrounds adapt to each page, say:
  \setupbackgrounds[state=repeat]
otherwise only text|page backgrounds will be calculated each page and the other 
ones when backgrounds are set/changed (otherwise too slow)

Hans
(some day i'll make this nicer)
-
  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


Re: [NTG-context] \doprepareidentity

2005-03-17 Thread Hans Hagen
Peter Münster wrote:
Hello,
in order to get correct output of pdfinfo, I need to redefine
\doprepareidentity :
\let\doprepareidentity\relax % try with and without this line
\setupoutput[pdf]
\enableregime[il1]
\setupinteraction[state=start,author=ä,title=ä,subtitle=ä,keyword=ä]
\starttext
test
\stoptext
patch this on core-int:
\def\doprepareidentity% beware, we need to construct
  {\let\!!stringa\@@iakeyword % an unexpanded space separated
   \let\@@iakeyword\empty % list of keywords from a comma
   \def\doprepareidentity##1% % separated one
 {\ifx\@@iakeyword\empty
\appended\def\@@iakeyword{##1}%
  \else
\appended\def\@@iakeyword{ ##1}%
  \fi}%
   [EMAIL PROTECTED]@EA[\!!stringa]\doprepareidentity
   \global\let\doprepareidentity\relax}
(lazy expansion is needed)
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


Re: [NTG-context] XeTeX w. ConTeXt question

2005-03-17 Thread Hans Hagen
sfpno wrote:
Greetings,
After a number of attempts (somewhat indistinguishable in my memory at 
this point) I've been able to run ConTeXt with XeTeX support (if that's 
the right nomenclature;). It works! But I do receive this error message:

--
(/usr/local/TeTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex
systems : you should use pdfTeX binaries
\wait=
)
--
Looking in spec-tpd.tex, this error message comes from pdftexversion 
being undefined. Could someone clarify this for me?
with xetex you should use
  texexec --xtx yourfile
so that the xetex driver file is used; now you use the pdftex one
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


Re: [NTG-context] XeTeX w. ConTeXt question

2005-03-17 Thread Hans Hagen
Adam Lindsay wrote:
Hmm. How are you invoking texexec?
It should be texexec --xtx filename. You shouldn't use the --pdf command
line switch, as that would probably confuse things (and cause the pdftex
specials to be loaded).
an ugly hack would be in the tpd driver to test for some primitive and load the 
xtx driver instead but i'm not sure if we should go that way

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


Re: [NTG-context] XeTeX w. ConTeXt question

2005-03-17 Thread sfpno
Thanks for the response. I'm using:
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.20a-2.2 (Web2C 7.5.3)
   context : ver: 2005.01.31
   cont-en : ver: 2005.01.31  fmt: 2005.3.4  mes: english
   cont-nl : ver: 2005.01.31  fmt: 2005.3.4  mes: dutch
and am also invoking texexec as you say: texexec --xtx File.tex
I'm using Gerben's i-Installer to install teTeX.
HmmI have some vague memory of a default setting [checking].
Yes, in cont-sys.tex, the \setupoutput is set to [pdftex]. When I 
comment it out, everything works fine. :)

Regards,
David
On Mar 16, 2005, at 4:55 PM, Adam Lindsay wrote:
sfpno said this at Wed, 16 Mar 2005 16:33:38 -0800:
(/usr/local/TeTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex
systems : you should use pdfTeX binaries
\wait=
)
That error should be long gone by now.
Which version of ConTeXt are you using?
Looking in spec-tpd.tex, this error message comes from pdftexversion
being undefined. Could someone clarify this for me?
Hmm. How are you invoking texexec?
It should be texexec --xtx filename. You shouldn't use the --pdf 
command
line switch, as that would probably confuse things (and cause the 
pdftex
specials to be loaded).

best,
adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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


Re: [NTG-context] Upgrading...

2005-03-17 Thread Hans Hagen
Idris Samawi Hamid wrote:
On Sat, 05 Mar 2005 23:51:50 +0100, h h extern [EMAIL PROTECTED] wrote:
when needed, unzip the latest cont-tfm (beta) and cont-lmr archives in 
texmf-local and remake formats

Where are the cont-lmr archives? I can't find them...
on our website there is a zip (beta location) in the texmf structure
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


Re: [NTG-context] imposition for a pdf file

2005-03-17 Thread Albrecht Kauffmann
Multivalent has a pdf-tool for arranging some pages at one printing page.

Greetings
Albrecht


On Wed, 16 Mar 2005, luigi.scarso wrote:

 Ciro A. Soto wrote:

  I have a pdf file with 660 letter-size pages.
 I would like to save toner in my printer by
 printing 2 or 4 pages in one single sheet of paper.

 Is it possible to do this with context?
 or any other alternative?

 Remember, I don't have the source file, only the pdf
 file.

 thank you

 Ciro


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



 As usually, not a direct answer...

 Play with these script
 %%
 %% save it as test.tex
 %%
 \setupcolors[state=start]
 \starttext
 \dorecurse{660}%
 {\startTEXpage[width=3cm,height=2cm]
 \vbox to \vsize{\vss
 \hbox 
 to\hsize{\hss\framed[width=2cm,align={middle,lohi},background=color,backgroundcolo
 r=green]{p.\tfd\recurselevel}\hss} \vss}
 \stopTEXpage}
 \stoptext

 %%
 %% save as my-imp.tex
 %%
 %% \setuplayout here
 \starttext
 \centerline{%
 \externalfigure[test][page=1]
 \externalfigure[test][page=3]
 \externalfigure[test][page=5]
 \externalfigure[test][page=7]
 \externalfigure[test][page=9]
 \externalfigure[test][page=11]
 }
 \blank[1cm]
 \centerline{%
 \externalfigure[test][page=2]
 \externalfigure[test][page=4]
 \externalfigure[test][page=6]
 \externalfigure[test][page=8]
 \externalfigure[test][page=10]
 \externalfigure[test][page=12]
 }
 \stoptext

 (you can create my-imp.tex by a script and choosing the appropriate
 number
 for page=, also use \setuplayout etc..)

 Also look for  \setuparranging.

 luigi




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


Re: [NTG-context] OS X/Gerben Wiebe's TeX font issue + fix

2005-03-17 Thread Gerben Wierda
 Hello,

 could those of you who use Gerben's TeX installation under OS X check
 whether
 the following file produces nice postscript Palatino or ugly bitmap
 Palatino?


 %% testing-fonts.tex
 \usetypescript [adobekb][\defaultencoding]
 \setupbodyfont[pos]
 \usetypescript[palatino][\defaultencoding]
 \setupbodyfont[palatino,12pt]

 %% for times uncomment this
 %\usetypescript[times][\defaultencoding]
 %\setupbodyfont[times,12pt]

 \starttext
 \input knuth
 \bigskip

 And this is some maths with PostScript fonts.
 \startformula
 {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi}
 \sin(x)^2dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0.
 \stopformula

 \stoptext



 If the latter is the case, you can fix this (thanks to Patrick) by
 overwriting

 /usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme

This one only exists if you have installed the ConTeXt Updater i-Package.
The basic ConTeXt is in the teTeX tree:

/usr/local/teTeX/share/texmf.tetex/tex/context/user/cont-sys.rme

 with

 http://www.pragma-ade.com/system/tex/texmf-local/tex/context/user/cont-
 sys.rme

 Also in that case we need a corrected gwConTeXt.

Basically you can always install the most recent ConTeXt (now 2005.03.16)
with the ConTeXt updater package. But a big caveat: you will need to
install new Latin Modern by hand because the latest ConTeXt beta depends
on having the latest Latin Modern.

G

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


Re: [NTG-context] hyphenation not working

2005-03-17 Thread Hans Hagen
Paul Tremblay wrote:
No, hyphen.tex is not on my system. 
it is ...
./tex/generic/hyphen/hyphen.tex
here !
I installed ConTexT using the TeXLive distribution, and then build
ConTeXt inside of that by unzipping the standard ConTeXt package.
in your context distribution, locate cont-usr.tex (or rme) and change the ushyp* 
name mentioned there to hyphen; otherwise copy hyphen.tex to ushyph1.tex and/or 
ushyph2.tex

(the latest context ships with a version of ctxtools that generates generic 
pattern files using the context naming scheme; see website for documentation)

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


Re: [NTG-context] Problems with new beta

2005-03-17 Thread Hans Hagen
Thomas A.Schmitz wrote:
Just installed the new beta. Now every run of texexec dies with lots of 
messages like this:

kpathsea: Running mktexmf ec-lmcsc10
! I can't find file `ec-lmcsc10'.
* ...four; mag:=1; nonstopmode; input ec-lmcsc10
Please type another input file name
! Emergency stop.
* ...four; mag:=1; nonstopmode; input ec-lmcsc10
Transcript written on mfput.log.
grep: ec-lmcsc10.log: No such file or directory
What gives?
get the lmr zip from our site and unzip it in your tree; otherwise, try
\setupencoding[default=texnansi]
since nothing changed there
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


Re: [NTG-context] Times New Roman

2005-03-17 Thread Hans Hagen
Hi,
add/patch this in your texmf.cnf file:
OSFONTDIR =
T1FONTS   = 
.;$TEXMF/fonts/{type1,pfb}//;$TEXMF/fonts/misc/hbf//;$OSFONTDIR//
AFMFONTS  = .;$TEXMF/fonts/afm//;$OSFONTDIR//
TTFONTS   = .;$TEXMF/fonts/{truetype,ttf}//;$OSFONTDIR//
OPENTYPEFONTS = .;$TEXMF/fonts/opentype//;$OSFONTDIR//
and in your batch file say:
set osfontdir=c:/windows/fonts
that way tex knows where to look for the pfb files
(what are the corresponding values for linux/osx ?)
Hans

= Original Message From Adam Lindsay [EMAIL PROTECTED] =
I hope you can translate from unix-like pseudo-commands into DOS:
make a new, clean temp directory.
copy times*.ttf into that directory.

from that directory, run:

texfont --ma --in --ve=microsoft --co=timesnewroman --show
What happens?

Ok, much progress:-)
1. Your command worked as is, no need to translate:-))
2. TeXFont did its magic, with no *apparent* errors (but see below) : 
a. ttf|afm|tfm|vf's are copied to/generated within 
[truetype|afm|tfm|vf]\microsoft\timesnewroman;
b. texnansi-microsoft-timesnewroman.map generated in \map\pdftex\context
c. texnansi-microsoft-timesnewroman.tex created in temp dir.

3. Problem: upon compiling texnansi-microsoft-timesnewroman.tex. I get
===
 TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004
executable : pdfetex
format : cont-en
 inputfile : texnansi-microsoft-timesnewroman
output : pdftex
 interface : en
   options : once
  current mode : none
This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2c 7.5.2)
 %-line parsing enabled.
 (c:/TeXLive/texmf/web2c/cp8bit.tcx)
:
:
Warning: pdfetex.exe (file texnansi-raw-Timesi): Font texnansi-raw-Timesi at 
60
0 not found

Warning: pdfetex.exe (file texnansi-raw-Timesbi): Font texnansi-raw-Timesbi at
600 not found
Warning: pdfetex.exe (file texnansi-raw-Timesbd): Font texnansi-raw-Timesbd at
600 not found
c:/TeXLive/texmf/fonts/type1/bluesky/cm/cmr6.pfb
Warning: pdfetex.exe (file texnansi-raw-Times): Font texnansi-raw-Times at 600
not found
c:/TeXLive/texmf/fonts/type1/bluesky/cm/cmtt10.pfb
Output written on texnansi-microsoft-timesnewroman.pdf (28 pages, 379871 
bytes)
===

a. Note the warnings;
b. Adobe complains about an error in opening the page (I'm sending you the pdf 
directly)

4. Question: how can I make TeXFont default to C:\ConTeXt\texmf-local instead 
of C:\TeXLive\texmf-local?

I think I'm close to the finish line. Thnx 4 all your help!
Idris
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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


Re: [NTG-context] problem with \digits

2005-03-17 Thread Hans Hagen
Martin Kolaøík wrote:
Hi all,
I used \digits and this is the result:
=
! Missing $ inserted.
inserted text
$
to be read again
   _
\next ...savedigit \collecteddigits @\else \if #1_
  \savedigit
\collecteddigit...
\doCurrency ...{\thinspace CHF}]\BF \digits #1\AF
  \relax
=
Is this known problem? Something with catcodes, I think,
it works ok here; can you make a test file?
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


Re: [NTG-context] Header background won't go away

2005-03-17 Thread Hans Hagen
Duncan Hothersall wrote:
Thanks Hans, fixes problem 2, but 1 remains.
So this is maybe a bug?
you forgot \setupbackgrounds[state=repeat]
-
  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


Re: Configuring 2 trees [was RE: [NTG-context] Times New Roman]

2005-03-17 Thread Hans Hagen
ishamid wrote:
I really wish that updating/upgrading were not always such a pain...
normally it isn't but currently there are three issues that make it 
painfull:
- incompatible changes in the tds (enc/map paths)
- changes in pdftex (no config, better map support)
- the transition to latin modern
- (unnoticed) changes in pattern file names
- the usual changes in fonts
and ... you end up in the middle of it
i'll upload a new minimal (beware, tex live 2005 binaries), as well as the big 
windows zip (will take a few hours)

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


Re: [NTG-context] automating initialization

2005-03-17 Thread Hans Hagen
ishamid wrote:
Dear gang,
How do I automate initialization of the separate context tree (from 
mswintex.zip)? A simple batch file such as


setuptex c:\context
texexec foo

does not work; the batch file always turns itself off before texexec can be 
invoked. Can I make the initialization global so that all batch files (such as 
those called by WinEDT) will work properly? I added c:\context to the path but 
that is not enough.

BTW: Can initialization be turned off as well?
you can associate batch files to a cmd window, (open action); in winedt you 
shoul dadd the lines to their bat files (or ask the author to provide an 
initialization option)

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


Re: [NTG-context] Header background won't go away

2005-03-17 Thread Duncan Hothersall
Thanks Hans, fixes problem 2, but 1 remains.
So this is maybe a bug?
you forgot \setupbackgrounds[state=repeat]
Ach. I tried adding it to my \setupbackgrounds[header] command not 
realising that it needed to be on its own. Sorry for the noise. Your 
solution worked in its entirety. Thank you very much!

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


Re: [NTG-context] Header background won't go away

2005-03-17 Thread Duncan Hothersall
Hans wrote:
you can do a stepwise page change:
   \setuphead[part][page={yes,blank,right}]
   \setuphead[chapter][header=high,page={yes,blank,right}]
also, in order to let backgrounds adapt to each page, say:
   \setupbackgrounds[state=repeat]
otherwise only text|page backgrounds will be calculated each page and the other 
ones when backgrounds are set/changed (otherwise too slow)

Hans
(some day i'll make this nicer)
Thanks Hans, fixes problem 2, but 1 remains.
So this is maybe a bug?
This is my test file now:
--
\setuppagenumbering[alternative=doublesided]
\setuplayout[location=doublesided,
 backspace=8.5pc,topspace=5.5pc,top=0pt,topdistance=0pt,
 header=12pt,headerdistance=12pt,height=61pc,footer=16pt,
bottom=6pc,leftedge=9pc,leftedgedistance=0pt,leftmargin=0pt,
leftmargindistance=0pt,width=29pc,rightmargindistance=0pt,
rightmargin=6.5pc,rightedgedistance=0pt,rightedge=6.5pc]
\setuphead[part]
  [placehead=yes,resetnumber=no,page={yes,blank,right},
   header=high,before=,after=]
\def\XPart#1#2{#1 #2} %simplified
\setuphead[chapter]
  [header=high,page={yes,blank,right},
   before=\vbox to 14pc\bgroup,after=\vss\egroup]
\def\XChapter#1#2{#1 #2} %simplified
%...
\setupcolors[rgb=no,cmyk=no,spot=yes,state=start]
\definecolor[PantoneTwoNineFour][c=1,m=.56,y=0,k=.18]
\definecolor[IFSblueheadertint][PantoneTwoNineFour][p=.12]
%...
\setupbackgrounds[header]
  [leftedge,leftmargin,text,rightmargin,rightedge]
  [background=color,backgroundcolor=IFSblueheadertint,state=start]
\setupheader[state=start]
\setupheadertexts[margin]
[]
[\hfill\llap{\tfx\getmarking[chapter][current]}]
[\hbox to \leftmarginwidth{\rlap{\tfx\getmarking[section][last]\hfil}}]
[]
%...
\starttext
\startbodymatter
\part{First part}
Looks good, and no band on next page either!
\chapter{First chapter}
Looks good, no band on first page of chapter. \page[yes]
\section{First section}
Looks good, the band is there. \page[yes]
\section{Second section}
Looks good, the band is still there.
\chapter{Second chapter}
Ugh, the band has impinged on my title again.
\stopbodymatter
\stoptext
--
Thanks,
Duncan
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Announce pdfopen/pdfclose under Linux (v. 0.3)

2005-03-17 Thread Taco Hoekwater
I've just finished uploading an improved version with additional
support for the new Adobe Reader 7.0 for Linux:
   http://tex.aanhet.net/utils/pdfopen-0.3.tar.gz
Greetings, Taco
Taco Hoekwater wrote:
Hi all,
I've just uploaded a beta version of Fabrice Popineau's pdfclose/
pdfopen tools ported to X11 (Linux).
I've tested this with Acrobat Reader 5.0.10  Linux  X.org, but the
code is reasonably generic, I believe. I hope that while waiting for
the upcoming direct texexec support, somebody is willing to do testing
under other AR/Os/X configurations.
You can fetch it from:
  http://tex.aanhet.net/utils/pdfopen-0.2.tar.gz
(Mandrake 10.1/i386 binaries are included)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Problems with new beta

2005-03-17 Thread Patrick Gundlach
Hello Hans,


[...]

 get the lmr zip from our site and unzip it in your tree; otherwise, try

 \setupencoding[default=texnansi]

This doesn't seem to work. On live.contextgarden.net I keep getting:

(/opt/context/current/texmf/tex/context/base/spec-fdf.tex)
specials: fdf loaded
)
specials: fdf,tpd loaded
)
bodyfont: 12pt rm is loaded
! Font \*12ptrmtf*=ec-lmr12 not loadable: Metric (TFM) file not found.
to be read again 
   \relax 
\xxdododefinefont ...tspec {#4}\newfontidentifier 
  \let \localrelativefontsiz...

\fontstrategy ...ame #1\csname #2#3#4#5\endcsname 
  \tryingfontfalse \fi 
inserted text ...yle \fontalternative \fontsize 
  \fi \iftryingfont \fontstr...

\synchronizefont ...strategy \the \fontstrategies 
  \relax \fi \ifskipfontchar...
argument \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle }\if...
...
l.1 
\setupencoding[default=texnansi]
? 

So even before I set this encoding, I get an error.


Patrick
-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Palatino? - bitmap fonts???

2005-03-17 Thread Patrick Gundlach

[...]

 /var/tmp/texfonts/pk/modeless/adobe/palatino/pplr
 8r.86pk

 that's the first time i've seen a palatino bitmap come by; i wonder
 what generates them and from what

 It looks really ugly :), as it is only 44k, I attach it for your
 amusement.

/me is loughing! That looks gross.

 a very clean (i.e. untouched by myself...) TeX tree on my machine.
 Should I wipe the whole TeX installation and reinstall everything?
 (and if yes, what needs to be removed? [using gwTeX])

If it works OK now, I wouldn't touch it (unless you are bored...)

Patrick

-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Palatino? - bitmap fonts???

2005-03-17 Thread Patrick Gundlach
Hello,

 i wonder why in some cases uplr is used and in other situations pplr.

 - maybe palatino px does not go well with the adobekb file?

Probably, but I've got mine typeset correctly, so I still wonder why.

 - maybe some magick auto-name-remapping via the aliases file?

Mystery, not magic ;-)


 (maybe it's time to drop mapfiles completely)

+1 from me

Patrick
-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] textbackground

2005-03-17 Thread Duncan Hothersall
Resurrecting a thread from June last year... (sorry!)
On 26-jun-04 Hans van der Meer identified a bug/issue with text backgrounds:
 When the textbackground falls at a page crossing -- i.e. starts at
 the top of a page -- the coloring extends backwards on the page just
 left.
On 29-jun-04 Hans H tantalisingly said:
i think i found a way out and will send you a test file

Hans
As far as I can tell, I'm currently experiencing the same thing. I'm 
wondering what was in the test file ;-)

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


Re: [NTG-context] imposition for a pdf file

2005-03-17 Thread luigi.scarso
Hans Hagen wrote:
in page-imp are some additional inclusion macros -)
Yes, i have seen some of them.
I have a problem about stickers and imposition;
i try to use/modify some of this macros for pagearrangement, but i 
consume all
tex memory.
Actually i have found a dirty solution using perl and sort; as soon as 
possible
i will post some code.

shorter
\centerline
  {\dostepwiserecurse{1}{11}{2}
 {\expanded{\externalfigure[test][page=\recurselevel]}}}
Yes, syst-ext.  and others syst-.
I try to made a pdf-collection of useful module like syst-*, page-* 
core-box, supp-box, some module for fonts (open issue: turkish), etc.
(last entry: \startsetups in core-new..)

In my head, i call this collection
context-foundation: core macros for context programmers
If you have some suggestions. |)
Also, i know some books/resources for tex programmers:
(always The Book first :) )
texbytopic.pdf,
cseq.html,
The Advanced TEXBook (seem good; maybe i will buy it)
etex-man.pdf
Again, if you have some others...
luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Upgrading...

2005-03-17 Thread Patrick Gundlach
Hi,

 when needed, unzip the latest cont-tfm (beta) and cont-lmr archives
 in texmf-local and remake formats
 Where are the cont-lmr archives? I can't find them...

 on our website there is a zip (beta location) in the texmf structure


jftr: it is in

context/latest/cont-lmt.zip


-- 
It's St. Patrick's Day!
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Problems with new beta

2005-03-17 Thread Hans Hagen
Patrick Gundlach wrote:
Hello Hans,
[...]

get the lmr zip from our site and unzip it in your tree; otherwise, try
\setupencoding[default=texnansi]

This doesn't seem to work. On live.contextgarden.net I keep getting:
install the latest latin modern, cork- was replaced by ec- (in sync with 
antikwa)
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] Re: Euro-sign

2005-03-17 Thread Patrick Gundlach
Johannes Werner [EMAIL PROTECTED] writes:

 \usesymbolset[eur] is an undefined control sequence

try \usesymbols, but on my system it is looking for some fonts not
available. Perhaps the adobe euro font?

Patrick

-- 
It's St. Patrick's Day!
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] imposition for a pdf file

2005-03-17 Thread Hans Hagen
luigi.scarso wrote:
I have a problem about stickers and imposition;
there's a special x/y one for stickers
Yes, syst-ext.  and others syst-.
I try to made a pdf-collection of useful module like syst-*, page-* 
core-box, supp-box, some module for fonts (open issue: turkish), etc.
(last entry: \startsetups in core-new..)

In my head, i call this collection
context-foundation: core macros for context programmers
this is what taco/patrick call the api (so ... how about joining the 
api-team)
If you have some suggestions. |)
Also, i know some books/resources for tex programmers:
(always The Book first :) )
indeed, the more you tex, the more you find in it
texbytopic.pdf,
those are the ones that i use (although i haven't touched them for a long time 
now which may be a bad sign)

cseq.html,
that's indeed a nice one
The Advanced TEXBook (seem good; maybe i will buy it)
this is a g ood book as well; (david gave a nice few days course for the ntg 
long ago so i also have the preprint somewhere)

etex-man.pdf
Again, if you have some others...
Beginner's Book of TEX
Seroul, Raymond, Levy, Silvio
1st ed. 1991. Corr. 3rd printing, 1995, XII, 284 pp., Softcover
ISBN: 0-387-97562-4
is a nice one (looking at the cover on the springer page it looks like i have an 
old copy);

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


Re: [NTG-context] empty lines at the top of the columns

2005-03-17 Thread Hans Hagen
sjoerd siebinga wrote:
I have a problem with empty lines at the top of my columns. My text is 
subdivided into dictionary articles (called lemmata) which are separated 
by an empty line. However, when dictionary article ends at the last line 
the following column begins with an empty line, which is very ugly.

Does anyone know how I can solve this problem.
My columndefinition is
\startcolumns[n=2,rule=off,balance=yes,blank={fixed,small}]
and I defined the dictionary article enviromnent as follows:
\definestartstop[lemma][
before={}, %
after={\crlf}]%
use \endgraf instead of \crlf
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


Re: [NTG-context] stickers

2005-03-17 Thread luigi.scarso
Hans Hagen wrote:
luigi.scarso wrote:
I have a problem about stickers and imposition;

there's a special x/y one for stickers

Ok, no code, only an example of the problem.
Let S a pdf  with 17 pages;
let S(0) the first page, and S(16) the last page.
Let T the target pdf with 8 box which each will cointain an S(j), j=0..16
I draw now  a simple schema for  an empty pages of T
T(.)
[] [] [] [] [] [] [] []

After 'imposing' , T should be
T(0)
[S(0)] [S(3)] [S(6)] [S(9) ]  [S(12)] [S(15)] [] []
T(1)
[S(1)] [S(4)] [S(7)] [S(10)]  [S(13)] [S(16)] [] []
T(2)
[S(2)] [S(5)] [S(8)] [S(11)]  [S(14)] []  [] []
I call it 'make a pile' .
Now, once we have fixed the number of the box (8 in this examples), give S
we want to make T.
I'have some solutions that use perl/sort, but they are not nice.
indeed, the more you tex, the more you find in it
yes, but every time i touch it i think i'm not ready now, maybe 
tomorrow.
Really.
(and i don' want touch Metafont)

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


[NTG-context] Color separation

2005-03-17 Thread Duncan Hothersall
Sorry for all the messages; I am exploring things I don't really 
understand. I hope someone can enlighten me!

With the following colour set-up:
\setupcolors[rgb=no,cmyk=yes,spot=yes,state=start]
\definecolor[PantoneTwoNineFour][c=1,m=.56,y=0,k=.18]
\definecolor[IFSbluetabletint][PantoneTwoNineFour][p=.15]
and then using this tint as a textbackground and also as a 
backgroundcolor in frames, I am getting complaints from my printers that 
black overprinted on the tint is 'knocking out' the tint and leaving 
white on the separated plate.

I have read and re-read the useful msplit.pdf which suggests that the 
implicit criterium=all will negate this effect, but perhaps I have 
misunderstood?

Two questions:
1. how can I stop black overprinting from knocking out the tint, and
2. is there a way I can check that it is working properly without 
sending it to the printer each time?

Thanks as ever for any help. Do I need to post example output?
Duncan
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] m-bib issues

2005-03-17 Thread ishamid
= Original Message From Taco Hoekwater [EMAIL PROTECTED] =
 The \startpublication[a= ] option seems to cause m-bib to choke on some
 accents. Here is an example:

It might be a font thing, because my Context does not complain and
typesets the \~\i correctly.

Rather, its almost certainly a macro thing, because I've had to 
redefine/create some accents for transliteration, etc. See below. Anyway, 
these accents work fine outside of the \startpublication[a= ] option.

A log file and/or texexec --version
information is needed.

Silly me, I was half-sleep when I sent that. Try this:

===test-bib.tex===
\setupoutput[pdftex]

\usemodule[bib]

\def\SHIFT#1{\dimen0=.00#1ex \multiply\dimen0 by\fontdimen1\font
\kern-.0156\dimen0} % compensate for slant/italic in lower accents

\def\h#1{{\oalign{\relax#1\crcr\hidewidth\SHIFT{34}%
\vbox to.2ex{\hbox{\char'25}\vss}\hidewidth}}}

\def\~#1{{\struttedbox{\accent7E #1}}}

\def\AHSAI{A\d hs\=a'\~\i}
%\def\AHSAI{A\d hs\=a'\i}

\def\KHAWARIZMI{\h Haw\=arizm\=i}
%\def\KHAWARIZMI{Khaw\=arizm\=i}

\KHAWARIZMI{} (from whom we get `algorithm')

\input test-bib.bbl

\starttext

\cite[ahsaif]

\cite[ahsaijk]

\cite[khawarizmi]

\AHSAI

\KHAWARIZMI

\stoptext
===
==test-bib.bbl=
\startpublication[k=ahsaif,
  t=book,
  a=\AHSAI,
  y=1856,
  s=\AHSAI1856]
%\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah}
\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah}
\title{\v Sar\.hu \~al-Faw\={a}\'id}
\pubname{n.p.}
\city{Tabriz}
\pubyear{1856}
\stoppublication

\startpublication[k=ahsaijk,
  t=book,
  a=\AHSAI,
  y=1856--59,
  s=\AHSAI1856--59]
\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah}
\title{Jaw\={a}mi\`u \~al-Kalim}
\pubname{n.p.}
\note{Two volumes}
\city{Tabriz}
\pubyear{1856--59}
\stoppublication

\startpublication[k=khawarizmi,
  t=book,
  a=\KHAWARIZMI,
  y=1856,
  s=\KHAWARIZMI1856]
%\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah}
\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah}
\title{\v Sar\.hu \~al-Faw\={a}\'id}
\pubname{n.p.}
\city{Tabriz}
\pubyear{1856}
\stoppublication

===
==log==
This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) (format=cont-en 
2005.3.16)  17 MAR 2005 08:33
entering extended mode
\write18 enabled.
 (c:\CONTEXT\texmf-local/web2c/natural.tcx)
**cont-en test-bib.tex
(./test-bib.tex

ConTeXt  ver: 2005.01.31  fmt: 2005.3.16  int: english  mes: english

language: language en is active
protectionstate 0
system  : cont-new loaded
(c:\CONTEXT\texmf-local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
color   : palette rollover is available
system (E-TEX) : [line 878] 
system (E-TEX) : [line 933] 
)
system  : cont-old loaded
(c:\CONTEXT\texmf-local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(c:\CONTEXT\texmf-local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys loaded
(c:\CONTEXT\texmf-local/tex/context/user/cont-sys.tex
(c:\CONTEXT\texmf-local/tex/context/base/type-syn.tex)
(c:\CONTEXT\texmf-local/tex/context/base/type-enc.tex)
(c:\CONTEXT\texmf-local/tex/context/base/type-dis.tex)
(c:\CONTEXT\texmf-local/tex/context/base/type-siz.tex)
(c:\CONTEXT\texmf-local/tex/context/base/type-map.tex)
(c:\CONTEXT\texmf-local/tex/context/base/type-spe.tex)
(c:\CONTEXT\texmf-local/tex/context/base/type-exa.tex)
(c:\CONTEXT\texmf-local/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
language: patterns en-default:default-1-2:2 
uk-default:default-2-
2:2 de-texnansi:texnansi-3-2:2 de-ec:ec-4-2:2 
fr-texnansi:texnansi-5-2
:2 fr-ec:ec-6-2:2 es-default:default-7-2:2 it-texnansi:texnansi-8-2:2 
it-ec:ec-9-2:2 nl-texnansi:texnansi-10-2:2 nl-ec:ec-11-2:2 loaded
specials: tex,postscript,rokicki loaded
\openout2 = `test-bib.tui'.

system  : test-bib.top loaded
(./test-bib.top)
\openout0 = `test-bib-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


specials: loading definition file tpd
(c:\CONTEXT\texmf-local/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(c:\CONTEXT\texmf-local/tex/context/base/spec-fdf.tex unprotect 3
system (E-TEX) : [line 2280] \ifcsname 
protect 3)
specials: fdf loaded
)
specials: fdf,tpd loaded
system  : macros of module bib loaded
(c:\CONTEXT\texmf-local/tex/context/bib/t-bib.tex
system  : macros of module bibltx loaded
(c:\CONTEXT\texmf-local/tex/context/bib/t-bibltx.tex)
publications: 

sane accents [was RE: [NTG-context] m-bib issues]

2005-03-17 Thread ishamid
Dear fellow conspirators,
 
Is there a saner way to define the following accent using ConTeXt's framework:

\def\SHIFT#1{\dimen0=.00#1ex \multiply\dimen0 by\fontdimen1\font
\kern-.0156\dimen0} % compensate for slant/italic in lower accents

\def\h#1{{\oalign{\relax#1\crcr\hidewidth\SHIFT{34}%
\vbox to.2ex{\hbox{\char'25}\vss}\hidewidth}}}

\def\~#1{{\struttedbox{\accent7E #1}}}

In my own work, the tilda is used over (upper and lower case) `h', `t', and 
`i', and the lower crescent is only used under (upper and lower case) `h'. lmr 
does not have the latter case and I still have a couple of issues with lmr so 
I'd like to maintain control over a few accents for now.

Best
Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Re: [NTG-context] automating initialization

2005-03-17 Thread Peter Rolf
Hello Indris,
ishamid wrote:
Dear gang,
How do I automate initialization of the separate context tree (from 
mswintex.zip)? A simple batch file such as


setuptex c:\context
texexec foo

 

If you are using XP, you must use the call command in front of both lines.
If you call a batch file from a batch file simply us call. So in your case
call setuptex c:\context
call texecex foo
enter help call to get more information
does not work; the batch file always turns itself off before texexec can be 
invoked. Can I make the initialization global so that all batch files (such as 
those called by WinEDT) will work properly? I added c:\context to the path but 
that is not enough.

BTW: Can initialization be turned off as well?
 

You have to unset or restore(!) the environment variables (TEXMF,...).
...and the same for the set command: help set
There are similar commands for the other Window versions (can't remember).
Greetings,
   Peter
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] automating initialization

2005-03-17 Thread ishamid
= Original Message From Hans Hagen [EMAIL PROTECTED] =
ishamid wrote:
 Dear gang,

 How do I automate initialization of the separate context tree (from
 mswintex.zip)? A simple batch file such as

 
 setuptex c:\context
 texexec foo
 

 does not work; the batch file always turns itself off before texexec can be
 invoked. Can I make the initialization global so that all batch files (such 
as
 those called by WinEDT) will work properly? I added c:\context to the path 
but
 that is not enough.

 BTW: Can initialization be turned off as well?

you can associate batch files to a cmd window, (open action);

can you give me an example?

in winedt you
shoul dadd the lines to their bat files (or ask the author to provide an
initialization option)

Well, the following seems to work for now:


call setuptex c:\context
texexec foo


I am pretty ignorant of DOS but call seems to solve the problem for now. Now 
my WinEDT batch files for pdfetex and aleph can work.

Best
Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


RE: Configuring 2 trees [was RE: [NTG-context] Times New Roman]

2005-03-17 Thread ishamid
Hi, Hans
= Original Message From Hans Hagen [EMAIL PROTECTED] =

i'll upload a new minimal (beware, tex live 2005 binaries), as well as the 
big
windows zip (will take a few hours)

1. Remember that I need both aleph and pdfetex formats; can you do that?

2. After you upload, please:-) tell me exactly what I need to get things 
working. I only have high-speed access at my office (rather far from here) and 
will head there as soon as you have uploaded things. I only downloaded the 
minimal mswintex.zip; should I get the big one? Should I upgrade to the latest 
fpTeX/TeXLive as well? If so, let me know which depository you use so that I 
don't get the wrong one (yes, I'm paranoid-)

I'll do whatever it takes...

And as always,
Thnx!!!

Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


RE: Configuring 2 trees [was RE: [NTG-context] Times New Roman]

2005-03-17 Thread ishamid
= Original Message From Hans Hagen [EMAIL PROTECTED] =
ishamid wrote:

 I really wish that updating/upgrading were not always such a pain...

normally it isn't but currently there are three issues that make it painfull:

- incompatible changes in the tds (enc/map paths)
- changes in pdftex (no config, better map support)
- the transition to latin modern
- (unnoticed) changes in pattern file names
- the usual changes in fonts

I played around for quite some time with the texmf.cnf environment variables 
in both \TeXLive and \ConTeXt trees. I noticed that even when I got \TeXLive 
to search \ConTeXt first, upon compiling it still could not find certain files 
(a tds issue?), while I could never get \ConTeXt to search \TeXLive properly.

This was not helped by the fact that my July04 fpTeX comes with a corrupt 
kpathsea.pdf documentation using type3 fonts!

Yesterday was not my day...

Best
Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Re: [NTG-context] Color separation

2005-03-17 Thread Henning Hraban Ramm
Am 17.03.2005 um 15:35 schrieb Duncan Hothersall:
2. is there a way I can check that it is working properly without 
sending it to the printer each time?
Acrobat has an overprint preview since v5; AFAIK Reader got it in v7.
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib issues

2005-03-17 Thread Taco Hoekwater
Ah, I see. Sneakily changing definitions, are you! ;-)
Try this definition instead:
  \protected \def\~#1{{\struttedbox{\accent7E #1}}}
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: Configuring 2 trees [was RE: [NTG-context] Times New Roman]

2005-03-17 Thread Hans Hagen
ishamid wrote:
I'll do whatever it takes...
the big mswincontext.zip
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


Re: [NTG-context] \doprepareidentity

2005-03-17 Thread Peter Münster
On Thu, 17 Mar 2005, Hans Hagen wrote:

 patch this on core-int:
 
 \def\doprepareidentity% beware, we need to construct
{\let\!!stringa\@@iakeyword % an unexpanded space separated
 \let\@@iakeyword\empty % list of keywords from a comma
 \def\doprepareidentity##1% % separated one
   {\ifx\@@iakeyword\empty
  \appended\def\@@iakeyword{##1}%
\else
  \appended\def\@@iakeyword{ ##1}%
\fi}%
 [EMAIL PROTECTED]@EA[\!!stringa]\doprepareidentity
 \global\let\doprepareidentity\relax}

Thanks, this works very well!
Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] automating initialization

2005-03-17 Thread Hans Hagen
ishamid wrote:

call setuptex c:\context
texexec foo

if needed, say: texmfstart texexec foo
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


Re: sane accents [was RE: [NTG-context] m-bib issues]

2005-03-17 Thread Hans Hagen
ishamid wrote:
Dear fellow conspirators,
 
Is there a saner way to define the following accent using ConTeXt's framework:

\def\SHIFT#1{\dimen0=.00#1ex \multiply\dimen0 by\fontdimen1\font
\kern-.0156\dimen0} % compensate for slant/italic in lower accents
\def\h#1{{\oalign{\relax#1\crcr\hidewidth\SHIFT{34}%
\vbox to.2ex{\hbox{\char'25}\vss}\hidewidth}}}
\def\~#1{{\struttedbox{\accent7E #1}}}
less encoding dependent:
  \unexpanded\def\~{\struttedbox{\texttilde#1}}
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


Re: Configuring 2 trees [was RE: [NTG-context] Times New Roman]

2005-03-17 Thread Hans Hagen
ishamid wrote:
Hi, Hans
= Original Message From Hans Hagen [EMAIL PROTECTED] =

i'll upload a new minimal (beware, tex live 2005 binaries), as well as the 
big
windows zip (will take a few hours)

1. Remember that I need both aleph and pdfetex formats; can you do that?
--engine
or in texexec.ini (rme):
set UseEnginePath to  true
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


Re: [NTG-context] special macro problem again...

2005-03-17 Thread Peter Münster
It's a repost.
Does anybody have an idea to solve this problem?
If not, I'm going to buy the TeXbook...

I try to expose the problem a bit clearer:

\newcount\MyVersion
\def\MyMacro#1{% This macro is somewhere in an environment file.
  \getgparameters[XXX][#1]
  \global\advance\MyVersion by 1
  \bTR \expanded{\bTD \the\MyVersion \eTD} \expanded{\bTD \XXXNumber \eTD}\eTR
}

\def\MyNumber#1#2#3{% This macro is a special one for the document.
  \doifmode{aaa}{#1}\doifmode{bbb}{#2}\doifmode{ccc}{#3}}

\enablemode[bbb]

\starttext
\bTABLE
\bTR \bTD Version \eTD \bTD Number \eTD \eTR
\MyMacro{Number=123}
\MyMacro{Number=\MyNumber{111}{222}{333}} % error: Incomplete \iffalse
\MyMacro{Number=456}
\eTABLE
\stoptext

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Color separation

2005-03-17 Thread Hans Hagen
Duncan Hothersall wrote:
Sorry for all the messages; I am exploring things I don't really 
understand. I hope someone can enlighten me!

With the following colour set-up:
\setupcolors[rgb=no,cmyk=yes,spot=yes,state=start]
\definecolor[PantoneTwoNineFour][c=1,m=.56,y=0,k=.18]
\definecolor[IFSbluetabletint][PantoneTwoNineFour][p=.15]
and then using this tint as a textbackground and also as a 
backgroundcolor in frames, I am getting complaints from my printers that 
black overprinted on the tint is 'knocking out' the tint and leaving 
white on the separated plate.

I have read and re-read the useful msplit.pdf which suggests that the 
implicit criterium=all will negate this effect, but perhaps I have 
misunderstood?

Two questions:
1. how can I stop black overprinting from knocking out the tint, and
2. is there a way I can check that it is working properly without 
sending it to the printer each time?

Thanks as ever for any help. Do I need to post example output?
whow, a demanding color user -)
see mag-0006.pdf for more info on properties
\setupcolors[state=start,textcolor=cyan,overprint=yes]
\setupbackgrounds[page][background=color,backgroundcolor=magenta]
\starttext
\input tufte
\startproperty[knockout]\input tufte\stopproperty
\startproperty[overprint]\input tufte\stopproperty
\input tufte
\stoptext

-
  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


Re: [NTG-context] Color separation

2005-03-17 Thread Duncan Hothersall
2. is there a way I can check that it is working properly without
sending it to the printer each time?
Acrobat has an overprint preview since v5; AFAIK Reader got it in v7.
Yes... but it doesn't show up any problem. (Well, it just displays the 
same thing with overprint preview as without.) *But* in Acrobat 
Professional 7, doing a preflight check for CMYK+Spot output, it 
complains about overprint = off on all the text on tints. So I guess 
there is a problem in some way? This is why I am confused.

Knowing what ConTeXt incantations *should* make it work would be a 
start, and then I can tell the printer that they have to fix it! :-)

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


Re: [NTG-context] Color separation

2005-03-17 Thread Duncan Hothersall
whow, a demanding color user -)
...
overprint=yes
...
Aaaah. Thanks you so very much Hans. Of course, as ever, the answer is a 
single setting which solves all my problems.

Off to add this gold to the wiki...
Duncan
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Palatino? - bitmap fonts???

2005-03-17 Thread Adam Lindsay
Seeing this thread, I wonder now if there's any more interest in 
helping ship a cont-sys.tex and a texexec.ini (before it goes away) 
that is tuned to gwTeX?

adam
On 16 Mar 2005, at 19:08, Matthias Weber wrote:
Patrick tracked this down do an  old cont-sys.rme, and my guess is 
that it is erroneously being distributed with Gerben Wiebe's TeX 
installation
(which I use).
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Typescript for Times New Toman and Arial

2005-03-17 Thread ishamid
Dear consortium,

Below is a working typescript for times new roman and arial (I'm told that on 
mac the equivalent of arial is helvetica, so this may be os-specific;-)
This combination is required by Springer-Verlag in many of their books.

I have to typeset an article for a Springer volume (their editor could not 
handle my transliteration accents) that will fit in seamlessly with the 
editors' preparation of the rest of the volume. When I am done, I will gladly 
contribute the resulting style so that others who need to prepare something 
for Springer will have something to go on. Maybe this could even be developed 
into a full 
m-spring.tex module.

Anyway, here is the times new roman/arial typescript. Please make 
suggestions/improvements. Also, I'm not sure which math collection works best 
with tnr/arial.

Best
Idris

PS. Yes, I did finally get tnr/arial working, though I've hosed my entire 
TeX/ConTeXt system in the process: in other words, victorious but wounded;-)

=type-tnr
%Names

\starttypescript [serif] [timesnewroman] [name]

\setups[font:fallback:serif]

\definefontsynonym[Serif]  [TimesNewRoman]
\definefontsynonym[SerifBold]  [TimesNewRoman-Bold]
\definefontsynonym[SerifItalic][TimesNewRoman-Italic]
\definefontsynonym[SerifBoldItalic][TimesNewRoman-BoldItalic]

\stoptypescript

\starttypescript [sans] [arial] [name]

\setups[font:fallback:sans]

\definefontsynonym[Sans]  [Arial]
\definefontsynonym[SansBold]  [Arial-Bold]
\definefontsynonym[SansItalic][Arial-Italic]
\definefontsynonym[SansBoldItalic][Arial-BoldItalic]

\stoptypescript


%Synonyms

\starttypescript [serif] [timesnewroman] [texnansi]

\definefontsynonym [TimesNewRoman]
[\typescriptthree-Times]
[encoding=\typescriptthree]

\definefontsynonym [TimesNewRoman-Bold]
[\typescriptthree-Timesbd]
[encoding=\typescriptthree]

\definefontsynonym [TimesNewRoman-Italic]
[\typescriptthree-Timesi]
[encoding=\typescriptthree]

\definefontsynonym [TimesNewRoman-BoldItalic]
[\typescriptthree-Timesbi]
[encoding=\typescriptthree]

\stoptypescript

\starttypescript [sans] [arial] [texnansi]

\definefontsynonym [Arial]
[\typescriptthree-Arial]
[encoding=\typescriptthree]

\definefontsynonym [Arial-Bold]
[\typescriptthree-Arialbd]
[encoding=\typescriptthree]

\definefontsynonym [Arial-Italic]
[\typescriptthree-Ariali]
[encoding=\typescriptthree]

\definefontsynonym [Arial-BoldItalic]
[\typescriptthree-Arialbi]
[encoding=\typescriptthree]

\stoptypescript


% maps

\starttypescript [map] [timesnewroman] [texnansi]

\loadmapfile[texnansi-microsoft-timesnewroman.map]

\stoptypescript

\starttypescript [map] [arial] [texnansi]

\loadmapfile[texnansi-microsoft-arial.map]

\stoptypescript


% typefaces

\starttypescript [TimesNR]

\definebodyfontenvironment
  [timesnr]
  [default]
  [interlinespace=2.8ex]

\definetypeface [timesnr]
[rm] [serif] [timesnewroman] [default]
[encoding=texnansi]

\definetypeface [timesnr]
[ss] [sans] [arial] [default]
[encoding=texnansi]

\definetypeface [timesnr]
[mm] [math] [palatino] [default]
[encoding=texnansi]

\definetypeface [timesnr]
[tt] [mono] [modern] [default]
[encoding=texnansi]

\stoptypescript

=

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


RE: Configuring 2 trees [was RE: [NTG-context] Times New Roman]

2005-03-17 Thread ishamid
= Original Message From Hans Hagen [EMAIL PROTECTED] =
 1. Remember that I need both aleph and pdfetex formats; can you do that?

--engine

could you give me an example of its use in building a format?

or in texexec.ini (rme):

set UseEnginePath to  true

Ok, now I have

\texmf-mswin\web2c\aleph
\texmf-mswin\web2c\pdfetex

but aleph is looking in the wrong directory:

This is Aleph, Version 3.141592-1.15-2.1-0.0-rc4 (Web2c 7.5.3)
 \write18 enabled.
Copyright (c) 2002--2004 the Aleph task force
---! c:\CONTEXT\texmf-mswin/web2c/pdfetex/cont-en.fmt was written by pdfetex
(Fatal format file error; I'm stymied)

Is there a configuration option I'm missing?

Best
Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Re: [NTG-context] special macro problem again...

2005-03-17 Thread Taco Hoekwater
Peter Münster wrote:
It's a repost.
Does anybody have an idea to solve this problem?
If not, I'm going to buy the TeXbook...
This particular problem can be solved thus:
 \unexpanded\def\MyNumber#1#2#3{%
   \doifmode{aaa}{#1}\doifmode{bbb}{#2}\doifmode{ccc}{#3}}
There are some other syntactical possibilities, but the general
algorithm is always the same: making sure that the \expanded
within \MyMacro doesn't expand \doifmode, since \doifmode breaks
under pressure like that. You were not expected to know about that
(because this is undocumented), so you do not have to feel badly
about not owning a copy of the TeXbook. :-)
However, the TeXbook does explain the basic underlying problem,
and since the LaTeX Companion is not very helpful to ConTeXt
users cough, it is absolutely *the* book to buy.
Greetings, Taco

I try to expose the problem a bit clearer:
\newcount\MyVersion
\def\MyMacro#1{% This macro is somewhere in an environment file.
  \getgparameters[XXX][#1]
  \global\advance\MyVersion by 1
  \bTR \expanded{\bTD \the\MyVersion \eTD} \expanded{\bTD \XXXNumber \eTD}\eTR
}
\def\MyNumber#1#2#3{% This macro is a special one for the document.
  \doifmode{aaa}{#1}\doifmode{bbb}{#2}\doifmode{ccc}{#3}}
\enablemode[bbb]
\starttext
\bTABLE
\bTR \bTD Version \eTD \bTD Number \eTD \eTR
\MyMacro{Number=123}
\MyMacro{Number=\MyNumber{111}{222}{333}} % error: Incomplete \iffalse
\MyMacro{Number=456}
\eTABLE
\stoptext
Greetings, Peter
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Is there a bug in switching body fonts?

2005-03-17 Thread Stefan Wachter
Hi all,
I try to use two different postscript font families. The first family 
uses the  Acrobat fonts without embedding and without reencoding whereas 
the second family uses the Acrobat fonts without embedding but with 
reencoding.

For that means I wrote the typescript file below.
When I use the first family only everything works fine. Similarly, if I 
use the second family only everything also works fine. Yet, if I try to 
switch the body font in a document I get the following error message:

! Font \nullfont has only 7 fontdimen parameters.
to be read again
   \advance
\dohighlow ...#2\textfont 2\else #3ex\fi \advance
  \scratchdimen #4ex 
\kern 

\dogotofixed ...c!color {#1\presetgoto }}}\else #1
  \fi }
\doifreferencefoundelse ...ce \ifreferencefound #2
  \else #3\fi \egroup 
\dores...

\gotobox ...2]} {\hbox {\unknownreference {#2}#1}}
  \referentieinfo 
{}{#2}\eg...
argument ...}[\s!fnt :t:\internalfootreference ]
  \rawreference \s!fnt 
{\s!f...
...
l.27 {\ss Helvetica\par\ShowVariants
}

Can anyone help me with this problem?
Best regards,
--Stefan
The test document
=
\enableregime[il1]
\setupencoding[default=texnansi]
\setupoutput[pdftex]
\pdfoptionpdfminorversion 4
\usetypescriptfile[smallpdf.tex]
\usetypescript[reencode][texnansi][texnansi]
\usetypescript[postscript][texnansi]
\usetypescript[builtInPostscript][texnansi]
\setupbodyfont[postscript,sans,30pt]
\mainlanguage[de]
\setupheadertexts[]
\def\Show{This is a test.\footnote{Fußnote.} 45\char176 \quotedblbase 
äöüßÄÖÜ\quotedblleft}
\def\ShowVariants{\Show\par{\bf\Show}\par{\it\Show}\par{\bi\Show}\par}

\starttext\pdfmapfile{+smallpdf.map}
{\ss Helvetica\par\ShowVariants}
{\rm Times-Roman\par\ShowVariants}
{\tt Courier\par\ShowVariants}
\switchtobodyfont[builtInPostscript] % causes error an error
{\ss Helvetica\par\ShowVariants} % line 27
{\rm Times-Roman\par\ShowVariants}
{\tt Courier\par\ShowVariants}
\stoptext



smallpdf.tex
Description: TeX document
raw-phvr8a Helvetica
raw-phvb8a Helvetica-Bold
raw-phvbo8a Helvetica-BoldOblique
raw-phvro8a Helvetica-Oblique
raw-ptmr8a Times-Roman
raw-ptmb8a Times-Bold
raw-ptmbi8a Times-BoldItalic
raw-ptmri8a Times-Italic
raw-pcrr8a Courier
raw-pcrb8a Courier-Bold
raw-pcrbo8a Courier-BoldOblique
raw-pcrro8a Courier-Oblique
raw-psyr Symbol
raw-pzdr ZapfDingbats

texnansi-raw-phvb8a Helvetica-Bold  TeXnANSIEncoding ReEncodeFont  
texnansi.enc
texnansi-raw-phvro8a Helvetica-Oblique  TeXnANSIEncoding ReEncodeFont  
texnansi.enc
texnansi-raw-phvr8a Helvetica  TeXnANSIEncoding ReEncodeFont  texnansi.enc
texnansi-raw-phvbo8a Helvetica-BoldOblique  TeXnANSIEncoding ReEncodeFont  
texnansi.enc
texnansi-raw-pcrb8a Courier-Bold  TeXnANSIEncoding ReEncodeFont  texnansi.enc
texnansi-raw-pcrbo8a Courier-BoldOblique  TeXnANSIEncoding ReEncodeFont  
texnansi.enc
texnansi-raw-pcrr8a Courier  TeXnANSIEncoding ReEncodeFont  texnansi.enc
texnansi-raw-pcrro8a Courier-Oblique  TeXnANSIEncoding ReEncodeFont  
texnansi.enc
texnansi-raw-ptmr8a Times-Roman  TeXnANSIEncoding ReEncodeFont  texnansi.enc
texnansi-raw-ptmri8a Times-Italic  TeXnANSIEncoding ReEncodeFont  
texnansi.enc
texnansi-raw-ptmbi8a Times-BoldItalic  TeXnANSIEncoding ReEncodeFont  
texnansi.enc
texnansi-raw-ptmb8a Times-Bold  TeXnANSIEncoding ReEncodeFont  texnansi.enc
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] special macro problem again...

2005-03-17 Thread Peter Münster
On Thu, 17 Mar 2005, Taco Hoekwater wrote:

 This particular problem can be solved thus:
 
   \unexpanded\def\MyNumber#1#2#3{%
 \doifmode{aaa}{#1}\doifmode{bbb}{#2}\doifmode{ccc}{#3}}

Thank you very much!

 However, the TeXbook does explain the basic underlying problem,
 and since the LaTeX Companion is not very helpful to ConTeXt
 users cough, it is absolutely *the* book to buy.

Yes, you're right, and probably I'll buy it one day. My real problem is,
that on the one hand I'm interested in ConTeXt and TeX, but on the other
hand my job has nothing to do with it, so I cannot spend much time looking
deeper insight these programs. Documentation is good, but experience too!

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Suppress numbering of figures

2005-03-17 Thread Michael Guravage
 
 All,
 
 I have:
 
 \placefigure
 [here][]
 {Mary Glenn}{\externalfigure[MaryGlenn3.jpg][width=0.5\makeupwidth]}
 
 I'd like the figure to float with the caption, but I don't want the 
 Figure 1, Figure 2, etc. That is, I just want the caption under the 
 figure.
 
 How can I modify to accomplish this?
 

Hello David,

To obviate figure numbers use the setupcaptions command, e.g. 

\setupcaptions [number=no]

You can find a complete description of the command with texshow web on the 
ConTeXt wiki: http://texshow.contextgarden.net, or on page 224 of the context 
manual.

Cheers,

Michael 

-
  Michael A. Guravage
Mijndensedijk 11a | 3632 NT Loenen aan de Vecht | The Netherlands
tel: +31 (0)294233682 | gsm: +31 (0)621431435
-


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


Re: [NTG-context] Suppress numbering of figures

2005-03-17 Thread David Arnold
Michael,
Perfect! Thanks.
On Mar 17, 2005, at 1:20 PM, Michael Guravage wrote:

All,
I have:
\placefigure
[here][]
{Mary Glenn}{\externalfigure[MaryGlenn3.jpg][width=0.5\makeupwidth]}
I'd like the figure to float with the caption, but I don't want the
Figure 1, Figure 2, etc. That is, I just want the caption under the
figure.
How can I modify to accomplish this?
Hello David,
To obviate figure numbers use the setupcaptions command, e.g.
\setupcaptions [number=no]
You can find a complete description of the command with texshow web on 
the ConTeXt wiki: http://texshow.contextgarden.net, or on page 224 
of the context manual.

Cheers,
Michael
-
  Michael A. Guravage
Mijndensedijk 11a | 3632 NT Loenen aan de Vecht | The Netherlands
tel: +31 (0)294233682 | gsm: +31 (0)621431435
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Palatino? - bitmap fonts???

2005-03-17 Thread Matthias Weber
I am not even sure where the problem lies, as I am not at all familiar 
with what gets changed for the Mac distribution.
I only noted that with the Mac gwTeX beta for ConTeXT,

i) the font test file with palatino etc doesn't work properly,
ii) replacing the cont-sys.rme in the beta distribution tree with the 
one from pragma
   makes it work,
iii) re-installing the ConTeXt beta via gwTeX breaks it again (so it 
wasn't me unconsciously messing around with the TeX tree)

I am happy to help testing things, but I probably won't be of any use 
when it comes to OS-specific TeXnicalities.

Matthias

On Mar 17, 2005, at 12:40 PM, Adam Lindsay wrote:
Seeing this thread, I wonder now if there's any more interest in 
helping ship a cont-sys.tex and a texexec.ini (before it goes away) 
that is tuned to gwTeX?

adam
On 16 Mar 2005, at 19:08, Matthias Weber wrote:
Patrick tracked this down do an  old cont-sys.rme, and my guess is 
that it is erroneously being distributed with Gerben Wiebe's TeX 
installation
(which I use).
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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


Re: [NTG-context] hyphenation not working

2005-03-17 Thread Paul Tremblay
On Thu, Mar 17, 2005 at 10:06:14AM +0100, Hans Hagen wrote:
 
 No, hyphen.tex is not on my system. 
 
 it is ...
 
 ./tex/generic/hyphen/hyphen.tex
 
 here !
 
 I installed ConTexT using the TeXLive distribution, and then build
 ConTeXt inside of that by unzipping the standard ConTeXt package.
 
 in your context distribution, locate cont-usr.tex (or rme) and change the 
 ushyp* name mentioned there to hyphen; otherwise copy hyphen.tex to 
 ushyph1.tex and/or ushyph2.tex
 
 (the latest context ships with a version of ctxtools that generates generic 
 pattern files using the context naming scheme; see website for 
 documentation)
 

Neither thing worked. Here is a line from my log file:

82 hyphenation exceptions out of 1000

Thanks


Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] TOC indenting

2005-03-17 Thread David Arnold
All,
In my table of contents, I have:
\definecombinedlist
[content][section,subsection]
\setupcombinedlist
[content]
[alternative=c,aligntitle=yes,width=2.5em]
How do I set up my TOC so that subsections are indented slightly more 
than sections in which they are contained?

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


RE: Configuring 2 trees [was RE: [NTG-context] Times New Roman]

2005-03-17 Thread ishamid
= Original Message From Hans Hagen [EMAIL PROTECTED] =
ishamid wrote:

 I'll do whatever it takes...

the big mswincontext.zip

Maybe it's too late, but is it possible to include the bulk of the omega 
distribution, the parts used by Gamma (basically everything except omega.exe).

Looking forward to it

Idris


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


[NTG-context] m-bib bug?

2005-03-17 Thread ishamid
Dear posse,

Some settings of \setupindenting[] cause the first line created by 
\placepublications to be offset to the left; is this a bug? is there a 
workaround?

(And thank you Taco/Hans for helping me with my ``sneaky'' accent 
redefinitions!)

Best
Idris

===test-bib.tex=
\setupoutput[pdftex]

\def\SHIFT#1{\dimen0=.00#1ex \multiply\dimen0 by\fontdimen1\font
\kern-.0156\dimen0} % compensate for slant/italic in lower accents

\unexpanded\def\h#1{{\oalign{\relax#1\crcr\hidewidth\SHIFT{34}%
\vbox to.2ex{\hbox{\char'25}\vss}\hidewidth}}}

\unexpanded\def\~#1{{\struttedbox{\accent7E #1}}}

\def\AHSAI{A\d hs\=a'\~\i}

%\setupindenting[medium,next]
\setupindenting[medium]

\usemodule[bib]

\starttext

\cite[ahsaif]

\cite[ahsaijk]

\cite[ahsaism]

\section{references}

\blank[big]

{\tfx\setupinterlinespace \placepublications }

\stoptext

===test-bib.bbl=
\startpublication[k=ahsaif,
  t=book,
  a=\AHSAI,
  y=1856,
  s=\AHSAI1856]
%\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{Al-\AHSAI}
\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{Al-\AHSAI}
\title{\v Sar\.hu \~al-Faw\={a}\'id}
\pubname{n.p.}
\city{Tabriz}
\pubyear{1856}
\stoppublication

\startpublication[k=ahsaijk,
  t=book,
  a=\AHSAI,
  y=1856--59,
  s=\AHSAI1856--59]
\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{Al-\AHSAI}
\title{Jaw\={a}mi\`u \~al-Kalim}
\pubname{n.p.}
\note{Two volumes}
\city{Tabriz}
\pubyear{1856--59}
\stoppublication

\startpublication[k=ahsaism,
  t=book,
  a=\AHSAI,
  y=1861a,
  s=\AHSAI1861--1]
\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{Al-\AHSAI}
\title{\v Sar\.hu \~al-Ma\v s\={a}\`ir}
\pubname{n.p.}
\city{Tehran}
\pubyear{1861}
\stoppublication



Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


[NTG-context] footnote placement

2005-03-17 Thread ishamid
Dear syndicate,

1. When I place footnotes as endnotes, they overflow the page, like an 
oversize \vbox.

2. E.g.

\input tufte

does not work from inside \footnote{}

Here is a test file.

Best
Idris

==test-notes===
\setupoutput[pdftex]

\setupfootnotes[location=text]

\starttext

\dorecurse{14}
{\input tufte\footnote{Here is a footnote.\par 
Here is a footnote.\par Here is a footnote.}
\par
\input knuth\footnote{Here is a footnote.\par 
Here is a footnote.\par Here is a footnote.}
\par}

%\dorecurse{14} % THIS DOES NOT WORK!!!
%{\input tufte\footnote{\input tufte}
%\par
%\input knuth\footnote{\input knuth}
%\par}

\section{notes}

\placefootnotes[location=text,split=tolerant]
% the split option does not help:-(

\stoptext
===


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


[NTG-context] hyphenation not working

2005-03-17 Thread Paul Tremblay
Has anyone else had problems with hyphenation? I have a brand new
version of ConTeXt, and cannot get one of its main features, hyphenation,
to work. 

I looked at the documentation, specifically the file called hypenation
patterns. According to this, I should be able to invoke a took called
ctxtools, or at least a tool called texmfstart ctxtools. Neither tool
exists with my distribution.

I do have a file called hyphen.tex. On Hans' suggestion, I copied this
to ushyph1.tex and ushyph2.tex. That didn't help. I also  changed my 
cont-usr.tex file, changing all lines that had ushyp* to hyphen. This also 
didn't work.

I am at a loss, and I consider hyphenation pretty important. How do I
proceed from here?

Thanks

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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