[NTG-context] fighting with footnotes

2004-07-16 Thread ishamid
Dear posse,

I am having trouble with footnotes. For an article, I want some footnotes to
be symbolized by \ast, \dag, etc, but without affecting the numbering of
regular footnotes. For example, the title of article may have a footnote
symbolized by \ast, but the first footnote in the main text should still be
symbolized by `1' (then `2', etc). I tried localfootnotes but I could not get
them placed in the footer at the bottom of the page. [location=page] did not
help.

Related question: can't I just specify a footnote outside the counting
mechanism with any symbol I want at any point in the text, without disturbing
the regular counted footnotes?

I'm also confused by the conversion key. page 93 of the documentation reads:

"With the variable conversion you set up the type of numbering. You may even
use your own character, for example an emdash (keyed in as ---­)."

But if I do, e.g., conversion={---}, TeX complains of course. What am I
missing?

Related questions:

Where are the conversion keys set 2, set 3, etc. documented?

How can I reset the numbering if I make local changes? For example, I am using
regular default footnotes, then I switch to conversion=set 2, then I want to
reset to the default footnotes without losing my numbering. I thought that
[n=0] etc. might help but that key seems to affect the paragraph formatting of
the footnotes, not the numbering. I tried using \start-\stop but that does not
isolate the counting mechanism apparently.

Fighting TeX is really frustrating sometimes, and I'm sure the answers are
really simple...

Best
Idris


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


[NTG-context] More about that footnote problem...

2004-07-23 Thread ishamid
Dear crew,

Here is a concrete example that illustrates the footnote problem. As usual, 
just compile a ConTeXt format under eomega:

===mix-dir-foot.tex===
\input m-gamma.tex
\input type-omg.tex

\setupbodyfont[omlgc,12pt]

\starttext

\dorecurse{5}{\input knuth\footnote{test}\par}

\startarab

\dorecurse{3}{hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN\footnote{hAdhA 'iimtiHAnuN}\par}

\blank[big]

\dorecurse{3}{hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN%
\footnote{%
\startarab %
hAdhA 'iimtiHAnuN %
\stoparab}
\par}

\blank[big]

\setupfootnotes[numbercommand={\switchtobodyfont[omarb]}]

\dorecurse{3}{hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN%
\footnote{%
\startarab %
hAdhA 'iimtiHAnuN %
\stoparab}
\par}

\stoparab

\stoptext
==

Again, the document is globally left-to-right, but for right-to-left documents 
I want the footnote markers in the right margin, and the rule flush right as 
well. The relative local eomega direction commands are

\textdir TLT (LR text)
\pardir TLT (LR paragraphs)
\textdir TRT (RL text)
\pardir TRT (RL paragraphs)

though they are not really needed to create parameter options that give me 
what I want. I played around with some of the macros in core-not.tex but that 
stuff is way over my ahead and I could not make any progress:-(

NOTE: in the second set of RL footnotes, note that the footnote markers get 
pushed into the textblock. In the third set of RL fotnotes, we get Arabic 
markers using

\setupfootnotes[numbercommand={\switchtobodyfont[omarab]}]

but then we lose the default

\setupfootnotes[numbercommand=\high]

and the Arabic-script numerals are again pushed into the textblock.

I look forward to your suggestions

Best
Idris


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


[NTG-context] more footnotes:-)

2004-07-23 Thread ishamid
Dear partners in crime,

I have come across a situation where, in a left-to-right document, I need to 
make the footnotes operate right to left: that is, the footnote numeral and 
rule should be on the right side of the page. Now when using the global 
direction changes that eomega/Gamma offers, this is trivial for a global 
right-to-left document (\pagedir TRT and \bodydir TRT are the global 
settings), but in a globally left-to-right document I have not been able to 
get this to work locally.

To explain:

\textdir TRT

and

\pardir TRT

locally switch the text and paragraph directions respectively, but not the 
footnote markers and rule. This is correct behavior of course. But I have an 
article that includes a long right-to-left extract with footnotes, and those 
footnotes need to be RL in the sense described above (numeral + rule). Is 
there any way to add a parameter option to \setupfoonotes which, 
between---say, a \start-\stop---that can locally switch the location of the 
numeral and marker to RL?

Please help: I'm supposed to send this thing to the printer next week:-))

Best
Idris

PS \pagedir TRT and \bodydir TRT don't seem to help this proble when applied 
in a local context.


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


RE: [NTG-context] unicode editor?

2004-07-27 Thread ishamid
Hi Henning,

>= Original Message From Henning Hraban Ramm <[EMAIL PROTECTED]> =
>> Hans and others use SciTE. Does it provide Unicode/bidirectional
>> support
>> support?
>
>You can set it up to use UTF-8, but I don't think it supports r-t-l or
>bidi.

That's really too bad:-(( I actually have UniType Global Writer but it's 
really a pain to use for TeX source editing. On the other hand, it can be used 
to copy and past to WinEdt (where it will show up as utf-8 ascii). An 
all-in-one solution would be much better though.

Now I'm a KDE lover myself;-) but doesn't GTK support bidi/rtl? So shouldn't 
SciTE support bidi right out of the box?

In any case, I would still like to try SciTE if Hans' support files are 
available somewhere. Quick question: how does one activate utf-8?

Best
Idris


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


RE: [NTG-context] unicode editor?

2004-07-27 Thread ishamid
>What about Mined http://towo.net/mined/ ?
>It's utf-8 and right to left.
>Untested ;).

Drat! it runs from a terminal:-((

Oh well, I'll try it anyway...

Best
Idris


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


RE: [NTG-context] unicode editor?

2004-07-27 Thread ishamid
Thnx 4 this reference; I'll try it!

Best
Idris

>= Original Message From [EMAIL PROTECTED] =
>Hello,
>What about Mined http://towo.net/mined/ ?
>It's utf-8 and right to left.
>Untested ;).


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


RE: [NTG-context] more footnotes:-)

2004-07-28 Thread ishamid
>% program=aleph output=dvipdfmx
>
>% the next texexec will automatically generate pdf which is handy for
>scit eusers -)

Does the latest fpTeX carry dvipdfmx (r u still using fpTeX)? I must confess 
I'm still using odvips-ps2pdf for all of my output...

Best
Idris


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


RE: [NTG-context] Re: new stuff for brave users

2004-08-04 Thread ishamid
Hi Patrick,

One suggestion for TeXshow-web:-)

The commands are all listed in alphabetical order, which is great. But one 
good help would be an option ordering them by topic. For example, a while back 
I needed a rotation command, and the manual does not discuss many of the 
graphics capabilities of ConTeXt. I finally found \rotate combing through the 
base files (it's not in cont-eni.pdf). It would be very useful to know all 
such graphics commands in ConTeXt. The organization of the Reference Manual of 
Lamport's book on LaTeX, or even the end-of-chapter command summaries of 
cont-eni.pdf, is a good model for this. So if I am looking for a graphics 
command I can look purely alphabetically as it is now, as well as topically, 
which is sometimes more useful.

A related point; in ConTeXt the bar <|> is an active character, which is not 
Plain behavior. A list of these little special characters would be useful as 
well, especially for macro writers, etc.

In any case, this list of commands is a great contribution, and a topical 
organization would make it greater:=)

