Re: [NTG-context] \bar missing in euler

2006-09-15 Thread Taco Hoekwater
Hans Hagen wrote:
 Aditya Mahajan wrote:
 
I wish Hermann Zapf had added these accents in Euler.
  
 
 i'll pass the question when the occasion is there ...
 
Hans, why is mathring accent missing from all collections except 
fourier?
  
 
 dunno, and if taco does notknow it either, who knows -) 

Probably an oversight, because it is not defined in plain.tex.

Traditional TeX math fonts need:

   \definemathsymbol [mathring]   [accent] [mr] [17]

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


Re: [NTG-context] Missing \dddot and \ddddot

2006-09-15 Thread Hans Hagen
Aditya Mahajan wrote:
 On Thu, 14 Sep 2006, Hans Hagen wrote:

   
 Aditya Mahajan wrote:
 
 On Thu, 14 Sep 2006, WN wrote:


   
 Hello,
 I need to use \dddot and \ot in one of my documents, does anyone
 know how to
 define these math symbols.

 
 The trouble is that most fonts do not contain these accents.
 amsmath.sty gets over this definition by faking these symbols. It is
 easy to port these definitions to context.

 amsmath.sty definition

 \newcommand{\dddot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont ...}\vss
 \newcommand{\ot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont}\vss


 Converting to context

 %%
 \unprotect

 % The true copy of amsmath definitions
 \def\amsdddot {\limits^{\vbox to -1.4ex{\kern-2ex\hbox{\the\textfont\z@ 
 ...}\vss}}}
 \def\amsot{\limits^{\vbox to [EMAIL PROTECTED]

 % I do not understand why you need to give negative height

   
 \setbox\scratchbox{..} \ht\scratchbox0pt \dp\scratchbox-2pt
 

 I was wondering why amstex definition does this, as the 1.4ex depth 
 was too big. Then I realized that it is not 1.4ex but 1.4\ex@ with 
 \ex@ as .2326ex. ughhthe ugly syntax of plain tex...

 So here is a more reliable reproduction of amstex dddot and ot

 \newdimen\amstexex

 \amstexex = .2326ex
   
what's this funny number based on, somehow related to interlinespace?

one cannot define a measure globally this way, since an ex is font 
dependent,;

\def\amstexex{\dimexpr.08\lineheight\relax}

or so may be better
 \def\dotsadjustbox#1%
{\vbox to -1.4\amstexex{\kern-2\amstexex
 \hbox{\the\textfont\zerocount#1}\vss}}

 \def\dddot#1%
{{\mathop{#1}\limits^{\dotsadjustbox{...

 \def\ot#1%
{{\mathop{#1}\limits^{\dotsadjustbox{

 \starttext
 $\dddot{a}_{\dddot{b}}$

 $\ot{a}_{\ot{b}}$
 \stoptext

 Hans, can these definitions be added to the core?

 Aditya
 ___
 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] YABQ (yet another bib question...)

2006-09-15 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 
 I just ran into the same question. When using a citation style that  
 doesn't quote the year (like refcommand=num), it seems more logical  
 to drop the maybeyear letter. It seems to work setting
 
 \def\maybeyear{\gobbleoneargument}
 
 I haven't seen any side effects yet, but maybe I'm missing something.  
 Would it be possible to make this behavior a global option/value?

The problem with redefining \maybeyear is that it affects all
citations equally: when you have three Knuth records with the
same year and two Tuftes with the same year in the database, then
if you use only one of Knuths but both Tuftes, you can no longer
see which one of the Tuftes you were citing.

I could add an interface setting, so that you would do not have to
resort to using \def, but it would be much better if I could fix
the problem internally. Needs some thinking, though

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


Re: [NTG-context] beta

2006-09-15 Thread Wolfgang Werners-Lucchini
 a new beta:
 
 - cloned figure numbers fixed

Before this beta, the following compiled ok
but didn't use davidsnumber as figurenumber.

With the last beta I got the appended error!
number.tex
\defineenumeration[whatever]
\definenumber[davidsnumber]
\setupnumber[whatever][number=davidsnumber]
\setupnumber[formula] [number=davidsnumber]
\setupnumber[figure][number=davidsnumber]
%\setupcaption[figure][number=davidsnumber]

\starttext

\placeformula[x]
\startformula x\stopformula

\startwhatever x\stopwhatever

\placeformula[x]
\startformula y\stopformula

\startwhatever y\stopwhatever

\placefigure{image}
  {\framed[width=.3\textwidth,height=1cm]{image}}

\startwhatever z\stopwhatever
\stoptext
--number.log
! Missing number, treated as zero.
to be read again 
   \node:n:floatnumberdavidsnumber 
\pluscounter ...the \numexpr \csname #1\endcsname 
  +\plusone \relax }
argument ...ion {\v!float \@@thenumber {figure}}
  
\analyzenodelocation {\v!f...

\secondoftwoarguments #1#2-#2
  
\docompletefloat ...\else \preparefloatnumber {#1}
  \global \setbox 
\floatbox ...
argument ...{}{figure}{}{figure}{image}\nextbox 
  \else 
\docompletefloat {fi...
...
l.22 ...med[width=.3\textwidth,height=1cm]{image}}


The next example has not changed its behaviour,
works not as expected with beta, too.
--tst.tex
\starttext
\placefigure{}{\framed{Blub}}
\placefigure{}{\framed{Bautz}}
\placefigure{}{\framed{Bla}}

Das waren jetzt \rawnumber[figure] Bilder!

\setnumber[figure]{8}
Wir wollen mit \rawnumber[figure] weiterzählen.

\placefigure{}{\framed{Plong}}

Zähler ist korrekt bei \rawnumber[figure], aber caption bei 4.
\stoptext
-

Last question: verb-c.tex is not changed (updated). Will this be 
included in futher betas?

Wolfgang

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


Re: [NTG-context] YABQ (yet another bib question...)

2006-09-15 Thread Thomas A. Schmitz

On Sep 15, 2006, at 9:57 AM, Taco Hoekwater wrote:

 The problem with redefining \maybeyear is that it affects all
 citations equally: when you have three Knuth records with the
 same year and two Tuftes with the same year in the database, then
 if you use only one of Knuths but both Tuftes, you can no longer
 see which one of the Tuftes you were citing.

 I could add an interface setting, so that you would do not have to
 resort to using \def, but it would be much better if I could fix
 the problem internally. Needs some thinking, though

 Taco

Yes, I see the difficulty. I don't know enough about bibtex styles  
and habits in general, but I'm just wondering if \maybeyear should be  
used in a different way - in my discipline, I think it would.  
Consider this example:

Hoekwater, First article, journalA, vol. 5 (2006)

Hoekwater, Second article, journalB, vol. 10 (2006)

IMHO, bibtex should now generate keys such as Hoek2006a and Hoek2006b  
or authoryear references like Hoekwater (2006a) and Hoekwater  
(2006b), but it should not (!) append the a and b to the years in  
the bibliographic list itself. But I may be wrong here - what do you  
and other users say? Should the (2006) in the example above come out  
as (2006a) and (2006b)? And as I was suggesting: if you use  
numered references, I think it would be best to just switch maybeyear  
off completely, so my suggestion would be to have a switch maybeyear  
= on/off for  the \setuppublicationlist.

Best

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


Re: [NTG-context] YABQ (yet another bib question...)

2006-09-15 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 IMHO, bibtex should now generate keys such as Hoek2006a and Hoek2006b  
 or authoryear references like Hoekwater (2006a) and Hoekwater  
 (2006b), but it should not (!) append the a and b to the years in  
 the bibliographic list itself. 

Actually, sometimes it should, namely in authoryear styles with
the list in database ordering as opposed to cite ordering.

 But I may be wrong here - what do you  
 and other users say? Should the (2006) in the example above come out  
 as (2006a) and (2006b)? And as I was suggesting: if you use  
 numered references, I think it would be best to just switch maybeyear  
 off completely, so my suggestion would be to have a switch maybeyear  
 = on/off for  the \setuppublicationlist.

Sure, that is simple. Will upload in a few minutes

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


Re: [NTG-context] YABQ (yet another bib question...)

2006-09-15 Thread Thomas A. Schmitz

On Sep 15, 2006, at 11:47 AM, Taco Hoekwater wrote:



 Thomas A. Schmitz wrote:
 IMHO, bibtex should now generate keys such as Hoek2006a and Hoek2006b
 or authoryear references like Hoekwater (2006a) and Hoekwater
 (2006b), but it should not (!) append the a and b to the years in
 the bibliographic list itself.

 Actually, sometimes it should, namely in authoryear styles with
 the list in database ordering as opposed to cite ordering.

Oh dear, once you go into the gory details of bibliographies, there's  
no end to it...


 But I may be wrong here - what do you
 and other users say? Should the (2006) in the example above come out
 as (2006a) and (2006b)? And as I was suggesting: if you use
 numered references, I think it would be best to just switch maybeyear
 off completely, so my suggestion would be to have a switch maybeyear
 = on/off for  the \setuppublicationlist.

 Sure, that is simple. Will upload in a few minutes

 Taco

Thanks Taco, that's sweet. Maybe other users can chime in. I'm still  
thinking whether it would be useful to add an option that would  
append maybeyyear only to the reference key, not to the list... Such  
as a bibliographic style that would produce this sort of list:

Hoekwater 2006a = Hoekwater, Article 1,
   JournalA 2 (2006) 20--30
Hoekwater 2006b = Hoekwater, Article 2,
   JournalB 2 (2006) 30--40

But disregard this if you think it's silly or if it's too difficult  
to implement.

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


Re: [NTG-context] figurenumbering

2006-09-15 Thread Wolfgang Schuster
On Thu, 07 Sep 2006 22:03:42 +0200
Wolfgang Werners-Lucchini [EMAIL PROTECTED] wrote:

 Hallo!
 
 Is this correct behaviour?
 -

You need the option

\setupfloats[numbering=nocheck]

in your document settings.

 \starttext
 \placefigure{}{\framed{Blub}}
 \placefigure{}{\framed{Bautz}}
 \placefigure{}{\framed{Bla}}
 
 This were \rawnumber[figure] figures by now!
 
 \setnumber[figure]{8}
 We want to count on with \rawnumber[figure].
 
 \placefigure{}{\framed{Plong}}
 
 figurenumber is correct incremented to \rawnumber[figure], 
 but caption shows 4.

the caption shows now the same value as \rawnumber.

 \stoptext
 -
 If this is not a bug,
 how can captionnumbering be influenzed?
 
 Wolfgang

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


Re: [NTG-context] YABQ (yet another bib question...)

2006-09-15 Thread Sanjoy Mahajan
 IMHO, bibtex should now generate keys such as Hoek2006a and
 Hoek2006b or authoryear references like Hoekwater (2006a) and
 Hoekwater (2006b), but it should not (!) append the a and b to
 the years in the bibliographic list itself. But I may be wrong here
 - what do you and other users say? Should the (2006) in the example
 above come out as (2006a) and (2006b)? 

At first I was sure that (2006a) and (2006b) are the right answer for
the list.  Othewise how else could the user know which entry to look
up when they see, say, Hoekwater (2006b) in the text?  But I just
figured out the answer to that question: Users count 'a', 'b',
... starting with the first 2006 entry.  However, I still don't think
it's a good idea to make them do that.  Let's not ask users to do what
computers do very well (counting)!

 And as I was suggesting: if you use numered references, I think it
 would be best to just switch maybeyear off completely, so my
 suggestion would be to have a switch maybeyear = on/off for the
 \setuppublicationlist.

Let me know whether I'm understanding it correctly.  If you have a
numbered reference list, then the year can still end up with a letter
tag, e.g.

1. Taco Hoekwater.  JournalA.  2006a
2. Taco Hoekwater.  JournalB.  2006b

Ah, I hadn't thought of that problem.  You're right, there shouldn't
be a maybeyear in this case since the list number disambiguates the
reference completely.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] YABQ (yet another bib question...)

2006-09-15 Thread Thomas A. Schmitz

On Sep 15, 2006, at 2:34 PM, Sanjoy Mahajan wrote:

 At first I was sure that (2006a) and (2006b) are the right answer for
 the list.  Othewise how else could the user know which entry to look
 up when they see, say, Hoekwater (2006b) in the text?  But I just
 figured out the answer to that question: Users count 'a', 'b',
 ... starting with the first 2006 entry.  However, I still don't think
 it's a good idea to make them do that.  Let's not ask users to do what
 computers do very well (counting)!

 Let me know whether I'm understanding it correctly.  If you have a
 numbered reference list, then the year can still end up with a letter
 tag, e.g.

 1. Taco Hoekwater.  JournalA.  2006a
 2. Taco Hoekwater.  JournalB.  2006b

 Ah, I hadn't thought of that problem.  You're right, there shouldn't
 be a maybeyear in this case since the list number disambiguates the
 reference completely.

Sanjoy,

yes, I agree completely: let the computer do the counting and  
bookkeeping! And you've hit the nail on the head: what I meant was,  
in cases where the form of  the list makes the reference completely  
unambiguous (because it is numbered or because keys/authoryear tags  
are prefixed), adding another number in the bibliographic entry is  
superfluous and somewhat ugly.

So question to Taco: maybe we need three options for maybeyear?

1. off [always]

2. on [always]

3. on for tags and authoryear etc., off for the date entry in the  
list itself.

Am I making sense? Are we working you to the bones? ;-)

Best

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


[NTG-context] ConTeXt problem on Mac mini

2006-09-15 Thread Bernd Militzer

Hi all,

I have problems with ConTeXt on my Mac mini (intel-platform).

My family project compiles perfect on my linux-machine and on my 
PowerBook G4


I use  TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005

 texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
 tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4)
 context : ver: 2005.01.31

but not  Mac mini (intel-platform)

I installed ConTeXt with Gerbens i-installer and have here version
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

running   texexec --check
TeXExec | current distribution: web2c
TeXExec | context source date: 2006.09.11 00:42
TeXExec | format path: . /Users/bmi/Library/texmf/web2c 
/usr/local/teTeX/share/texmf.local/web2c 
/usr/local/teTeX/share/texmf.gwtex/web2c 
/usr/local/teTeX/share/texmf.tetex/web2c /usr/local/teTeX/share/texmf/web2c

TeXExec | start of analysis
/usr/local/teTex/share/texmf.local/scripts/context/ruby/texexec.rb:17: 
command not found: texmfstart texexec --help
/usr/local/teTex/share/texmf.local/scripts/context/ruby/texexec.rb:17: 
command not found: texmfstart texutil --help
/usr/local/teTex/share/texmf.local/scripts/context/ruby/texexec.rb:17: 
command not found: texmfstart ctxtools --help

TeXExec | end of analysis

running texexec --pdf TestFile1.tex


! Misplaced \noalign.
\TABLEnoalign -\noalign
   \bgroup \let \noalign \relax \let \next =
\insertTABLEtail -\TABLEnoalign
   {\global \settrue \preventTABLEbreak 
\globa...


\stoptables ...erepeattail \else \insertTABLEtail
\fi \finishTABLE 
\egroup \...


\stopListeR -\stoptables
\stop
l.8 \stopListeR
 ?

after that I changed in my table-macro
first row: \NC\AR to \NC\FR
last row: : \NC\AR to \NC\LR

running texexec --pdf TestFile2.tex
I get no error, but
1. placetable ... \externalfigure[buffername.tmp]  does not work
  getbuffer produce the table
2. the running tablehead is only on first page
3. the running tablefoot is only on the last page

I have no idea what to do?

Is it an installation problem?
or is something wrong with my macros?

every hint is welcome
and thanks for help

Bernd


TestFile1.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] YABQ (yet another bib question...)

2006-09-15 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 So question to Taco: maybe we need three options for maybeyear?
 
 1. off [always]

This is the one that is missing, yes? Because the

   \setuppublicationlist[maybeyear=off]

is actually option 3.

   2. on [always]
 
 3. on for tags and authoryear etc., off for the date entry in the  
 list itself.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Templates and official documents

2006-09-15 Thread batela
Dear Sirs

I'm a teacher in a secondary school and I need to prepare some  
planifications for my class. Until now Word can do the job but I'm  
think that ConTexT can do better. The scheme of the layout of my  
document is:

|--- 
- |
| logo School Name   
|
|
 |
| UNIT: (changing in each page)   |
|
  |
|  |---| 
  |
|  |   a table with several coluns|  
 |
|  |  and several rows   
| |
|  |---| 
  |
|
  |
|  Teacher name: Date:   
   |
|_|


The paper are in landscape orientation and in each page I need to  
represent several elements, like: logo, school name, space for the unit  
designation, teacher name, date and signatures.

My main question is: is there any way to prepare this kind of documents  
in Context? Examples are welcome.

Thanks a lot

Have a nice day

jorge

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


Re: [NTG-context] gwTeX: FatalError : Your format does not match the base files!

2006-09-15 Thread Matthias Weber
Hi Alan,

that's not it, but:
-- the files in /texmf.local/web2C are from September
-- I do not have a pdfetex subdirectory in /texmf.local/web2C
I can't locate any other copies of the files on my machine, either...

Matthias




On Sep 14, 2006, at 12:08 PM, Alan Bowen wrote:

 On Sep 14, 2006, at 11:27 AM, Matthias Weber wrote:

 Dear all,

 I have tried updating ConTeXt with the result that any ConTeXt
 document results in the above
 error message :(

 I have re-installed everything (I hope - deleted teTeX from /usr/
 local/, and the ipackages folder
 from the home directory, then re-installed everything using
 iinstaller) to no avail.
 I tried both the ConTeXt beta and the stable version.

 Any ideas what's wrong?
 Full log file is below.

 Thanks,

 Matthias


 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

 fixing engine variable : pdfetex
  executable : pdfetex
  format : cont-en
   inputfile : Untitled
  output : pdftex
   interface : en
current mode : none
 TeX run : 1

 This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
 (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
 entering extended mode
 (./Untitled.tex

 ConTeXt  ver: 2006.06.14 20:42  fmt: 2006.6.15  int: english  mes:
 english

 language: language en is active
 protectionstate 0
 system  : cont-new loaded
 (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex

 FatalError  : Your format does not match the base files!

 FormatVersion   : 2006.06.14 20:42
 FilesVersion: 2006.09.13 23:47


 return code : 0
run time : 1 seconds
sorting and checking : running texutil

 TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006
  action : processing commands, lists and registers
  option : sorting IJ under Y
  option : converting high ASCII values
   error : empty input file Untitled

  remark : 'texutil' is now part of 'texexec'
 warning : use 'texmfstart texutil' instead

  total run time : 1 seconds

 warning : use 'texmfstart texexec' instead


 Matthias—

 Check the dates of the files cont-en.fmt and cont-nl.fmt in your
 /texmf.local/web2C and
 /texmf.local/web2C/pdfetex directories.

 My guess is that the ones in the former were created in June than the
 ones in the latter were created in September. If this is right,
 copy the September files from /texmf.local/web2C/pdfetex to /
 texmf.local/web2C.

 That worked for me and I hope that it does for you too.

 Alan

 ___
 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] gwTeX: FatalError : Your format does not match the base files!

2006-09-15 Thread Thomas A. Schmitz
What is the output of

kpsewhere cont-en.fmt?

Thomas

On Sep 15, 2006, at 5:21 PM, Matthias Weber wrote:

 Hi Alan,

 that's not it, but:
 -- the files in /texmf.local/web2C are from September
 -- I do not have a pdfetex subdirectory in /texmf.local/web2C
 I can't locate any other copies of the files on my machine, either...

 Matthias


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


Re: [NTG-context] gwTeX: FatalError : Your format does not match the base files!

2006-09-15 Thread Matthias Weber
/Users/matthias/Library/texmf/web2c/cont-en.fmt
/usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt

On Sep 15, 2006, at 11:46 AM, Thomas A. Schmitz wrote:

 What is the output of

 kpsewhere cont-en.fmt?

 Thomas

 On Sep 15, 2006, at 5:21 PM, Matthias Weber wrote:

 Hi Alan,

 that's not it, but:
 -- the files in /texmf.local/web2C are from September
 -- I do not have a pdfetex subdirectory in /texmf.local/web2C
 I can't locate any other copies of the files on my machine, either...

 Matthias


 ___
 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] gwTeX: FatalError : Your format does not match the base files!

2006-09-15 Thread Alan Bowen
On Sep 15, 2006, at 11:21 AM, Matthias Weber wrote:On Sep 14, 2006, at 12:08 PM, Alan Bowen wrote: On Sep 14, 2006, at 11:27 AM, Matthias Weber wrote: Dear all,I have tried updating ConTeXt with the result that any ConTeXtdocument results in the aboveerror message :(I have re-installed everything (I hope - deleted teTeX from /usr/local/, and the ipackages folderfrom the home directory, then re-installed everything usingiinstaller) to no avail.I tried both the ConTeXt beta and the stable version.Any ideas what's wrong?Full log file is below.Thanks,MatthiasTeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005fixing engine variable : pdfetex             executable : pdfetex                 format : cont-en              inputfile : Untitled                 output : pdftex              interface : en           current mode : none                TeX run : 1This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)entering extended mode(./Untitled.texConTeXt  ver: 2006.06.14 20:42  fmt: 2006.6.15  int: english  mes:englishlanguage        : language en is activeprotectionstate 0system          : cont-new loaded(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.texFatalError      : Your format does not match the base files!FormatVersion   : 2006.06.14 20:42FilesVersion    : 2006.09.13 23:47            return code : 0               run time : 1 seconds   sorting and checking : running texutilTeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006                 action : processing commands, lists and registers                 option : sorting IJ under Y                 option : converting high ASCII values                  error : empty input file Untitled                 remark : 'texutil' is now part of 'texexec'                warning : use 'texmfstart texutil' instead         total run time : 1 seconds                warning : use 'texmfstart texexec' instead Matthias—Check the dates of the files cont-en.fmt and cont-nl.fmt in your/texmf.local/web2C and/texmf.local/web2C/pdfetex directories.My guess is that the ones in the former were created in June than theones in the latter were created in September. If this is right,copy the September files from /texmf.local/web2C/pdfetex to /texmf.local/web2C.That worked for me and I hope that it does for you too.AlanHi Alan,that's not it, but:-- the files in /texmf.local/web2C are from September-- I do not have a pdfetex subdirectory in /texmf.local/web2CI can't locate any other copies of the files on my machine, either...Matthias Rats! Are there other cont-en.fmt and cont-nl.fmt files on your machine?Runkpsewhich cont-en.fmtand let me know what you get back offlist.By the way, what installation for TeX/ConTeXt are you using and how did you do it? Did you runtexmfstart texexec --make --allor (if you do not have the texmfstart stub working)texexec --make --allduring or after installing ConTeXt? (You may have to begin these commands with sudo.)Alan___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Templates and official documents

2006-09-15 Thread Willi Egger
Hi Jorge,

May be you want much more, but based on your information you could do 
something like this:

setuppapersize[A4,landscape][A4,landscape]
\setupcolors[state=start]

\setuplayout
[tospace = 2cm,
backspace=2.5cm,
headerdistance=3\bodyfontsize,
margin=2cm,
width=fit]

\definelogo[Schoollogo]
[top]
[leftmargin]

[command={\framedtext[width=\marginwidth,background=color,backgroundcolor=red]{School
 
logo}},state=start]

\setupheadertexts[\hfill{\bfa This is our School Name}\hfill]

\starttext
\placelogos
\startalignment[middle]
\cap{unit}: (changing each page)
\stopalignment
\blank

\bTABLE
\setupTABLE[column][1][width=.9\textwidth]
\bTR
\bTD a table with several columns and several rows \eTD
\eTR
\dorecurse{10}{\bTR \bTD more rows \eTD \eTR}
\eTABLE
\vfill
\starttabulate[|l|lw(5cm)|l|]
\NC Teacher name\EQ \NC Date\EQ\NR
\stoptabulate
\stoptext


Willi

batela wrote:
 Dear Sirs

 I'm a teacher in a secondary school and I need to prepare some  
 planifications for my class. Until now Word can do the job but I'm  
 think that ConTexT can do better. The scheme of the layout of my  
 document is:

 |--- 
 - |
 | logo School Name   
 |
 |
  |
 | UNIT: (changing in each page)   |
 |
   |
 |  |---| 
   |
 |  |   a table with several coluns|  
  |
 |  |  and several rows   
 | |
 |  |---| 
   |
 |
   |
 |  Teacher name: Date:   
|
 |_|


 The paper are in landscape orientation and in each page I need to  
 represent several elements, like: logo, school name, space for the unit  
 designation, teacher name, date and signatures.

 My main question is: is there any way to prepare this kind of documents  
 in Context? Examples are welcome.

 Thanks a lot

 Have a nice day

 jorge

 ___
 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] gwTeX: FatalError : Your format does not match the base files!

2006-09-15 Thread Alan Bowen
Unless you have a good reason for keeping it, try removing the web2c  
directory from your /Users/matthias/Library/texmf/ and then  
rebuilding the format files.

There has been much on the list about what people want in their ~/ 
texmf. Still, I find it much simpler to use it only for stuff that is  
mine and not part of the ConTeXT distribution.

Alan

On Sep 15, 2006, at 11:51 AM, Matthias Weber wrote:

 /Users/matthias/Library/texmf/web2c/cont-en.fmt
 /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt

 On Sep 15, 2006, at 11:46 AM, Thomas A. Schmitz wrote:

 What is the output of

 kpsewhere cont-en.fmt?

 Thomas

 On Sep 15, 2006, at 5:21 PM, Matthias Weber wrote:

 Hi Alan,

 that's not it, but:
 -- the files in /texmf.local/web2C are from September
 -- I do not have a pdfetex subdirectory in /texmf.local/web2C
 I can't locate any other copies of the files on my machine,  
 either...

 Matthias


 ___
 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

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


[NTG-context] Help with mswincontext installation

2006-09-15 Thread Marcus Vinicius Mesquita de So
After upgrading MikTeX, ConTeXt is working no more.Since I'm not using LaTeX anymore (ConTeXt rules !!! )I decided to use only the mswincontext package. After downloading it,I followed the intructions in http://wiki.contextgarden.net/Windows_Installation#Installation_Instructionsbut I could not compile the example (demo-tex.tex)In the SciTe windows I receive the following log :Exec | using randomseed 1152TeXExec | tex engine: pdftexTeXExec | tex format: cont-enTeXExec | progname: contextwarning: Could not open char translation file `natural.tcx'.This is pdfTeX, Version 3.141592-1.40.0-beta-20060213 (Web2c 7.5.5)\write18 enabled.I can't find the format file `cont-en.fmt'!TeXExec | runtime: 0.359Exit code: 1Then, from the cmd line, I tried to build the formats with the command:texexec --make --allbut I received:TeXExec | using search method 'kpsefast'TeXExec |
 updating file databasemktexlsr: d:/context/usr/local/context/tex/ EXMF is not a directory. Skipping...mktexlsr: Done.TeXExec | using tex engine pdftexTeXExec | using tex format path D:/context/usr/local/context/tex/texmf-mswin/web2c/pdftexTeXExec | generating tex format cont-enwarning: Could not open char translation file `natural.tcx'.This is pdfTeX, Version 3.141592-1.40.0-beta-20060213 (Web2c 7.5.5) (INITEX)\write18 enabled.entering extended mode! I can't find file `cont-en'.* *cont-enPlease type another input file name:Any help will be apreciated ...Greetings from a shiny BrazilMarcus ViniciusBy the way :Ruby is ok :ruby --version gives:ruby 1.8.5 (2006-08-25) [i386-mswin32]Perl is ok:perl --version gives:This is perl, v5.8.6 built for MSWin32-x86-multi-thread(with 3 registered patches, see perl -V for
 more detail) 
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] gwTeX: FatalError : Your format does not match the base files!

2006-09-15 Thread Thomas A. Schmitz

On Sep 15, 2006, at 5:51 PM, Matthias Weber wrote:
 I can't locate any other copies of the files on my machine,  
 either...

 /Users/matthias/Library/texmf/web2c/cont-en.fmt
 /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt


Then you haven't looked very carefully. There are two, one in your  
private texmf tree, most probably unwanted. To get things going  
again, follow these commands:

1. rm -r /Users/matthias/Library/texmf/web2c

2. sudo su

3. rm /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt

4. texexec --make --all

At this point, try and see if your installation works again. If it  
doesn't, you can either edit texmf.cnf or do this:

5. ln -s /usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont- 
en.fmt /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt

6. ln -s /usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont- 
nl.fmt /usr/local/teTeX/share/texmf.local/web2c/cont-nl.fmt

7. texhash

5. and 6. have to go into one line; you probably can't copy them from  
this mail. That should place the format in the right subdirectory. The
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] gwTeX: FatalError : Your format does not match the base files!

2006-09-15 Thread Matthias Weber
Thanks for the detailed instructions.

After step 4, I get the log file below - I then proceeded with step 5  
an 6. Step 6 gave me an error msg saying the file
exists, so I proceeded, and now it seems I am having a working  
ConTeXt installation.


Thanks again!

Matthias



TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

fixing engine variable : pdfetex
 executable : pdfetex
 format : cont-en
  inputfile : Untitled
 output : pdftex
  interface : en
   current mode : none
TeX run : 1

This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
kpathsea: Running mktexfmt cont-en.fmt
fmtutil: format directory `/usr/local/teTeX/share/texmf.local/web2c'  
is not writable.
Sorry, I can't find the format `cont-en.fmt'; will try `context.fmt'.
kpathsea: Running mktexfmt context.fmt
fmtutil: format directory `/usr/local/teTeX/share/texmf.local/web2c'  
is not writable.
I can't find the format file `context.fmt'!

return code : 256
   run time : 1 seconds

 total run time : 2 seconds

warning : use 'texmfstart texexec' instead





On Sep 15, 2006, at 12:31 PM, Thomas A. Schmitz wrote:


 On Sep 15, 2006, at 5:51 PM, Matthias Weber wrote:
 I can't locate any other copies of the files on my machine,
 either...

 /Users/matthias/Library/texmf/web2c/cont-en.fmt
 /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt


 Then you haven't looked very carefully. There are two, one in your
 private texmf tree, most probably unwanted. To get things going
 again, follow these commands:

 1. rm -r /Users/matthias/Library/texmf/web2c

 2. sudo su

 3. rm /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt

 4. texexec --make --all

 At this point, try and see if your installation works again. If it
 doesn't, you can either edit texmf.cnf or do this:

 5. ln -s /usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-
 en.fmt /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt

 6. ln -s /usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-
 nl.fmt /usr/local/teTeX/share/texmf.local/web2c/cont-nl.fmt

 7. texhash

 5. and 6. have to go into one line; you probably can't copy them from
 this mail. That should place the format in the right subdirectory. The
 ___
 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


[NTG-context] TeX-live rpm

2006-09-15 Thread Peter Münster
Hello,

for those, you like rpm, there is now a TeX-live source rpm with the
following features:

- support for easy ConTeXt update (command updateConTeXt.sh)
- support for URW Garamond
- support for Adobe eurofont
- support for ruby versions of ConTeXt scripts
- latest TeX-live
- latest ConTeXt
- latest pdfTeX
- latest MetaPost

Installation:
rpmbuild --rebuild --force http://pmrb.free.fr/texlive/texlive.spm

Requirements:
- a lot of disk space
- patience

Feedback is welcome!

Cheers, 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] Help with mswincontext installation

2006-09-15 Thread Mojca Miklavec
On 9/15/06, Marcus Vinicius Mesquita de So wrote:
 After upgrading MikTeX, ConTeXt is working no more.

What exactly is wrong? Do you use MikTeX 2.5 or do you mean I updated
the packages on MikTeX 2.4? On my computer it's working OK (after
submitting quite some bug reports, but all of them were fixed so far).

 Since I'm not using LaTeX anymore (ConTeXt rules !!! )

Same for me ;)

 I decided to use only the mswincontext package. After downloading it,
 I followed the intructions in
 http://wiki.contextgarden.net/Windows_Installation#Installation_Instructions

 but I could not compile the example (demo-tex.tex)
 In the SciTe windows I receive the following log :

 Exec | using randomseed 1152
 TeXExec | tex engine: pdftex
 TeXExec | tex format: cont-en
 TeXExec | progname: context
 warning: Could not open char translation file `natural.tcx'.
 This is pdfTeX, Version 3.141592-1.40.0-beta-20060213 (Web2c 7.5.5)
  \write18 enabled.
 I can't find the format file `cont-en.fmt'!
 TeXExec | runtime: 0.359
 Exit code: 1


 Then, from the cmd line, I tried to build the formats with the command:

 texexec --make --all

That's the proper move.

 but I received:

 TeXExec | using search method 'kpsefast'
 TeXExec | updating file database
 mktexlsr: d:/context/usr/local/context/tex/ EXMF is not
 a directory. Skipping...

Did you manually remove something or is this a literal transcript of
the message? It might be a broken setuptex.bat. What do
echo %TEXMF%
echo %TEXMFLOCAL%
return?

You should get something like
{$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN}
and
D:\context\usr\local\context\tex\context\texmf-local
(Not 100% about the last one, but it should be an approximation.)

 mktexlsr: Done.
 TeXExec | using tex engine pdftex
 TeXExec | using tex format path
 D:/context/usr/local/context/tex/texmf-mswin/web2c/pdftex
 TeXExec | generating tex format cont-en
 warning: Could not open char translation file `natural.tcx'.

Do you have natural.tcx in your folder
(.../context/texmf/web2c/natural.tcx)? If you have it, the problem
probably lies in mktexlsr which doesn't find files if environmental
variables are not set properly.

Or, let me ask another question: how do you start context (how do
you call setuptex.bat)?

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


[NTG-context] html wizard

2006-09-15 Thread Hans Hagen
Hi,

is there an html/javascript wizard who can help me with some issues 
concerning a future version of context (not related to html generation 
at all)

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] Missing \dddot and \ddddot

2006-09-15 Thread Aditya Mahajan
On Fri, 15 Sep 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:
 On Thu, 14 Sep 2006, Hans Hagen wrote:


 Aditya Mahajan wrote:

 On Thu, 14 Sep 2006, WN wrote:



 Hello,
 I need to use \dddot and \ot in one of my documents, does anyone
 know how to
 define these math symbols.


 The trouble is that most fonts do not contain these accents.
 amsmath.sty gets over this definition by faking these symbols. It is
 easy to port these definitions to context.

 amsmath.sty definition

 \newcommand{\dddot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont ...}\vss
 \newcommand{\ot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont}\vss


 Converting to context

 %%
 \unprotect

 % The true copy of amsmath definitions
 \def\amsdddot {\limits^{\vbox to -1.4ex{\kern-2ex\hbox{\the\textfont\z@ 
 ...}\vss}}}
 \def\amsot{\limits^{\vbox to [EMAIL PROTECTED]

 % I do not understand why you need to give negative height


 \setbox\scratchbox{..} \ht\scratchbox0pt \dp\scratchbox-2pt


 I was wondering why amstex definition does this, as the 1.4ex depth
 was too big. Then I realized that it is not 1.4ex but 1.4\ex@ with
 \ex@ as .2326ex. ughhthe ugly syntax of plain tex...

 So here is a more reliable reproduction of amstex dddot and ot

 \newdimen\amstexex

 \amstexex = .2326ex

 what's this funny number based on, somehow related to interlinespace?

 one cannot define a measure globally this way, since an ex is font
 dependent,;

 \def\amstexex{\dimexpr.08\lineheight\relax}

The latex package amsgen.sty define it more carefully

\newdimen\ex@
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@{%
   \begingroup
   [EMAIL PROTECTED]@size\p@
   \ifdim\dimen@-20\p@
 \global\ex@ 1.5\p@
   \else
 [EMAIL PROTECTED]@ [EMAIL PROTECTED]@
 [EMAIL PROTECTED]@\z@ -\fi}%
 \dimen@ \ifdim\dimen@\z@ -\fi \dimen@
 [EMAIL PROTECTED]@m sp % fudge factor
 \vfuzz\p@
 \def\do{\ifdim\dimen@\z@
   \vfuzz=.97\vfuzz
   \advance\dimen@ -\p@
   [EMAIL PROTECTED] \fi}%
 \do
 [EMAIL PROTECTED]@ [EMAIL PROTECTED]
 [EMAIL PROTECTED]@
 \global\advance\ex@ [EMAIL PROTECTED]@
   \fi
   \endgroup
}


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


Re: [NTG-context] html wizard

2006-09-15 Thread Sanjoy Mahajan
Hans Hagen wrote:
 is there an html/javascript wizard who can help me with some issues
 concerning a future version of context (not related to html
 generation at all)

I'm willing to help with whatever skills I have.  I programmed the
site http://columbiamedicine.org/education/clean.shtml.  It uses
javascript for the collapsable menus (and a whole bunch of godawful
javascript for adding articles to the site), though I'm not a wizard
by any stretch.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] html wizard

2006-09-15 Thread Hans Hagen
Sanjoy Mahajan wrote:
 Hans Hagen wrote:
   
 is there an html/javascript wizard who can help me with some issues
 concerning a future version of context (not related to html
 generation at all)
 

 I'm willing to help with whatever skills I have.  I programmed the
 site http://columbiamedicine.org/education/clean.shtml.  It uses
 javascript for the collapsable menus (and a whole bunch of godawful
 javascript for adding articles to the site), though I'm not a wizard
 by any stretch.

   
ok, let's discuss it off-list then 

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] html wizard

2006-09-15 Thread Hans Hagen

Sanjoy Mahajan wrote:

Hans Hagen wrote:
  

is there an html/javascript wizard who can help me with some issues
concerning a future version of context (not related to html
generation at all)



I'm willing to help with whatever skills I have.  I programmed the
site http://columbiamedicine.org/education/clean.shtml.  It uses
javascript for the collapsable menus (and a whole bunch of godawful
javascript for adding articles to the site), though I'm not a wizard
by any stretch.
  

as you know, taco and i are working on luatex

in the process i rewrite parts of context, for instance the mp to pdf 
converted, but also thinsg that are not yet there

for the moment we keep this low profile 

- we need occasional scoops for tex conferences (where we talk) 
- we operate within the context test-bed because that permits us to throw away code withou tthe need to bother about users who already depend on it (sometimes a problem for pdftex which inhibits development of cleaner interfaces) 
- we don't want to be bound by existing macro packages, sentiments etc 
- it works faster this way


so, the next few months i will involve more people in this development, so that next year we can introduce context mkiv in a more or less workable and stable way 

to the html ... 


we're playing with overloading error messages and such

the attached page shows a prelim debug page 

this one is generated on the fly using template files and embedded lua 


the problem is that i want only one page, i.e. such a page should replace the 
current one in the browser, i played a bit with javascript but cannot get it 
working (indirect launch and such)

i attached the file 



so the problem is:

- we do a call start blabla.html
- that should replace the current page 
- or better, the page with the same name 




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
-

Title: ConTeXt Debug Information








ConTeXt Debug Information 








 Scratch Variables


index
dimen
count
toks

 
0
1pt
1
\The key mentioned above can't be us ...

 
2
0pt
0


 
4
0pt
0


 
6
0pt
0


 
8
0pt
0


 

 
 Internal Variables



type
variable
value   

 

p
hsize
426.78743pt

 

p
parindent
0.0pt

 

p
leftskip
0.0pt

 

p
rightskip
0.0pt

 

p
vsize
597.51323pt

 

p
parskip
0.0pt

 

p
baselineskip
14.46669pt

 

p
lineskip
1.0pt

 

p
topskip
12.0pt plus 60.0pt

 

 
ConTeXt Variables



type
variable
value   


[NTG-context] Greek hyphenation problem

2006-09-15 Thread Alan Bowen
I have not been able to get Greek hyphenation to work. To make sure  
that my set up was right (?),
I ran
texfmstart ctxtools --pat
and put the pattern files in /usr/local/teTeX/share/texmf.local/tex/ 
context/patterns
The log file shows
CtxTools | processing language agr
CtxTools |
CtxTools | using file /usr/local/teTeX/share/texmf.local/tex/context/ 
base/enco-acc.tex
CtxTools | preloading accent conversions
CtxTools | preloading agr character mappings
CtxTools | accepting vector agr
CtxTools | file grahyph4.tex is not present
CtxTools | file oldgrhyph.tex is not present
CtxTools |
CtxTools | 0 changes in patterns and exceptions
CtxTools | description found for language agr
CtxTools | patterns saved in file lang-agr.pat

I then  ran
sudo texmfstart texexec --make --all
and cont-en.log shows
(/Users/acbowen/Library/texmf/tex/context/enco-agr.tex)
encoding: coding agr is loaded
then
loading : Context Language Macros / Generic Patterns
language: patterns for agr not loaded
then
) (/usr/local/teTeX/share/texmf.local/tex/context/base/lang-grk.tex
loading : Greek Language
language: patterns for gr not loaded
language: patterns for agr not loaded
)
then
language: patterns agr for agr loaded (n=25,e=agr,m=agr)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat)
language: hyphenations agr for agr loaded (n=25,e=agr,m=agr)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.hyp)

The test file is:

\usemodule[ancientgreek] 
[font=GreekGentiumAlt,altfont=GreekOxoniensis,altscale=1.03]
\setupfontsynonym[GreekGentium]
\setupfontsynonym[GreekGentiumAlt]
\setupfontsynonym[GreekOxoniensis]

\def\grk{\localgreek}
\def\altgrk{\localaltgreek}

\starttext

\hyphenatedword{transformational}

\startgreek
\hyphenatedword{filosofo'umena}

filosofo'umena filosofo'umena filosofo'umena filosofo'umena  
filosofo'umena filosofo'umena filosofo'umena filosofo'umena  
filosofo'umena filosofo'umena filosofo'umena filosofo'umena  
filosofo'umena filosofo'umena filosofo'umena filosofo'umena  
filosofo'umena
\stopgreek

\stoptext

and the log file has
ConTeXt  ver: 2006.09.13 23:47 MK II  fmt: 2006.9.13  int: english/ 
english
and
language: patterns nl-texnansi:texnansi-1-2:3 nl-ec:ec- 
 2-2:3 fr-
texnansi:texnansi-3-2:3 fr-ec:ec-4-2:3 de-texnansi:texnansi-5- 
 2:3 de-e
c:ec-6-2:3 it-texnansi:texnansi-7-2:3 it-ec:ec-8-2:3 pt- 
 texnansi:texna
nsi-9-2:3 pt-ec:ec-10-2:3 hr-ec:ec-11-2:3 pl-pl0:pl0-12- 
 2:3 pl-ec:e
c-13-2:3 pl-qx:qx-14-2:3 cz-il2:il2-15-2:3 cz-ec:ec-16- 
 2:3 sk-il2:i
l2-17-2:3 sk-ec:ec-18-2:3 sl-ec:ec-19-2:3 ru-t2a:t2a-21- 
 2:3 en-ec:e
c-22-2:3 uk-ec:ec-23-2:3 us-ec:ec-24-2:3 agr-agr:agr-25- 
 2:3 da-ec:e
c-26-2:3 sv-ec:ec-27-2:3 af-ec:ec-28-2:3 no-ec:ec-29-2:3  
deo-ec:ec-
30-2:3 es-ec:ec-31-2:3 ca-ec:ec-32-2:3 la-ec:ec-33-2:3 ro- 
 ec:ec-34
-2:3 tr-ec:ec-35-2:3 fi-ec:ec-37-2:3 hu-ec:ec-38-2:3 loaded

Yet, the output lacks Greek hyphenation—the English hyphenation is  
fine—and there are several overfull \hbox warnings.

What have I overlooked?

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


Re: [NTG-context] Templates and official documents

2006-09-15 Thread batela

Hi Willi

Tanks a lot for your suggestions, but I need some additional 
assistance. With the code in attach my  final document have 4 pages, 
but I need to fit all information in only 2 pages. In each page I need 
to include the logo, the unit name, the school name, the table, the 
teacher name and the date.   If the table is to large, then the table 
will be splited.


I have an additional question for you: are there a way to amplified the 
interline space only in the columns 3,4 and 5 of the table?


plano9medio.tex
Description: TeX document


 Thanks alot
Jorge

Em 15/09/2006, às 5:00, Willi Egger escreveu:


Hi Jorge,

May be you want much more, but based on your information you could do
something like this:

setuppapersize[A4,landscape][A4,landscape]
\setupcolors[state=start]

\setuplayout
[tospace = 2cm,
backspace=2.5cm,
headerdistance=3\bodyfontsize,
margin=2cm,
width=fit]

\definelogo[Schoollogo]
[top]
[leftmargin]

[command={\framedtext[width=\marginwidth,background=color,backgroundcol 
or=red]{School

logo}},state=start]

\setupheadertexts[\hfill{\bfa This is our School Name}\hfill]

\starttext
\placelogos
\startalignment[middle]
\cap{unit}: (changing each page)
\stopalignment
\blank

\bTABLE
\setupTABLE[column][1][width=.9\textwidth]
\bTR
\bTD a table with several columns and several rows \eTD
\eTR
\dorecurse{10}{\bTR \bTD more rows \eTD \eTR}
\eTABLE
\vfill
\starttabulate[|l|lw(5cm)|l|]
\NC Teacher name\EQ \NC Date\EQ\NR
\stoptabulate
\stoptext


Willi

batela wrote:

Dear Sirs

I'm a teacher in a secondary school and I need to prepare some
planifications for my class. Until now Word can do the job but I'm
think that ConTexT can do better. The scheme of the layout of my
document is:

|- 
--

- |
| logo School Name
|
|
 |
| UNIT: (changing in each page)
|

|
  |
|  |---|
  |
|  |   a table with several coluns|
 |
|  |  and several rows
| |
|  |---|
  |
|
  |
|  Teacher name: Date:
   |
|_|


The paper are in landscape orientation and in each page I need to
represent several elements, like: logo, school name, space for the  
unit

designation, teacher name, date and signatures.

My main question is: is there any way to prepare this kind of  
documents

in Context? Examples are welcome.

Thanks a lot

Have a nice day

jorge

___
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



Um Abraço,

Jorge Magalhães
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Missing \dddot and \ddddot

2006-09-15 Thread Aditya Mahajan
On Fri, 15 Sep 2006, Aditya Mahajan wrote:

 On Fri, 15 Sep 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:
 On Thu, 14 Sep 2006, Hans Hagen wrote:


 Aditya Mahajan wrote:

 On Thu, 14 Sep 2006, WN wrote:



 Hello,
 I need to use \dddot and \ot in one of my documents, does anyone
 know how to
 define these math symbols.


 The trouble is that most fonts do not contain these accents.
 amsmath.sty gets over this definition by faking these symbols. It is
 easy to port these definitions to context.

 amsmath.sty definition

 \newcommand{\dddot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont ...}\vss
 \newcommand{\ot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont}\vss


 Converting to context

 %%
 \unprotect

 % The true copy of amsmath definitions
 \def\amsdddot {\limits^{\vbox to -1.4ex{\kern-2ex\hbox{\the\textfont\z@ 
 ...}\vss}}}
 \def\amsot{\limits^{\vbox to [EMAIL PROTECTED]

 % I do not understand why you need to give negative height


 \setbox\scratchbox{..} \ht\scratchbox0pt \dp\scratchbox-2pt


 I was wondering why amstex definition does this, as the 1.4ex depth
 was too big. Then I realized that it is not 1.4ex but 1.4\ex@ with
 \ex@ as .2326ex. ughhthe ugly syntax of plain tex...

 So here is a more reliable reproduction of amstex dddot and ot

 \newdimen\amstexex

 \amstexex = .2326ex

 what's this funny number based on, somehow related to interlinespace?

 one cannot define a measure globally this way, since an ex is font
 dependent,;

 \def\amstexex{\dimexpr.08\lineheight\relax}

 The latex package amsgen.sty define it more carefully

 \newdimen\ex@
 [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
 [EMAIL PROTECTED]@{%
   \begingroup
   [EMAIL PROTECTED]@size\p@
   \ifdim\dimen@-20\p@
 \global\ex@ 1.5\p@
   \else
 [EMAIL PROTECTED]@ [EMAIL PROTECTED]@
 [EMAIL PROTECTED]@\z@ -\fi}%
 \dimen@ \ifdim\dimen@\z@ -\fi \dimen@
 [EMAIL PROTECTED]@m sp % fudge factor
 \vfuzz\p@
 \def\do{\ifdim\dimen@\z@
   \vfuzz=.97\vfuzz
   \advance\dimen@ -\p@
   [EMAIL PROTECTED] \fi}%
 \do
 [EMAIL PROTECTED]@ [EMAIL PROTECTED]
 [EMAIL PROTECTED]@
 \global\advance\ex@ [EMAIL PROTECTED]@
   \fi
   \endgroup
 }

A bit of explaination incase someone is wondering what is going on

% [EMAIL PROTECTED]
%The [EMAIL PROTECTED] variable provides a small unit of space for use in
%math-mode constructions, that varies according to the current type
%size. For example, the \cn{pmb} command uses [EMAIL PROTECTED] units.
%Since a macro or mu unit solution for the \meta{dimen} [EMAIL PROTECTED] 
won't
%work without changing a lot of current code in the \pkg{amsmath}
%package, we set [EMAIL PROTECTED] through the [EMAIL PROTECTED]@size} hook.
%The value of [EMAIL PROTECTED] is scaled nonlinearly in a range of roughly
%0.5pt to 1.5pt, by the function [EMAIL PROTECTED]@}.
%\begin{macrocode}
\newdimen\ex@
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
%\end{macrocode}
% \end{macro}
%
%[EMAIL PROTECTED]@} computes [EMAIL PROTECTED] as a nonlinear scaling from 
10pt
%to current font size ([EMAIL PROTECTED]). Using .97 as the multiplier 
makes 1
%|ex@| $\approx$ .9pt when the current type size is 8pt and 1 |ex@|
%$\approx$ 1.1pt when the current type size is 12pt.
%
%The formula is essentially
% \begin{displaymath}
% \newcommand{\points}{\mbox{pt}}
% \newcommand{\floor}[1]{\lfloor#1\rfloor}
%  1\points \pm (1\points - (.97)^{\floor{\vert 10 - n\vert}})
% \end{displaymath}
%where $n$ = current type size, but adjusted to differentiate
%half-point sizes as well as whole point sizes, and there is a
%cutoff for extraordinarily large values of [EMAIL PROTECTED] ($$ 20pt)
%so that the value of [EMAIL PROTECTED] never exceeds 1.5pt.
%
%\begin{macrocode}
[EMAIL PROTECTED]@{%
   \begingroup
   [EMAIL PROTECTED]@size\p@
   \ifdim\dimen@-20\p@
%\end{macrocode}
%Never make [EMAIL PROTECTED] larger than 1.5pt.
%\begin{macrocode}
 \global\ex@ 1.5\p@
   \else
%\end{macrocode}
%Adjust by the reference size and multiply by 2 to allow for
%half-point sizes.
%\begin{macrocode}
 [EMAIL PROTECTED]@ [EMAIL PROTECTED]@
%\end{macrocode}
%Save information about the current sign of [EMAIL PROTECTED]
%\begin{macrocode}
 [EMAIL PROTECTED]@\z@ -\fi}%
%\end{macrocode}
%Get the absolute value of [EMAIL PROTECTED]
%\begin{macrocode}
 \dimen@ \ifdim\dimen@\z@ -\fi \dimen@
 [EMAIL PROTECTED]@m sp % fudge factor
%\end{macrocode}
%Here we use \cs{vfuzz} merely as a convenient scratch register
%\begin{macrocode}
 \vfuzz\p@
%\end{macrocode}
%Multiply in a loop.
%\begin{macrocode}
 \def\do{\ifdim\dimen@\z@
   \vfuzz=.97\vfuzz
   \advance\dimen@ -\p@