Re: [NTG-context] ConTeXt in texlive versus Minimal ConTeXt

2008-11-13 Thread Maurice Diamantini

Le 13 nov. 08 à 10:45, Hans Hagen a écrit :

> Fengnan Gao wrote:
>> I have some problem when using ConTeXt in tl08,
>> ...
>> I don't exactly know what that means but clearly I
>> cannot use ConTeXt. Can someone help me?
>
> just use the minimals ... then you have the latest binaries and  
> sources


Is there any advantage (for ConTeXt) of using the Texlive (other
than being multi-platform!) or other full xTeX distribution?

If the "minimal ConTeXt" is the only standard way of using a full
ConTeXt, then it could be rename "maximal" ;-)
or more seriously something lire "standard", "hot" or
"independant" (longish)

-- Maurice


___
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] French discussion about ConTeXt versus LaTeX

2008-06-17 Thread Maurice Diamantini
Hello,

There is a discussion about ConTeXt versus LaTeX on the french
forum fr.comp.text.tex

http://groups.google.com/group/fr.comp.text.tex/browse_thread/thread/af37f72b1a08aade?hl=fr

If any french ConTeXt user can share its experiment and argumentation...

-- Maurice

___
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] markup format ---> ConTeXt (Out of Topic)

2008-06-05 Thread Maurice Diamantini

Le 5 juin 08 à 09:15, luigi scarso a écrit :

>> (other message not related to ConTeXt could now be send off-list  
>> please)
> true.
> My problems is:   "What is out of topic  in this mailing list ? "  :)

Because the problem was about installing GHC (an Haskell compiler) on  
osX
with macports tool.
Haskel language is requested as a dependancy for Pandoc.
Pandoc "could" be use has an intermediate tool for converting
some docbook to ConTeXt...
... so Very many link, before ConTeXt topic...
... and very numerous dependancy for an intermediate tools such pandoc
... which seems more difficult to install than ConTeXt itself
... ConTeXt, which could probably do the xml work by itself :-)

So problem about install pandoc on macos could be followup to
http://groups.google.com/group/pandoc-discuss/browse_thread/thread/d16f2ba3198525be
(seems not to solved even the last "sudo port sync")

Cordialement
-- Maurice

___
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] markup format ---> ConTeXt (Out of Topic)

2008-06-04 Thread Maurice Diamantini

Le 4 juin 08 à 21:34, Gour a écrit :

> Here is the reply from pandoc main developer:
>
> ...
> There's a description of a workaround here:
> http://groups.google.com/group/pandoc-discuss/browse_thread/thread/c9ecef59465c12c6
>  
> "
> ...

Then in the next message:

> ... after a 'port sync', pandoc should again be installable
> using macports." ...

Thank you very much, I'll try it;
(other message not related to ConTeXt could now be send off-list please)
-- Maurice
  
___
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] markup format ---> ConTeXt (Out of Topic)

2008-06-04 Thread Maurice Diamantini

Le 4 juin 08 à 15:34, Gour a écrit :

> ... about the pandoc "wiki-docbook-*TeX" Haskell translator ...
> Which ghc?

port info  ghc
=>
ghc 6.8.2, Revision 3, lang/ghc (Variants: universal, darwin_6,  
darwin_7, darwin_8_powerpc, darwin_8_i386, darwin_9_powerpc,  
darwin_9_i386, no_opengl)
http://haskell.org/

The Glasgow Haskell Compiler is a robust, fully-featured, optimising
compiler and interactive environment for Haskell 98, GHC compiles
Haskell to either native code or C. etc...

-- Maurice
___
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] markup format ---> ConTeXt

2008-06-04 Thread Maurice Diamantini
First of all, thank you for your propositions,


About markup format:
( a markdown header ;-)

Markdown seems an interesting one because:
- it's alive (as many other format)
- it's available in severall scripting languages (ruby, php, python...)
- it seems extensible
- it is (more or less) translatable to docbook (and finaly to xxTeX)
   so allows good quality pdf results

About docbook:
--

But one current need is about docbook, because file already exists as a
"dokuwiki hacked" generated file (by a php expert from jelix team) !
So other wiki format is not an option? docbook is request

About the pandoc tools:
---

Le 3 juin 08 à 16:09, Gour a écrit :
> Take a look at http://johnmacfarlane.net/pandoc/ - it uses 'extended'
> markdown syntax and can export to ConTeXt.

But Gour said alsewhere:
> ...it doesn’t handle tables,...


Interesting, but a first try didn't compile with macport (GHC didn't
compile). But not important: was just for trying...

About dblatex tools
---

It just works for now but need LaTeX custom style for advanced  
customisation
which is much lower level than ConTeXt one, so...


About ConTeXt tools(THE important information ;-))
===

Le 3 juin 08 à 15:11, Hans Hagen a écrit :

>> If some magic command (or a simple tutorial) like :
>> texexec --docbook jelix-manual.xml
>> do some equivalent work than the above dblatex, no doubt that the
>> ConTeXt community will increase by more than 100%!
>
> i can probably cook up a basic docbook converter in a couple of hours
> but since i never run into docbook ...

So instead of the "not in ConTeXt objective" expected response, this is
a great news.

For all (docbook + ConTeXt) tool maintainers like "dbcontext" or  
"DocbookInContext",
it is a great opportunity to help Hans defining a standard module  
which would then
be maintain in the standard ConTeXt distribution.


Other replies about dbcontext tools :
-
Le 3 juin 08 à 09:43, Wolfgang Schuster a écrit :

>> - dbcontext seams not to be maintained very much
>
> I don't think the code in the module is nowadays a good example for  
> writing
> a module because many low level commands are redefined and it should
> work now out of the box with the current code or better witth MkIV.

I thought so, but ...

Le 3 juin 08 à 20:22, nico a écrit :

>> - dbcontext seams not to be maintained very much
>
> dbcontext is still alive, but asleep because of few users, and mostly
> works in the current state. You can give it a try. You can provide  
> your
> own context layout to customize section titles and layout. It is much
> cleaner and easier than the latex .sty hack. As an example of the  
> powerful
> layout capabilities that ConTeXt provides, you can build a PDF with a
> layout similar to what docbook FO does.

So dbcontext resume in a ConTeXt module, it should be part od the  
context
distrib (as a contrib): see above about Hans response.


-- Maurice


___
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] markup format ---> ConTeXt

2008-06-03 Thread Maurice Diamantini

Le 3 juin 08 à 09:43, Wolfgang Schuster a écrit :

> On Tue, Jun 3, 2008 at 8:48 AM, Maurice Diamantini
> <[EMAIL PROTECTED]> wrote:
>
>> Just some remarks/questions:
>> - docbook seems to be the standard for describing documentation data,
>> - dblatex seams to be a currently good supported tools for **easely**
>> provide pdf output from docbook input, and cutomize the output  
>> with .xsl
>> parameters or LaTeX .sty files
>> - dbcontext seams not to be maintained very much
>
> I don't think the code in the module is nowadays a good example for  
> writing
> a module because many low level commands are redefined and it should
> work now out of the box with the current code or better witth MkIV.
>
>> - ConTeXt seams to be able to directly parse xml without external  
>> tools
>>
>> So, what about make ConTeXt directly reading dokbook file and output
>> pdf file? I see the http://www.leverkruid.eu/context/index.html  
>> page from
>> Simon Pepping. But it seems that this project is down.
>
> The module you mention above is the only (complete?) docbook style
> but ConTeXt provides cals table support by default and mapping for the
> basic elements to ConTeXt shouldn't be a problem,
> give us the information what do you need and we write a module.

Thank you very much, you confirm that the "DocbookInContext" from
Simon Pepping is still the way to go.

I've no specific request, I just forward some interest by the web  
community
to converting from docbook to pdf more or less automaticaly.
I fact, my original interest come from the work of the jelix team (a  
MVC php Framwork)
whose documentation was only online (dokuwiki).
Following some user feedback, Jelix team have then generate docbook  
from that wiki
filesss+ and make pdf file thanks to the (not maintained) db2latex tool.
I look after a more uptodate tool (for further customisation) and  
found dblatex
as mention on the (french) forum:

   http://jelix.org/forums/read.php?10,2680,page=4#msg-2872

The result was that the simple command:

dblatex jelix-manual.xml

produce a "correct" (i.e. readable) jelix-manual.pdf  file without any
customisation (with default table of content, correct verbatim, ...)
which was not the case for db2latex.
But then, any customisation will be a latex style, which is more hacking
than ConTeXt (I think so, but I'm sure you agree ;-)

Nevertheless, the first criterion was that it just works in simple case.
If some magic command (or a simple tutorial) like :

texexec --docbook jelix-manual.xml

do some equivalent work than the above dblatex, no doubt that the  
ConTeXt
community will increase by more than 100%!


Cordialement,
-- Maurice

___
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] markup format ---> ConTeXt

2008-06-02 Thread Maurice Diamantini

Le 30 mai 08 à 13:22, Aditya Mahajan a écrit :

> On Fri, 30 May 2008, Gour wrote:
>
>> Some of the more popular markup-formats are AsciiDoc
>> (http://www.methods.co.nz/asciidoc/index.html) and reStructuredText
>> (http://docutils.sourceforge.net/rst.html), but according to what I  
>> see
>> both are missing ConTeXt back-end (latex only) :-(
>>
>> Any suggestion for 'popular' markup with ConTexT back-end?
>
> Have a look at pandoc which converts markdown to ConTeXt and also to  
> many
> other formats including html. There was also some discussion for
> conversion to OO, but I do not know the current status of that.
>
> http://johnmacfarlane.net/pandoc/


Just some remarks/questions:
- docbook seems to be the standard for describing documentation data,
- dblatex seams to be a currently good supported tools for **easely**  
provide pdf
   output from docbook input, and cutomize the output with .xsl  
parameters or
   LaTeX .sty files
- dbcontext seams not to be maintained very much
- ConTeXt seams to be able to directly parse xml without external tools

So, what about make ConTeXt directly reading dokbook file and output  
pdf file?
I see the http://www.leverkruid.eu/context/index.html page from Simon  
Pepping.
But it seems that this project is down.

If ConTeXt provide an easy way for translate docbook to pdf file  
(usable by
a non (ie. not yet) ConTeXt user as dblatex is), I think poeple could  
switch
to ConTeXt only for that feature (not everybody have dependency with  
LaTeX!)
Then the problem would resume to find a good "yourPreferedWikiFormat" to
docbook...
(I'v not seen any "t-bocbook" file on http://dl.contextgarden.net/modules)


-- Maurice



___
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] new version luatex / mkiv

2008-04-11 Thread Maurice Diamantini

Le 10 avr. 08 à 17:18, Hans Hagen a écrit :

> This release of is rather substantial: no longer is metaposts called,
> but  mplib is used instead. This bring down metapost runtime and
> conversion to nearly zero. The user interface is the same, but the
> implementation is different.

What will allow mplib in luatex the future?
- Will it be only a way to write Metapost code without having
   to call external system program (better performance)?
- Or will it be possible to write figures in lua instead of Metapost?
   (would be great!!)


Another question about ConTeXt mkiv installation

Is possible to use a local full ConTeXt distrib (with basic fonts,
mplib, lua) **without interference** with existant texlive distribution
(i.e. without using all the *_TEX environment variables thanks to
ConTeXt mkiv ?)

I'd like to maintain some "hot"

Thank you very much

-- Maurice

> Tomorrow (or so) taco will make releasenotes.
>
> 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
> -
> ___
> 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
> ___

___
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 - produced book about ConTeXt

2008-04-09 Thread Maurice Diamantini

Le 8 avr. 08 à 22:48, Gour a écrit :

> Henning> How about a list of books (or everything else) made with
> Henning> ConTeXt?
>
> How about to make book about ConTeXt?

:-)))

I guess that with the upcomming luatex, mkiv or other lua-metapost,  
there
will never be a context book!?
... but I hope there will be a "mark" (or any next conTeXt name) book

ConTeXt is not a simple language library, but a full typing system
which need a true documentation.
So, even if a command reference could be read online (or in source  
code ;-),
An extended user manual (e.g. equivalent to the old manual + the  
official
tabular system, + ...) is still needed.

A ConTeXt book would provide a stable base for learning ConTeXt.
The ConTeXt version would also serve as basis for features, and any
future online docs could be classified as "before" (read "obsolete")
or "after" the context book.

Also all ConTeXt features from the book should be suppose to work
except if mentioned in an online correction documentation.

