Re: [NTG-context] TeX capacity exceeded with metafun

2006-03-13 Thread Hans Hagen
andrea valle wrote:
 Thanks Hans

 So:
 1. If I understand, I have to edit context.cnf, right?
   
no, texmf.cnf ; context.tmf is an example of what i use here; (you can 
try copying context.fmf to you texmf-local/web2c path)
 
 2. It may work, but non necessarily. It is thus possible that I cannot 
 solve definitively the problem. How do I choose a clever number to set?
   
locate the texmf,cnf files used and just change the numbers; going from 
2 meg to 4 meg is no problem, but in your case of adding a zero, going 
to 20 meg is more that tex can offer
 3. Ehm... No, I haven't regenerated the format. How can I do it?
   
texexec --make --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] externalfigure and width/height scaling

2006-03-13 Thread Hans Hagen
nico wrote:
 On Sun, 12 Mar 2006 20:02:44 +0100, Hans Hagen [EMAIL PROTECTED] wrote:

   
 nico wrote:
 
 Looking at the \externalfigure capabilities, I haven't found any option
 allowing to scale only one dimension (or scale both dimensions in an
 anamorphous way).

 Am I right, and if so what is the best method to perform this?

 I thought about using the \getfiguredimensions macro to get the natural
 dimensions, and then use something like
 width=0.2\imgwidth,height=0.8\imgheight, but it is a pity that the
 externalfigure interface does not allow this directly (something like
 wscale and hscale options).

   
 there is indeed no xscale and yscale (although
 \scale[sx=1.5,sy=2,3]{...} is available)

 % put this in cont-new.tex
 

 Thanks very much for your quick patch, it works as expected. Do you plan  
 to include it in a next release?
   
yes

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] Chapters with parts

2006-03-13 Thread Taco Hoekwater


Marcus Vinicius Mesquita de So wrote:
 Hi!
 
 I'm typesetting a book with chapters with parts, such as:
 
 Chapter 25-I
 Chapter 25-II
 Chapter 25-III
 Chapter 25-IV
 
 Chapter 26
 
 Chapter 27-I
 
 How can I achieve this in ConTeXt?
 Thanks in advance for any help!

Ik hou don't know in advance what type of numbers you need,
then perhaps it is easiest to use:

   \setuphead[chapter][ownnumber=yes]

   \chapter{25-I}{...Title...}

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


Re: [NTG-context] [XeTeX] no space after item no.

2006-03-13 Thread Adam Lindsay
Dalyoung Jeong wrote:
 Dear all,
 
 Yesterday, I made a short text including itemized list more than 10.
 I have run it using XeTeX+ConTeXt and got a nice pdf file except one thing.
 
 there is no space between item no and the sentence.
 
 I tested the same file using ConTeXt(Mac Os Roman encoding), and have no 
 problem at all.
 There are spaces after item no less than 10.
 
 Should I set something in XeTeX-ConTeXt?

Dalyoung,

This is much more a ConTeXt issue than a XeTeX issue. I *think* it comes 
up with XeConTeXt because the CJK font has (relatively) wider roman 
characters than with roman fonts.

Anyway, here are two different approaches. You can either correct it per 
item group (making it broad or a multiple thereof), or across all 
itemizes (insert whatever width that makes you happy).

\starttext

\startitemize[n,2*broad]
\dorecurse{13}{\item item }
\stopitemize

% or:
\setupitemize[width=2.5em]
\startitemize[n]
\dorecurse{13}{\item item }
\stopitemize

\stoptext


Hope that helps!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
  Lancaster University, InfoLab21+44(0)1524/510.514
  Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


[NTG-context] \setupfootnotes[split=?] query

2006-03-13 Thread Alan Bowen
No luck last time, so I will send this out once more:

Currently I have \setupfootnotes[split=verystrict] and I am still
getting one footnote call that occurs on the last line of page n
where the note itself appears on page n+1.

Is there a way to prevent this by assigning split= a number? If so,
what numerical value will work? Or is there another setting?

