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

2006-03-02 Thread dom

Bonjour à tous,

I trying to update my ConTeXt (and LateX) distribution.
I use an unix style environment either on Macosx (tiger) or various  
linux
plateforms.

I used ConTeXt from Texlive-2004 (osx or linux) and it worked well.
Also (on powerbook) I used Context from tetex3 and it worked well too
(and it is smaller).

Now, I'd like to upgrade my context environment to the last one
(before I need to!) and try to keep in sync with it.

I first try to install the texlive-2005 but fall into problems
with ConTeXt font (awithout using any any customized fonts!).
(I tried the GUTenberg scheme, the full scheme and even de Context  
scheme)

So I'm now trying the standolone ConTeXt distribution which I thought
should be a robust and easy to maintain solution.
I read the wiki at the page :
 http://wiki.contextgarden.net/ 
Linux_Installation#Minimal_ConTeXt_distribution
and some various email archive on this list

So what is the commands I use:

#
 v=20060215
 s=/usr/local/pack/tex/LOCAL/src
 p=/usr/local/pack/tex/context-$v

 cd $s
 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

 mkdir $p
 cd $p

 # CAUTION : don't use "unzip -a" which break the "mktexlsr" script
 # (probably because of numerous regex)
 unzip -q $s/justtex.zip
 unzip -qu $s/linuxtex.zip  ;# -u for overloading some existing  
files
 unzip -qu $s/macosxtex.zip

 # size is about => 153M

 chmod a+x $p/tex/*/bin/*

 . 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?

Thank very much for any help

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

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] 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 adapted  developpement model,
4 - some (elastical) roadmap.
driven by demand
As I said, I see ConTeXt as