All the best
Idris


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


RE: [NTG-context] Re: ConTeXt and Aleph

2004-09-16 Thread ishamid
>There should be no need to add aleph.exe to your path if you just refresh the
>fndb,

Assuming of course that u put aleph.exe in TeXLive/bin or somewhere similar

Idris


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


RE: [NTG-context] Re: ConTeXt and Aleph

2004-09-16 Thread ishamid
Hi
>= Original Message From mailing list for ConTeXt users 
<[EMAIL PROTECTED]>
>Then I tried the steps Idris recommend once:
>
>> eomega --ini *plain \dump
>> eomega --ini *cont-en
>> texexec --make en -tex=eomega
>>
>> are the relevant commands. eomega _is_ aleph.

I'm sure of course that you replaced `eomega' with `aleph';-)

There should be no need to add aleph.exe to your path if you just refresh the 
fndb, which I'm sure u did also;-)) (I don't know about MacOSX but TeXLive 
contains a shortcut to that command in Programs=>TeXLive=>Maintanence).

I (or Hans) will send you the stuff Hans sent me if all else fails: that will 
work for sure.

Best
Idris


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


RE: [NTG-context] Re: ConTeXt and Aleph

2004-09-16 Thread ishamid
>= Original Message From <[EMAIL PROTECTED]> =


\donothing \dodoappendtoks
>
>l.188 \to \everyresetspecials

2 possibilities

a. Your ConTeXt format is not consistent. Delete your ConTeXt install (ok this 
might not be necessary), make sure you don't have two Contexts (e.g. one in 
texmf and another in texmf-var), reinstall the latest ConTeXt, refresh the 
fndb BEFORE you generate the formats, regenerate the formats, and it should 
work.

b. Also, are you sure that you are running aleph in extended mode? Giuseppe, 
is extended mode the default for aleph or does it have to be explicitly 
invoked?

If Aleph is running in extended mode, and if every ConTeXt file is in the 
fndb,
then it really should work...

Idris


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


RE: [NTG-context] Re: ConTeXt and Aleph

2004-09-16 Thread ishamid
>= Original Message From <[EMAIL PROTECTED]> =

[snip]

> TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003
>
>
>
>Opt=HASH(0x1b453a4)executable : aleph
>
>format : cont-en
>
> inputfile : alephtest1
>
>output : dpx
>
> interface : en
>
>  current mode : none
>
>   TeX run : 1
>

so TeXexec is working...

>
>This is Alephk, Version 3.141592--1.15--2.1--RC3 (Web2c 7.5.3)
>
> %&-line parsing enabled.
>
>Copyright (c) 2002--2004 the Aleph task force
>
>entering extended mode
>
>(alephtest1.tex

and Aleph is working in extended mode

>ConTeXt  ver: 2004.8.15  fmt: 2004.9.16  int: english  mes: english
>

u have a working format...

>*

Weird: There is almost certainly something wrong in your format file.. Did you 
install the ConTeXt that came with fpTeX? If so, get rid of it (minus 
texexec.exe), reinstall the latest version, and try again.

best
Idris


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


RE: [NTG-context] Recommended Books on Typesetting

2004-11-28 Thread ishamid
Here is a start:

http://members.aol.com/willadams/books-typography.html

http://members.aol.com/willadams/books-free-type.html

If you only get one get

The Elements of Typographic Style. 
Bringhurst, Robert.

Best
Idris

>= Original Message From mailing list for ConTeXt users 
<[EMAIL PROTECTED]> =
>Hi!
>
>I was wondering if anyone has any books to recommend, mainly in the area
>of typesetting, i.e., on TeX, typography, and so on.

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

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


[NTG-context] html to context

2005-01-15 Thread ishamid
Hi gang,

Have any of you guys a script or something to convert simple html to ConTeXt? 
There are apparently a couple of html2latex converters out there but is there 
anything for ConTeXt?

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] dictionary for TeX,/ConTeXt

2005-01-15 Thread ishamid
Hi Mojca,

>You can use \enableregime[utf] and write your documents in unicode with
>all the accents instead. I sometimes used the spellchecker inside
>WinEDT, but I'm no expert in that field. Open office is somehow
>inappropriate for writing plain text documents, although I use it
>sometimes as spellchecker too.

I use WinEdt too, but how do you directly type unicode? Or is it a keyboard 
thing?

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


[NTG-context] Times New Roman and endnotes

2005-03-03 Thread ishamid
Dear fellow conspirators,

I have a book chapter that is to be published in an edited volume of a
philosophy series by Springer/Kluwer, but the typesetter could not recreate
the transliteration symbols needed. So the editor has just asked me to typeset
the article for them. My chapter is the only thing holding up the publication
of the book. I need two things very urgently:

1. Setups for Times New Roman (is there a Type1 version that comes with TeX?);

2. I need to replace my footnotes with (aargh!) endnotes. Is there a simple
way to do this?

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


[NTG-context] Upgrading...

2005-03-05 Thread ishamid
Dear syndicate,

While I have not closely kept up with all developments it seems that 
installation/upgrade procedures have been improved. I also went through a lot 
of pain the last time I upgraded so I ask:

Given that:

1. I have not updated my context since Aug. of last year;

2. my fpTeX is from last July.

What is the wisest and most efficient way to upgrade my ConTeXt distribution 
today?

Should I replace fpTeX (including Aleph) with the ConTeXt/TeX distribution 
from the website?

Are there any Aleph-related issues?

Any tips will be appreciated

Thanks
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] Upgrading...

2005-03-15 Thread ishamid
>= Original Message From Idris Samawi Hamid <[EMAIL PROTECTED]> =
>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...

Ok, I see that lmr comes with the mswincontext distribution, so cont-lmr will 
be put up if/when improvements are made?

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] Upgrading...

2005-03-15 Thread ishamid
> just download the windows zip file from our website and install that one
> in a separate tree, e.g. under
>
> c:\context
>
> then, you can initialize that tree with
>
> c:\context\setuptex c:\context
>
> and voila ...

Ok, I followed the above. Now I have two trees, c:\TeXLive and c:\ConTeXt

Issues:

1. I ``initialized'' the \ConTeXt tree and ran

texexec --make

but no aleph format, so a batch file is called:

cd C:\ConTeXt\texmf-mswin\web2c
aleph --ini *plain \dump
texexec --make en -tex=aleph
aleph --ini *cont-en

but...

C:\ConTeXt\texmf-mswin\web2c>aleph --ini *plain \dump
! aleph.pool doesn't match; otangle me again (or fix the path).

How do I get aleph working?

2. How do I get my OS to recognize/prioritize the C:\ConTeXt tree (when I call 
texexec from my editor it still calls from c:\TeXLive)? Do I have to uninstall 
ConTeXt from my c:\TeXLive path? What is the cleanest way to do that?

3. I presume that 
\ConTeXt\texmf-local\web2c\texmf.cnf 
is the one 
texexec --make
uses. Have you already optimized/tested 
\ConTeXt\texmf-local\web2c\texmf.cnf 
for aleph (there were a few issues as you may recall...)?

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] Upgrading...

2005-03-15 Thread ishamid
I must be making this way too complicated, anyway...

I placed C:\ConTeXt\texmf-mswin\bin ahead of TeXLive in my NT PATH (Windows 
2000) so those binaries get called first. I tried to make the aleph format:

===
C:\ConTeXt\texmf-mswin\web2c>aleph --ini *plain \dump
This is Alephk, Version 3.141592-1.15-2.1-0.0-rc4 (Web2c 7.5.3) (INIALEPH)
 %&-line parsing enabled.
Copyright (c) 2002--2004 the Aleph task force
entering extended mode
(c:/ConTeXt/texmf/tex/plain/base/plain.tex Preloading the plain format: codes,
registers, parameters, fonts, more fonts,
! Font \preloaded=manfnt not loadable: Metric (TFM/OFM) file not found.

   \par
l.468

?
===

It works fine in TeXLive.

Another problem: how can I have both the aleph and the pdfetex formats?

texexec --make en -tex=aleph

overides the default cont-en.fmt made by

texexec --make

Question: how can I configure mktexlsr so that it updates both C:\ConTeXt as 
well as C:\TeXLive?

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


[NTG-context] Times New Toman

2005-03-15 Thread ishamid
Dear consortium,

I'm having trouble preparing times new roman for ConTeXt. I'm trying to follow 
the instructions in mag-0009.pdf, but TeXfont does not want to behave:-(

===
\system_fonts>texfont --vendor=microsoft --collection=times 
--encoding=texnansi --pattern=times*.afm

 TeXFont 1.5 - ConTeXt / PRAGMA ADE 2000-2001 (STILL BETA)

   processing aborted : unknown option --pattern=times*.afm
===

I tried things manually without the --pattern option and got a

texnansi-microsoft-times.tex

file, from which I manually constructed a

texnansi-microsoft-times.map

file with four lines:

===
texnansi-raw-times4 < times.pfb   texnansi.enc
texnansi-raw-timesbd  4 < timesbd.pfb texnansi.enc
texnansi-raw-timesbi  4 < timesbi.pfb texnansi.enc
texnansi-raw-timesi   4 < timesi.pfb  texnansi.enc
===

I then tried manually constructing the tfm files with afm2tfm but alas...

\system_fonts>afm2tfm times[bd|bi|i]
! no Adobe characters
% LIGKERN ff l =: ffl ;
^
and empty tfm files

Not sure where to go from here...

I'm also going to need Arial from WINNT\Fonts as well...

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] Times New Toman

2005-03-15 Thread ishamid
Dear fellow conspirators,

more about my attempts to get times new roman working:

I could find neither context.cnf nor type-mws.tex in the distribution. Anyway, 
here is my attempt at a typescript file: note that arial provides the 
companion sans serif: any comments will be appreciated.

Question: What is "\typescriptthree"?

I'm assuming there is also a [font:fallback:serif] option.

Best
Idris

===

\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 [serif] [timesnewroman] [texnansi]

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

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

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

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

\stoptypescript


\starttypescript [map] [timesnewroman] [texnansi]

\loadmapfile[texnansi-microsoft-timesnewroman.map]

\stoptypescript

\usetypescriptfile[type-tnr]

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

\definetypeface [timesnewroman]
[rm] [serif] [timesnewroman] [default]
[encoding=texnansi,rscale=1.1]

\definetypeface [timesnewroman]
[mm] [math] [palatino] [default]
[encoding=texnansi,rscale=1.1]

\definetypeface [timesnewroman]
[tt] [mono] [modern] [default]
[encoding=texnansi,rscale=1.25]
===

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] Upgrading...

2005-03-16 Thread ishamid
>= Original Message From Hans Hagen <[EMAIL PROTECTED]> =
>> ===
>> C:\ConTeXt\texmf-mswin\web2c>aleph --ini *plain \dump
>> This is Alephk, Version 3.141592-1.15-2.1-0.0-rc4 (Web2c 7.5.3) (INIALEPH)
>>  %&-line parsing enabled.
>
>this is a plain tex issue ... looks likemanfnt is not on your system

1. ok, how do I get

C:\ConTeXt\texmf-mswin\bin

to secondarily search C:\TeXLive, where manfnt is located?

2. Also, I need both pdfetex and aleph; how do I get both, since both

texexec --make en -tex=aleph

and

texexec --make en -tex=pdfetex

produce the same file, cont-en.fmt?

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] Times New Roman

2005-03-16 Thread ishamid
[I know that all of us and Hans in particular is quite busy but if anyone can 
give me some guidance on this, before I get into trouble with my editor...]

Dear consortium,

I'm having trouble preparing times new roman for ConTeXt. I'm trying to follow
the instructions in mag-0009.pdf, but TeXfont does not want to behave:-(

===
\system_fonts>texfont --vendor=microsoft --collection=times
--encoding=texnansi --pattern=times*.afm

 TeXFont 1.5 - ConTeXt / PRAGMA ADE 2000-2001 (STILL BETA)

   processing aborted : unknown option --pattern=times*.afm
===

I tried things manually without the --pattern option and got a

texnansi-microsoft-times.tex

file, from which I manually constructed a

texnansi-microsoft-times.map

file with four lines:

===
texnansi-raw-times4 < times.pfb   texnansi.enc
texnansi-raw-timesbd  4 < timesbd.pfb texnansi.enc
texnansi-raw-timesbi  4 < timesbi.pfb texnansi.enc
texnansi-raw-timesi   4 < timesi.pfb  texnansi.enc
===

I then tried manually constructing the tfm files with afm2tfm but alas...

\system_fonts>afm2tfm times[bd|bi|i]
! no Adobe characters
% LIGKERN ff l =: ffl ;
^
and empty tfm files

Not sure where to go from here...

I'm also going to need Arial from WINNT\Fonts as well...

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

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] Times New Roman

2005-03-16 Thread ishamid
>= Original Message From Adam Lindsay <[EMAIL PROTECTED]> =
>A few comments/hints:

Thank you!

>On 16 Mar 2005, at 14:40, ishamid wrote:
>
>>  TeXFont 1.5 - ConTeXt / PRAGMA ADE 2000-2001 (STILL BETA)
>
>The TeXfont I'm running is 2.2.1! (I know I added a little bit of .ttf
>processing code after 2.1)

Ok, I've got 2.2.1 running...

>> I tried things manually without the --pattern option and got a
>>
>> texnansi-microsoft-times.tex
>
>If this file was generated, that's a good sign that the files were
>installed. What do you see in:
>(texlocal)\fonts\tfm\microsoft\times  ?

ok, there are tfm files there, produced by the beta TeXFont, in 
TeXLive\texmf-local\...

But now I can't seem to repeat this with the latest version, and TeXFont does 
not find the afm files. As I told Taco:

===
C:[...]\system_fonts>C:\ConTeXt\texmf-mswin\bin\texfont 
--vendor=microsoft --collection=timesnewroman --encoding=texnansi 
--pattern=times*.afm --rootlist=C:[...]\system_fonts

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

mktexlsr: Updating c:/TeXLive/texmf-local/ls-R...
mktexlsr: Done.
   encoding vector : texnansi
   vendor name : microsoft
   source path : .
   font collection : timesnewroman
   texmf font root : c:/texlive/texmf-local
   pdftex map file : texnansi-microsoft-timesnewroman.map
  processing files : all in pattern times*.afm
locating afm files : using otf files
processing aborted : no afm files found
===

But the afm files are right there in \system_fonts!?!

Any further suggestions will be appreciated!

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] Times New Roman

2005-03-16 Thread ishamid
>= Original Message From Taco Hoekwater <[EMAIL PROTECTED]> =
>I do not know much about the font installation process, but I did
>notice that your TeXFont banner indicates that you use a really old
>version.

Ok, I've worked around this (still having upgrade troubles...) but there is
still a problem. I created all afm files in a local directory

system_fonts>

but TeXFont does not seem to see them:


[...]\system_fonts>C:\ConTeXt\texmf-mswin\bin\texfont
--vendor=microsoft --collection=timesnewroman --encoding=texnansi
--pattern=times*.afm --rootlist=C:\[...]\system_fonts

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

mktexlsr: Updating c:/TeXLive/texmf-local/ls-R...
mktexlsr: Done.
   encoding vector : texnansi
   vendor name : microsoft
   source path : .
   font collection : timesnewroman
   texmf font root : c:/texlive/texmf-local
   pdftex map file : texnansi-microsoft-timesnewroman.map
  processing files : all in pattern times*.afm
locating afm files : using otf files
processing aborted : no afm files found


Why are "no afm files found"? And why does my new C:\ConTeXt tree recognize

texmf font root : c:/texlive/texmf-local

when I have not configured it to recognize my TeXLive tree (since I do not
know how->)

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] Times New Roman

2005-03-16 Thread ishamid
>= Original Message From Adam Lindsay <[EMAIL PROTECTED]> =
>On 16 Mar 2005, at 15:39, ishamid wrote:
>
>> But the afm files are right there in \system_fonts!?!
>>
>> Any further suggestions will be appreciated!
>>
>I'm pretty mac-centric, but I thought the TNR fonts were .ttf.

That's right.

>If texfont gets pointed to .ttf files, it runs ttf2afm itself, I thought.

Well, I just followed the instructions in mag-0009.pdf. I created my own 
\system_fonts folder to do the work, then manually generated the afm's per 
Hans' instructions. After generating all four afms I called upn TeXFont from 
within the same directory with the generated afm's.

In any case, I'm not sure that TeXFont generates the afm's, since it seems to 
be looking for them, or at least Hans' instructions do not use this method...

>Also, did you run the generated test file?

Yes, but that was created by the old TeXFont1.5.

>Deadline or no, take it slowly and methodically:
>pas de panique!

C'est tres vrais, and always good advice!

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] Times New Roman

2005-03-16 Thread ishamid
>= 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

Warning: pdfetex.exe (file texnansi-raw-Times): Font texnansi-raw-Times at 600
not found

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


RE: [NTG-context] Times New Roman

2005-03-16 Thread ishamid
>= Original Message From "Thomas A.Schmitz" <[EMAIL PROTECTED]> 


>Moreover, are you sure that your system is finding texnansi.enc?
>What does
>kpsewhich texnansi.enc
>produce?

Ok I realize that my texfont problems are almost certainly related to my 
upgrade problems:

a. From C:\TeXLive (old system)

\system_fonts\timesnewroman>kpsewhich texnansi.enc
c:/TeXLive/texmf/dvips/ly1/texnansi.enc

so far so good

b. From C\:ConTeXt (latest system)

\system_fonts\timesnewroman>C:\ConTeXt\texmf-mswin\bin\kpsewhich texnansi.enc
\system_fonts\timesnewroman>

nothing found

So I think my problems in part go back to something I asked before: how do I 
get my C\:ConTeXt tree to secondarily search the TeXLive tree?

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


RE: [NTG-context] Times New Roman

2005-03-16 Thread ishamid
>= Original Message From "Thomas A.Schmitz" <[EMAIL PROTECTED]> 
=
>hmm, I have zero experience with Windows and wouldn't get near a
>computer running Windows if you payed me for it,

I certainly agree with this sentiment, and will make yet another attempt to 
switch to Linux this year; kde3.4 is looking nice...

>but I guess there must
>be a central configuration file somewhere. On linux and unix systems,
>it's called texmf.cnf.

It's the same here; I'll look into it. There may be some os-related syntax 
issues, though, since

kpsewhich -var-value TEXMFLOCAL

gives

kpsewhich: unrecognized option `-var-value'