Thanks for any help.

Cheers, Alan

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


Re: [NTG-context] \setupfootnotes[split=?] query

2006-03-13 Thread Taco Hoekwater

Hi Alan,

It would help enormously if one of us (me) had access to a file that
demonstrates the problem. This stuff is hard to fix 'theoretically'.

Cheers, Taco

Alan Bowen wrote:
 No luck last time, so I will send this out once more:
 
 Currently I have \setupfootnotes[split=verystrict] and I am still
 getting one footnote call that occurs on the last line of page n
 where the note itself appears on page n+1.
 
 Is there a way to prevent this by assigning split= a number? If so,
 what numerical value will work? Or is there another setting?
 
 Thanks for any help.
 
 Cheers, 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] Context Garden, wiki not accesable

2006-03-13 Thread frantisek holop
hmm, on Fri, Mar 10, 2006 at 04:22:19PM -0500, Jeffrey Drake said that
 You definitely haven't seen our network administators. The proxy we run:
 
 Generated by squid/[EMAIL PROTECTED]
 
 This version is from 1997 at best. Not many people have a great deal
 of faith in them.

there are quite a few vulnarabilities for squid this old, hint hint :)

but a banner is only a banner, don't forget that.  maybe your admins are
much more trickier than anticipated :)

indeed.  a quick nmap reveals that the machine could very well be a fortress...





-ok, so i presume you can't turn off the proxy...

if you can access http://www.dnsstuff.com/ you could test
that others are able to resolve the contextgarden.net domains.



-i also presume that you tried to access using the ip number...

-you could try to use the google cache... e.g.
http://72.14.203.104/search?q=cache:2s7Cg-h7AcwJ:wiki.contextgarden.net/Main_Page+contextgardenhl=enct=clnkcd=1

but of course, this is a cache...  so some stuff will be outdated.

-you could try going thru a web anonymizer..


still, doens't make sense for me - filtering contextgarden.net
there isn't even a dirty word in the url :)

best of luck, 
-- 
the best way to keep your word is not to give it.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] table-caption: centred or not??

2006-03-13 Thread Peter Münster
On Sun, 12 Mar 2006, Hans Hagen wrote:

 (1) just set the 'minwidth' to a high value to control the first case

Hello Hans,
when using minwidth=\makeupwidth, the first caption is also left-aligned...

 (2) in the second case, kind of disable optimal par building by using 
 'broad'

when using broad, the second caption gets left-aligned...

My goal: one-line captions centred, but multi-line captions justified
normally.

Greetings, Peter

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


Re: [NTG-context] \setupfootnotes[split=?] query

2006-03-13 Thread Alan Bowen
Hi, Taco—

I am happy to do this. Do you want an abbreviated source file and/or  
my environment file? And, depending on the size of the file, shall I  
send them to you (somewhere) off list?

Best, Alan

On Mar 13, 2006, at 11:06 AM, Taco Hoekwater wrote:


 Hi Alan,

 It would help enormously if one of us (me) had access to a file that
 demonstrates the problem. This stuff is hard to fix 'theoretically'.

 Cheers, Taco

 Alan Bowen wrote:
 No luck last time, so I will send this out once more:

 Currently I have \setupfootnotes[split=verystrict] and I am still
 getting one footnote call that occurs on the last line of page n
 where the note itself appears on page n+1.

 Is there a way to prevent this by assigning split= a number? If so,
 what numerical value will work? Or is there another setting?

 Thanks for any help.

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

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


Re: [NTG-context] Chapters with parts

2006-03-13 Thread Marcus Vinicius Mesquita de So
Thank you, my friend.  Just what I needed.Greetings from a sunny Brazil!Marcus ViniciusTaco Hoekwater [EMAIL PROTECTED] wrote:  Marcus Vinicius Mesquita de So wrote: Hi!  I'm typesetting a book with chapters with parts, such as:  Chapter 25-I Chapter 25-II Chapter 25-III Chapter 25-IV  Chapter 26  Chapter 27-I  How can I achieve this in ConTeXt? Thanks in advance for any help!Ik hou don't know in advance what type of numbers you need,then perhaps it is easiest to use:   \setuphead[chapter][ownnumber=yes]   \chapter{25-I}{...Title...}Greetings, Taco___ntg-context mailing
 listntg-context@ntg.nlhttp://www.ntg.nl/mailman/listinfo/ntg-context
		Relax. Yahoo! Mail 
