Re: [NTG-context] mistake in usemodule[letter]

2005-10-03 Thread r . ermers
Hi Jessica,

Try this:
\usemodule[m][letter]
or
\usemodule[m-letter]

I had a similar problem some time ago. It seems that a plainTeX document
named 'letter.tex' is loaded in lieu of m-letter.tex. It is against
Contex-philosophy to explicitly state the prefixes, but it may be needed
now and again.

Regards,

Robert



Op Di, 4 oktober, 2005 7:55 am schreef Jessica Holle:
>

> Hi,
> everytime when I use the module letter I get a mistake:
>
> rzvlabwks:/home/jessi # tra jessi.tex
>
>
> TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>
>
> fixing engine variable : pdfetex executable : pdfetex format : cont-en
> inputfile : jessi output : standard interface : en current mode : none TeX
> run : 1
>
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> \write18 enabled.
> (/usr/local/teTeX/share/texmf-local/web2c/natural.tcx)
> entering extended mode (./jessi.tex
>
>
> ConTeXt  ver: 2005.08.15  fmt: 2005.8.17  int: english  mes: english
>
>
> language: language en is active 
> system  : cont-new loaded
> (/usr/local/teTeX/share/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
> (/usr/local/teTeX/share/texmf-local/tex/context/base/cont-old.tex
> loading : Context Old Macros )
> system  : cont-fil loaded
> (/usr/local/teTeX/share/texmf-local/tex/context/base/cont-fil.tex
> loading : Context File Synonyms )
> system  : cont-sys loaded
> (/usr/local/teTeX/share/texmf-local/tex/context/user/cont-sys.tex
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-exa.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-syn.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-enc.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-dis.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-siz.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-map.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-spe.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-akb.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-exa.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-syn.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-enc.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-dis.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-siz.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-map.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-spe.tex)
> (/usr/local/teTeX/share/texmf-local/tex/context/base/type-akb.tex))
> bodyfont: 12pt rm is loaded language: patterns
> nl->texnansi:texnansi->1->2:2
> nl->ec:ec->2->2:2 fr->
> texnansi:texnansi->3->2:2 fr->ec:ec->4->2:2
> de->texnansi:texnansi->5->2:2 de->e
> c:ec->6->2:2 it->texnansi:texnansi->7->2:2 it->ec:ec->8->2:2
> pt->texnansi:texna
> nsi->9->2:2 pt->ec:ec->10->2:2 hr->ec:ec->11->2:2
> pl->pl0:pl0->12->2:2 pl->ec:e
> c->13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2
> sk->il2:il2->16->2:2 sk->ec:
> ec->17->2:2 sl->il2:il2->18->2:2 sl->ec:ec->19->2:2
> en->ec:ec->21->2:2 da->ec:e
> c->22->2:2 sv->ec:ec->23->2:2 af->ec:ec->24->2:2 no->ec:ec->25->2:2
> deo->ec:ec-
>
>> 26->2:2 uk->ec:ec->27->2:2 us->ec:ec->28->2:2 es->ec:ec->29->2:2
>>
> ca->ec:ec->30
> ->2:2 la->ec:ec->31->2:2 ro->ec:ec->32->2:2 tr->ec:ec->33->2:2
> fi->ec:ec->35->2
> :2 hu->ec:ec->36->2:2 loaded
> specials: tex,postscript,rokicki loaded system  : jessi.top
> loaded (./jessi.top)
> specials: loading definition file tpd
> (/usr/local/teTeX/share/texmf-local/tex/context/base/spec-tpd.tex
> specials: loading definition file fdf
> (/usr/local/teTeX/share/texmf-local/tex/context/base/spec-fdf.tex)
> specials: fdf loaded )
> specials: fdf,tpd loaded system  : module letter loaded
> (/usr/local/teTeX/share/texmf-dist/tex/plain/base/letter.tex
> ! Undefined control sequence.
> l.13 \nopagenumbers
>
>
> my document looks like this:
>
> \setupoutput[pdftex]
> \usemodule[letter]
>
>
> \starttext
> hallo \stoptext
>
>
> Do I something wrong or does I have a mistake in my installation?
>
>
>
>
> ___
> 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] mistake in usemodule[letter]

2005-10-03 Thread Jessica Holle

Hi,
everytime when I use the module letter I get a mistake:

rzvlabwks:/home/jessi # tra jessi.tex

 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

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

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 \write18 enabled.
 (/usr/local/teTeX/share/texmf-local/web2c/natural.tcx)
entering extended mode
(./jessi.tex

ConTeXt  ver: 2005.08.15  fmt: 2005.8.17  int: english  mes: english

language: language en is active

system  : cont-new loaded
(/usr/local/teTeX/share/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
(/usr/local/teTeX/share/texmf-local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/local/teTeX/share/texmf-local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys loaded
(/usr/local/teTeX/share/texmf-local/tex/context/user/cont-sys.tex
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf-local/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
language: patterns nl->texnansi:texnansi->1->2:2
nl->ec:ec->2->2:2 fr->
texnansi:texnansi->3->2:2 fr->ec:ec->4->2:2
de->texnansi:texnansi->5->2:2 de->e
c:ec->6->2:2 it->texnansi:texnansi->7->2:2 it->ec:ec->8->2:2
pt->texnansi:texna
nsi->9->2:2 pt->ec:ec->10->2:2 hr->ec:ec->11->2:2
pl->pl0:pl0->12->2:2 pl->ec:e
c->13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2
sk->il2:il2->16->2:2 sk->ec:
ec->17->2:2 sl->il2:il2->18->2:2 sl->ec:ec->19->2:2
en->ec:ec->21->2:2 da->ec:e
c->22->2:2 sv->ec:ec->23->2:2 af->ec:ec->24->2:2 no->ec:ec->25->2:2
deo->ec:ec-
>26->2:2 uk->ec:ec->27->2:2 us->ec:ec->28->2:2 es->ec:ec->29->2:2
ca->ec:ec->30
->2:2 la->ec:ec->31->2:2 ro->ec:ec->32->2:2 tr->ec:ec->33->2:2
fi->ec:ec->35->2
:2 hu->ec:ec->36->2:2 loaded
specials: tex,postscript,rokicki loaded
system  : jessi.top loaded
(./jessi.top)
specials: loading definition file tpd
(/usr/local/teTeX/share/texmf-local/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/local/teTeX/share/texmf-local/tex/context/base/spec-fdf.tex)
specials: fdf loaded
)
specials: fdf,tpd loaded
system  : module letter loaded
(/usr/local/teTeX/share/texmf-dist/tex/plain/base/letter.tex
! Undefined control sequence.
l.13 \nopagenumbers


my document looks like this:

\setupoutput[pdftex]
\usemodule[letter]

\starttext
hallo
\stoptext

Do I something wrong or does I have a mistake in my installation?



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


Re: [NTG-context] installing context

2005-10-03 Thread Rob Ermers
Dear Friends,

The problem is solved.
I reinstalled some files of the miktex distribution. After that everything
works normal! Hurrah!

Thanks again for looking into it.

Robert


- Original Message -
From: Taco Hoekwater <[EMAIL PROTECTED]>
To: Rob Ermers <[EMAIL PROTECTED]>; mailing list for ConTeXt users

Sent: Monday, October 03, 2005 10:05 AM
Subject: Re: [NTG-context] installing context


>
>
> Rob Ermers wrote:
> > Dear Friends,
> >
> > I have updated miktex and context today.
> > Latex works normally, but I can't get context working right.
> >
> > cont-en and cont-nl are causing problems.
> > Miktex cannot generate an (e)fmt file of cont-en, con-nl.
> >
> > Last time I upgraded, something was wrong with the English hyphenation
> > files.
> > This time something else must be the matter; even though hyphenation in
> > several languages apparently is not installed.
>
> The patterns are loaded later in the format generation process,
> the initial message is a bit confusing perhaps, only later
> will it actually start searching for the pattern files.
>
> For the error message to go away, you need increase the variable
> that controls to the number of possible control sequences in
> miktex.ini (my guess is it will be called "hash_size"):
>
> > ! TeX capacity exceeded, sorry [hash size=35000].
>
> Cheers, Taco
> ___
> 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] installing context

2005-10-03 Thread Rob Ermers
Dear Friends,
I'm afraid Upendra's and Taco's suggestions do not  work out.

I changed the miktex.ini and texexec.ini files along their instructions.

The miktex.ini file does not have an item hash_size or the like, but I found
out how and added one.

In another forum (archive) there was a question on this. It was suggested to
change the texmf.cnf file, i.e. to add
main_memory.context  = 450 % 100 bot/top
hash_extra.context   =   9 %   3

I also tried that.

Nothing seems to help. Does anyone have a clue?
I'm also getting closer to my deadline!

Kind regards,

Robert

This is pdfeTeX, Version 3.141592-1.20a-rc7.2-2.2 (MiKTeX 2.4) (INITEX)  3
OCT 2005 22:23
entering extended mode
***cont-en
(J:\tex\texmf\tex\context\base\cont-en.tex
(J:\tex\texmf\tex\context\base\context.tex
(J:\tex\texmf\tex\context\base\syst-pln.tex
\maxdimen=\dimen10
\hideskip=\skip10
\centering=\skip11
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\interdisplaylinepenalty=\count23
\interfootnotelinepenalty=\count24
\bigskipamount=\skip13
\jot=\dimen13
\medskipamount=\skip14
\normalbaselineskip=\skip15
\normallineskip=\skip16
\normallineskiplimit=\dimen14
\smallskipamount=\skip17
\mscount=\count25
\tabs=\box11
\tabsyet=\box12
\tabsdone=\box13
)
(J:\tex\texmf\tex\context\base\syst-prm.tex)
(J:\tex\texmf\tex\context\base\syst-etx.tex)
(J:\tex\texmf\tex\context\base\syst-omg.tex)
(J:\tex\texmf\tex\context\base\syst-xtx.tex)
(J:\tex\texmf\tex\context\base\syst-gen.tex
loading : Context System Macros / General
) (J:\tex\texmf\tex\context\base\syst-ext.tex
loading : Context System Macro's / Extras
) (J:\tex\texmf\tex\context\base\syst-new.tex)
(J:\tex\texmf\tex\context\base\syst-con.tex
loading : Context System Macro's / Conversions
) (J:\tex\texmf\tex\context\base\syst-var.tex
loading : Context System Macro's / Variables
) (J:\tex\texmf\tex\context\base\math-pln.tex)
(J:\tex\texmf\tex\context\base\supp-ini.tex
loading : Context Support Macros / Initializations
) (J:\tex\texmf\tex\context\base\supp-fil.tex
loading : Context Support Macros / Files
) (J:\tex\texmf\tex\context\base\supp-dir.tex)
(J:\tex\texmf\tex\context\base\mult-ini.tex
loading : Context Multilingual Macros / Initialization
) (J:\tex\texmf\tex\context\base\mult-sys.tex
loading : Context Multilingual Macros / System
interface   : defining english interface

interface   : using english messages

) (J:\tex\texmf\tex\context\base\mult-con.tex
loading : Context Multilingual Macros / Constants
) (J:\tex\texmf\tex\context\base\mult-com.tex
loading : Context Multilingual Macros / Commands
) (J:\tex\texmf\tex\context\base\thrd-ran.tex)
(J:\tex\texmf\tex\context\base\thrd-trg.tex)
(J:\tex\texmf\tex\context\base\supp-box.tex
loading : Context Support Macros / Boxes
) (J:\tex\texmf\tex\context\base\supp-mrk.tex
loading : Context Support Macros / Marks
) (J:\tex\texmf\tex\context\base\supp-vis.tex
loading : Context Support Macros / Visualization
) (J:\tex\texmf\tex\context\base\supp-fun.tex
loading : Context Support Macros / Fun Stuff
) (J:\tex\texmf\tex\context\base\supp-eps.tex
loading : Context Support Macros / EPS
) (J:\tex\texmf\tex\context\base\supp-pdf.tex
loading : Context Support Macros / PDF (2004.03.26)
) (J:\tex\texmf\tex\context\base\supp-spe.tex
loading : Context Support Macros / Specials
) (J:\tex\texmf\tex\context\base\supp-mps.tex
(J:\tex\texmf\tex\context\base\supp-ini.tex
loading : Context Support Macros / Initializations
)
loading : Context Support Macros / MetaPost Inclusion
) (J:\tex\texmf\tex\context\base\supp-mpe.tex
loading : MetaPost Special Extensions
) (J:\tex\texmf\tex\context\base\supp-tpi.tex
loading : Context Support Macros / TPIC Conversion
) (J:\tex\texmf\tex\context\base\supp-mat.tex
loading : Context Support Macros / Math
) (J:\tex\texmf\tex\context\base\supp-ran.tex
loading : Third Party Macros / Random Number Generation
) (J:\tex\texmf\tex\context\base\supp-ali.tex)
(J:\tex\texmf\tex\context\base\typo-ini.tex
loading : Context Typographic Macros (ini)
) (J:\tex\texmf\tex\context\base\verb-ini.tex
loading : Context Verbatim Macros / Initialization
) (J:\tex\texmf\tex\context\base\core-var.tex
loading : Context Core Macros / Variables
) (J:\tex\texmf\tex\context\base\core-ins.tex
loading : Context Insertion Macros / General
) (J:\tex\texmf\tex\context\base\core-fil.tex
loading : Context Core Macros / File Support
) (J:\tex\texmf\tex\context\base\core-con.tex
loading : Context Core Macros / Conversion Macros
) (J:\tex\texmf\tex\context\base\cont-fil.tex
loading : Context File Synonyms
) (J:\tex\texmf\tex\context\base\thrd-tab.tex)
(J:\tex\texmf\tex\context\base\supp-lan.tex
loading : Context Support Macros / Language Options
) (J:\tex\texmf\tex\context

RE: [NTG-context] Curious instruction from Texfont

2005-10-03 Thread Idris Samawi Hamid
>I should explain that I use Context for non-fiction but plain
>pdftex for novels etc.

I must ask: Why is that?
-)

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] Curious instruction from Texfont

2005-10-03 Thread John R. Culleton
On Monday 03 October 2005 06:05 pm, Taco Hoekwater wrote:
> John R. Culleton wrote:
> > Ran texfont and things seemed to go well. The test program
> > worked. But in the map file I find this curious instruction:
> > -
> > % Alternatively in your TeX source you can say:
> > %
> > %   \pdf{+8r-nasa-nasal.map}
> > %
> > ---
> >
> > Using pdftex the above statement just causes an error. What am I
> > misunderstanding here?
>
> Typo / replace error. It should say:
>
>   % Alternatively in your TeX source you can say:
>   %
>   %   \pdfmapfile{+8r-nasa-nasal.map}
>   %
>
> Cheers, Taco


My friend you are helpful as always.

 Perhaps Hans could put this typo on his "fix when I
have some time" stack. It is indeed a handy trick for those of
us using pdftex. And texfont is a marvelous program. 

-- 
John Culleton
Books with answers to marketing and publishing questions:
http://wexfordpress.com/tex/shortlist.pdf

Book coaches, consultants and packagers:
http://wexfordpress.com/tex/packagers.pdf

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


[NTG-context] Curious instruction from Texfont

2005-10-03 Thread John R. Culleton
Ran texfont and things seemed to go well. The test program
worked. But in the map file I find this curious instruction:
-
% Alternatively in your TeX source you can say:
%
%   \pdf{+8r-nasa-nasal.map}
%
---

Using pdftex the above statement just causes an error. What am I
misunderstanding here?

I should explain that I use Context for non-fiction but plain
pdftex for novels etc. 



-- 
John Culleton
Books with answers to marketing and publishing questions:
http://wexfordpress.com/tex/shortlist.pdf

Book coaches, consultants and packagers:
http://wexfordpress.com/tex/packagers.pdf

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


Re: [NTG-context] Curious instruction from Texfont

2005-10-03 Thread Taco Hoekwater

John R. Culleton wrote:

Ran texfont and things seemed to go well. The test program
worked. But in the map file I find this curious instruction:
-
% Alternatively in your TeX source you can say:
%
%   \pdf{+8r-nasa-nasal.map}
%
---

Using pdftex the above statement just causes an error. What am I
misunderstanding here?


Typo / replace error. It should say:

 % Alternatively in your TeX source you can say:
 %
 %   \pdfmapfile{+8r-nasa-nasal.map}
 %

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


Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-03 Thread Christopher Creutzig
Alexander Lazic wrote:
>>>\stopreusableMPgraphic{sin}
>>
>>This {sin} at the end is wrong; it's interpreted as text.
> 
> 
> This  have i understand ;-)
> I called it sin, sorry for confusion.

 The name is unimportant – my point is that the \stop... commands don't
get arguments.

> Thanx.
> Have i right understand, if i want to draw a sinuscurve i must use a
> for-loop?

 MetaPost is not really a function plotter.  So, yes, you have to use
some sort of loop, although there may be some predefined macros hiding them.


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


Re: [NTG-context] \noalign?

2005-10-03 Thread Christopher Creutzig
Hans Hagen wrote:

>>which tables allow using \noalign and in what places?

>>\NC one \NC two \NC three \NC\AR
>>\HL\noalign{\pause}%
>>\NC one \NC two \NC three \NC\AR
>>\noalign{\pause}\HL

> it all depends on what you want to achieve

 I want to place a \pdfspecial in front of the \HL.  Peter Rolf pointed
out correctly (and I had seen that myself as well) that the problem
seems to be with \AR only.  I'll try and check if I can make the whole
thing work transparently with \AR or if I have to ask users to use \FR,
\MR, \LR for this usage pattern.  (Usage: You build a table line by line
in a presentation.)


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


Re: [NTG-context] Lettrine Problems

2005-10-03 Thread Marcus Vinicius Mesquita de So
Thank you for your effort!!

Marcus

--- Taco Hoekwater <[EMAIL PROTECTED]> wrote:

> 
> 
> Taco Hoekwater wrote:
> > 
> > Marcus Vinicius Mesquita de So wrote:
> > 
> >> Problems occur with Lettrine when used with the
> linenumbering
> >> environment, the dropped cap stays outside the
> margin.
> >> Minimal example below.
> 
> Sorry, this is unfixable.
> 
> Greetings,
> 
> Taco
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 





__ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/ 

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


[NTG-context] Re: Installing context

2005-10-03 Thread r . ermers
Hi Taco and Upendran,

Thanks a lot for your kind help.

I'm elsewhere now, so I will only be able to try this evening.

Thanks again.

Robert


Op Ma, 3 oktober, 2005 3:32 pm schreef piskala upendran:
> hi ermers,
>
> I am attaching afile for your help in updating the
> miktex.ini. hope this will be helpful. I never had problem after this. A
> note. I update context what ever supplied alog with miktex package only.
>
> Best wishes
>
>
> Upendran
>
>
> ___
> copy miktex.ini into localtexmftree and amend as given below.
>
> increase 'pattern memory ops' size. in miktex.ini.
>
> set as follows.
>
> trie_op_size=35111 trie_size=25
>
>
> Under the heading [ConTeXt] add:
> pool_size=100 write18=enable
>
> The problem is that the write18 setting is not seen by
> MiKTeX if put
> under a format-specific section :( Rather, in texexec.ini change the
> TeXPassString for MiKTeX to
>
>
> for  miktex  set  TeXPassString to --alias=context --enable-write18
>
>
> Under [pdfeTeX] add:
> openout_any=a shell_escape=t allow_multiple_suffixes=f
>
>
> __
>
>
>
>
> % It should work. If not I do not know. Iam also
> % novice in context.
>
>
>
>
> __
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
>


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


Re: [NTG-context] bib module: doubling publications list

2005-10-03 Thread Taco Hoekwater



Idris Samawi Hamid wrote:

Dear Taco and gang,

Ok, I'm migrating my journal over to the new bib module (ConTeXt from 8-31). 
First issue:


Under some strange circumstances (perhaps if the bbl file and tex file have 
the same name?), sometimes the list of publications gets repeated. I cannot 
always repeat this though; seems capricious. Here are test files:




\input test-bib.bbl


This line is superfluous, because there is an implicit

  \usepublications[\jobname]

that is executed by the module itself. Since there is no double loading
guard, the bbl is read twice in this example.

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


RE: [NTG-context] bib module: \setupcite macro

2005-10-03 Thread Idris Samawi Hamid
>= Original Message From Taco Hoekwater <[EMAIL PROTECTED]> =
>> Please forgive my cluelessness, but what is "year compression" and how do I
>> turn it on?
>
>   \setupcite[year][compress=yes]

Great, it works now! Thnx for the full explanation as well-)

>PS I've seen the rest of your comments as well, but no chance
>of doing something with them today.

:-(

Ok, but I hope/pray that, at least, I don't have to make more clones of the 
t-bib module; journal is due to the publisher next tuesday (or I'm a dead 
man)...

Thnx again for all of your help.

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] bib module: \setupcite macro

2005-10-03 Thread Idris Samawi Hamid
Hi Thomas,

>= Original Message From "Thomas A. Schmitz" <[EMAIL PROTECTED]> 
=
>Just add an extra pair of braces:
>
>\def\citeyear[#1]{%
>   {{\cite[year]}[#1]%
>   }%
>}

Ok, does not crash but now I lose the reference completely in the output-(

Best
Idris


% output=pdf interface=en

\setupwhitespace[big]

\usemodule[bib]

\setuppublications[alternative=apa]
\setuppublications[autohang=yes]
\setuppublications[numbering=no]
\setuppublications[criterium=cite]
\setuppublications[sorttype=bbl]
%
%\setuppublicationlist[totalnumber={},samplesize=,author={\invertedauthor}]

\def\citeyear[#1]{%
  {{\cite[year]}[#1]%
  }%
}

\input test-bib.bbl

\starttext

\dots as Afghani points out \citeyear[afghani60].

\section{References}{\tfx\setupinterlinespace
{\placepublications}}

\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: [NTG-context] bib module: \setupcite macro

2005-10-03 Thread Taco Hoekwater



Idris Samawi Hamid wrote:

Hi Taco,



= Original Message From Taco Hoekwater <[EMAIL PROTECTED]> =


My definition for \citeyear crashes. This used to work-)


First: this problem is caused by the fact that year
citations are by default uncompressed. if year compression
is turned on, then different code is used, and the problem
never happens.



Please forgive my cluelessness, but what is "year compression" and how do I 
turn it on?


  \setupcite[year][compress=yes]

It is supposed to work similar to compression for author-year
combinations (where it already is turned on by default), so that
if you do \cite[year][johhnson1,smithson2] and both were published
in the same year, you get only one year typeset instead of two.

Whether or not that makes sense is another issue, the feature came
'free' with the author-year variant where it sometimes really does
make sense to compress the typeset data.

Cheers, Taco

PS I've seen the rest of your comments as well, but no chance
of doing something with them today.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] bib module: \setupcite macro

2005-10-03 Thread Idris Samawi Hamid
Hi Taco,

>= Original Message From Taco Hoekwater <[EMAIL PROTECTED]> =
>> My definition for \citeyear crashes. This used to work-)
>
>First: this problem is caused by the fact that year
>citations are by default uncompressed. if year compression
>is turned on, then different code is used, and the problem
>never happens.

Please forgive my cluelessness, but what is "year compression" and how do I 
turn it on?

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] Metapost Problem

2005-10-03 Thread Wolfgang Zillig

Hello,

wat to convert a metapost file to pdf by mptopdf:

my command: mptopdf.pl grid.mp

then grid.1 is created but no pdf. The output on the command line is:

   C:\Documents and Settings\s0167070\Desktop\grid>mptopdf.pl grid.mp

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

   unknown file type: texmfscripts
 metapost : grid
 format : metafun
   (grid.mp [1]
   metafun 2005-6-13 14:28
)
   1 output file written: grid.1
   Transcript written on grid.log.

   total run time : 0 seconds
   -fmt=mptopdf: unknown option

   MPtoPDF 1.3 : grid is converted to grid-1.pdf

Any suggestions what goes wrong?

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


Re: [NTG-context] bib module: \setupcite macro

2005-10-03 Thread Taco Hoekwater



Idris Samawi Hamid wrote:

Another issue:

My definition for \citeyear crashes. This used to work-)


First: this problem is caused by the fact that year
citations are by default uncompressed. if year compression
is turned on, then different code is used, and the problem
never happens.

---

I've made a change to the representation of authors (there is
now one or two extra sets of braces around each author), and
this causes the crash. It turns out to be a problem with the
core macro \addtocommalist, that I don't know how to fix.

Minimal demonstration of problem/bug:

  \def\acommalist{}
  \addtocommalist{{stuff with braces}}\acommalist


Q for Hans: The way my data representation is written now, I
need to be able to add the following three types of elements
as well as stuff without braces:

  {author}   % stands for one author
  {authora},{authorb}% stands for two authors
  {authora},{}   % stands for author et. al.

is that doable eventually, or should I implement another
presentation altogether?

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


Re: [NTG-context] installing context

2005-10-03 Thread Taco Hoekwater



Rob Ermers wrote:

Dear Friends,

I have updated miktex and context today.
Latex works normally, but I can't get context working right.

cont-en and cont-nl are causing problems.
Miktex cannot generate an (e)fmt file of cont-en, con-nl.

Last time I upgraded, something was wrong with the English hyphenation
files.
This time something else must be the matter; even though hyphenation in
several languages apparently is not installed.


The patterns are loaded later in the format generation process,
the initial message is a bit confusing perhaps, only later
will it actually start searching for the pattern files.

For the error message to go away, you need increase the variable
that controls to the number of possible control sequences in
miktex.ini (my guess is it will be called "hash_size"):


! TeX capacity exceeded, sorry [hash size=35000].


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


Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-03 Thread Alexander Lazic

On Son 02.10.2005 22:36, Christopher Creutzig wrote:

Alexander Lazic wrote:


2.) i have try