P.S.
I don't use any more ConTeXt for some raison (I come back to LaTex)
But I keep looking at the mailing list and I hope to come back to  
ConTeXt
some months later.
I keep thinking that ConTeXt is the future of LaTeX!

-- Maurice

___
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] Interesting interview

2007-04-12 Thread Maurice Diamantini

Le 12 avr. 07 à 07:37, Thomas A. Schmitz a écrit :

>> ... There are fast approaching competitors that
>> will eventually overtake LaTeX if we continue to stagnate. (Not to
>> mention ConTeXt, which has surpassed LaTeX in essentially every
>> area. Maybe the solution is just for everyone to switch to that.)

Except for reference documentation or book (no need for a "s" here!).
That's why I come back to LaTeX (but keep subscribe to this mailing
list ;-)

> I mean, we all know that this is true, but it's great that a fairly
> well-known member of the LaTeX crowd says so as well.

-- Maurice

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


Re: [NTG-context] some patches (clever ConTeXt installation)

2006-05-16 Thread Maurice Diamantini

Le 16 mai 06 à 01:14, Hans Hagen a écrit :

> Maurice Diamantini wrote:nment.
>>
>> Usually, one can build dynamicaly (default) variable environment  
>> at the start of a programm
>> (i.e. in the same process and sub-process), then let the original  
>> environment untouch
>> while ending the programm.
> this is what
>
>  texmfstart --tree= texexec 
>
> does; it sets env vars specified in either setuptex.tmf in the path  
> mentioned as tree, or some specific tmf file; those tmf files are  
> platform independent. this is how i run multiple (different trees)  
> on one machine (say a web server);

Thank you very much.
So I can do a little "texexec" script, add its path in front of the  
global
path (so that it will be found before any standard old ConTeXt distrib)
and use the new "texexec" shell script as the main context executable  
as usualy.


The main avantage over my previous proposal is that it doesn't even  
require
adding a new path in the PATH environment variable (which already is  
quite
accectable!).


>> I don't know much about context, but if you use some texmfstart  
>> laucher, it could have
>> the responsability of that job).
>> In fact, I'd like to only have to add some PATH for using a  
>> personnal full ConTeXt
>> distribution near another standard LaTeX (containing obolate Context)
> this is what in regular distributions texmf-local is for