virus scanning helps detect nasty viruses!___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font question mfonts.pdf manual

2006-03-13 Thread Hans Hagen
WN wrote:
 Hi,

 I am reading the mfonts.pdf manual to understand more about Context font 
 mechanism.
 In section 10 Math collection, Hans writes

 Math is a complicated matter and therefore we will not spend that many 
 words on the gory details ..
 .
 More information can be found in the documentation of the math module

 First question is : Why do you not spend more words on this subject ?
   
setting up math fonts is normally not something that a user does: there 
is a limited amount of math fonts and they are normally supported 
out-of-the-box
 I suppose a lot of Latex users are possibly interested
 in using Context for their math typesetting but not knowing all the gory 
 details,
 will complicate matters and hinder a possible conversion from Latex to 
 Context.
   
it depends on how many users want to define math symbols, make math font 
metrics (no fun) etc

in most cases there should beno problem to go from latex to context 
because symbolic names are used for math symbols and resolving them is a 
low level (hidden) activity.
 Second question is : where can I find the documentation of the  math 
 module ? Is it in PDF or do I
 need to consult math-ini.tex ?
   
wiki

taco and i will make a manual for math (the built in features) some day 
soon - we will use a special font for that which is work in progress
   
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] TeX capacity exceeded with metafun

2006-03-13 Thread andrea valle
Thanks Hans,
I made some tweaking with values (quasi-randomly...).
Console is extremely slow in processing the file including the  
MPGraphic (I thought many times it hanged, then letting it run without  
looking I discovered some minutes after that it was still working).
Looking at the the terminal (from TeXShop), it seemed that the process  
was not finished, so I killed it, but the pdf is complete.
In any case now I have my drawing of 10,000 squares.

Best and thanks a lot

-a-

PS:
Here you have my algorithmic hommage à Boetti  
(http://www.artfacts.net/index.php/pageType/exhibitionInfo/exhibition/ 
5797/lang/3):
http://www.semiotiche.it/andrea/membrana/alternando.pdf



On 13 Mar 2006, at 09:24, Hans Hagen wrote:

 andrea valle wrote:
 Thanks Hans

 So:
 1. If I understand, I have to edit context.cnf, right?

 no, texmf.cnf ; context.tmf is an example of what i use here; (you can
 try copying context.fmf to you texmf-local/web2c path)

 2. It may work, but non necessarily. It is thus possible that I cannot
 solve definitively the problem. How do I choose a clever number to  
 set?

 locate the texmf,cnf files used and just change the numbers; going from
 2 meg to 4 meg is no problem, but in your case of adding a zero, going
 to 20 meg is more that tex can offer
 3. Ehm... No, I haven't regenerated the format. How can I do it?

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


Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]

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


Re: [NTG-context] Font question mfonts.pdf manual

2006-03-13 Thread WN




I use a lot of mathematics i.e a lot of integral symbols (\oint,
\oiint, \oiiint ) for my documentation. 
I could not find the corresponding Context math symbols. I suppose they
are not defined as yet ?

Furthermore I use a small tex module written by David Munger and which
I posted 
on this newsgroup a couple of days ago to define some of these math
symbols. 
I was wondering can one switch back and forth using the mechanism of 

\enablemathcollection[collection 1]
\usemathcollection[collection 1]

Some math .

\enablemathcollection[collection 2]
\usemathcollection[collection 2]

Some math .

Thanks for the help 

Kind regards
Wim Neimeijer

[EMAIL PROTECTED] wrote:

  WN wrote:
  
  
Hi,

I am reading the mfonts.pdf manual to understand more about Context font 
mechanism.
In section 10 Math collection, Hans writes

