Re: [NTG-context] verbatim on wiki

2007-05-16 Thread Andrea Valle
Simply because I'm ignorant. :) Now I know and as soon as possible I  
will update the programa nd the wiki...


By the way, I saw I accidentaly introduced a bug in my python script,  
so I have to fix it.


Best

-a-

On 17 May 2007, at 01:46, Aditya Mahajan wrote:


On Sat, 12 May 2007, Andrea Valle wrote:


Hi,

I've added the discussion of the approach I used for the recently  
posted doc

on
http://wiki.contextgarden.net/Verbatim_text

As it is a bit "heretical" and I don't want to widespread bad  
practices :)


This is certainly interesting. Maybe I will borrow some of your ideas
for the vimsyntax module.


Why do you use \type{\} in

/BTEX{\color[SCgreen] \type{\}aSymbol}/ETEX  ;

and not use \letterbackslash which will give you syntax coloring for \

Aditya
__ 
_
If your question is of interest to others as well, please add an  
entry to the Wiki!


maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] verbatim on wiki

2007-05-16 Thread Aditya Mahajan
On Sat, 12 May 2007, Andrea Valle wrote:

> Hi,
>
> I've added the discussion of the approach I used for the recently posted doc 
> on
> http://wiki.contextgarden.net/Verbatim_text
>
> As it is a bit "heretical" and I don't want to widespread bad practices :)

This is certainly interesting. Maybe I will borrow some of your ideas 
for the vimsyntax module.


Why do you use \type{\} in

/BTEX{\color[SCgreen] \type{\}aSymbol}/ETEX  ;

and not use \letterbackslash which will give you syntax coloring for \

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt on Excursion: translations in the Garden

2007-05-16 Thread Wolfgang Schuster
On Tue, 15 May 2007 22:41:40 +0200
Arthur Reutenauer <[EMAIL PROTECTED]> wrote:

> > the module is a replacement for x-set-11 and and tries to solve a few
> > problem x-set-11 has, like generating a index with all commands used in
> > the current file.
> 
>   Thanks to both of you for your answers; is there any objection to
> replacing the spurious code in ma-cb-setups.tex with the line Aditya
> wrote (\environment t-setup.tex)? Vít?

Hi Arthur,

use \usemodule[setup] and not \environment, the file is a module and
not a environment, it can be used for more document and is not bound to
the beginners manual.

>   I tested it and it works as expected (without any special
> arrangements); obviously this is better than the \doiffileelse test.

The test is useless, because t-setup is neccessary for \secretsetup and
you will get "undefined control sequence" if the file is not found.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MetaPost memory was: metafun.mem on texlive

2007-05-16 Thread Taco Hoekwater


Andrea Valle wrote:
> Thanks Taco
> 
> here you have it:

That actually looks fine, so I guess you are bitten by the 'incompatible
memory array sizes' problem. Please check out this thread

http://archive.contextgarden.net/message/20070327.165255.954a0fce.en.html

Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MetaPost memory was: metafun.mem on texlive

2007-05-16 Thread Andrea Valle

Thanks Taco

here you have it:

andrea-valles-computer:/ andreavalle$  texexec --make --verbose metafun
TeXExec | using search method 'kpsewhich'
TeXExec | updating file database
mktexlsr: Updating /usr/local/texlive/2007/../texmf-local/ls-R...
mktexlsr: Updating /usr/local/texlive/2007/texmf/ls-R...
mktexlsr: Updating /usr/local/texlive/2007/texmf-config/ls-R...
mktexlsr: Updating /usr/local/texlive/2007/texmf-dist/ls-R...
mktexlsr: Updating /usr/local/texlive/2007/texmf-var/ls-R...
mktexlsr: Done.
TeXExec | using mp engine mpost
TeXExec | using mps format path /usr/local/texlive/2007/texmf-var/web2c
TeXExec | generating mps format metafun
TeXExec | running: mpost -progname=metafun --ini -translate- 
file=natural.tcx --8bit metafun