But I'll keep working/learning.

Thnx!
Idris


That's where you define which tex-trees you have
>and in what order they should be searched. So if you want to have your
>new C/Context searched first, your C/Texlive second, one of them should
>be set as TEXMFLOCAL, the other as TEXMFMAIN. What does
>

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


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

2005-03-16 Thread ishamid
Dear cartel,

>= Original Message From "Thomas A.Schmitz" <[EMAIL PROTECTED]> 
=
What does
>
>kpsewhich -var-value TEXMFLOCAL
>produce?

1.I have 2 trees: C:\Context (from mswintex.zip) and C:\TeXLive (from July04).
 
kpsewhich -var-value TEXMFLOCAL

works for the \Context tree:

>C:\ConTeXt\texmf-mswin\bin\kpsewhich -var-value TEXMFLOCAL
c:/ConTeXt/texmf-local

>C:\ConTeXt\texmf-mswin\bin\kpsewhich -var-value TEXMFMAIN
c:/ConTeXt/texmf

2. What I would like: how do I properly modify texmf.cnf (presumably 
C:\ConTeXt\texmf-local\web2c\texmf.cnf is the main one) so that

a. C:\ConTeXt is given priority over C:\TeXLive;
b. C:\TeXLive\texmf-var\web2c   formats are searched after
   C:\ConTeXt\texmf-local\web2c