"Math is a complicated matter and therefore we will not spend that many 
words on the gory details ..
.
More information can be found in the documentation of the math module"

First question is : Why do you not spend more words on this subject ?
  

  
  setting up math fonts is normally not something that a user does: there 
is a limited amount of math fonts and they are normally supported 
out-of-the-box
  
  
I suppose a lot of Latex users are possibly interested
in using Context for their math typesetting but not knowing all the gory 
details,
will complicate matters and hinder a possible conversion from Latex to 
Context.
  

  
  it depends on how many users want to define math symbols, make math font 
metrics (no fun) etc

in most cases there should beno problem to go from latex to context 
because symbolic names are used for math symbols and resolving them is a 
low level (hidden) activity.
  



  
Second question is : where can I find the documentation of the  math 
module ? Is it in PDF or do I
need to consult math-ini.tex ?
  

  
  wiki

taco and i will make a manual for math (the built in features) some day 
soon - we will use a special font for that which is work in progress
  

  


  Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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




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


[NTG-context] mixed colors in TABLE

2006-03-13 Thread olivier
Hi Everybody,

I'm in front of a unresolvable pb (for the moment !) : compilation aborts
with following file, apparently for a color problem.

the (not so minimal and not working) exemple :

\setuppapersize
[A4,landscape]
[A4,landscape]

\setupcolors  [state=start]

\definecolor[bgnd][black]
\definecolor[TitleColor][yellow]
\definecolor[SubTitleColor][green]
\definecolor[TextColor][white]



\setupbackgrounds
[paper][paper]
[background=color,backgroundcolor=bgnd]



\starttext



\startbuffer[caracteristiques]