This is MetaPost, Version 0.993 (Web2C 7.5.6) (INIMP)
(/usr/local/texlive/2007/texmf/web2c/natural.tcx)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/metafun.mp
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-base.mp
Preloading the plain mem file, version 0.63)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-tool.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-spec.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-core.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-page.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-text.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-txts.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-shap.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-butt.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-char.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-step.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-grph.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-figs.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-grid.mp
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-form.mp
(/usr/local/texlive/2007/texmf-dist/metapost/base/string.mp)
(/usr/local/texlive/2007/texmf-dist/metapost/base/marith.mp
(/usr/local/texlive/2007/texmf-dist/metapost/base/string.mp
(/usr/local/texlive/2007/texmf-dist/metapost/context/base/mp-func.mp) )
Beginning to dump on file metafun.mem
(mem=metafun 2007.5.16)
at most 3038 strings of total length 40262
48330 memory locations dumped; current usage is 12622&35507
1761 symbolic tokens
Transcript written on metafun.log.
TeXExec |
TeXExec | mps engine path: /usr/local/texlive/2007/texmf-var/web2c
TeXExec |
TeXExec | mps: 16/05/2007 12:48:41 > /usr/local/texlive/2007/texmf- 
var/web2c/metafun.mem (481444)

TeXExec |
TeXExec | runtime: 3.825827
TeXExec | option 'verbose' is set to 'true'
TeXExec | option 'randomseed' is set to '1040'
TeXExec | option 'mainlanguage' is set to 'standard'
TeXExec | option 'bodyfont' is set to 'standard'
TeXExec | option 'language' is set to 'standard'
TeXExec | option 'engine' is set to 'standard'
TeXExec | option 'distribution' is set to 'web2c'
TeXExec | option 'texformats' is set to 'metafun'
TeXExec | option 'mpsformats' is set to 'metafun'
TeXExec | option 'progname' is set to 'standard'
TeXExec | option 'interface' is set to 'standard'
TeXExec | option 'runs' is set to '8'
TeXExec | option 'backend' is set to 'standard'
paths   : mpost -> /usr/local/texlive/2007/texmf-var/web2c
andrea-valles-computer:/ andreavalle$



On 16 May 2007, at 12:07, Taco Hoekwater wrote:


 texexec --make --verbose metafun


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Forcing a TABLE page break

2007-05-16 Thread T.W. Burton
Is there a way to force a page break in a natural table? I tried the 
sample in the source code and it doesn't seem to work under MikTeX or 
under the standalone windows distribution.

\starttext
\bTABLE[split=yes]
\bTR \bTD left \eTD\bTD right \eTD\eTR
\bTR[after=\page] \bTD left \eTD\bTD right \eTD\eTR
\bTR \bTD left \eTD\bTD right \eTD\eTR
\eTABLE
\stoptext

T.W. Burton
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MetaPost memory was: metafun.mem on texlive

2007-05-16 Thread Taco Hoekwater


Andrea Valle wrote:
> Ok, I saw I have asked the same thing before on the list, and I'm having 
> the same problems, but cannot reconstruct the whole process.
> (As soon as I end up, I'll wikify the infos)
> 
> Now, I'm always runnin texexec --make --all
> 
> Doesn't it make also metafun?

It should, apparently it gives an error

> I also ran texexec --make metafun but I'm getting the same error.

Are you sure it is the exact same error? (it shouldn't be).

Can you cut and paste the complete output of

   texexec --make --verbose metafun

please?

Best wishes, Taco

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MetaPost memory was: metafun.mem on texlive

2007-05-16 Thread Andrea Valle
Ok, I saw I have asked the same thing before on the list, and I'm  
having the same problems, but cannot reconstruct the whole process.

(As soon as I end up, I'll wikify the infos)

Now, I'm always runnin texexec --make --all

Doesn't it make also metafun?

I also ran texexec --make metafun but I'm getting the same error.

What should I do to metafun.mem? and to m-spec.mp?


Thanks

-a-


On 16 May 2007, at 09:23, Taco Hoekwater wrote:


Andrea Valle wrote:

Ok, sorry for the confusion in the previous email.

Searching in the list and on my hd, I found texmf.cnf

I made some tweakings to memory.

I was able to escape TeX memory exceedings.
But not this one

This is MetaPost, Version 0.993 (Web2C 7.5.6)
(/usr/local/texlive/2007/texmf/web2c/natural.tcx)
(Fatal mem file error; I'm stymied)



This means you have to regenerate the metafun.mem file.

Your tweaks have not made it into the metafun.mem file
yet, so metapost sees a difference and refuses to load
the file (that is a safeguard).

Best wishes,
Taco
__ 
_
If your question is of interest to others as well, please add an  
entry to the Wiki!


maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MetaPost memory was: metafun.mem on texlive

2007-05-16 Thread Taco Hoekwater
Andrea Valle wrote:
> Ok, sorry for the confusion in the previous email.
> 
> Searching in the list and on my hd, I found texmf.cnf
> 
> I made some tweakings to memory. 
> 
> I was able to escape TeX memory exceedings.
> But not this one
> 
> This is MetaPost, Version 0.993 (Web2C 7.5.6)
> (/usr/local/texlive/2007/texmf/web2c/natural.tcx)
> (Fatal mem file error; I'm stymied)
> 

This means you have to regenerate the metafun.mem file.

Your tweaks have not made it into the metafun.mem file
yet, so metapost sees a difference and refuses to load
the file (that is a safeguard).

Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___