c. C:\ConTeXt utilities like TeXFont install files to
   C:\ConTeXt\texmf-local\
   instead of to
   C:\TeXLive\texmf-local (for some reason the C:\ConTeXt tree does 
recognize C:\TeXLive\texmf-local by default)

Of course, I may be missing the big picture here, in which case please 
enlighten me!

Part of my problem is that

1. apparently I can make both pdfetex and aleph formats in the TeXLive tree 
(efmt and fmt respectively), but only one of them in the ConTeXt tree (both 
are dumped as cont-en.fmt)

2. I can't just dump cont-tmf.zip into TeXLive\texmf-var, because some 
utilities (like texfont.exe) do not get updated or replaced. So I would have 
to manually delete e.g., texfont.exe and replace it with the new texfont.bat, 
making a mess of my TeXLive system.

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

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


[NTG-context] automating initialization

2005-03-16 Thread ishamid
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?

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


[NTG-context] m-bib issues

2005-03-16 Thread ishamid
Dear knights of the round table,

I've been using a very old bib module up to now, with lots of personal tweaks, 
workarounds etc. (mission-critical issues--no time 2 deal with painful 
upgrades); now I'm starting fresh with the latest. Here is one issue:

The \startpublication[a= ] option seems to cause m-bib to choke on some 
accents. Here is an example:

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