\bTABLE[frame=off,width=.45\paperwidth]
% \setupTABLE[r][1][topframe=on,rulethickness=1em,rulecolor=\TitleColor]
\setupTABLE[c][1][style=\bfb,color=\SubTitleColor]  
%foreground=color,foregroundcolor=\SubTitleColor
\setupTABLE[c][2][style=\bfa,color=\TextColor]
%foreground=color,foregroundcolor=\TextColor
\bTR \bTD Famille : \eTD \bTD Bombacaceae \eTD \eTR
\bTR \bTD Origine : \eTD \bTD Costa Rica \eTD  \eTR
\bTR \bTD Température mini : \eTD \bTD  7°C voire moins, mais à cette 
température l'arbre perd ses feuilles.\eTD \eTR
\bTR \bTD Généralités : \eTD \bTD  arbre tropical pachycaule, feuilles palmées, 
fleurs blanches avec aigrettes en forme de plumeau, floraison d'avril à 
juillet, gros fruits ronds, excellente plante d'intérieur. N'entre pas en 
dormance. \eTD \eTR
\bTR \bTD Exposition : \eTD \bTD mi-ombre \eTD \eTR
\bTR \bTD Atmosphère : \eTD \bTD humide (soucoupe remplie de pouzzolane 
mouillée et vaporisation à l'eau tiède)  \eTD \eTR
\bTR \bTD Arrosage : \eTD \bTD abondants et généreux en été (mais laisser 
sécher entre 2 arrosages), ne pas trop arroser en hiver Engrais : normal \eTD  
\eTR
\bTR \bTD Substrat : \eTD \bTD moitié terreau plante verte, moitié sable \eTD 
\eTR
\eTABLE
\stopbuffer




\startalignment[center]
\hbox \bgroup \ignorespaces

\externalfigure[Pachiraaquatica.jpg][width=.5\paperwidth]

\unskip \quad \ignorespaces

\getbuffer[caracteristiques]

\unskip \egroup
\stopalignment


\stoptext


and the answer from texmfstart newtexexec.rb --autopdf --pdf
pachira-quest.tex
(texexec 5.4.3, texutil 9.0.0, context ver: 2006.02.08) :

[snip]
systems : begin file pachira-quest at line 20
pachira-quest-caracteristiques.tmp
figures : figure Pachiraaquatica can not be found

(c:\mytex\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec.t
ex) (./pachira-quest-caracteristiques.tmp
! Missing \endcsname inserted.
to be read again 
   \bgroup 
\switchtocolor [#1]-\bgroup 
 \startcolor [#1]\aftergroup \stopcolor \aftergr...

\doifcolorelse ...\ifcsname \??cr \currentpalet #1
  \endcsname \currentpalet \...

\dodoglobalstartcolor ...fcolorelse \@@askedcolor 
  {\ifpermitcolormode \docol...

\doglobalstartcolor ...else \dodoglobalstartcolor 
  \fi \else \dodoglobalstart...

\BeforeGroup -\bgroup \startcolor [\tbltblcolor ]
  \bgroup \aftergroup \After...
...
l.13 \eTABLE

? TeXExec | runtime: 2.704


Thanks for any answer

-- 
olivier Turlier

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


Re: [NTG-context] Manual or Book

2006-03-13 Thread Geert Stappers
On Fri, Mar 10, 2006 at 06:32:59PM -0500, John R. Culleton wrote:
 On Friday 10 March 2006 13:29, Jeffrey Drake wrote:
  I have heard a bit of talk about 'if the manual is updated' or some
  such like that. I was going to have the manual printed in a book so I
  have a hardcopy. Is the manual still current and relevant that it
  would be worth it?
 
 
 The manual is five years old. the pattern has been to issue
 additional documentation rather than update the big manual. 
 I printed mine out, have it in my manual rack, and it is getting
 worn out from use. 

Worn out from use is one of the better things that can happen to a manual.

 You may as well print it out.
 I have not heard of a new edition pending.  


Mmmm, I'm also looking for a printed edition of the ConTeXt manual.

Does this ML have publishers subscribed that have some VC to burn?
Or does see someone else see a possibilty for a ConTeXt book?


Geert Stappers


signature.asc
Description: Digital signature
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Manual or Book

2006-03-13 Thread Steve Peter

On Mar 13, 2006, at 5:52 PM, Geert Stappers wrote:

 Does this ML have publishers subscribed that have some VC to burn?
 Or does see someone else see a possibilty for a ConTeXt book?

Adam Lindsay and I are planning on writing one. We've got a detailed  
outline, but our schedules have been conspiring against us so far.

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


Re: [NTG-context] Font question mfonts.pdf manual

2006-03-13 Thread Mojca Miklavec
WN wrote:
  I use a lot of mathematics i.e a lot of integral symbols (\oint, \oiint,
 \oiiint ) for my documentation.
  I could not find the corresponding Context math symbols. I suppose they are
 not defined as yet ?

No, they are not. I already noticed this question last time, but
didn't know how to answer it.

The main problem is that not only the symbols: not even the proper
font is defined. \oiint resides in pxexa font, which is mapped to
Palatino-Math-Extension-A, but that font is not mapped any further.

It would be nice to define (copy definitions from LaTeX) those
amsmath symbols once anyway (probably the first time when someone will
need them). An example of such a definition would be:

\definemathsymbol [boxdot] [bin]  [ma] [00]

(copied from [EMAIL PROTECTED] in pxfonts.sty)

After that you can use $\boxdot$.

But this font is mapped to ma, while I have no idea which steps are
needed to do the same for Math-Extension-A fonts. In order to make
yout integral signs work, you have to ask Adam/Taco/Hans for font
definitions first.

After that you will need the following two definitions:

\definemathsymbol [oiintop]  [op]  [m?] [10]
\definemathsymbol [oiiintop] [op]  [m?] [51]

\definemathcommand [oiint]{\oiintop\nolimits}
\definemathcommand [oiiint]   {\oiiintop\nolimits}


[Second part of the mail removed ...]

Mojca

PS for Hans: regarding the math definitions: are the two functions
general enough to deserve two lines in math-tex?

\definemathcommand [erf]  [nolop] {\mfunction{erf}}
\definemathcommand [erfc] [nolop] {\mfunction{erfc}}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context