\startreusableMPgraphic{sin}

  sin (1);
\stopreusableMPgraphic{sin}


This {sin} at the end is wrong; it's interpreted as text.


This  have i understand ;-)
I called it sin, sorry for confusion.


What you can do is something like

   drawdot(10*x, 10*sin(x)) withpen pencircle scaled 1pt;


Thanx.
Have i right understand, if i want to draw a sinuscurve i must use a
for-loop?


I think it really helps with MP programming to understand this type of
loops.


Well i think i must learn mp before context, if i want to draw some
mathemathics functions ;-)

Thanx again for help.

greetings

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


Re: [NTG-context] Lettrine Problems

2005-10-03 Thread Taco Hoekwater



Taco Hoekwater wrote:


Marcus Vinicius Mesquita de So wrote:


Problems occur with Lettrine when used with the linenumbering
environment, the dropped cap stays outside the margin.
Minimal example below.


Sorry, this is unfixable.

Greetings,

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


[NTG-context] Couple of index questions/bugs

2005-10-03 Thread Thomas A. Schmitz

I have a couple of index questions and bugs to report. Here comes:

1. When I use newtexexec, the sorting disregards an initial capital  
letter, sorting Hans under a;


2. Again in newtexexec, \seeindex is broken. The outpput it produces  
is see XXX, :0]-, and it gives an error message that I append at the  
end of the mail. The same file ran with texexec.pl compiles fine and  
produces correct ouptut.