and here is the accompanying tex file

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

\usemodule[bib]

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

\input test-bib.bbl

\starttext

\cite[ahsaif]

\cite[ahsaijk]

\stoptext
===

In this example the \startpublication[a= ] option chokes on \~.

Any help/chivalry will be appreciated!

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] 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{\accent"7E #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

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 
system (E-TEX) : [line 2280] \ifcsname 
)
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{\accent"7E #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 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  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


[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: 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{\accent"7E #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


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

2005-03-20 Thread ishamid
>= Original Message From h h extern <[EMAIL PROTECTED]> =
>Idris Samawi Hamid wrote:
>> On Thu, 17 Mar 2005 10:31:44 +0100, Hans Hagen <[EMAIL PROTECTED]> wrote:
>>
>>> i'll upload a new minimal (beware, tex live 2005 binaries), as well as
>>> the big windows zip (will take a few hours)
>>
>>
>> Any word on that? I saw something dated 3-16-05; I'm assuming that's not
>> it (since your email is dated a day later?)
>
>i let my machine generate the tree while i was watching a movie the day 
before
>  i uploaded the lot -)

So does that meant the 3-16 upload is the one or no? Also, how do I install it 
(could find no instructions...) it looks like a unix tree...

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] how to use Times Roman font

2005-03-20 Thread ishamid
>= Original Message From Matthias Weber <[EMAIL PROTECTED]> =
>The following should work with the stable ConTeXt from January:
>
>\usetypescript [adobekb][\defaultencoding]
>\setupbodyfont[pos]
>
>\usetypescript[times][\defaultencoding]
>\setupbodyfont[times,12pt]
>
>\starttext
>\input knuth
>\bigskip
>
>\stoptext

On my system, using the above, the following happens (why??):


This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) (format=cont-en 
2005.3.18)  20 MAR 2005 16:52
entering extended mode
\write18 enabled.
 (c:\CONTEXT\texmf-local/web2c/natural.tcx)
**&pdfetex/cont-en times.tex
(./times.tex



(c:\CONTEXT\texmf-local/tex/context/base/type-akb.tex))
! Font \*12ptrmtf*=ptmr8t at 12.0pt not loadable: Metric (TFM) file not found.

   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let 
\localrelativefontsiz...

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

\synchronizefont ...strategy \the \fontstrategies
  \relax \fi 
\ifskipfontchar...
 \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle 
}\if...
...
l.4 \setupbodyfont[pos]

?


But if I comment the first two lines, it works:


%\usetypescript[adobekb][\defaultencoding]
%\setupbodyfont[pos]

\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]

\starttext

\input knuth

\stoptext


Another way:


\definetypeface [times] [rm] [serif] [times] 
[default] [encoding=ec]

\switchtotypeface [times] [12pt,rm]


\starttext
\input knuth
\stoptext
===

BTW, what are the lines

\usetypescript[adobekb][\defaultencoding]
\setupbodyfont[pos]

for?

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] how to use Times Roman font

2005-03-20 Thread ishamid
>= Original Message From mailing list for ConTeXt users 

>
>Unfortunately, error again:

Yes, an error here as well. Did you try the two other ways I mentioned in my 
other reply:


%\usetypescript[adobekb][\defaultencoding]
%\setupbodyfont[pos] % note the comments

\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]

\starttext

\input knuth

\stoptext


Another way:


\definetypeface [times] [rm] [serif] [times] [default] [encoding=ec]

\switchtotypeface [times] [12pt,rm]


\starttext
\input knuth
\stoptext
===

If neither of these two work then something is really wrong...

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] how to use Times Roman font

2005-03-20 Thread ishamid
Don't know if this is related but

>= Original Message From mailing list for ConTeXt users 
 =
>Hi Matthias!
>
>Unfortunately, error again:
>---
>
> TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

Your TeXecec is very old; I'm using  TeXExec 5.2.4

>ConTeXt  ver: 2003.1.31  fmt: 2005.3.19  int: english  mes: english

We are apparently using the same version of ConTeXt, minus TeXexec.

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] Available fonts

2005-03-20 Thread ishamid
Dear crew,

Is there a list of prepackaged fonts/typescripts that comes with 
(fp/MiK/gw/te)TeX/ConTeXt? I think it is important for that info to be made 
very public. showfonts.pdf has at least some of them (plus a couple of 
non-free ones) but I don't know if this is an exhaustive set. A new ConTeXt 
user (especially one from a non-TeX background) should be able to easily find 
a list of the fonts/typescripts available in a full 
(fp/MiK/gw/te)TeX/ConTeXt system.

If I am totally clueless and missed this info, then I apologize:-)

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


[NTG-context] 5 major problems with mswincontext.zip

2005-03-21 Thread ishamid
Dear conglomerate,

Ok, I've installed mswincontext.zip, dated 3-16, refreshed fndb, 
set  UseEnginePath   to  true
and so forth.

4 Problems:

1. Zapf Chancery has disappeared (the other free fonts in showfonts.pdf still 
work):

==
\definetypeface [zapf] [cg] [calligraphy] [chancery]
\switchtotypeface [zapf] [12pt,cg]

Zapf Chancery

\input tufte.tex
==

Log file:

===
This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) (format=cont-en 
2005.3.21)  21 MAR 2005 17:38
entering extended mode
\write18 enabled.
 (c:\CONTEXT\tex\texmf-local/web2c/natural.tcx)