Yes, but the texmf-local is part of a particular directory from a  
particular network
or host. And I like to separate my own (full, independant,  
robust, ...) ConTeXt
environmement from the several LaTeX distrib I use
(e.g. my unix/osX account is mirror via rsync between hom, work, and  
another network.

>> LaTeX will probably become again my main xTeX environment, but I'd  
>> like to be able
>> to switch ponctualy to a recent ConTeXt distro, without hacking  
>> and breaking
>> my main TeX environment.
> in that case, just put the latest context in your main tree (unzip  
> cont-tmf in
> texmf-local or so); that should work as always

No, because of recent font (lm) probleme, I decided to keep a full  
context
distrib (linuxtex.zip + macosxtex.zip + justtex.zip) in my personnal  
home
directory.
I positionned this environment with some "setuptex" variante before  
using
context program (with all previous problems when comming back to LaTeX)


>> Because the Makefile should work on all plateform (and in a year  
>> or two also if possible!)
>> I use only the standard texexec (instead of texmfstart and path  
>> argument).
>> But if you say texmfstart become the standard way: I'd switch to!
> well, you can still use texexec.rb instead of texexec.pl and avoid  
> texmfstart;
> it's just that then you need to keep an eye on when texexec changes

Do you mean that "texexec.rb" is clever enought to guess its ows  
directory tree ?
Great, that what I asked for ;-)
(and if "texexec.rb"" becomme the standard texexec tool the problem  
is solved
(no more need to do a small texexec" shell script) but...
... for context programme only, but what about other tools (metapost,  
mp2pdf...)

>> Just a remark in that case: texmfstart seems a bad name, bacause  
>> not related to "ConTeXt"
>> Why not simply "context" or "ctx" as the main ConTeXt tool?)
> because i use it to run anything organized in a tree (e.g.  
> xsltproc); running context
> progies i just part of the game

Ok, I can always make an alias "ctx" for "texmfstart --tree=..."

alias ctx=texmfstart --tree=/home/myHome/myLocl/fullcontext

perhaps it solves all problem at a time!
I'll try that in the next two week.

Thank you very much,
Maurice



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


Re: [NTG-context] some patches

2006-05-15 Thread Maurice Diamantini

Le 15 mai 06 à 09:23, Hans Hagen a écrit :

> Hi,
>
> I played a bit with texmfstart on the (so so slow Q3) mac and i
> think that i managed to get texmfstart working with less problems.  
> I now
> also ship a texmfstart with all the used (context/ruby/base) libraries
> merged in (new undocumented feature) so that there is no longer a need
> to set the ruby lib path and/or move base files.
>
> The new version is uploaded. A next step is to get the stubs done  
> in the
> right way (just texmfstart scriptname args)

Not quite related to this subject, but as you are going to make the  
ConTeXt
installation more and more robust. It would be nice if the ConTeXt  
independant
distrib could be use **without positionning any TEXMF like variables**.
This would allow to use updated ConTeXt distrib without breaking a  
standard
(more or less old) other LaTeX existing distibution.

-- Maurice Diamantini

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


Re: [NTG-context] RFC: 'What would you like in an Text Editor?'

2006-03-27 Thread Maurice Diamantini

Le 27 mars 06 à 18:32, Jeffrey Drake a écrit :

> Thank you for both your replies. The thing I am looking at right now
> is using scintilla for the basis of a windows editor (windows api) and
> scripted with TCL.
>
> The interface I am envisioning is one of an old dos editor I used to
> use (called Programmer's Editor). It attached all functions to the
> function keys including menu navigation. But otherwise bindings to
> keys could easily be made. My thoughts are to implement most
> functionality in TCL, including configuration.

Very nice,
as an editer shouhd be scripting!

I think all the editor could be enterely be written in tcl
(easy to install, portability, ...)
You can see a very old editeur that I'm using every day
which could be enterely rewritten with the modern feature of tcl.

   http://www.ensta.fr/~diam/stead/distrib/snapshots/

-- Maurice


>>> * support for large (log) files (>100MB)
to big for stead !
I only play with 10MB with stead


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


[NTG-context] TeXlive 2005 and ConText (was: Struggling with Old Style numerals!)

2006-03-27 Thread Maurice Diamantini

Le 27 mars 06 à 13:55, Hans Hagen a écrit :

 I've removed that one and installed TeXLive 2005! I was afraid  
 of other
 problems, and indeed that's exactly what happened
>
> unfortunately the latest tex live has problems with context and lm

Is there any simple way to solve these problems?
Texlive is an important distribution, and it only releases
once a year.
So we have to wait arounf end 2006 before having a "Context friend"
version of TeXlive? :-(

Maurice,

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


Re: [NTG-context] Yet Another Install Problem (contextlive)

2006-03-03 Thread Maurice Diamantini

Le 3 mars 06 à 00:22, Hans Hagen a écrit :

> Maurice Diamantini (dom) wrote:
>> I first try to install the texlive-2005 but fall into problems
>> with ConTeXt font (without using any any customized fonts!)...
>>
> there is indeed a problem with tl 2006 : some lm related filenames  
> were
> changed
>
> just take the zip from the website

Which zip from which website?
You mean some more recent texlive from
http://www.tug.org/ftp/texlive/Images/ ?
Or the context zips from the pragma site ?


>> So I'm now trying the standolone ConTeXt distribution which I thought
>> should be a robust and easy to maintain solution...
>>  ...
>>  wget http://mirror.contextgarden.net/context/install/ 
>> linuxtex.zip
>>  wget http://mirror.contextgarden.net/context/install/ 
>> macosxtex.zip
>>  wget http://mirror.contextgarden.net/context/install/justtex.zip
>>  ...
>>  unzip
>>
>>  . tex/setuptex
>>  type -a mktexlsr texexec ;# to verify
>>
>>  texexec --make --alone
>>
>> Error !!
>> ! pdfetex.pool doesn't match; tangle me again (or fix the path).
>>
>> #
>>
>> So, my question is: what am I doing wrong??
>> Are the above commands suposed to work as is?

texmfstart texexec --make --alone
! pdfetex.pool doesn't match; tangle me again (or fix the path).

So same error but a pdftex is created in the current directory
(just above the main tex ConTeXt directory)
But the above "texexec --make --alone" seams to create file
in the "texmf-macosx/web2c" directory

> seems like you have the wrong pool file
>
> can you try newtexexec?
texmfstart newtexexec --make --alone
...
! pdfetex.pool doesn't match; tangle me again (or fix the path).

This commande create a pdftex directory in the current directory as  
above.
So I change dir into "texmf-macosx/web2c", redo the texmfstart but
get the same result.

> how many pool files do you have on your system?

I have several "pdfetex.pool" because I have tetex (from fink which  
work)
texlive-2004 (which worked but is unused) and texlive-2005 which doen't
work. But neither of these TeX distribution are in my path during  
these trys

   type -a texexec latex
   texexec is /Users/diam/live/local/pack/tex/context-20060215/tex/ 
texmf-macosx/bin/texexec
   bash: type: latex: not found

   cd texmf-macosx/web2c
   mv pdfetex.pool pdfetex.pool.bak
   texmfstart newtexexec --make --alone

  ! I can't read pdfetex.pool; bad path?

So i seem it is the right pdfetex.pool file
  -rw-r--r--   1 diam  uma   36906  8 fév 09:52 pdfetex.pool.bak


On more try : I stole the pool file from the linux tree to the macosx  
tree
   cp -p ../../texmf-linux/web2c/pdfetex.pool .
   texmfstart newtexexec --make --alone

... and the formats is creaded !! ...
... But I can compile any context file !?

So it mean the macosx pool file is broken?

Maurice


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


Re: [NTG-context] framed texts for boxing stuff

2006-01-10 Thread Maurice Diamantini (dom)


Le 10 janv. 06 à 00:01, Hans Hagen a écrit :


Maurice Diamantini (dom) wrote:

As the "LaTeX++" concurrent package designer, you should read  
some  page of the

LaTeX reference documentation "A document Preparation System"
It is little book  (272 pages with the index !) and cover the core  
of  the

package.
Page 103 to 110 are related to boxes, and is what is missing in  
context.


hm, i prefer to start from user demands and personal needs; we used  
latex for

a very short time and i don't remember mini pages -)


Ok, but what I mean is the need of such a documentation on the  
ConTeXt core, not

reimplementing LaTeX in ConTeXt !



I'm not sure that ConTeXt \framed command is able to reproduce
the parbox behavior (position a framed box relatively to its  
internal  top

or bottom line and the outside baseline)


i think we can safely assume that all these things are available  
somehow

(supp-box.tex implements a lot of box types)


I saw this source file thanks to the following URL:
   http://source.contextgarden.net/supp-box.tex
There is very much interesting macro, but I see some
   %D \macros
   %D   {strutdp,strutht,strutwd}
   %D ...
Does it mean that an automatic generated documentation is available  
somewhere

on the web?
Or is it mondatoryto browse the source for using these command.


normally \framed can do what's needed, so in your case, if you can  
make

clear what you want to achieve i'm sure that someone on this list can
provide the answer



... So what is the current reference documentation about framed
  - Context the manual (page 206) ?
  - ConTeXt an excursion (page 45) ?


the manual as well as examples inside the core-ful.tex file


I haven"t been able to find this file!
core-fil.tex exists but doesn't seem to be about using boxes!



the most important properties of framed are

- offset (none,overlay, dimension)
- align (all kind of combinations)
- width/height (dimension or keyword)
- strut (yes|no)

just play a bit with it and you'll see the picture


Thank you for these informations, I reread the (box related) reference
manual, and better understand the thing!


...
I think there has to be two pairs of informations to position a
box (i.e. a "cell" text):
- how is the box is positioned relatively to its environment (the   
location=

  keyword I think),


no, location is limited to a few options; you can use macros
like \offset[...]{} or other box positioning macros; layers
are also an option


Although I guess what it mean, I didn't found the \offset command
doc neither. I suppose it has numerous
interesting options (on http://texshow.contextgarden.net/)?



- inside the box : everywhere. that implies two reals numbers
  between 0.0 and 1.0 (perhaps wider?)


what are those numbers representing?


It could just be a way to specify arbitrary position between
left (0.0) and right (1.0) or between bottom (0.0) ant top (1.0)
But the more important whould be a (uptodate) reference documentation  
about

the already existing commands.


  (but the TeX command \raise0.5ex could do that)


indeed, \raise and \lower and cousins can come in handy


Yes, I always forget TeX command! thank you very much !


(what do you use those minipages for?)

These are just (v?)boxes which can contain several paragraphs
and theyre own footnotes. Some options can be use to position
theyre internal (top or bottom) line relatively to the external
base line.

No need for now, I only used them in LaTeX for building some boxing
construction. But in context I used vboxex into hboxes (because I
didn't kwox enough about standard \framed command)

In fact, ConTeXt already contains all the needed stuffs, and only
some centralised documentation for using them is missing!

I'm waiting for the future ConTeXt book ;-)

-- Maurice

PS.
Also the ConTeXt wiki becomme more and more rich in information!
Thank you very much for all that

!

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


Re: [NTG-context] framed texts for boxing stuff

2006-01-09 Thread Maurice Diamantini (dom)

Le 9 janv. 06 à 11:52, Hans Hagen a écrit :

If it is impossible, is there any equivalent to de minipage or   
\parbox LaTeX

equivalent?


i dunno what those are, vboxes?


Not sure what exactly is "vboxes" (something you can put in hbox? yes  
it is) but LaTeX

raisebox, parbox, minipage can be put inside a text line.
minipage can manage its ones footnote, but this is not the question  
here.
As the "LaTeX++" concurrent package designer, you should read some  
page of the

LaTeX reference documentation "A document Preparation System"
It is little book  (272 pages with the index !) and cover the core of  
the

package.

Page 103 to 110 are related to boxes, and is what is missing in context.

I'm not sure that ConTeXt \framed command is able to reproduce
the parbox behavior (position a framed box relatively to its internal  
top

or bottom line and the outside baseline)


in most cases you can use framed (make sure that you set 'align' to  
something in order

to enter vmode)

framedtext is a bit more clever and handles some spacing issues


With your help, and some old reference doc and the wiki
(http://wiki.contextgarden.net/Vertically_Centered_Boxes)
I tested the following "one line text" which works.

(My version of TeXExec 5.2.4 doesn't seem to support \startframed and
\stopframed so I use \framed instead).


\starttext

  % align:no left right middle normal high low lohi justified
  % location: low depth hanging
  a word and --%
\framed[width=.2\textwidth,  align=flushright, location=depth]{
some stuff
}%
--%
\framed[height=3em,width=11em, align={flushleft,lohi},  
location=hanging]{

other stuff
}%
--%
  another word, same line

\stoptext

But more generaly, there is a frequent need about boxing stuff and it
seems that the \framed command is the way to go. But it's not always
easy to guess the various parameters to get an expected behavior.
So what is the current reference documentation about framed
  - Context the manual (page 206) ?
  - ConTeXt an excursion (page 45) ?

Such a command is usefull inside some "hardcoded" slide.
And there could be a "\boxed" or "\cell" macro with default
"frame=off" parameters just to serve as special tabular cell.

I think there has to be two pairs of informations to position a
box (i.e. a "cell" text):
- how is the box is positioned relatively to its environment (the  
location=

  keyword I think),
- how to position the stuff **inside** the box (align= keyword)

What is the need for these 2 parameters :

- inside the box : everywhere. that implies two reals numbers
  between 0.0 and 1.0 (perhaps wider?)
  with some keyword for predefined values (flushleft, middle,  
flushright

  low, high, lohi and baseline,
  (vjustified, justified=hjustified serve another feature)

- outside the box : only verticaly ?
  one real number [0.0..1.0] plus low depth (=base?) hanging (=top)
  Here a parbox provide an option for aligning the external baseline
  on the "top" ou "bottom" internal line.
  How can I simply optain the "0.5 = vertical middle"

  Probably the positionning parameters for outside the box are more
  complicated : more than the internal reference point mention above is
  to which external reference point the inetrenal point should be
  aligned to ?
  Generaly the baseline of the parent is the choosen one, but  
perhaps one
  like to use the "0.5ex hight" one as in minus sign in the "3-2,"  
string

  (but the TeX command \raise0.5ex could do that)

-- Maurice


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


Re: [NTG-context] framed texts and other "minipage"

2006-01-07 Thread Maurice Diamantini (dom)


Le 7 janv. 06 à 13:50, Hans Hagen a écrit :


No, that will not work.
After much probing I found the culprit.
The framedtext takes the full linewidth and apparently does not   
reduces it to the given size.

Therefore enclosing in a vbox seems necessary:
   \vbox{\hsize=framesize\startframedtext{width=framesize ...

Question for Hans Hagen: is it an option letting framedtext set  
the  hsize when a specific width is given?


\hbox to \hsize \bgroup
   \startframedtext[none][width=.5\textwidth]
   \input tufte
   \stopframedtext
   \startframedtext[none][width=.5\textwidth]
   \input zapf
   \stopframedtext
\egroup


Why is it not possible to simply use the \framed command (with some  
magic option to

put text into it) to do the obove thing?
   \startframed[width=.5\textwidth, ]
   \input tufte
   \stopframed
   \startframed[width=.5\textwidth, ]
   \input zapf
   \stopframed

If it is impossible, is there any equivalent to de minipage or  
\parbox LaTeX

equivalent?

-- Maurice



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


Re: [NTG-context] beginners manual (xml input versus html output)

2005-11-25 Thread Maurice Diamantini


Le 25 nov. 05 à 10:47, Wolfgang Zillig a écrit :


Maurice Diamantini (dom) schrieb:

And for people comming from LaTeX, it would be nice to see also :
- a basic exemple for creating html from ConTeXt,


I would argument that it is easyer to create ConTeXt from a propper
XML/XHTML source! But as it is the beginner manual a reference to
the XML manual should be enough.


- some mathematics


not really a big problem, but you have the choice also to use MathML.


This is always the same  difference of opinion :

- Some people like to see the only input format to be xml (write xml for
  math, ...) and think *TeX as one of the output formats (as for
  pdf, xhtml, ps...).

- Other poeple (specialy those coming from TeX community) prefere
  writing by hand (yes it does yet exists !) some readable and lite  
document

  with math formula or other, then convert then as pdf printable
  output and (if possible also some (x)?html resizable ouput format

But perhaps I doesn't understand ConTeXt xml features. Perhaps
context is able to generate xml files instead of only reading them?
If it is the case, then let me know, as it could solve the html  
navigator

problem. So I'll have to learn more about xm and xml styles?

Maurice

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


Re: [NTG-context] beginners manual

2005-11-24 Thread Maurice Diamantini (dom)


Le 23 nov. 05 à 21:15, Mojca Miklavec a écrit :


What could be added:
- Tables: Natural tables (already mentioned by Taco). I just realized
  that this is the only manual where the "usual" tables are actually
  explained. I was looking for the explanation in cont-eni before.
- Bibliography
- Slides: some basic example with \usemodule[pre-whatever] to show the
  user that making slides is no more difficult than making an A4
  document
- Metafun: some basic examples and a reference to the manual
- XML: a basic example


I agree with the above.
And for people comming from LaTeX, it would be nice to see also :
- a basic exemple for creating html from ConTeXt,
- some mathematics

Maurice,

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


[NTG-context] Re: TeX --> LaTeX

2005-09-25 Thread Maurice Diamantini
In article <[EMAIL PROTECTED]>,
 Seb <[EMAIL PROTECTED]> wrote:

> Bonjour !
> 
> je suis habitué à TeX, mais j'aimerais passer à LaTeX car certaines 
> macros comme minipage me plaisent particuleirement ainsi que les liens 
> hyperref, prosper ...

Si tu es habité à TeX, et que tu cherche quelque chose de plus évolué
(mais avec compatibilité ascendante),
qui conserve la philosophie TeX au niveau des commande
(commandes fréquentes courtes, pas d'abus d'accolades,...),
et qui soit à la fois plus puissant tout en restant cohérent et sans 
devenir une usine à gaz de packages incompatibles entre eux,
je te conseille de regarder ConTeXt. C'est un format "concurrent" à 
LaTeX.

ConTeXt qui représente à mon sens l'arlésienne "LaTeX3"...
Sauf que ConTeXt est plutot équivalent à "LaTeX" + "LaTeX compagnon"
+ "LaTeX graphique compagnon" (prosper + ...)

Pour donner une idée, les environnements latex
s'expriment par 
\begin{toto)
\end{toto}
en context ça donne :
\starttoto
\stoptoto

sauf toutes les commandes hérite d'un comportement par défaut qui peut 
être modifier par des option du type [key1=val1,..] (à la pstricks)
L'environnement toto ci-dessus dispose donc automatiquement 
d'une commande :
\setuptoto[key1=val1,...]

Voilà, tout n'est pas rose cependant, et le bouquin de référence
n'est pas encore commercialisé.

Pour en savoir plus :
   http://wiki.contextgarden.net/

Il y a aussi une mailing list très actives (et ractive)

Bonne lecture,

-- Maurice,

P.S. regarge aussi la doc de Metafun une extension de Metapost pour 
faire les dessins qui est directement intégrée à ConTeXt)


> Maintenant, je trouve que c'est nettement moins souple que le TeX : par 
> exemple ,
> 
> --> comment changer l'entete et le pied de page ?
> 
> --> comment changer le style d'un environnement par exemple si je veux 
> que section ne soit plus en gras mais souligné ou en petites capitales ...
> 
> 
> merci de vos precisions,
> 
> Seb.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt to RTF Conversion

2005-09-22 Thread Maurice Diamantini


Le 22 sept. 05 à 12:23, Duncan Hothersall a écrit :


   - xml in not an input format but (a well structured) interchange
 format.


XML is a very good master format from which to derive all outputs. For
example, I receive wordprocessor files from academics and convert them
to XML by a combination of automated processes and hand-tagging.  
The XML

is then stored and maintained as the master version of that document,
and when we need to produce a new release in HTML, PDF or eBook, a new
style of PDF, a text version optimised for screen-readers, etc. we  
take

a snapshot of the latest XML and run it through batch production
processes - including ConTeXt for the typesetting side of things.


So if I understand wml,  I agree that xml is a format for filtering,
not a human writable format.
TeX, LaTeX or conTeXt is in input langage, which should be able to
be converted to the powerfull master XML format.

So we need something to convert ConTeXt to XML more than something.
I suppose this imply easy convertion to HTML too !

So my question was, is there any exeprience about the use of
the ConTeXt module "m-tex4ht"?


That might be overkill for small projects (we're currently holding 25
million words in XML), but the principle applies no matter what  
size of

content you have.


-- Maurice

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


Re: [NTG-context] ConTeXt to RTF Conversion (tex4ht)

2005-09-22 Thread Maurice Diamantini


Le 21 sept. 05 à 17:12, Louis F.Springer a écrit :

What are the options for conversion from ConTeXt to other formats,  
if any? I'm particularly interested in rtf and/or html.


I saw there is a module tex4ht usable for converting conTeXt to html.

   http://wiki.contextgarden.net/Modules
   http://source.contextgarden.net/tex/context/base/m-tex4ht.tex

Does anyboby have any experience to share on it?
I didn't find anything about it in the wiki.

About the other answer on this subject, my (dummy) point of view is
that :

  - pdf in not an input format, but an output format,
(difficult to reuse for translating)
  - xml in not an input format but (a well structured) interchange  
format.


I don't want to enter xml version of:

   We know that $E=mC^2$ and also that $\delta = \sqrt{b^2-4ac}$

But I'd like to export it (with table of content, index, ...)
in html or xhtml.

-- Maurice

P.S.

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


Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-18 Thread Maurice Diamantini


Le 12 mai 05 à 09:01, Hans Hagen a écrit :


luigi.scarso wrote:

A little off-topic: why ruby and not python ?


- i didn't like those tabs/indentation
- ruby's reminded me of modula which i used a (real) lot in the past
- ruby has a small footprint
- i just like it

Hans


I agree with the previous points.
Also ruby is available in most of the operating systems
but ...

then Giuseppe Bilotta wrote (~ 18 sept 2005)


Perl, Ruby, Lua ... what next?



What about Lua, Adding one more dependency to ConTeXt make it
more difficult to install and maintain.
So what is the advantage of luo in conTeXt instead of ruby?

-- Maurice




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


Re: [NTG-context] Presentation

2005-08-03 Thread Maurice Diamantini


Le 3 août 05 à 10:02, Brooks Moses a écrit :


One thing that you might find useful as an example, though, is a  
presentation that I recently created in ConTeXt, and then put  
online (with both the PDF and the ConTeXt source available --  
though, without the images and the fonts, it's a little hard to  
process directly).  That's on my webpage here:


  http://dpdx.net/research/papers/ILASS2005_Moses_abstract.html

(See the "Slides: tex" and "pdf" links.)



Nice "self contained" slides, thanks you for the model;
but the "pdf" link for the slides actualy links to the tex files
(changing the ".tex" suffix to ".pdf" is OK)



- Brooks

___
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] indentaion

2005-07-19 Thread Maurice Diamantini


Le 19 juil. 05 à 14:36, Steffen Wolfrum a écrit :


 > Is anyone using \indenting[no] to suppress the next indentation?

 I used to in the very early beginnings. But very quickly i got lazy
 and reverted to using \noindent instead. I wouldn't mind having it
 go away or changing.

 Taco


same for me


me too, I use TeX version which also work with LaTeX.

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


Re: [NTG-context] conferences

2005-05-20 Thread Maurice Diamantini
Le 20 mai 05 à 09:56, Hans Hagen a écrit :
Just to remind you: there will be a tug conference in china. Apart
from the trip, it's nearly for free, so it's a nice opportunity to
meet the folks who make it happen. Hong Feng is making a real nice
event of it. (see www.tug.org)
Could some Tug administrater update the main www.tug.org page (4st line)
from:
   ...if you use any of TeX system programs
   (TeX, LaTeX, Metafont, MetaPost, Texinfo, et al.)
to:
   ...if you use any of TeX system programs
   (TeX, LaTeX, ConTeXt, Metafont, MetaPost, Texinfo, et al.)
I think it's time to think about ConTeXt as an alternative to LaTeX!
-- Maurice,
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] LaTeX emulation (was: Context, Latex, or an XML for acaddemic writing?)

2005-05-17 Thread Maurice Diamantini
Le 18 mai 05 à 00:13, Mojca Miklavec a écrit :
Perhaps one of them would be cloning the default LaTeX style and  
include it into standard ConTeXt distribution. I guess this would  
be one reason more for LaTeX people to switch.
(I sometimes still use LaTeX if I have absolutely no time and need  
to think about layout.)
I agree I would be a very nice thing to have!
The main LaTeX "classes" to emulate would be:
- article
- rapport
- book
But this is much work for somebody who is more interested by the content
of its document than by the envelope.
So this thing (context template) will take much time in collaborating.
What kind of stuff do we need for, say, an "article" LaTeX class?
   \usemodule[latex]
   \usemodule[latexarticle]
This should modify the behavior of all the \section like command,
the \startitemize, add some \newtheorem emulation,
a decent defaut table of content listing ...
Where to start
- define a name for the module (e.g. [latexarticle]),
- begin an empty template module,
- perhaps there should be a common module for all LaTeX emulation
  which would be called by all "laTeX classes" emulation ?
- start the "to ask for / fill request point" cycle ?
Maurice
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] sample of using \startarray (long) was: Math startarray and \cases{xxx} bug?

2005-05-17 Thread Maurice Diamantini
Le 13 mai 05 à 16:16, Maurice Diamantini a écrit :
Bonjour à tous,
I'm using amsl module, but it seems there is a probleme
with the startarray/stoparray environment which apear with the "t"
type of column (t for text) and the \\
So the basic cases commande doesn't work.

Thanks to Otared Kavian, things are OK now ;-)
There are still pb with the behavior of \\ which should be replaced
with \cr, and (variants of) \startcases which are not consistents
with the cases{} tex command.
But here are some samples of way to use \startarray and some \cases{}
The few things I'll try to remember are:
- TeX is your friend (don't think in LaTeX)
  e.g.  \matrix command is is a core usefull command, \cr instead of  
\\, ...
- \startarray could be the more powerfull ConTeXt command about  
mathematiques
  can be (and is) use to build some other commands
- but this later command seems to not be embedable in another  
\startarray command
  and lacks of some documentations (exemples on how to ajust  
spaces, ...)

Also is there a mean (a wiki page?) where to start building a  
collection of
mathematics exemples using ConTeXt ?

- home to print the doc in newmat.tex ?
Cordialement,
-- Maurice Diamantini


\enableregime[il1]
\useencoding[ffr]
\mainlanguage[fr]
\setuppapersize[A4]
\setuplayout[%
   topspace=1.0cm,
   backspace=2.0cm,
   % header=2.0cm,
   % footer=1.0cm,
   % margin=1.2cm,
   % margindistance=3mm,  % defaut = 5mm
   width=middle,
   height=middle%
]
\usemodule[amsl]
% \usemodule[nath]
\starttext

% Utilisation de startarray/stoparray (t-amsl.tex version 2004.11.18)
%
% DECONSELLE !
%  \startarray{xx...} ou { | x | x | ... |}
%aaa & bbb & ccc \\
%aaa & bbb & ccc \\
%aaa & bbb & ccc
%  \stoparray
%
%  CONSEILLE
%  \startarray{xx...} ou { | x | x | ... |}
%aaa & bbb & ccc \cr
%aaa & bbb & ccc \cr
%aaa & bbb & ccc \cr
%  \stoparray
%
% Le prÈambule {xxx...} :
% --
% lrc = left, right, center
% d => left avec \displaymath
% t => left en texte (dans \text{...})
% On peut compenser l'effet de l ou r par \hfil
% ou inverser cet effet par \hfill
%
% Les variantes de cases utilisent un array prÈcÈdÈs d'une accolade
%
%   \startcases utilise  startarray{ll}
%   \startbigcases utilise  startarray{dl}
% mais
%   \cases{...} utilise  startarray{lt}
%
% BUG de array ?
%   le caractere t (text) semble ne pas fonctionner !
%   NON, mais il faut utiliser \cr au lieu de \\ en fin de ligne
%   et ne pas oublier le dernier \cp de la dernËre ligne !!
%
\section{Example of \type{\case} with or without \type{\displaystyle}}
\subsection{Without \type{\displaystyle}}
\startbuffer
\startformula
{\bf f(x)} =
\cases{
\sum_{x=1}^n x  &   if I am true \cr
\sum_{x=1}^n y  & \quad if I am false\cr
 0  & \quad if I don't know  \cr
   }
\stopformula
\stopbuffer
\getbuffer
\typebuffer
\subsection{With \type{\displaystyle}}
\startbuffer
\startformula
{\bf f(x)} =
\cases{
\displaystyle
\sum_{x=1}^n x   &   if I am true \cr
\displaystyle
\sum_{x=1}^n y   & \quad if I am false\cr
\displaystyle
0& \quad if I don't know  \cr
   }
\stopformula
\stopbuffer
\getbuffer
\typebuffer
\page
\section{Example of \type{\startbigcases} with or without strut}
\subsection{Using \type{\startbigcases}}
Note the needed of \type{\text} as \type{\startbigcases} behavior
isn't the sames as \type{\cases}.
\startbuffer
\startformula
{\bf f(x)} =
\startbigcases
\sum_{x=1}^n x   &  \quad\text{if I am true}\cr
\sum_{x=0}^n y   &  \quad\text{if I don't know} \cr
0&  \quad\text{if I am false}   \cr
\stopbigcases
\stopformula
\stopbuffer
\getbuffer
\typebuffer
\subsection{Adding \type{\strut} to make the vertical spacing better}
Note the needed of \type{\text} as \type{\startbigcases} behavior
isn't the sames as \type{\cases}.
\startbuffer
\def\STR{\vrule height3.5ex depth1ex width0pt}
\startformula
{\bf f(x)} =
\startbigcases
\sum_{x=1}^n x   &  if I am true\cr
\sum_{x=0}^n y   &  \quad\text{if I don't know} \cr
\STR 0   &  \text{if I am false}\cr
\stopbigcases
\stopformula
\stopbuffer
\getbuffer
\typebuffer
\page
\section{Standard use of \type{\startarray}}
% \setuptyping[style=\small] % give bad results ! (no more typing font)
\startbuffer
\startformula
{\bf e_u(t)} =
\left\{
\startarray{dllt}% ou bien : \startarray{| d | l | r | l}
\sum_{x=1}^n f(x)
& = ax^2 + b.x + c
&

[NTG-context] Math startarray and \cases{xxx} bug?

2005-05-13 Thread Maurice Diamantini
Bonjour à tous,
I'm using amsl module, but it seems there is a probleme
with the startarray/stoparray environment which apear with the "t"
type of column (t for text).
So the basic cases commande doesn't work.
Also the \startcases/stopcases should have the same meaning thas
\cases{xxx} has, but it doen't.
I use textlive distrib with a copy og t-amsl.tex version 2004.11.18
Thank you for any help!
-- Maurice Diamantini
%%
\usemodule[amsl]
\starttext
\startformula
{\bf f(x)} =
\cases{
\sum_{x=1}^n x  & if I am false
\\
\displaystyle% just to see the difference
\sum_{x=1}^n x^2& \text{if I am true}
   }
\stopformula
% This formala works as expected, but if I replace
% the forth column of type "l" which contains some \text{xxx} stuffs
% with a column of type "t" without using the \text command,
% there is an error.
\startformula
{\bf e_u(t)} =
\left\{
\startarray{dlll}% ou bien : \startarray{| d | l | r | l}
\displaystyle
\sum_{x=1}^n f(x)
& = ax^2 + b.x + c,
& = a
& \text{Here some text}
\\
\hfil y_2% just to center stuff within a "d" column
& = 3ax^3 + 3ax^2 + b.x + c,
& = b
&
\\
\sum_{x=1}^n h(x)
& = y_2,
& = a + b
&  \text{encore du $(x^2)$ texte}
\stoparray
\right.
\stopformula
\startformula
{\bf e_u(t)} =
\startcases
\sum_{x=1}^n f(x)
& if I am true
\\
\displaystyle
\sum_{x=1}^n h(x)
& if I am false
\stopcases
\stopformula
\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Is there a mathematica typesetting manual for ConTeXt ?

2005-05-13 Thread Maurice Diamantini
Le 13 mai 05 à 05:18, redox a écrit :
I mean I want to type some math formulas with ConTeXt. Since i don't
know too much about ConTeXt/TeX, i want to find a manual about this
subject and to learn by myself.
In the "ConTeXt an excursion"(page 15), it says,
"We advise you to do some further reading on typesetting formula in  
TeX.
See for example:
The TeXBook by D.E. Kunth
The Beginners Book of TeX by S. Levy and R.Seroul
"

I know that LaTeX(and AMS-LaTeX) has made some extensions to TeX in  
math
typesetting, so I'm wondering if ConTeXt has also made extensions to
TeX, or I can only type math formula in the way of basic TeX ?
The first (only) starting point about math and context is
   http://contextgarden.net/Math
The main AMS environnements are available with amsl module
(should be in the recent context distribution, but not with the
TeXlive-2004)
   http://contextgarden.net/Math_with_amsl
Giuseppe Bilotta has also port the NATH LaTeX package
(NAtural maTHematics) :
   http://contextgarden.net/Math_with_nath
There is not yet documentation and sample about using thes module,
but the documentation of there LaTeX LaTeX version is very
usefull,
Cordialement,
Maurice Diamantini,
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Another plant in the garden: modules

2005-04-06 Thread Maurice Diamantini
Le 6 avr. 05, à 21:11, Patrick Gundlach a écrit :
Hello Hraban and others,
I wonder why bib and math modules are missing? Are they already gone
to the core?
Do you think that it would make sense to list/describe the ones in the
distribution as well?
Yes, because the modules in the core depend on the context version.
So I think all modules should be listed, with some additionnal 
information
such that
	"in the core since  tetex-3.0-1"
or
	"in the cvs-core since  2005 mar 01"

e.g.
Textlive (2004) doesn't contains the bib and math modules,
but tetex-3.0-1 does:
ls -al  /sw/share/texmf-dist/{tex,doc}/context/{maths,bib}/
(extract)
/sw/share/texmf-dist/doc/context/maths/:
   No such file or directory
/sw/share/texmf-dist/doc/context/bib/:
   83846 aou 30   2004 bibmod-doc.pdf
   31535 aou 30   2004 bibmod-doc.tex
/sw/share/texmf-dist/tex/context/bib/:
   10120 aou 30   2004 bibl-apa.tex
   11327 aou 30   2004 bibl-aps.tex
   37861 jan 26  12:30 t-bib.tex
1805 jan  5  16:59 t-bibltx.tex
/sw/share/texmf-dist/tex/context/maths/:
5762 nov 18  16:47 t-amsl.tex
   92324 nov 18  16:50 t-nath.tex
-- Maurice Diamantini
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: page on context and XML has moved

2005-04-04 Thread Maurice Diamantini
Le 3 avr. 05, à 21:36, h h extern a écrit :
You could maintain a micro-page on the wiki which just allows
users to find your great document. The aim is for anybody to easely 
find
your document from the wiki.
The problem is to not forgot to update the wiki if you change the
location of your main page!
this makes much sense, something like a summary + pointers
Perhaps, better than creating some bilion of pages with almost
nothing in it, wouldn't it be better to add the link in an existing
relating page?
I think : http://contextgarden.net/Layout
Also, the problem of maintaining "life" links is quite real.
In that above page, the link
"XML ConTeXt site"... doesnt seem to point anywere!?
-- Maurice Diamantini
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Translations of "Context: an excursion"

2005-03-23 Thread Maurice Diamantini
Le 23 mars 05, à 08:56, Hans Hagen a écrit :
indeed, btw, it will be an interesting challenge to keep translations 
in sync
To keep several translations in sync, it should be one and only one 
document
reference (english (or french? ;-) )
The worst thing would be if some chapter (e.g. using the standard 
amsl/nath
package) were in advance in one translation over some other chapter
("using the standard bib package" or "the prefered TABLE package",
or "context 2 html translation", ...)

Also probably, it would be better to have some uptodate doc witch were
only partialy translated, than having a full but outdated french doc.

Another (long term) remarks/questions:
I think the "Context: an excursion" is the better context doc out there
(seems more practicle for begining than the reference book, for now)
But will be this true in the future ?
- what will contains the future book already mentioned here?
- when could it be expected?
- will the Context reference manuel be updated?
- which context doc will exists 3 years later?
 - one (or more?) commercial english context book
 - one multitranslation "excursion" free books
 - numerous, very specialised "myWay" documents
 - if the current "reference manual" book is not to be upgrade
   then the "Context: an excursion" will be that.
 - a automatic generate reference documentation, based on
   the context tex code??
Translating such a documentation is a great (and eavy) job,
but it can't be done without some stategic considerations.
-- Maurice

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


Re: [NTG-context] Re: Using LateX packages => for algorithms

2005-01-25 Thread Maurice Diamantini
Bonjour à tous !
Le 25 janv. 05, à 22:16, Patrick Gundlach a écrit :
Hello Holger,
I want to use a LaTeX Package (clrscode), or at least I want to port
it to Context.
http://www.cs.dartmouth.edu/~thc/clrscode/
Is there some way to use LaTex Packages (I guess not).
No. The low level commands are different in LaTeX and ConTeXt. The
named package does not use a lot of unique LaTeX features, so a port
shouldn't be too difficult. But as I guess from your question, you are
unable to do that, so the question is: who else does the job? And I
guess, nobody rises his hand now.
See HH answer about a similar request.
I think this solution could be the start of your package.
Hans had extended the startlines environment with an option
which keep spaces, so that it's easier to write
algorithms without having some \it begining every lines !
http://www.ntg.nl/pipermail/ntg-context/2004/008169.html
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2005-01-03 Thread Maurice Diamantini
Le 26 déc. 04, à 21:57, h h extern a écrit :
Christmas present ...
Thank you Hans for this present !!
I just had to search the key to open this present,
as I used an old ConTeXt version
So I'm trying to switch to the texlive-2004 distribution
(choosing the GUTenberg installation set)
After some setup (m-bib has changed, ...)
I could try your code and...
*** it does exactly what I need ! ***
Thank you very much !
Just a question.
As you keep calling this environment "\startline" I suppose
it is intended to be a standard option for "\startline"
(which is a great news as I think it is quite usefull for
numerous situations)
But as the new version of context is not yet in the texlive-2004
(or as texlive-2005 is not yet out ;-)
Would it not be a better idea to provide another environnement name
to avoid conflict with the future standard startline environment?
I tried to rename "startlines" to "startLines" with other hack,
but it doesn't seem to be suffisant (but I didn't expect to!).
Any way thank you for the solution !
\unprotect
\setuplines[\c!space=\v!default]
\def\startlines
  {\@@rgbefore
   \whitespace
  %\page[\v!preference]} gaat mis na koppen, nieuw: later \nobreak
   \begingroup
   \def\@@rgstepyes{\parindent\zeropoint}%
   \def\@@rgstepno {\parindent\zeropoint}%
   \edef\@@rgparindent{\the\parindent}%
   \globallet\@@rglinesteptoggle\!!plusone
   \processaction
 [\@@rgindenting]
 [  \v!yes=>\def\@@rgstepyes{\parindent\@@rgparindent}%
\def\@@rgstepno {\parindent\@@rgparindent},
\v!odd=>\def\@@rgstepyes{\parindent\zeropoint}%
\def\@@rgstepno {\parindent\@@rgparindent},
   \v!even=>\def\@@rgstepno {\parindent\zeropoint}%
\def\@@rgstepyes{\parindent\@@rgparindent}]%
   \typesettinglinestrue
   \setupwhitespace[\v!none]%
   \obeylines
   \let\checkindentation\relax
   \@@rgstepno
   \ignorespaces
   \gdef\afterfirstobeyedline % tzt two pass, net als opsomming
 {\gdef\afterfirstobeyedline
{\nobreak
 \global\let\afterfirstobeyedline\relax}}%
   \def\obeyedline
 {\par
  \let\checkindentation\relax % else problems with odd/even
  \afterfirstobeyedline
  \ifdim\lastskip>\zeropoint
\globallet\@@rglinesteptoggle\!!zerocount
  \else
\doglobal\increment\@@rglinesteptoggle
  \fi
  \ifodd\@@rglinesteptoggle\relax
\@@rgstepyes
  \else
\@@rgstepno
  \fi
  \futurelet\next\dobetweenthelines}%
\processaction
  [\@@rgspace]
  [ \v!on=>\obeyspaces
   \def\obeyedspace
 
{\mathortext\normalspace{\dontleavehmode{\tt\controlspace}}},
   \v!yes=>\obeyspaces
   \def\obeyedspace
 {\mathortext\normalspace{\dontleavehmode\normalspace}}]%
   \GotoPar}

\protect
\starttext
\startlines
test
  test
test $a = 10$
\stoplines
\setuplines[space=on]
\startlines
test
  test
test $a = 10$
\stoplines
\setuplines[space=yes]
\startlines
test
  test
test $a = 10$
\stoplines
test
  test
test $a = 10$
\stoptext

==
Maurice Diamantini wrote:
> Well I agree that it's no more "typing" any more!
> So a special option for \setuplines would be more appropriate?

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


Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2005-01-03 Thread Maurice Diamantini
Le 25 déc. 04, à 20:03, John Culleton a écrit :
On Friday 24 December 2004 09:23, Mojca Miklavec wrote:
Maurice Diamantini wrote:
Well I agree that it's no more "typing" any more!
So a special option for \setuplines would be more appropriate?
Exactly, \starttyping does exactly that what you don't want: it 
disables
math and expansion of TeX commands.

Also, perhaps my request is simply an option of \startlines
which keep not only the lines break, but also the first
spaces of each line (in a verbatim font fors these space)
Happy new year !
Thanks to Mojca and John, I use \startlines for the
algorithms environment.
In the "Algo" environment, I defined some short names command
to help dealing with indent spacing (\0, \1, ..., \5)
and with itemize like indent (i.e. space with the
same length as "- "
Here is the environment I defined. It could be better
(to keep the use of it event simpler)
But as the "père Noël" Hans give me a "Christmas present"
(see next post) It is no more usefull!
\definestartstop[Algo][
   before={
\start
\tx
\def\H{\phantom{- }}% H for Hyphen (espace correspondant à 
"- "
\def\0{\hskip0em}  % indent 0
\def\1{\hskip2em}  % indent 1
\def\2{\hskip4em}  % indent 2
\def\3{\hskip6em}  % indent 3
\def\4{\hskip8em}  % indent 5
\def\5{\hskip10em} % indent 6
\setupinterlinespace[small]
\startframedtext[
 width=\makeupwidth,
 framecolor=blue,
]
\startlines
   },
   after={
\stoplines
\stopframedtext
\stop
   },
]

Just a "french like" algorithm
\startAlgo
\0  Entrée :
\1   - nom de l'instance à traiter (e.g. ucp8, ...)
\1   - LDS\_Limit Nombre maximum de discordances (e.g. 1 pour LDS\_1, 
...)
\0  Sortie :
\1   - affichage des meilleures solutions primale et duale
\0  Algorithme :
\1   - initialisation :
\2  - LDS\_Counter := 0 (nombre de discordances courantes)
\2  - lecture de l'instance
\2  - propagation initiale
\1   - relaxation lagrangienne principale avec primalisations interne
\1\H   $\Rightarrow$  on connait bestDualValue,  bestPrimalValue et les 
coûts réduits
\1   - explorer le noeud racine (i.e. toutes les variables étant libres)
\1   - afficher les résultats
\stopAlgo

Thanks you very much !
Maurice
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2004-12-24 Thread Maurice Diamantini
A solution of my probleme could be reformule to :
   How can I configure the \setuptyping environment to
   be able to keep the normal feature of special TeX caracters
   like:
   - \
   - { and } and [ and ]
   - $
Well I agree that it's no more "typing" any more!
So a special option for \setuplines would be more appropriate?
Le 24 déc. 04, à 09:07, Maurice Diamantini a écrit :
Bonjour à tous,
I'm trying to white some algorithms in natural language
(versus pseudo-computing langage)
I need to keep some "typing" for write space
(i.e. indentation of text) while being able to white
TeX commands (with \xxx{yyy}) and math (like $y_u(t)$)
In fact I'd like some LaTeX algorithms style like feature.
I could do some recursive \startitemize...\stopitemize...
but it is two much verbose, so I thought looking at the
ConTeXt "typing" system
Also, perhaps my request is simply an option of \startlines
which keep not only the lines break, but also the first
spaces of each line (in a verbatim font fors these space)
Thank you for any help!
-- Maurice Diamantini
___
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] algorithms style : need \starttyping with TeX and math feature

2004-12-24 Thread Maurice Diamantini
Bonjour à tous,
I'm trying to white some algorithms in natural language
(versus pseudo-computing langage)
I need to keep some "typing" for write space
(i.e. indentation of text) while being able to white
TeX commands (with \xxx{yyy}) and math (like $y_u(t)$)
In fact I'd like some LaTeX algorithms style like feature.
I could do some recursive \startitemize...\stopitemize...
but it is two much verbose, so I thought looking at the
ConTeXt "typing" system
Also, perhaps my request is simply an option of \startlines
which keep not only the lines break, but also the first
spaces of each line (in a verbatim font fors these space)
Thank you for any help!
-- Maurice Diamantini
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Now is the time for all... (Was: [NTG-context] A simple project.)

2004-11-16 Thread Maurice Diamantini
Now is the time for all...
  ... non Context user to be able to use ConTeXt without
  becomming TeX expert

Following the remark from Dirar about finding the last texlive
distrib, I think the Context system deserves the right of
being a full independant distribution which can be used independently
from the other standard xTeX distributions (e.g. TeTeX, Texlive, ..)
The mytex system proposed by context is a first step in that direction,
but it require a setup that strongly perturbate a concurent use of 
LaTeX.

So, I propose that besides the standard upgrade cont-tmf.zip for 
context,
Pragma propose à **independant** "context" distribution which :
1 - ***doesn't use*** the standard kpath environment variables
2 - anticipate the addition for new architecture
(eg. "linux" isn't an architecture name, use "powerpc-linux" 
instead)

What do need ConTeXt for itself ?
1 - an pdfetex (or pdfXXXtex)
2 - some fontes
3 - perl, ruby, tcl, ...
4 - Metapost
5 - the context "TeX macro files"
As ConTeXt does improve much frequently than any standard LaTeX
distribution, I suggest that it is easier to adapt the ConTeXt system
to tetex from time to time (e.g. one time in a year) and becomme free
to change the ConTeXt arborescence following the feeling from Hans.
So that it will always be possible for a LaTeX user to download
a full independant ConTeXt distribution, just source one of the
provided setup.sh or setup.csh files, and run either the standard
texlive old distribution, or its new dowloaded ConTeXt distribution
without conflict.
The objective is to had a line such
source /xxx/context/setup.sh
in my bashrc without worying if I (or other xTeX user) have to do
either LaTeX or ConTeXt writing.

Le 17 nov. 04, à 00:57, Dirar BOUGATEF a écrit :
I am wiling to do so, but i see that Texlive hasn't changed since 
2003, and this is already the version i have installed 2 months ago.

Is there a fresher version and does anyone knows the date where 
Texlive structure changed.
I second this question.
I look for the texlive2004 too, but didn't found it.
-- Maurice Diamantini
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \presentationstep in standard pdf format

2004-11-02 Thread Maurice Diamantini
Le 2 nov. 04, à 23:22, David Munger a écrit :
Nothing seems to work here. I'm afraid the problem is indeed that
Acrobat Reader under Linux is not really JavaScript aware...
Would it be possible to implement the steps commands such that steps
span over multiple slides instead of being managed by JavaScript?
David
I aggree with David that having the ConTeXt presentation feature
without needed javascript would realy be great.
Pdf is a standard, but not javascript.
It's realy nice to come to a seminar only with a pdf file without 
worrying about which pdf reader tool exists on the host computer.

- Even with acroread 6.02 on osx there is some problem with some button
  (I don't remember which problem, but I just remember it's not 
reliable);
- Also Preview, the fastest pdf reader on osx (provide by Apple, then
  the it is standard pdf reader on osx) don't support javascript;
- linux doesn't have pdf+javascript reader.

So I think that ConTeXt should provide a mean (option in textexec)
to make pdf-only version of presentation.
Finaly there could be three output levels for pdf presentation :
1 - presentation step using javascript (with allow blinking, merging,
zooming or other nice flashing features ;-)
2 - presentation step without javascript (one pdf page by step)
=> Good format for presentation by foreign pdf reader
3 - pdf file one pdf page for each final step by page
=> Good format for printing 2up or 4up slides
This third output would also allow to print a "slide + comment"
version of the presentation for the speacker.
The option of texexec could be something like
--pdfonly
instead of --pdf, or simply
--use-javascript=false
Maurice,
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Metapost installation

2004-10-27 Thread Maurice Diamantini
Le 27 oct. 04, à 09:23, Hans Hagen a écrit :
Maurice Diamantini wrote:
If I do the magic (from http://contextgarden.net/Linux_Installation)
texexec --make --alone --all en nl uk metafun mptopdf
After some time it give me:
`texexec.pl' not found.
In fact, I've never been able to make the basic exemples
about Metafun working.
strange
is there a file 'texexec' on your disk somewhere? otherwise,
copy texexec.pl to texexec (no suffix) and put it someplace in you path
Yes (texexec works perfectly without Metafun)
I had a problem with multiple versions wich I'v not yet solved.
If I am only with the texlive version,
I can do the
 texexec --make --alone --all en nl uk metafun mptopdf
(in /usr/local/pack/tex/texlive/texmf-var/web2c)
And all seems ok.
But I don't get basic Metafun exemple to work.
So, for now, T'll stay with the (partialy) working texlive distrib,
(I can do LaTeX, ConTexT and Metapost :-)
but I should think to change my full latex organisation to be able
to use my own context distribution, but it should not interfere
with the working latex distrib.
I could adopt the 70 Moctet standolone context distrib for
osx + linux if I can use it near the LaTeX standard distribution.
So, thank you very much for your help, but I'll have to
try again later,
-- Maurice
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] more nath patches

2004-10-26 Thread Maurice Diamantini
Le 27 oct. 04, à 05:50, David Arnold a écrit :
Is there a nath manual?
http://www.ctan.org/tex-archive/macros/latex/contrib/nath/
But it is for LaTeX only, and I'm am not sure of what is already
implemented in the m-nath module from Giuseppe Bilotta
...
Hum, I just see that this is already mention on the context portail
http://contextgarden.net/Math_with_nath
(So I just had the url)
-- Maurice
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] more nath patches

2004-10-26 Thread Maurice Diamantini
Le 26 oct. 04, à 17:55, Hans Hagen a écrit :
Christopher Creutzig wrote:
also, i think that we need to sort out nath interference some day soon
is there a test suite? if not, maybe it's worth the effort to cook up 
a nice math example document (like the one with tables and chemistry)
Or perhaps the nath manual itself?
-- Maurice,
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Metapost + metaObjet connector label on arcs

2004-10-26 Thread Maurice Diamantini
Le 26 oct. 04, à 13:53, Hans Hagen a écrit :
Maurice Diamantini wrote:
4 - about ConTeXt and Metapost:
What should I put in the  "verbatimtex ... etex" header
to be able to use ConTexT in btex..etex instead of LaTex?
(I don't want use (for now ) the "inside ConTeXt document" method
for the sake of environnement robustness, and for reusability)
normally nothing has to go in there
you can make stand alond graphics with context doing:
\setupcolors[state=start] \starttext \startMPpage
  your mp code
\stopMPpage \stoptext
That gives you a stand alone pdf graphic that you can embed later
The problem is probably due to my installation (texlive 2003 installed
in a non standard directory)
Everything works well but the previous code give me a write page.
(should I put mp code between beginfig..endfig ?)
If I do the magic (from http://contextgarden.net/Linux_Installation)
texexec --make --alone --all en nl uk metafun mptopdf
After some time it give me:
`texexec.pl' not found.
In fact, I've never been able to make the basic exemples
about Metafun working.

 ...
no, btex etex is parsed and handles in special ways; this is why 
metafun has the textext macro
That is a good raison for using context with Metafun... as soon
as installation works!
Maurice,
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Metapost + metaObjet connector label on arcs

2004-10-26 Thread Maurice Diamantini
Le 24 oct. 04, à 20:30, Denis Roegel a écrit :
A new problem is that the label sep is to big from thes arcs, and
I'm not able to ajust it. The "labshift" option doesn't seem
to work with ncarc, althought it works for the nodes.
...
this was possibly corrected in an unreleased version of metaobj:
  http://www.loria.fr/~roegel/metaobj.mp
Thank very much!!
1 - firstly, T've know solved my initial problem, and I've been able
to build my first non-pstrick figure (thank to this mailing help).
So the next points are not criticals for me. See them just as
remarks or suggestions (but any help is still welcomme :-)
2 - about the "off topic":
As denis is on this list, what is the best mailing for talking
about metaObj Denis?
3 - about the metaObj prerelease:
I suggest that the last package (metaobj.mp and its pdf doc) are
not hidden, but accessible (and refered from Metapost page) from
a public directory;
The MetaObj package could be as important as Metapost itself for
the ex-pstricks users; so it should be easy to get the last version
4 - about ConTeXt and Metapost:
What should I put in the  "verbatimtex ... etex" header
to be able to use ConTexT in btex..etex instead of LaTex?
(I don't want use (for now ) the "inside ConTeXt document" method
for the sake of environnement robustness, and for reusability)
5 - about metapost:
How can I build the string to give to TeX as in
string str; str = "x^2"
btex \large F =  etex
or perhaps somthing like :
string str;
str = "btex \large F = " & str é " etex"
eval(str)
6 - about Metaobj user class
I'd have build two macros (see the end of this mail):
- buildActivity(xxx)
  % buildActivity:
  % name: the name of the new node
  % inFig; figuure to put in the circle
  % botFig; figuure to put under the circle
  % topFig; figuure to put above the circle
  % coord : position of the center of the circle
  % Example :
  %  buildActivity(n0, btex\large 0 etex, btex b0 etex, btex u0 
etex, z0);

  from which I think I will be able to build a new more or less
  generic Node class with some options and default behavior,
- buildArc(xxx)
  % buildArc(nodeSrc, nodeDst, labshift, labangle, labelFig)
  which was more difficult to tune (for me, as a Metapost beginner)
  Also I hadn't use it for my application because of the lack
  of genericity.
  In fact, Id'like to build a new class (newArc) which could be 
considere
  as an object by itself, with its own set of options.
  (in particular default connector should be ncline, but easy to
  change to support all the metaObj connector)

I think these two macros could serve as a good exemple of the power of
metaObj, and would be much more readable than psTricks (i.e. TeX 
langage) !

Thank you very much for these tools and for any other help,
Maurice,
-- http://www.ensta.fr/~diam/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Metapost + metaObjet connector label on arcs

2004-10-24 Thread Maurice Diamantini
Le 22 oct. 04, à 14:24, Eckhart Guthöhrlein a écrit :
You can attach named paths to objects and then labels these. Here is my
first try, seems to work:
Thank very much Eckhart, I read the metaObj manual, but I
didn't realised showing that one can attached a labelObj
to arbitrary objects (just for Matrix and trees).
Now it works !
It is my first Metapost figure (I am switching
from pstricks).
As graph (in the sens nodes + arcs, not curve functions)
will be frequentjy used (at least by me).
I am thinking about some highlevel  class (using MetaObj)
- class Node for creating node
- class Arc for connecting nodes.
The goal is that the data (coordinate, various labels, ...)
will be as simple as possible.
Also it should be easy to pick the Node and Arc class,
and personnalide them gor its own graph.
For now, I'm trying to anderstand how the label options
works,
A new problem is that the label sep is to big from thes arcs, and
I'm not able to ajust it. The "labshift" option doesn't seem
to work with ncarc, althought it works for the nodes.
P.S.
is one of the Metapost lists still alive?
Here is the full exemple (with only 2 nodes)
I don use the inline context feature because it
doesnt work for me, and I have to work on several
workstation, so I still stay (for now) with the indenpendent
file
I'm sorry for the "latex" line on a context list, but
Metafun is not clean installed (texlive 2003), I wanting
for the next texlive... And I hope context will be install
by default with Metafun
.
Thank you very much.
-- Maurice Diamantini,
verbatimtex   % -*-latex-*-
%&latex
\documentclass{article}
\usepackage[latin1]{inputenc}
\begin{document}
\sffamily
etex
input mp-tool ; % some initializations and auxiliary macros
input mp-spec ; % macros that support special features
input metaobj.mp ; % suffixe non indispensable ?
beginfig(1) ;
% For now node positions will be hardcoded
numeric u; u=1cm;
z0=(0u,2u);
z1=(3u,4u);
% % verbatimtex \small etex;
setCurveDefaultOption("arcangle", 25);
%
% building nodes of the graph. Nodes are object that arc will be 
able to
% refere to.
% Later, I will have to build my own Class "Activity" with some 
other
% parameters (labels above and under the circle, ...)
%
newCircle.n0(btex \large 0 etex) "circmargin(0.1u)";
ObjLabel.n0(btex b0 etex)  "labshift((0, -.5u))";
ObjLabel.n0(btex u0 etex)  "labshift((0, .5u))";
n0.c = z0;

newCircle.n1(btex  \large 1 etex) "circmargin(0.1u)";
ObjLabel.n1(btex b1 etex)  "labshift((0, -.5u))";
ObjLabel.n1(btex u1 etex)  "labshift((0, .5u))";
n1.c = z1;
%
% build some Arcs, with various label or other parameters
% I'll have to make some vardef fonction for that.
% For now, all arcs related stuffs are in th esame place
%
% - Howto reduce the label separation ? ("labshift" doen't work)
ncarc.n0(n0)(n1)  "name(n0_n1)";
ObjLabel.n0(btex $\times$ etex) "labpathname(n0_n1)",
"labpos(0.8)";
ObjLabel.n0(btex $0\rightarrow 1$ etex)
"labpathname(n0_n1)",
"labpos(0.8)",
"labangle(0)",
"labshift((0, -0.5u))",
"labdir(bot)" ;
ncarc.n1(n1)(n0)  "name(n1_n0)";
ObjLabel.n1(btex $\times$ etex) "labpathname(n1_n0)",
"labpos(0.8)";
ObjLabel.n1(btex $1\rightarrow 0$ etex)
"labpathname(n1_n0)",
"labpos(0.8)",
"labangle(180)",
"labdir(top)" ;
drawObj(n0, n1);
endfig ;
end .
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Metapost + metaObjet connector label on arcs

2004-10-22 Thread Maurice Diamantini
Bonjour à tous,
I hope I'm not too much out of topic, but I'm trying
to put a metapost figure in a context file.
I use a separate file for the figure to keep it
independant, (and to avoid cumul of problems :-)
The objectif is to build a graph by positionning some
node (for now, it is just a circle)
connecting them bu some ncarc connector (using metaObj)
and the put label onto these arc.
I know that one can do that using tree or matrix mataObj
feature, but I'd want to be flexible on the node positions,
Thank you very much for any help!
-- Maurice Diamantini  http://www.ensta.fr/~diam
%%% START SAMPLE %%%
input mp-tool ; % some initializations and auxiliary macros
input mp-spec ; % macros that support special features
input metaobj.mp ; % suffixe non indispensable ?
beginfig(1) ;
numeric u; u=1cm;
z0=(0u,2u);
z1=(3u,4u);
z2=(6u,4u);
% ...
% I'll have to create my one metaObj (later)
% newCircle.a1("") "circmargin(0.3u)";
% label(btex $x^2$ etex, z1);
newCircle.a0(btex 0 etex) "circmargin(0.1u)";
newCircle.a1(btex 1 etex) "circmargin(0.1u)";
newCircle.a2(btex 2 etex) "circmargin(0.1u)";
a0.c = z0;
a1.c = z1;
a2.c = z2;
% Question: how can I put a label on this arc???
ncarc(a0)(a1) "name(nc01)";
% The following doesn't work !
% ObjLabel.nc01(btex 0 etex)   "labpos(0.75)",
%  "labdir(top)";
drawObj(a0,a1,a2,a3,a4,a5,a6);
endfig ;
end .
%%% END SAMPLE %%%
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: Re[2]: [NTG-context] Re: alpha version low level english

2004-09-01 Thread Maurice Diamantini
Le 1 sept. 04, à 14:24, Giuseppe Bilotta a écrit :
align=flushleft % maps to 'old' right
align=flushright % maps to 'old' left
+1 to this proposal. This way we can then later map right and
left to the *correct* ones :)
+1 for me, it's more natural!
-- Maurice Diamantini
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Announcing a new script: TeXVersion

2004-08-25 Thread Maurice Diamantini
Le 25 août 04, à 09:28, Taco Hoekwater a écrit :
Running it will generate output like this:
TeXVersion 0.1 / Taco Hoekwater 2004
   texexec : TeXExec 4.4 - ConTeXt / PRAGMA ADE 1997-2004
   texutil : TeXUtil 7.4 - ConTeXt / PRAGMA ADE 1992-2002
   tex : pdfeTeX, 3.14159-1.10b-2.1 (Web2C 7.4.5)
   context : ver: 2004.8.15
   cont-en : ver: 2003.1.31  fmt: 2004.6.19  mes: english
...
This functionality will eventually become part of texexec.
Great script! thanks you Taco,
Just a suggestion:
options for:
   - putting the full path of the executables,
   - some other informations for finding frequently source of problems
 (metapost not operationnal...)
Thanks again,
-- Maurice Diamantini
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: High level user macro (howto?)

2004-06-28 Thread Maurice Diamantini
Le 28 juin 04, à 11:49, Patrick Gundlach a écrit :
One thing is missing in context (or not documented in reference 
manual?)
is a standard and easy way to build arbitrary parametrised high level
macros.
Thank to you(s) for your macros exemples,
I've now to build mu own sample in the next two
months, and I then will surely post news questions
before it is finished :-)
I like the fact one can have our own namespace.
ConTeXt is realy amazing : should be called LaTeX3
(as soon as the reference manual is finished ;-)
Amicalement,
-- Maurice
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] High level user macro (howto?)

2004-06-28 Thread Maurice Diamantini dom
Bonjour à tous,
One thing is missing in context (or not documented in reference manual?)
is a standard and easy way to build arbitrary parametrised high level 
macros.

For exemple, instead of
   \def\myCommand#9{...}
That I should call by
   \myCommand{param1}{param2}{...} {param9}
Id'like too keep default value for most of the parameters but param7
and write something like:
   \myCommand[param7=value7]{body}
In LaTeX, there is a package keyval for doing this
And context use this everywere, but I haven't seen anything for
a user beeing able to do this.
This is the base for building arbitrary complex user commands with
some defauld behavior, and then, if this personal macro is usefull
enough, building some user contribution library.
As a true exemple, see a latex package I've written some years
ago for drawing uml diagramms whith LaTeX command (using PsTricks).
This file is available at
  http://www.ensta.fr/~diam/latex/pst-uml/pst-uml-981218-09h41.tar.gz
(should now be available on CTAN too)
See documents for the samples (in french but the samples are in LaTeX 
and
drawing are in "picture" !)

One of the first exemple I'd like is some command to put some little
table as caractere in a line (see that as some personalised box):
  start of line
  $-$\myStack[border=1ex,baseline=0.5]{
  aaa & bbb \\
  aaa & bbb \\
  aaa & bbb
  }$-$
  end of line
Or a little command to draw some picture, with default but modifiable
parameters:
  $-$\myzigzag[dir=down,linewith=1pt,color=red,with=3\em]$-$
Using Metafun.
Cordialement,
-- Maurice
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Hans political ConTeXt orientation request!

2004-06-28 Thread Maurice Diamantini dom
Le 25 juin 04, à 18:03, Hans Hagen a écrit :
Maurice Diamantini wrote:
About math, biblio and context2html missing features
mentionned in previous discussion,
...
in context the built in support for math is limited to
- symbols
- numbering
- spacing
(and for those who want that, math typesetting on grids). Everything 
else math related is collected in modules:

- math: math module, nath module, mathml module
- physics: units module
- chemistry: ppchtex
the two math modules are maintaind by taco and giusseppe; much of the 
original math module is now distributed over kernel modules and 
m-newmat.tex (but i still need to finish that one); a good alternative 
is the nath module, but since nath is not 'generic' giusseppe had to 
patch some things; when he's satisfied, i'll take a look at his code 
and see what needs to move to the kernel or needs specific support;
Great news, thanks'you!
but for most purposes things are already workable
I'have used it for my document (and include it as part of it)
What is missing in t-nath is perhaps some document exemple about what
is available and what is not (yet).
The same is between standard ams-latex and t-amsl in context
These exemples could be used as regression tests by taco and giusseppe
and as documentation for the users.

the other 'often asked' functionality concerns bibliographies; there 
is a module by taceo for this; in the future (depending on the 
developments in the bibtex arena) i will look into multilingual bibtex 
and xml as input
Great new too;
Is the any hope m-bib will be includes some day into the standard 
context distribution?

I also  know that such a task is not feasable by only one
person (even by Hans :-)
as long as one builds on top of the system and support modules 
(syst-*.tex and supp-*.tex) or uses high level constructs, one can 
write extensions -)
About extension, I'd like some way to create new context command with 
the possibility
to pass "intelligent" parametres system:
but see my separate post "High level user macro (howto?)"


So the only way to make this project realisable is to
get (stole :-) guru from LaTeX community to ConTeXt.
there are a few context users on this list who know latex quite well -)
The request was not for a Context user who know LaTeX very well,
but for some LaTeX contributor to switch from LaTeX to ConTeXt :-)
I think to tex4ht, lilypond contributor, ...
(I havn't been able to find the beta tex4ht recently mentionned here)
And nobody will contribute in a project that it hasn't
fully adopted!
hm, keep in mind that in the beginning of tex there  could be some 
influence on that (read: amstex and latex were pushed by user groups 
in favor of for instance  lamstex,  inrstex, etc) ;
You are right: and I hope ConTeXt will becomme the standard (:-)
For this, one need:
1 - a clear polilical objective for context,
hm, i'm not going to promise context-2 (like latex-3), but here are a 
few things on my agenda:

-  some clean up of code and maybe even rewrite of parts of the code 
(esp lists and
   section  handling)
-  converting the low level dutch into english (can be done 
automatically -i  did that
   some years ago-) but i need a moment of 'silence' for that
I heard from some poeple (potencial contributors) for which this was a 
great default for
context (internal documentation)

-  support for xsl-fo (i occasionally work on that, when i can 
motivate myself); much of it
   is finished
does it means that there will be some user way to convert context file 
to html?

-  extending the xml interface definition (with patrick); somehow 
connect that with documentation;
   create a reverse path, i.e. define layouts etc in xml
Great new for internal documentation (I suppose this will be the mean 
to complete
the http://members.ping.de:8061/ reference manual ?

-  more extensive support for multi media
ConTeXt is probaly already the (one of the?) best tool for that (but 
for html :-)

-  more interfaces as part of the example framework (different thread, 
but of interest
   to web publishing)
-  (some fun projects)
-  some educational specific things

- reorganizing my documentation tree and putting some source code on 
line

- extending/updating manuals (i wanted to dedicate time to that 
earlier this year, but
  adapting to changes in tds / web2c took quite some time)
The Context book would be the most important thing to do, I think.
And it is independant from the online reference commands manual.
It could be sold, so contribute for you to eat!
(ok, i also have todo some projects in order to survive)
Would it be not possible:
- to ask some financial support for other TeX user groups,
- ask for some "call for contribution" from indivual ConTeXt
  users, or a subscription to some online bulletin?

(and ... i also want to look into extending tex and metapost)
2 - the way (or path, or mean?) adopted for reaching it,
3 - the adap

[NTG-context] Hans political ConTeXt orientation request!

2004-06-24 Thread Maurice Diamantini
Bonjour à tous,
   I'm sorry for my bad english, I hope there is not to
   much semantical mistakes.
About math, biblio and context2html missing features
mentionned in previous discussion,
some poeples talk about standard document writing, I dont't
think every body need to write chimical formula, but
there is a powerfull ConTeXt extension to do it,
so it's not a valid argument to not
accept a math package in the ConTeXt distribution.
The raison I tried ConTeXt is to test it for
a full replacement for LaTeX.
I know that ConTeXt is not finished, and some fonctionnalties
could be add or corrected later.
I also  know that such a task is not feasable by only one
person (even by Hans :-)
So the only way to make this project realisable is to
get (stole :-) guru from LaTeX community to ConTeXt.
And nobody will contribute in a project that it hasn't
fully adopted!
For this, one need:
1 - a clear polilical objective for context,
2 - the way (or path, or mean?) adopted for reaching it,
3 - the adapted  developpement model,
4 - some (elastical) roadmap.
As I said, I see ConTeXt as a (potencial) full replacement
for LaTeX. I've writen a technical slide presentation
and an article like document (20 pages) for testing that.
I succeded (with some work)
But for now, I can't encourage a student for begining with
ConTeXt instead of LaTeX.
On the other side, I (one) can't use both ConTeXt **and**
LaTeX for doing things: I have to choose only one.
So the answer to these previous questions will very important
for the choice.
Cordialement,
-- Maurice Diamantini   http://www.ensta.fr/~diam
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SF project and docs (was: ConTeXt-Wiki)

2004-06-24 Thread Maurice Diamantini
Le 23 juin 04, à 18:59, Henning Hraban Ramm a écrit :

And, Maurice, remember: Is there any complete LaTeX manual?
No, there isn't - there are lots of books on different levels,
most of them keep errors or describe old or obsolete packages or
techniques.
Yes, there is some reference books
  LateX from Lamport
  A guide to Latex 2e
  ...
which all are **suffisant** to do complete scientific documents
- mathematiques (not mathxml, which has never be done for beeing 
written by hand!)
- biblio (m-bib)

The latex reference book is very small because it does't describe
any extension.
A ConTeXt reference book would be much like an uptodate
cont-eni.pdf manual. It would be comparable to the couple
"LaTeX Lamport + Latex Compagnon"
For me, some of the top documentations are :
   gettingStartWithContext
   LaTeXtoContext.pdf
   refcontextbook (alias cont-eni for the 8.3 system)
   metafun-s.pdf
   the m-bib  module and its doc
   the m-nath module and its doc
   up-004.p.pdf for table
But the reference cont-eni.pdf doesn't talk about math nor biblio.
Also there is several means to do tables, and it seams
that the two main context reference documents (gettingStart and
cont-eni.pdf) doesn't talk about the same table system.
Morever, neither of them talk about the last most supported
table system which seams to be enattab.pdf!!

And every latex package has its own docs that you should read - some
are books itself (e.g. komascript).
Doen't know about it, doen't need it, so I'm glab it is not in
the latex manuals :-)
So there's a lot more in the "basic" ConTeXt manual than in most
LaTeX books! Sure, it could always be more & better...
I agree that the whole plethora of single docs isn't really
overviewable. But otherwise they're a nice demonstration of
ConTeXt's capabilities - and I guess Hans meant them to be.
It's a good thing that additive fonctionnalities, or full reference
of specialised features are not included in the standard manual,
I've never asked that the metafun book should be include in
the contextbook!
I think the simplest thing to do is a to make a lite introduction
documentation for use as a guide about which docs should be seen
as reference (which table to use, how to to biblio, ...)
Also, I think yet that a litly modified version of the
contextbook.pdf, by adding the new table, nath and biblio
module, should be sufficiant for most peoples.
A year ago, I thought that context could become the
real "latex3" project,
But now, I think that the context is missing for some
universities support (latex developpers, user documentation
for students, ...).
An uptodate documentation could help!
Cordialement,
-- Maurice
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: ConTeXt-Wiki

2004-06-24 Thread Maurice Diamantini
Le 23 juin 04, à 16:54, Patrick Gundlach a écrit :
Hi Maurice,
texshow-web:  http://members.ping.de:8061
ConTeXt wiki: http://members.ping.de:8062
Not accessible!
Perhaps because I'm behind a firewall? I should try at home.
I just double checked that the services both run ok. If there is any
problem that could be on my side, please tell me.
It does work from home,
So I cried to our system administaters, and now it does work
at work too :-)
Thank you very much.

OK, It is open source
But about the documentation.
The easiest way to finf this file is by looking for
mreadme.pdf pragma
in google!
I did 'locate mreadme'.
Yes, but I think the top 10 documents should
directly be accessible from the reference url.
and mreadme.pdf is one of these files
*before* installing context !
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: ConTeXt-Wiki

2004-06-23 Thread Maurice Diamantini
Le 23 juin 04, à 10:56, Patrick Gundlach a écrit :
Also, this could be the url for hight level FAQ
(this forum it not realy a hight level forum!)
Go ahead and put it in the wiki! Its up to us all to put content in
there.
...
texshow-web:  http://members.ping.de:8061
ConTeXt wiki: http://members.ping.de:8062
Not accessible!
Perhaps because I'm behind a firewall? I should try at home.

- how about ConTeXt future (why it is not open source?)
It is open source, even free software. You can go ahead and change
everything yourself. Pragma ADE has licenced this impressive and
valuable macro package under the terms of the GNU Public License
(GPL)! This is really great! (See mreadme.pdf for details.)
OK, It is open source
But about the documentation.
The easiest way to finf this file is by looking for
   mreadme.pdf pragma
in google!
-- Maurice
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Overwritten metapost files

2004-05-29 Thread Maurice Diamantini
Le 28 mai 04, à 21:27, Henning Hraban Ramm a écrit :
Am Freitag, 28.05.04, um 10:16 Uhr (Europe/Zurich) schrieb Nikolai 
Weibull:
Probably not as good a reason as I think, but yes, the reason being 
that
I want all texexec output to go into a separate directory.

Yes, I'd lik that idea very much too!
Sometimes, one have many (user) files in the main directory, One can
creates subdirectories for well indentified files such as "figures"
for all fil related to figure source (xfig, pstricks, matlab,...)
But I think all context build files (and file derived from context
like metopost files should go **by default** into a separate directory .
(but not the main output file such as "myRaport.pdf" !)
Did you try
texexec myfile --result=output/myfile

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


Re: [NTG-context] m-bib sorting, etc.

2004-05-26 Thread Maurice Diamantini
Bonjour à tous,
Le 26 mai 04, à 10:36, Taco Hoekwater a écrit :
http://tex.aanhet.net/bib
An error seams to be in the file m-bib.tex (line 97)
Two consecutive lines contains \stopvariables
Putting one into comment seems to work.
Cordialement,
-- Maurice
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] spaces in bibliographic list

2004-01-29 Thread Maurice Diamantini
Le 29 janv. 04, à 16:08, Taco Hoekwater a écrit :

Thank you very much, it does work!

I don't yet have in head all the genericity of context,
(although that's why I began to use it :-)

(almost) all of ConTeXt's normal list settings (\setuplist) apply to 
the publication list.
So,

	\setuppublicationlist[before=\blank]

should do the trick.

Greetings, Taco

-- Maurice

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


[NTG-context] spaces in bibliographic list

2004-01-28 Thread Maurice Diamantini
Bonjour à tous,

I have not enought spaces between bibliographic elements
(but too much spaces between two lines inside every bibliographic
element)
Is there any way for ajusting these spaces?

Thank you very much in avance!

I have the following configuration for my biblio

\usemodule[bib]
\setuppublications[
refcommand=num,
numbering=yes,
numbercommand=\myNumberCommand
]
\def\myNumberCommand#1{[#1]}
...
   \starttext
   ...
   \section{Bibliographie}
   \placepublications
   ...
   \stoptext
Maurice Diamantini
http://www.ensta.fr/~diam
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Typesetting music in ConTeXt

2003-12-11 Thread Maurice Diamantini
Le 10 déc. 03, à 23:05, Henning Hraban Ramm a écrit :


Am Mittwoch, 10.12.03, um 19:55 Uhr (Europe/Zurich) schrieb Willi 
Egger:

: 3 - some package or binding to Lilypond (for writing music/midi 
and
: xml)
That would be very-very nice. By the way, are there any plans to
implement this feature (Lilypond binding) or, may be, some other 
ways to typeset
music in ConTeXt?
if i'd time i'd write a metapost based engine 
with regards to lilypond, it depends on how latex dependent things 
are
Lilypond makes use of LaTeX only. Secondly be aware, that the 
software runs under Linux and under Cygwin.
Hm, perhaps it would be possible to use some MusicTeX version? AFAIK 
that's based on PlainTeX and could be compatible
I think there VERY much more work about lilypond that about Musi*TeX.
Also Lilipond has a modern approch and has a very good (*TeX) 
documentation.

From http://lilypond.org/web/about/faq.html

	Will run on my computer?

	LilyPond is written for Unix, so it should run on any modern Unix 
variant,
including Linux/GNU and MacOS X. There is also a MS Windows port, 
which uses
the Cygwin environment.

About other format:
We have the following requirements:
	• 	the format must use ASCII,
	• 	it must be concise enough to type by hand,
	• 	it must have a concise formal specification,
	• 	it must be expressive enough to support many types of notation 
and
printed formats.
We believe that none of the existing formats address all these 
requirements.
For example, MusicXML cannot be typed by hand, DARMS is limited in 
its
application, ABC has no strict formal definition, and NIFF is 
binary.
Nevertheless, this does not restrict you for using those formats: 
there are
filters that convert from various formats to .ly

   Also there is some converter from lilypond to xml

So instead of Hans restarting a new Music Notation project, Hans should
make lilypond team using Context instead of LaTeX ;-)
Also I noted that :
- Lilypond is NOT a TeX macro, it only seems to be a
  dedicated (powerfull) subset of TeX (but allow input of TeX macro)
- Lilypond make use of TeX for page breaking and other stuff
So How to use Lilypond with ConTeXt?
1 - use Lilypond as an independant tool for building short
(less or equal to one page) as pdf figure and
include them in context as external figure
(that is the way I'll do, because I'm not clever
enought to do much more :-)
2 - make Lilypond team understand how ConTeXt is much
more interesting as automatic formatic tool for
creating pdf than LaTeX is!
3 - Allow using lilypond inside ConTeXt with
  \startmusic
  \stopmusic
I think this method would be much like typesetting
chimical
Hans has not to be developping a nex package, just
using one that already exist
Also I think Lilipond could interest much more people
that the only short xTeX poeple user.
But Lilipond in not as easy to install (to many LaTeX
dependancy).
So the Lilypond tead could be interested by the new future
alternative ConTeXt-live CDROM distribution ;-)
ConTeXt-live (alias LaTeX-3: the only "nothing to install"
TeX based type system that allow to do :
- Mathematical,
- graphical (Metapost),
- Chimical,
- Musical
hight quality pdf documentation or web based presentation!!!


P.S.
I don't (yet) use  Lilypond, but I looked after some text based
Music notation for my wife.
I thought first to MusixTex (too eavy, too old) then the abc format
(which could be import as ps/pdf figure), then I found that
lilypond was closely related to TeX.
So it's probably the choice I'll do.
-- Maurice Diamantini

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


[NTG-context] ConTeXt-live distribution

2003-12-10 Thread Maurice Diamantini
Le 10 déc. 03, à 11:39, Patrick Gundlach a écrit :

Bob Kerstetter <[EMAIL PROTECTED]> writes:
... that a user like me with no root access
might encounter to get the system to run. In short, someone who can
lead me in small steps through the installation process."
Do such instructions already exist? Or, if someone can provide that
type of help, please contact me offlist and I'll put y'all together.
I have put some instructions at http://levana.de/context/ I could
help with installation steps.
I think Hans provided a limited version for a context standalone
distribution.
But I had problem for install it (whith perl) so I give up.
Also the standard tetex distribution provided with fink (on MacOSX-10.3)
did'n work for me (some itemize bug), and I had to install the texlive
distribution.
The texlive is very nice because it is complete. But it is very heavy
(only the demo version old on a single CD-ROM : the full texlive
take 1.2 Go and need a DVD !)
Why is texlive so big ?
Because it contains all old stuff that any LaTeX/TeX distribution should
contain to be compatible with every TeX based document from the
last few decade ;-)
- every package which was ever able to do multicols
- every package which allows to do clever table
- every package which allows to do verbatim, ...
But ConTeXt is an independant, modern TeX based distribution (even if
it don't (yet) know about simple html :-).
So was do we need to be able to switch from LaTeX to ConTeXt?
- a simple standard tetex distib for our old LaTeX document
- a standalone ConTeXt distribution similar to the texlive
  in the idea
This ConTeXt-live should be multiplatform and contain:
- all uptodate reference doc about ConTeXt tools
- all available exemples or model documents
- all contrib extention (m-bib, math, ...)
- the TeX/Metapost and perl distribution.
- all tools (xml, html, )
This could be distibute as iso image and could be
use as simple (no privilege) user.
This would also make much easier to give acces to context to
beginer (without the need of texmf experience).
Also, what is missing for ConTeXt versus LaTeX
1 - some good LaTeX class emulation
(a simple "table of content" is uggli in ConTeXt)
2 - some exemples for writing mathemaics using the new Giuseppe
math packages
3 - some mean to write xml or html FROM ConTeXt (and NOT the reverse!)
3 - some package or binding to Lilypond (for writing music/midi and xml)
4 - ...
-- Maurice Diamantini (a recent latex2context switcher)

P.S
sorry for my bad english
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] context2html converter (was: ConTeXt Switcher? )

2003-12-09 Thread Maurice Diamantini

> “Hello world”, says HAL.
both are wrong in the perspective of xml (structured document coding):

  Hello World, says HAL

is the way to go
Hum, yes.
But for
$x^2 + y^2=25$
you should write (from one of your previous post):

\setupoutput[pdftex]
\usemodule[mathml]
% \usetypescript[palatino][texnansi] \setupbodyfont[palatino]
% \usetypescript[palatino][texnansi] \setupbodyfont[times]
% \usetypescript[fourier] [ec]   \setupbodyfont[fourier]
\starttext
\startTEXpage
\startXMLdata

 
 
 x 
 
 
 x 

 2 

 y 

 y 


\stopXMLdata
  \stopTEXpage
\stoptext
So I think xml is an exchange format, not a human language
as are LaTeX/ConTeXt or even TeX.
A context2html solution is a big miss for ConTeXt
tex4ht could be that solution.
(if only a tex4ht power user would switch from LaTeX to ConTeXt :-)
Maurice Diamantini

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


[NTG-context] context2html or context2xml | xml2html ??

2003-09-22 Thread Maurice Diamantini
Bonjour à tous,

Is there something (an executable or a context package)
which would allow us to write some (basic) context file, to html?

I read that there is some work with context and xml, so perhaps
there is a mean for translating a context document to html?

context --> xml --> html ?



I think to something like latex2html or hevea ?

Cordialement,
Maurice.

P.S 
I use linux and MacOSX

-- 
[EMAIL PROTECTED]  -   ENSTA/LMA
École Nationale Supérieure  de  Techniques Avancées
 Laboratoirede MathématiquesAppliquées 
 http://www.ensta.fr/~diam
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] context2html ??

2003-07-07 Thread Maurice Diamantini
Bonjour à tous,

I know there is a (*big*) work for converting xml to context,
But is there something (an executable or a context package)
which would allow us to write some (basic) context file, to html ?

I mean something like latex2html or hevea ?
Cordialement,
Maurice.

--
[EMAIL PROTECTED]  -   ENSTA/LMA
École Nationale Supérieure  de  Techniques Avancées
 Laboratoirede MathématiquesAppliquées
 http://www.ensta.fr/~diam
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context