3. In makeidx, it is possible to give the pagereference in the index  
a certain format with code like this \index{keyword|textit} so that  
the page-number will appear in Italics. Is anything like this  
possible in ConTeXt?


That's it for now. Anu help will ne appreciated

Best

Thomas

=
error message for \seeindex

! Argument of \@@filterlevelpart has an extra }.

\par

   }
\doifprevlevelelse ...tor \@@filterlevelpart [#1]}
  \edef  
\@@tocsectiontype {\...


\dosetpageregisterpage ...->\doifreglevelelse [#5]
   
{\dodosetpageregisterpage ...

l.58 ...isterpage{index}{,}{6}{2::0:0:0:0:0:0:0}{}

Runaway argument?
0:0:0:0:0:0:0]
! Paragraph ended before \@@filterlevelpart was complete.

   \par

   }
\doifprevlevelelse ...tor \@@filterlevelpart [#1]}
  \edef  
\@@tocsectiontype {\...


\dosetpageregisterpage ...->\doifreglevelelse [#5]
   
{\dodosetpageregisterpage ...

l.58 ...isterpage{index}{,}{6}{2::0:0:0:0:0:0:0}{}

! Argument of \@@filterblockpart has an extra }.

\par

   }
\doifprevlevelelse ...pe {\@@filterblockpart [#1]}
  \ifcase  
\alltoclevels \ifn...


\dosetpageregisterpage ...->\doifreglevelelse [#5]
   
{\dodosetpageregisterpage ...

l.58 ...isterpage{index}{,}{6}{2::0:0:0:0:0:0:0}{}

Runaway argument?
0:0:0:0:0:0:0]
! Paragraph ended before \@@filterblockpart was complete.

   \par

   }
\doifprevlevelelse ...pe {\@@filterblockpart [#1]}
  \ifcase  
\alltoclevels \ifn...


\dosetpageregisterpage ...->\doifreglevelelse [#5]
   
{\dodosetpageregisterpage ...

l.58 ...isterpage{index}{,}{6}{2::0:0:0:0:0:0:0}{}

! Argument of \@@filternumberpart has an extra }.

\par

   }
\pageprefix ...stprefix {\@@filternumberpart [#2]}
  \let  
\donexttrackcommando ...

 ... {\??id \v!index }[2::0:0:0:0:0:0:0]
  \translatednumber  
[2::0:0:...


\doregisterpagehowto ...??id #1\c!pagecommand }{#2
  }\dostopattributes
 ...erpage {\v!index }[2::0:0:0:0:0:0:0]
  \ifnum 1=2\/\fi
...
l.58 ...isterpage{index}{,}{6}{2::0:0:0:0:0:0:0}{}

Runaway argument?
0:0:0:0:0:0:0]
! Paragraph ended before \@@filternumberpart was complete.

   \par

   }
\pageprefix ...stprefix {\@@filternumberpart [#2]}
  \let  
\donexttrackcommando ...

 ... {\??id \v!index }[2::0:0:0:0:0:0:0]
  \translatednumber  
[2::0:0:...


\doregisterpagehowto ...??id #1\c!pagecommand }{#2
  }\dostopattributes
 ...erpage {\v!index }[2::0:0:0:0:0:0:0]
  \ifnum 1=2\/\fi
...
l.58 ...isterpage{index}{,}{6}{2::0:0:0:0:0:0:0}{}

Runaway argument?
! Paragraph ended before \@@dofilterheadpart was complete.

   \par
\@@filterheadpart ... \@@dofilterheadpart [EMAIL PROTECTED] [#1
  :0]
 ...ix {\@@filterheadpart [\postprefix ]
  }\edef \postprefix  
{\@@fil...


\firstoftwoarguments #1#2->#1

\donexttrackcommando #1->\dodopageprefix {#1}
 \donexttracklevel {#1}
\pageprefix ...\donexttrackcommando \firstsection
  \egroup
...
l.58 ...isterpage{index}{,}{6}{2::0:0:0:0:0:0:0}{}

Runaway argument?
! Paragraph ended before \@@dofiltertailpart was complete.

   \par
\@@filtertailpart ... \@@dofiltertailpart [EMAIL PROTECTED] [#1
  :0]
 ...ix {\@@filtertailpart [\postprefix ]
  }\let \uchar  
\normaluchar ...


\firstoftwoarguments #1#2->#1

\donexttrackcommando #1->\dodopageprefix {#1}
 \donexttracklevel {#1}
\pageprefix ...\donexttrackcommando \firstsection