**&pdfetex/cont-en typescripts2.tex
(./typescripts2.tex



(c:\CONTEXT\tex\texmf-local/tex/context/base/type-buy.tex)
Missing character: There is no Z in font texnansi-uzcmi8a!
Missing character: There is no a in font texnansi-uzcmi8a!



Missing character: There is no . in font texnansi-uzcmi8a!
)
fonts   : using map file: texnansi-base
fonts   : using map file: texnansi-urw-zapfchan
[1.1
Warning: pdfetex.exe (file pdftex.map): cannot open font map file


===

2. aleph is still searching its format in the wrong directory; its format is 
properly installed in 
\texmf-mswin/web2c/aleph/

===
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\tex\texmf-mswin/web2c/pdfetex/cont-en.fmt was written by 
pdfetex
===

3. If I replace the pdfetex format with 
aleph.fmt, the latter works. It copiles fine on the following file, but 
neither dvips, odvips, or dvipdfm can find the fonts:

===
% output=aleph interface=en

\starttext

Latin Modern

\input tufte

\definetypeface [times] [rm] [serif] [times] [default] [encoding=ec]
\switchtotypeface [times] [12pt,rm]

Times

\input tufte.tex

\stoptext
===

Also, aleph displays the strange "HASH" message:
===
 TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005

Opt=HASH(0x1c44160)executable : aleph
===

4. That trick with the footnotes and endnotes is interesting, but the endnotes 
still spill over the page (I double-checked that core-not was replaced and the 
format regenerated):

===
% output=pdftex interface=en

\starttext

\dorecurse{100}{test \footnote{test} \endnote{eee}\endgraf}

\page

\placenotes[endnote]

\stoptext
===

5. I'm still concerned about getting ConTeXt to search my old \TeXLive tree 
secondarily. changing

C:\ConTeXt\tex\texmf-local\web2c\texmf.cnf

does not seem to do anything (sigh  )
==

I really hope I can get everything working soon, because I've lost about a 
week's worth of deadlined writing fooling around with configuring ConTeXt  
(which is exactly what I was afraid would happen):-(

Thnx in advance, and forgive my frustration-)
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] 5 major problems with mswincontext.zip

2005-03-21 Thread ishamid
I just checked:

Not only aleph, but pdftex does not work with (o)dvips/dvipdfmx:

===
\starttext

Latin Modern

\input tufte.tex

\stoptext
===

If I run (o)dvips from TeXLive, I get

===
This is dvips(k) 5.94a Copyright 2003 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2005.03.21:1943' -> lm.ps
kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 1+0/8000 --dpi 
8000
ec-lmr12
mktexmf: empty or non-existent rootfile!
mktexpk: don't know how to create bitmap font for ec-lmr12.kpathsea: Appending 
f
ont creation commands to missfont.log.
dvips.exe: Font ec-lmr12 not found, characters will be left blank.
===

If I run it from  C:\ConTeXt I get

===
This is dvips(k) 5.94b Copyright 2004 Radical Eye Software 
(www.radicaleye.com)
dvips: ! Couldn't find header file tex.pro
===

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


[NTG-context] bug in latest ConTeX

2005-03-22 Thread ishamid
Dear gang,

There is a bug in the latest ConTeXt that affects aleph, particularly 
\pardir TRT. Needless to say this is an absolute showstopper...

Try this:

===
\pardir TLT

test

\bye
===

$>aleph test

works fine, but

$>texexec --tex=aleph test

gives an error:

===
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
entering extended mode
(test.tex

ConTeXt  ver: 2005.03.16  fmt: 2005.3.21  int: english  mes: english

systems : eTeX version 201 -> too old (bugs)

language: language en is active

system  : cont-new loaded
(c:\CONTEXT\tex\texmf-local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
color   : palette rollover is available
)
system  : cont-old loaded
(c:\CONTEXT\tex\texmf-local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(c:\CONTEXT\tex\texmf-local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys loaded
(c:\CONTEXT\tex\texmf-local/tex/context/user/cont-sys.tex)
bodyfont: 12pt rm is loaded
language: patterns en->ec:ec->1->2:2 uk->ec:ec->2->2:2 
de->texnansi:tex
nansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:2 
fr->ec:ec->6->2:2
 es->ec:ec->7->2:2 pt->ec:ec->8->2:2 it->texnansi:texnansi->9->2:2 
it->ec:ec->1
0->2:2 nl->texnansi:texnansi->11->2:2 nl->ec:ec->12->2:2 cz->il2:il2->13->2:2 
c
z->ec:ec->14->2:2 sk->il2:il2->15->2:2 sk->ec:ec->16->2:2 pl->pl0:pl0->17->2:2
pl->ec:ec->18->2:2 loaded
specials: tex,postscript,rokicki loaded
system  : test.top loaded
(./test.top)
! Undefined control sequence.
\pardir #1#2#3->\global \TeXXeTstate
 \plusone \if #2L\chardef 
\inlinedirecti...
l.1 \pardir TLT
===

Two more notes:

1. There is a complaint that

 : eTeX version 201 -> too old (bugs)

2. There is no aleph.ini file in mswincontext so I had to import it from 
\TeXLive to make the format. Also manfnt is missing in mswincontext; should 
not the minimal context installation also support the plain format?

Thnx as always
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] bug in latest ConTeXt (confirmed)

2005-03-23 Thread ishamid
>= Original Message From Hans Hagen <[EMAIL PROTECTED]> =
>> Sounds like supp-dir needs a no-Omega check, as well. Hans?
>
>attached for testing, i dunny what the pardir equivalents are for \beginL and
>\beginR -)

Ok, the new supp-dir.tex helps. But there is another problem. Now my following 
macros are messed up (used in our private ar-cont.tex)

\let\beginRL=\leavevmode\startarabictext
\let\endRL=\stoparabictext

\catcode`\<=\active
\catcode`\>=\active

\defineactivecharacter < {\enclosedarabic}
\def\enclosedarabic#1>{\struttedbox{\beginRL#1\endRL}}

Aleph complains that

(\end occurred inside a group at level 2)

### semi simple group (level 2) entered at line 102 (\begingroup)
### simple group (level 1) entered at line 102 ({)
### bottom level

Can you fix the XeTeX macros so that this is no longer affected? I also have 
some otp's that use the \beginRL\endRL syntax; I'm afraid that's all going to 
be negatively affected now...

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] 5 major problems with mswincontext.zip

2005-03-23 Thread ishamid
>= Original Message From Hans Hagen <[EMAIL PROTECTED]> =
>ishamid wrote:
>
>> 2. aleph is still searching its format in the wrong directory; its format 
is
>> properly installed in
>> \texmf-mswin/web2c/aleph/
>
>can you try what happens when you add the following lines to your texmf.cnf 
file
>
>(you can edit the file with: texmfstart --direct scite kpse:texmf.cnf)
>
>TEXFORMATS.xetex   = $TEXFORMATS/{xetex,}//
>TEXFORMATS.aleph   = $TEXFORMATS/{aleph,}//
>TEXFORMATS.pdftex  = $TEXFORMATS/{pdftex,}//
>TEXFORMATS.pdfetex = $TEXFORMATS/{pdfetex,}//

Regenerated the formats after editing 
\texmf-local\web2c\texmf.cnf

Unfortunately it still gives the same error. Please advise;->

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] 5 major problems with mswincontext.zip

2005-03-23 Thread ishamid
>= Original Message From Hans Hagen <[EMAIL PROTECTED]> =
>> 1. Zapf Chancery has disappeared (the other free fonts in showfonts.pdf
still
>> work):

>strange indeed, it looks like the files are corrupted (very small tfm/vf
files);
>  you can regenerate the metrics with:
>
>texmfstart texfont.pl type-tmf.dat --en=texnansi --ven=urw -col=zapfchan

ok, it works now:-)

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: [NTG-context] bug in latest ConTeXt (confirmed)

2005-03-23 Thread ishamid
>= Original Message From Hans Hagen <[EMAIL PROTECTED]> =
>> Sounds like supp-dir needs a no-Omega check, as well. Hans?
>
>attached for testing, i dunny what the pardir equivalents are for \beginL and
>\beginR -)

Not to belabor this, but I'm getting

### simple group (level 1) entered at line

lines all over the place in my work that compiled fine with the old ConTeX, 
and I suspect that XeTeX may be responsible. Is there a way to completely 
isolate the new stuff because I'm going to lose a lot of time trying to track 
down every situation where my previously well-behaved stuff now gives errors 
because of this.

This has been a really frustrating week...

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] bug in latest ConTeXt (confirmed)

2005-03-24 Thread ishamid
Hi Hans,

>= Original Message From Hans Hagen <[EMAIL PROTECTED]> =
>at the moment the best way of dealing with is is to use texexec's engine 
handler;
>
>locate texexec.ini (or rme) and set
>
>set UseEnginePath to true
>
>after that pdfetex, aleph, xetex, mpost etc will end up on their own path.

I have done that previously and, yes, I do get the subdirectories. But that's 
not the problem. The problem is that aleph is searching for its format in 
pdfetex's subdirectory:

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\tex\texmf-mswin/web2c/pdfetex/cont-en.fmt was written by 
pdfetex

How do we make aleph search its own subdirectory?

Just to be sure, texexec --verbose gives

setting : 'UseEnginePath' to 'true' for 'all'

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] New List: SemiTeX (*Tex for the Semitic Languages)

2005-03-24 Thread ishamid
Hi Fred,

This is very interesting and, certainly, I'd like to join (though your email 
address in hidden in this particular posting->)

Also consider merging this with the aleph list, because the aleph list was 
also intended to discuss most of the same issues, even multilingual TeX issues 
that do not pertain to aleph directly. I hope that the XeTeX people (Hi Adam!) 
will post their bidi developments to the aleph list as well, so we can all be 
in better sync in the future:-) The aleph list is low volume and can certainly 
easily handle the issues you mention without boring anyone;-)

I'm also working on an advanced replacement to ArabTeX, scheduled for release 
later this year. I can send you some samples (just send me your email address)

Eventually I'd like to see the aleph capabilities merged into pdfetex, which 
will make my ConTeXt life much easier (Hi Hans;->)

We live pretty close to one another; I'd be happy to stay in touch, talk, or 
even meet sometime.

Take care
Idris

>= Original Message From mailing list for ConTeXt users 
 =
>Hi,
>
>(My apologies for cross-postings)
>
>I would like to announce a new mailing list that I have created called
>"SemiTeX."
>
>This is intended to be a forum for people concerned with typesetting
>Arabic, Hebrew, Aramaic/Syriac, Amharic, and any other Semitic and/or
>right-to-left languages using the various flavors of *TeX (LaTeX,
>XeTeX, ConTeXt, etc).


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] bug in latest ConTeXt (confirmed)

2005-03-24 Thread ishamid
>= Original Message From Hans Hagen <[EMAIL PROTECTED]> =
>ishamid wrote:
>
>> lines all over the place in my work that compiled fine with the old ConTeX,
>> and I suspect that XeTeX may be responsible. Is there a way to completely
>> isolate the new stuff because I'm going to lose a lot of time trying to 
track
>> down every situation where my previously well-behaved stuff now gives 
errors
>> because of this.
>
>just put \endinput atthe topmost lin eof supp-dir.tex and remake the format

Those problems I told you about in a private email are still being caused by 
supp-dir, even after  \endinput. I played around with supp-dir and thise 
following works;-)

==
\unprotect

\chardef\inlinedirection\zerocount % 0==notset 1==LR 2==RL

\beginETEX \beginL

%  \def\pardir#1#2#3% messages end up in a higher level command
%{\global\TeXXeTstate\plusone
% \if#2L\chardef\inlinedirection\plusone\else
% \if#2R\chardef\inlinedirection\plustwo\fi\fi
% \checkinlinedirection} % needed / added

 %\appendtoks \checkinlinedirection \to \everypar % see core-ini.tex

  \def\checkinlinedirection
{\ifcase\inlinedirection\or\beginL\or\beginR\fi}

\endETEX

\protect \endinput
==

It seems that the \checkinlinedirection is still needed or I get other errors.

I hope that you and Adam can up with something that won't kill me next time:-)

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


[NTG-context] dvipdfmx/dvips and a summary

2005-03-24 Thread ishamid
Dear folks,

The dvips/dvipdfmx problem is not limited to aleph in the latest ConTeXt:

===test-3==
\setupoutput[dvi]

\starttext

abc

\stoptext
===

gives

===
$>dvipdfmx test3

test3.dvi -> test3.pdf
[1** Fatal error: Could not locate a virtual or a physical font file for 
'ec-lmr
12'.
** ERROR **

$>dvips test3
This is dvips(k) 5.94b Copyright 2004 Radical Eye Software 
(www.radicaleye.com)
dvips: ! Couldn't find header file tex.pro
===

I suppose that the transition to lmr is at the root of this. Anyway, I think 
my own problems have been reduced to the following 4:

1. supp-dir needs to be modified or made into an optional module (e.g. 
m-xetex) (so I don't have to modify it every time I update ConTeXt);

2. aleph needs to be taught;-) to look for its format in its own subdirectory 
(related: an aleph.ini should be included so that the plain aleph.fmt can be 
compiled. I also think the minimal context should support plain.fmt, which 
helps in testing etc. right now manfnt is missing);

3. dvips/dvipdfmx need to be taught how to find lmr (and perhaps other fonts? 
a complete font torture test before every release and for users to do their 
own testing is desperately needed I think. );

4. In order to use Gamma, either

i. the basic omega files (with aleph replacing omega.exe) should be included 
in mswincontext.zip; or

ii. I need to know how to get the \ConTeXt tree to properly search the 
\TeXLive tree for the omega files (and for other fonts like cmr, etc). 
Strangely, I was able to get \TeXLive\...\texmf.cnf configured to read the 
\ConTeXt tree, but I was not able to get \ConTeXt\...\texmf.cnf to be able to 
read the \TeXLive tree. Any idea why?

Many many thnx to Hans for all his hard work; I look forward to a reliable 
ConTeXt:-)))

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


[NTG-context] Path searches (good news!)

2005-03-24 Thread ishamid
Dear cartel,

I've been trying to control the search paths with 
C:\ConTeXt\tex\texmf-local\web2c\texmf.cnf, but I just realized that 
setuptex.bat overrides texmf.cnf. The way I found out is interesting:

Upon running mktexlsr I get the line

mktexlsr: c:/CONTEXT/tex/texmf-project is not a directory. Skipping...

But in \texmf-local\web2c texmf.cnf has, not `texmf-project', but rather 
`texmf-projects' (with plural).  And setuptex.bat is the only file that 
mentions `texmf-project';-)

So now I have configured setuptex.bat to search TeXLive. The only hassle is 
that I must remember to back up my copy the next time ConTeXt updates. In case 
anyone else needs to do this (until Hans provides a better way;->)

===
set TEXMFMAIN=%TEXPATH%texmf
set TEXMFLOCAL=%TEXPATH%texmf-local
set TEXMFFONTS=%TEXPATH%texmf-fonts
set TEXMFEXTRA=%TEXPATH%texmf-extra
REM set TEXMFPROJECT=%TEXPATH%texmf-project
set TEXMFOS=%TEXPATH%texmf-mswin
set VARTEXMF=%TMP%\texmf-var
set HOMETEXMF=c:/TEXLIVE/texmf
set HOMETEXMFVAR=c:/TEXLIVE/texmf-var



REM set 
TEXMF={$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN
,$HOMETEXMF}
set 
TEXMF={$TEXMFOS,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,$TEXMFMAIN,$HOMETEXMFVAR,$
HOMETEXMF}
===

If I'm missing something or if there is a better/saner way please let me know.

Now on to those other 3 problems in my previous email;->

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] spilling endnotes

2005-03-24 Thread ishamid
Dear syndicate,

Just a reminder:

Even with the latest patch, the endnotes spill over the page (I double-checked 
that core-not was replaced and the format regenerated):

===
% output=pdftex interface=en

\starttext

\dorecurse{100}{test \footnote{test} \endnote{eee}\endgraf}

\page

\placenotes[endnote]

\stoptext
===

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


[NTG-context] 2 questions about texexec.ini

2005-03-24 Thread ishamid
Dear musketeers,

1. I just noted that texexec.ini for mswincontext.zip defaults to tetex, not 
fptex. Is that intentional?

2. Can I configure texexec.ini so that

texexec --make

generates the aleph format in addition to the pdfetex formats? (Of course this 
assume we can solve the search-paths-for-formats problem.)

Thought: Knowing absolutely nothing about texexec's internals, I was thinking 
that one possible solution to the aleph format subdirectory problem is make 
another executable, say

TeXExecutable2

and then

set  TeXExecutable2  to  aleph

A related possiblility is renaming the formats, say:

co-al-en.fmt for aleph
co-tx-en.fmt for tex

etc.

Just a stab in the dark from someone who know virtually nothing; never know 
when you might hit something...

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


[NTG-context] lmr (texnansi vs ec)

2005-03-26 Thread ishamid
Dear gang,

Why does lmr in ConTeXt use the ec instead of the texnansi encoding? I just 
noticed that all of my macros that use, e.g.,

\char'25

are now bringing up the wrong symbols. Shouldn't ConTeXt default to the 
encoding most consistent with cmr (surely I am not the only one who depended 
on the old TeX encoding->)

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] hyper interactions

2005-03-26 Thread ishamid
Dear syndicate,

Are hyper interactions now restricted to pdfetex's pdf engine? Hyperlinks do 
not work in pdf produced by dvipdfmx, for either aleph of pdfetex dvi output.

Idris

===
% output=dvi interface=en


\setupcolors[state=start]
\setupinteraction[state=start,color=darkgreen]

\starttext

\chapter[ch-test]{Test}

\in[sc-test]\input tufte
\page

\section[sc-test]{Test}

\in[ch-test]\input tufte

\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] extra_mem_bot.context

2005-03-26 Thread ishamid
Dear musketeers,

This is a note for aleph users. In _both_ texmf.cnf files that come with the 
full ConTeXt distribution, you must comment the line

%extra_mem_bot.context=  400 
[\texmf\web2c, line 503]

%extra_mem_bot.context= 200
[\texmf-local\web2c, line140]

otherwise aleph will crash upon over/underfull 
boxes.

This has actually been noted before; I don't know/remember if a solution was 
ever found.

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] meaning of HASH?

2005-03-26 Thread ishamid
Dear crew,

Sometimes a line like

Opt=HASH(0x1c43ab4)   executable : pdfetex

is appended before a texexec job; what does this mean?

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] \= in tables

2005-03-26 Thread ishamid
Dear cartel,

\= does not work in tables (I think that the TABLE macros define \= 
differently; why on earth would someone do that?!?). Is there a workaround?

Idris

===
% output=pdf interface=en

\starttext

\setupinterlinespace
\setupfloats[location=center]
\placetable
[here][tab:test]{Test.}
\starttable{|c|c|}
\HL
\VL macron  ({\=a})  \VL accents ({\=a}) \VL\FR
\HL
\VL do  not ({\=a})  \VL work({\=a})\VL\NR
\HL
\VL in  ({\=a})  \VL tables  ({\=a})  \VL\LR
\HL
\stoptable

\stoptext
===

log:

===
systems : begin file test4 at line 3
! Misplaced \omit.
\!ttLongHrule ->\omit
  \span \omit \span \!ttShortHrule 
l.11 \VL macron  ({\=
 a})  \VL accents ({\=i}) \VL\FR
===


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] lmr (texnansi vs ec)

2005-03-26 Thread ishamid
>= Original Message From Vit Zyka <[EMAIL PROTECTED]> =
>ishamid wrote:
>> Dear gang,
>>
>> Why does lmr in ConTeXt use the ec instead of the texnansi encoding? I just
>> noticed that all of my macros that use, e.g.,
>>
>> \char'25
>
>lmr is defined for both ec and texnansi encodings (and even for qx). But
>ec is default. Use
>   \usetypescript[latin-modern][texnansi]
>   \setupbodyfont[latin-modern]


Ok; it just seems strange that texnansi is not the default, since that's 
closer to Knuth's original. Maybe its because I (like Knuth) am in America 
where we don't have accents-)


>Ishamid, \char is wrong approach since it is encoding-dependent
>definition. Use glyph name instead, like \endash, \Aacute.

Are those names defined in Plain TeX? But that's a good idea anyway; I'll just 
depend on the ConTeXt framework.

>But ... your glyph number 25 is not defined in the texnansi. So what it is?

TeXBook, page 427, character '025
(in ec, \char'10 or \textbreve)

Best and 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: [NTG-context] extra_mem_bot.context

2005-03-26 Thread ishamid
>= Original Message From "Adam Lindsay" <[EMAIL PROTECTED]> =
>>This is a note for aleph users. In _both_ texmf.cnf files that come with the
>>full ConTeXt distribution, you must comment the line
>>
>>%extra_mem_bot.context=  400
>>[\texmf\web2c, line 503]
>>
>>%extra_mem_bot.context= 200
>>[\texmf-local\web2c, line140]
>>
>>otherwise aleph will crash upon over/underfull
>>boxes.
>>
>>This has actually been noted before; I don't know/remember if a solution was
>>ever found.
>
>Now that's interesting.
>
>That same bug was plaguing XeTeX versions through 0.88. Jonathan Kew
>tracked it down and quashed it. It's a little surprising that the same
>thing appeared in e-Omega, as well. Perhaps Jonathan can help you track
>it down. (And perhaps kill the bug at a common source?)

This is wonderful news! Although, unless someone else can dive into the aleph 
code we will have to wait for Giuseppe to return from the purgatory of writing 
his doctoral dissertation (soon I hope->)...

Any ideas for a workaround in the meantime?

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