[NTG-context] Re: [OS X TeX] Context texfont disaster with i-Installer 2.15.0

2003-04-01 Thread Hans Hagen
Hi Gerben,

strange. let's see if there is a mac user on the context list who knows why 
...

Hans

On Monday, Mar 24, 2003, at 21:40 Europe/Amsterdam, Hans Hagen wrote:

At 02:26 AM 3/20/2003 +0100, Gerben Wierda wrote:
On Thursday, Mar 20, 2003, at 00:54 Europe/Amsterdam, Nigel King wrote:

Gerben,
It would be really nice to run the commands
texfont --encoding=texnansi --batch type-tmf.dat
texfont --encoding=8r --batch type-tmf.dat
texfont --encoding=ec --batch type-tmf.dat
As part of the installation if context is being enabled since this is 
rather
an important precursor to use.
when done,

  kpsewhich texnansi-uplr8a

should report a path
The commands above fail:

[dumbledore:~/tmp] root# texfont --encoding=texnansi --batch type-tmf.dat

 TeXFont 1.6 - ConTeXt / PRAGMA ADE 2000-2002

  trying to locate : type-tmf.dat
processing aborted : unknown batch file
--help : show some more info
Any reason? The file is available:

/usr/local/teTeX/share/texmf.tetex/context/data/type-tmf.dat

G


Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd 
op virussen.
Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst 
waar op wordt gecontroleerd.
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texexec feature request

2003-03-31 Thread Hans Hagen
At 09:45 AM 3/31/2003 +0200, you wrote:
Hans Hagen [EMAIL PROTECTED] writes:

Hi Hans,

 you can say as top line in your doc:

 % translate=...

 and texexec wil pick it up
it would be nice if one could write this in texexec.ini :)
dangerous, since it is a document property

better is to find out why your tex does not has 8 bit by default

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] floats

2003-03-30 Thread Hans Hagen
At 03:00 PM 3/28/2003 +0100, you wrote:
Hello,

I am having problems with defining my own textfloats. Would anyone be
so kind and post a working example how one can change floats
characteristics, e.g. width or height?
Can you give an example of what you have in mind?

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] puzzled

2003-03-30 Thread Hans Hagen
At 10:52 PM 3/30/2003 +0200, you wrote:
I'm trying to put a right brace to the right of a framed box and
thought I could do this:
\starttext
$\left. \framed[width=7cm,align=right,height=fit]{
something here \hairline
\vphantom{something here} \hairline
\vphantom{something here}
} \right\} \text{entries for something}$
\stoptext
but the brace is almost exactly twice as tall as the framed box.
Looks like a side effect of those braces: they span 50% width +50% height, 
and the framed is height only, so:

$\left.
\vcenter{\framed
  [width=7cm,align=right,height=fit]
  {something here \hairline \hairline}}
\right\} \text{entries for something}$
as you can see, the phantoms are not needed

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: funny letters in (type)buffer

2003-03-30 Thread Hans Hagen
At 04:45 PM 3/30/2003 +0200, you wrote:
Patrick Gundlach [EMAIL PROTECTED] writes:

Hello Patrick :)

(anwering my own post again...)

 gives me in test-test.tmp buffer:

 funny letters: ^^c4 ^^fc ^^df
You can use

texexec --translate=cp8bit test.tex

to get it all right! I wonder if one can make it default somewhere?

(Just came across this while reading the texexec user's guide in the
MAPS 28 :)
strange that this needed, i don't need it here (maybe unix specific)

you can say as top line in your doc:

% translate=...

and texexec wil pick it up

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] funny letters in (type)buffer

2003-03-29 Thread Hans Hagen
At 09:20 PM 3/28/2003 +0100, Patrick Gundlach wrote:
Good evening,

\enableregime [il1]
\starttext
\startbuffer
funny letters: Ä ü ß
\stopbuffer
\typebuffer
\stoptext
gives me in test-test.tmp buffer:

funny letters: ^^c4 ^^fc ^^df
i get real letters; is your tex binary configures all right (for 8 bit writes)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation in \type{....}?

2003-03-29 Thread Hans Hagen
At 09:44 PM 3/28/2003 +0100, you wrote:
Dear ConTeXt hackers,

I am a bit confused: as stated in the manual, \type{...} does not
hyphenate (in contrast to \typ{...}), but in the following example,
it does:
\enableregime [il1]
\starttext
ist zwar nur einem ist zwar nur einem \type{averylongword
averylongword averylongword averylongword}
\stoptext
How do I get garanteed-non-hypenated-typing?
put

   \ttsl\hyphenchar\font\minusone
   \tttf\hyphenchar\font\minusone
in setupcommonverbatim

i'll sort this out, it has o do with the way a space is defined (changing 
hyphenchar is a problem because it's global and we don't want
to mess up with the font)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] textbackground again...

2003-03-27 Thread Hans Hagen
At 02:50 PM 3/27/2003 +0100, Patrick Gundlach wrote:

why is frame=on and the offset ignored? (Why do I need ... enlarged
in MPgrahic?)
because setuptextbackgrounds only passes values, you can try to use 
OverlayOffset or so but 'm not sure if i added that; just collect your 
wishes and i'll see what i can/will honor

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] textbackgrounds

2003-03-27 Thread Hans Hagen
At 12:33 PM 3/27/2003 +0100, you wrote:
Dear ConTeXt users,

i have a question about textbackgrounds. Is there

a) something like \setuptextbackground[all][frame=on,...]
   that sets frame=on for all the textbackgrounds out there?
Or better:

b) is there any way to inherit parameters?
   \definetextbackground[A][frame=off]
\definetextbackground[B][A]
so that B also has frame=off set?


no, for the moment this is a pretty low level command; however (look in 
core-pos) you can set some MP variables if needed

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: modules again

2003-03-26 Thread Hans Hagen
At 10:44 AM 3/26/2003 +0100, you wrote:
Hello Hans,

is it right that the modules filenames are limited to 8+3 chars? So

12345678
t-cdcover.tex
is not found but

12345678
t-cdcove.tex
is?
indeed, but you can map longerones (see cont-fil.tex)

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] Backgrounds

2003-03-25 Thread Hans Hagen
At 07:52 PM 3/24/2003 +0100, you wrote:

Actually I did have a look at it (assuming you're talking about
textbackgrounds), but I found their behaviour to be rather
different from that of backgrounds even when location=paragraph.
For example, setting frame=on doesn't give me a frame, and it
doesn't seem to support rounded corners for neither the background
nor the frame. Also, setting a largish offset covers the text
that precedes the background, and this isn't nice at all. I think
that textbackgrounds and backgrounds serve different purpouses.
And what about the other requests? (Behaviour at splits, different
corner styles)
\starttext

\setupcolors[state=start]

\definetextbackground[gb][state=start]

\startuseMPgraphic{mpos:par:columnset}
  for i := 1 upto nofmultipars :
fill multipars[i] enlarged 5pt cornered 5pt withcolor green ;
draw multipars[i] enlarged 5pt cornered 5pt withcolor red ;
  endfor ;
\stopuseMPgraphic
\input tufte \blank
\starttextbackground[gb]
\dorecurse{10}{\input tufte \par}
\stoptextbackground
\blank \input tufte
\stoptext

they split, can have corners, lay behind the text, ...

only some spacing issues need to be solved (working on that on and off)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: Re[3]: [NTG-context] Using MetaPost graphics in ConTeXt

2003-03-25 Thread Hans Hagen
At 10:07 PM 3/24/2003 -0500, Gary Pajer wrote:

I've tried to resist, but I have to ask.  Why not write a simple batch file
that runs MetaPost *and* changes the extension?  That's what I do. ... Are
you processing several MP scripts in one file ??


Remembering that i did look into it long ago, i took a look in the core-fig 
file; now, if you really want this kind of support, open core-fig.tex and 
search for:

  % new, test first

uncomment the doifnumberelse lines and you'll have the support needed (a 
new format needs to be generated)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Using MetaPost graphics in ConTeXt

2003-03-25 Thread Hans Hagen
At 08:16 PM 3/24/2003 +0100, you wrote:

The macro \calculateexternalfigure seems to set the extension to empty
if the figure file name is the same as the jobname:
   % redo message, only filename
   \doifparentfileelse\@@effilename
 [EMAIL PROTECTED]@EA{\jobsuffix}\figuretypes
  \let\@@efextension\empty
  \showmessage\m!figures9\@@effilename
  \donefalse}
 \donothing
(core-fig.tex)

Therefore it does not search for your nonstandard extension.
the search for graphics is kind of fuzzy and dates from the time that we 
were still using dvi (different backends)

- without suffix: try the best quality (depends on spec driver support)
- with suffix: try that first, else locate alternative
- same as parent file: try to avoid circular loading (keep in mind that tex 
code can be a graphic, i.e. buffers can be scaled)

- all these are combined with a search over several paths, utilityfile, etc

also, most of this is overloaded when using figure databases -)
Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Q:Font ... not found

2003-03-25 Thread Hans Hagen
At 10:38 AM 3/25/2003 +0100, you wrote:
On Monday 24 March 2003 21:45, you wrote:
Ahhh, I found and installed cm-super. What a treat.

 in a couple of months there will be the non virtual much smaller type 1
 latin modern (lmr)
Will this be included with texlive 8?

I can hardly wait...
the font will be presented at the coming dante meeting and will probably 
end up in the next tex live (as it happens, there will a meeting there 
about distributions as well)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[3]: [NTG-context] Backgrounds

2003-03-25 Thread Hans Hagen
At 11:43 AM 3/25/2003 +0100, Giuseppe Bilotta wrote:

Ok, I start to see the picture: one must use MetaPost. I can
accept that :) (even if it's somewhat clumsier, but this is no
problem, one can write interfaces for that).
actually, it's handier once you get going; otherwise you would be limited 
to simple frames and backgrounds, simply because we would run out of 
keywords for options and/or forget to documen them; i expect to provide a 
library of backgrounds in due time

The problem is still that I cannot separate the behaviour at the
end of the background from the behaviour at a split. What I'm
looking for is something like this:
guess what, this time your demands for features are fulfilled on forehand!

there is an array available

  multilocs[...]

1 = top
2 = mid
3 = bottom
shape; this is how i could handle the example in details with different 
shades per kind of frame

Can the first effect be achieved?
as said,

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[4]: [NTG-context] Backgrounds

2003-03-25 Thread Hans Hagen
At 03:36 PM 3/25/2003 +0100, you wrote:
Tuesday, March 25, 2003 Hans Hagen wrote:
The problem is still that I cannot separate the behaviour at the
end of the background from the behaviour at a split. What I'm
looking for is something like this:
HH guess what, this time your demands for features are fulfilled on forehand!

HH there is an array available

HHmultilocs[...]

HH 1 = top
HH 2 = mid
HH 3 = bottom
HH shape; this is how i could handle the example in details with different
HH shades per kind of frame
Almost perfect! Only a few things need refining:

(1) top is also used when there is no split; it should be
possible to detect the no-split situation (multilocs=0?)
(hm, would not be upward compatible)

2 can be used for that

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] color band

2003-03-25 Thread Hans Hagen
At 08:31 AM 3/25/2003 -0700, you wrote:

\defineoverlay[backgr][{\externalfigure[elements2.eps]}]
\setupbackgrounds[page][leftedge][background=color,
  background=backgr,
  backgroundcolor=green]
,background={color,backgr},

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: color band

2003-03-25 Thread Hans Hagen
At 06:14 PM 3/25/2003 +0100, you wrote:
Idris S Hamid [EMAIL PROTECTED] writes:

Hello Idris,

 But what about overlays over color. They still don't work:

There are two problems here. First, say background={color,backgr}
with setupbackgrounds. But this won't help ;-) since the
setupbackground is sometimes a bit strange (see below).
I bet the leftedge is 0pt (test with showmakeup or my t-layout
module, say \ShowModule[showmore=1]) so you won't be able to see
anything colored.
\setupbackgrounds[text][leftmargin][background={color,backgr},
  backgroundcolor=green]
When you use \setupbackgrounds[page]... you access the whole page
(!). Not just any margin or textarea. So there you probably need some
metapost hacking (easy) in order to get your green side. See the
metafun manual or my page.pdf.
it may help to know that there is a predefined path OverlayBox:

\startuniqueMPgraphic{myback}
  fill OverlayBox withcolor red ;
\stopuniqueMPgraphic
or

  fill OverlayBox enlarged 2pt withcolor red (for a bleed)

or

  fill OverlayBox leftenlarged 3pt ...
  setbounds currentpicture to OverlayBox
or

 StartPage ;
   ...
 StopPage ;
 if needed : setbounds currentpicture to Page ;

also, you can say:

  \setuplayout[clipoffset=3pt]

to get nicely clipped pages

Hans



-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Q:Font ... not found

2003-03-24 Thread Hans Hagen
At 12:57 PM 3/23/2003 +0100, you wrote:
Running `texexec --pdf Skript.tex` I get a couple of warnings like the
one below
Warning: pdfetex (file eccc1000): Font eccc1000 at 720 not found

and the file uses some replacement fonts that look unbearably ugly.

How can I fix this?
looks like you're using some eccc* font, whichis unfamiliar to me; did you 
set up that font yourself?

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] Using MetaPost graphics in ConTeXt

2003-03-24 Thread Hans Hagen
At 11:27 AM 3/24/2003 +0100, Giuseppe Bilotta wrote:
Monday, March 24, 2003 Johannes Hüsing wrote:
 I'm trying to use some MetaPost-generated graphics with ConTeXt,
 but I seem to be unable to do so. I have a file test.1 in the same
 directory as the ConTeXt source, which is as minimal as:

 \starttext
 \input tufte
 \placefigure[left]
 {Esempio di settore circolare}
 {\externalfigure[test.1]}
JH \useexternalfigure[prova][test.1][width=450pt] % the last one is optional
JH \externalfigure[prova]
Doesn't work either. Fails with the same errors. Again, it works
correctly by changing the extension.
A possible reason for the error is that the name of the tex file
is the same as the name of the figure file (test), because ConTeXt
*does* check for this, and this is where it chooses not to handle
the picture. Given that the same file works if the extension is
mps, I can't understand why it refuses to do the job when the
extension is different, and still different from .tex and .pdf
or xml or the yet to be invented superior coding standard 'number one' with 
suffix 1



Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Backgrounds

2003-03-24 Thread Hans Hagen
At 03:37 PM 3/24/2003 +0100, you (GB) wrote:
Hello,

I would like to discuss a few points about backgrounds
(\startbackground ... \stopbackground).
Got you! Did you read details.pdf? It's all in there, you can hook in your 
own graphics, it works with columnsets, in graphics, tables, nests quite 
well, is layered, classes, and more. (\startbackground will be there for 
old times sake).

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Q:Font ... not found

2003-03-24 Thread Hans Hagen
At 09:19 PM 3/23/2003 +0100, you wrote:
Replying to my own post:

From: Marko Schuetz [EMAIL PROTECTED]
Subject: [NTG-context] Q:Font ... not found
Date: Sun, 23 Mar 2003 12:57:21 +0100 (CET)
 Running `texexec --pdf Skript.tex` I get a couple of warnings like the
 one below

 Warning: pdfetex (file eccc1000): Font eccc1000 at 720 not found

 and the file uses some replacement fonts that look unbearably ugly.

 How can I fix this?
Ahhh, I found and installed cm-super. What a treat.
in a couple of months there will be the non virtual much smaller type 1 
latin modern (lmr)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Fonts again in ConTeXt

2003-03-22 Thread Hans Hagen
At 07:05 PM 3/21/2003 +0100, you wrote:

Used for substituion, I guess. pdftex will include those then. I
takes metrics from p* and includes u*.
it may be more complicates, esp if there wre virtual fonts involved, in 
which case tex uses a file abc.tfm and pdftex (dvips) also uses a vf file 
def.vf ; it's for this reason that i let texfont use the same names 
prefixed with raw, so that at least i *know* what happens without the need 
to look into the tfm/vf files

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] table page breaking

2003-03-22 Thread Hans Hagen
At 10:47 PM 3/21/2003 +0100, you wrote:

! Missing } inserted.
inserted text
}
to be read again
   \halign
\begintbl ... \rowTBL \tabskip \zeropoint \halign
seem like you try to put something vertical into something horizontal, 
maybe adding \endgraf or \vbox'ing helps

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] MetaPost/Fun question

2003-03-22 Thread Hans Hagen
At 09:59 PM 3/22/2003 +0100, you wrote:
Hello,

I would like to know if it is possible in MetaPost (in particular
MetaFun) to get all the possible intersection points of the paths,
with some kind of simple command, with a syntax like, say:
A[] := path1 intersections path2

(where the resulting list could be either a list of points or a
list of time pairs, like for intersectiontimes).
Another possible syntax could be

path3 := path1 intersections path2

which would give a path for which times 0, 1, 2, 3, ... give the
first, second, third, fourth, ... intersection point.
Anything like this?
not that i know, but assuming that those path have some distance, i can 
imagine dividing a path in parts and determining the intersectionpoints iof 
the pieces;

delta := .25 ;

for i=0 step delta upto length(p)-delta :
  if intersection_found(1,subpath(i,i+.1) of p) :
store point
  fi ;
endfor ;
.

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] references and mis-ordering

2003-03-22 Thread Hans Hagen
At 09:19 PM 3/22/2003 +, you wrote:
hi folks.

I'm still in the process of debugging this (so details and a minimal
example aren't ready yet), but I'm wondering if anyone knows of
circumstances that would cause table and figure numbers to be out-of-
order and swapped.
For example, the numbers from my \placelistoftables run in this order:
8.1  8.2  8.3  8.4  8.5  8.6  8.7  8.5  8.9  8.10 8.11 8.12 8.10
   ***  
you mean that there are duplicates?

While \placelistoffigures gives
8.1  8.2  8.3  8.5  8.8  8.6  8.7  8.8  8.9  8.13
***  
This is disturbing and hard to debug. The person whose thesis this is
hm, sounds new to me, this random ordering

I'm trying to avoid panic, but the doctoral thesis where we're running
into this needs to be bound on thursday. :)
do you run the latest version?

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: latest Beta

2003-03-21 Thread Hans Hagen
At 08:25 AM 3/21/2003 +0800, you wrote:

Sorry, cut and paste error (I added the comma on line 21).  The
underlying error is still there
in that case i need a minimal file showing the problem

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Caption size of math

2003-03-21 Thread Hans Hagen
At 10:37 PM 3/20/2003 +0100, Mikael Persson wrote:
Hello everybody!

I use a ConTeXt beta that is a week old or so on teTeX.

When I change the caption size to small with

\setupcaptions[style=small]

I get small text as I want, but the size of math in captions are at the
normal size. How should I do to get even the math in the smaller font?
\setupcaptions[style={\switchtobodyfont[small]}]

this does a complete (and therefore slower) font change than the text only 
'small' (which equals \tx);

there is a also a shortcut defined with \definealternativestyle (font-inj), 
which means that

style=smallbodyfont

should also work ok

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] alternative setting of comments

2003-03-21 Thread Hans Hagen
At 09:35 AM 3/21/2003 +, you wrote:
I was wondering if anyone who works with the verbatim environments has
tried to set comments in a different style. It would be ideal to be able
to set comments in \tf text font or some variant. I'm not really
interested in colors at the moment.
The immediate need is for working with a Pascal-like language, but I've
been a bit baffled as to how to grab and process XML comments also
(though I haven't look at that recently).
\starttext

\setuptyping[option=TEX]

\starttyping
test test %%\ N {\sl test}
\stoptyping
\stoptext

So, %%\ triggers some kind of mode (see verb-ini.tex for details and examples)

Another way is:

\setuptyping[option=slanted]

\starttyping
test test test test
\stoptyping
There is yet another way but i just found out that it has a problem (seems 
that i never use it)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: latest Beta

2003-03-21 Thread Hans Hagen
At 10:24 AM 3/21/2003 +0100, Patrick Gundlach wrote:
Hans Hagen [EMAIL PROTECTED] writes:

Hello,

Sorry, cut and paste error (I added the comma on line 21).  The
underlying error is still there

 in that case i need a minimal file showing the problem
I am not Guy Worthington, but I had a (non successful) look at it and
this is my testing file:
==
\setuphead[chapter]
  [alternative=command,
   command=\ContentsHead]
\def\ContentsHead#1#2%
  {\framed [width=\hsize]{\doifelsenothing{#1}{a}{b}}}
\starttext
\chapter {Berend}
\stoptext
==
Ah, this is beause \ContentsHead gets a truckload of rubish passed (add 
\showargument{#1} and you see what i mean) and this confuses tex when 
testing things (if..else in argument); even if i would solve this, other 
*user) code could mess up things; this is why we have (inside a head):

  \doifmodeelse{*sectionnumber}

or alternatively: \doiftextelse for content testing

(btw, sorry that i didn't yet answer your question about the numbering)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: setuphead(s), subject, alternative=inmargin

2003-03-21 Thread Hans Hagen
At 02:02 PM 3/21/2003 +0100, you wrote:

Probably Hans comes up with some magic, but this might work as well.
there is the magical command \margintext

I leave it to patrick to explore the following:

\starttext

\margintext{patrick}
\margintext{who's that}
\input tufte

\margintext{patrick}
\stackposdown \margintext{who's that}
\input tufte

\setupinmargin[2][line=2]

\margintext{patrick}
\margintext{who's that}
\input tufte

\stoptext

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: setuphead(s), subject, alternative=inmargin

2003-03-21 Thread Hans Hagen
At 03:42 PM 3/21/2003 +0100, you wrote:
Hans Hagen [EMAIL PROTECTED] writes:

Hello Hans,

 I leave it to patrick to explore the following:

 \starttext

 \margintext{patrick}
 \margintext{that's me}
Well, I was playing with this before (while looking for the answer for
Mathias), but I did not get any margintext. Now I know that it works
only when there is some text associated with it.
I didn't get any margin macro to work in \MyHead (tried
\inleft,..). But I didn't feel like looking for the reason (yet).
you're lucky: a few days ago i added a key: margintext=yes to the setuphead 
command that will enable flushing of margin texts

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Latex Fonts as per adobekb.tex

2003-03-21 Thread Hans Hagen
At 10:43 AM 3/21/2003 +, Nigel King wrote:

Patrick has lead me to the delights of Latex Fonts via his script
adobekb.tex which works well for most of my existing documents.
btw, these are not latex fonts, but fonts conforming to the berry 8 char 
naming scheme (plain, amstex etc also can use them)

However, I have a small problem with graphs in metapost the following
startup is used but the fonts for the scales do not come out.
\startMPenvironment 

input metafun ;

verbatimtex
\usetypescriptfile[adobekb]
\setupencoding [default=8r]
\usetypescript[adobekb][\defaultencoding]
\usetypescript[times][\defaultencoding]
\setupbodyfont[times]
\starttext
etex
input graph
init_numbers
(textext($-$),
textext($1$),
textext(${\times}10$),
textext(${}^-$),
textext(${}^2$));
Fe_base := textext($10$) ;
prologues:=2;
 use m-graph instead

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: setuphead(s), subject, alternative=inmargin

2003-03-21 Thread Hans Hagen
At 04:27 PM 3/21/2003 +0100, you wrote:
Hans Hagen [EMAIL PROTECTED] writes:

Hello,

 you're lucky: a few days ago i added a key: margintext=yes to the
 setuphead command that will enable flushing of margin texts
And how shoud it be used?

\setuphead[...][margintext=yes,command=MyHead]

\def\MyHead#1#2{\margintext{#1,#2}}  is not the way to go, is it?
no, it's just flushing previous ones; maybe the next solution will prevent 
a sleepless night:

\starttext

\setuphead
  [subsubsection]
  [alternative=text,distance=0pt,command=\MyHead]
\def\MyHead#1#2{\inleftmargin{#1 #2}}

\subsubsection{patrick}

\input tufte

\stoptext

normally text will put the head in from of the text, so here we let the 
command lap it to the left; of course we need to nil the distance; so, 
actually it fits will into the normal configuration.

so, if you cook up a nice keyword for this alternative, i will show you how 
easy it is added as alternative -)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] reusing metapost graphics

2003-03-20 Thread Hans Hagen
At 03:26 PM 3/20/2003 +0900, you wrote:
Hi:

I'm designing a year's worth of English lessons for some Japanese kids, 
and I'm using Metapost and ConTeXt to generate flashcards for vocabulary 
training.  I have a few questions:
(1) I want to keep my Metapost figures defined in a ConTeXt environment 
file so that I can recall them as I need in future lessons.  Is there 
anything wrong with this approach?
sounds ok to me

(2) How do I make a Metapost figure defined in a ConTeXt file reusable? Do 
I need to wrap the definition of the figure in a macro so that the figure 
is recreated everytime I need it?
see patricks answer; in addition to that: external figures are reused by 
default

\startreusableMPgraphic{abc}

\stopreusableMPgraphic

\placefigure{]{\reuseMPgraphic{abc}}

will also be reused

(3) With \useMPgraphic, is there any mechanism to scale the image as with 
\useexternalfigure?
see patricks answer

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] table page breaking

2003-03-20 Thread Hans Hagen
At 08:59 PM 3/19/2003 +0100, you wrote:
Is there support for automatic page breaking for long tables in
current ConTeXt (ver: 2003.3.4)?
Simon and I noticed that long tables don't break automatically to the
next page but nstead are simply cut at the end of the 'first' page.
tabulate will break

table will break when asked for

bTABLE will break when split=yes

linetables will break horizontally and vertically

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Emacs color definitions for ConTeXt

2003-03-20 Thread Hans Hagen
At 01:55 PM 3/17/2003 +0100, you wrote:
Thanks to Hans and Giuseppe for your fast reply.

For all emacs users I included a file, which contains the context color
definitions of rgb.txt. Select the menu Edit-Text Properties-Display Colors
and take a look. You may find it useful.
after a bit of editing i added it to the distrubution as

  colo-ema

so, \showcolor[ema] will bring up this nice (huge) list

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Correspondence Manual

2003-03-20 Thread Hans Hagen
At 10:46 AM 3/20/2003 -0500, you wrote:
Hello Hans and all,

   I cannot find the Correspondence manual at the Pragma site 
(xcorresp.pdf, I
think, should be the name). Are those macros not available or out of date?


work in progress (the manual is half finished and laying on my desk for 
finishing)

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] latest Beta

2003-03-20 Thread Hans Hagen
At 08:48 PM 3/20/2003 +0800, you wrote:

color : system rgb is global activated
check  : missing or ungrouped '=' after 'textstyle' in line 21 
(@@kocha
pter)
how about this error?

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: table and MPpositiongraphic

2003-03-19 Thread Hans Hagen
At 09:19 AM 3/19/2003 +0100, you wrote:

 btw, the textbackground features work ok in tables as well, so in a
 way this kind of things are no longer needed, unless you want to span
 cells in complicated ways
you mean with the \definepositionframed macro?
right.

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Floats in Columnsets

2003-03-19 Thread Hans Hagen
At 12:57 PM 3/19/2003 +0100, Michal Kvasnicka wrote:
Dear Sir Hagen,

I know you are writing the complete manual for the columnsets, nonetheless I
dare to bother you in advance. What are options for telling floats to what
column, line and page they should go? I hade some examples from you, but I
lost it when my harddisc crashed. Can you help me?
\placefloat[btrl]{caption}{figure}

btlr == flush from bottom to top starting in the left column going to the 
right

you can deduce the rest of the flushers from this;

then there is 'here' fixd' as well as 'fxtb:2' for something in the second 
column as well as fxtb:2*3' for something in column 2 row 3

that's about it; spanning happens automatically (also over spreads if 
needed) (there are special commands for spreads and so)

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Footnotes at the end of sentences

2003-03-19 Thread Hans Hagen
At 11:03 AM 3/19/2003 +, you wrote:
Style gurus,
I am sure there are some experts here. At the end of a sentence I think it
is normal for a footnote to be after the full stop. When this is done the
spacing to the next sentence is not very large, it certainly doesn't look
very good to my eye.
... End of sentence with footnote.\footnote{This is the footnote.} The next
sentence.
What is the recognized way of sourcing this.
\footnote{...}\ The

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: 8r vs. ec vs. texnansi

2003-03-19 Thread Hans Hagen
At 10:54 AM 3/19/2003 +0100, you wrote:

 I'm sure others can give better examples, and explain why the
 wordbreaking doesn't work correctly.
Because of the \accent macro???
it's indeed this primitive or any kern/skip/penalty/box that stops the 
hyphenation process

so, your patterns should match the encoding (some languages have multiple 
patterns, for instahce czech has patterns for il2 and ec, and context can 
load multiple patterns per language and switch accordingly)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Margin rules

2003-03-18 Thread Hans Hagen
At 07:19 AM 3/18/2003 +0300, you wrote:
Mon, 17 Mar 2003, Hans Hagen wrote:

HH Can you download the latest beta? It now has a module m-plus:

Well, this module loads two files: plus-rul.tex, and plus-page.tex.
The second file is absent. Is it correct?
Indeed. Plus-pag is something real funny and has to do with arbitrary 
pagebody construction (some old code i found on my disk and i integrated it 
as a plug in into the otr a few days ago); i'm still not sure if i should 
post it. (actually, i have much more code laying around which some day will 
make it into context)

By the way,  I think that 'changelog' file in the distribution will
be very helpful. Things are moving so fast in ConTeXt...
I leave that to others, since i'm running out ot time -)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Emacs color definitions for ConTeXt

2003-03-18 Thread Hans Hagen
At 09:05 PM 3/17/2003 +0100, you wrote:
On Mon, Mar 17, 2003 at 01:55:54PM +0100, Peter Rolf wrote:
 For all emacs users I included a file, which contains the context color
 definitions of rgb.txt. Select the menu Edit-Text Properties-Display 
Colors
 and take a look. You may find it useful.

Actually these are the color names of the X window system.  It is nice
to have them in context too.
Actually they are defined,

\starttext

\setupcolors[state=start]

% \setupcolor[xwi] % loads a color range

\showcolor[xwi]

\stoptext

but ... i found out that i never added the colo-xwi file to the 
distribution, so here it is. I also adapted colo-run to show a specific set 
of colors.

Hans 

simon.zip
Description: Zip archive
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-


[NTG-context] Re: Font and index trouble (was Re: mathpple-a-like forConTeXt?)

2003-03-18 Thread Hans Hagen
At 09:50 PM 3/17/2003 +0100, you wrote:
[snip]

By the way: In 3.1, it still seems that the space after \index{...} is
eaten. Is this the way it should?
yes, since the index should precede the word it refers to and not get 
decoupled (i.e. a page break in between); an \index command will even hook 
into the next paragraph if needed

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] index term in term of a definition list

2003-03-18 Thread Hans Hagen
At 08:27 PM 3/17/2003 +0100, you wrote:

Does Context have something for stacks?
In what way? There is \pushmacro \popmacro cum suis; also, when you're 
taling about xml, you can save xml constructs either or not encapsulated in 
elements with additional attributes but i suppose that you already located 
that code -)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: ConTeXt beta installation issue

2003-03-18 Thread Hans Hagen
At 08:54 PM 3/17/2003 +0100, you wrote:

I would not like this. TEXMFLOCAL should survive through upgrades of
the distribution, VARTEXMF should not.
indeed; for similar reasons i have texmf-fonts (for commercial fonts) and 
texmf-project (for project we do for others)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: dashed horizontal line

2003-03-18 Thread Hans Hagen
At 10:21 AM 3/18/2003 +0100, you wrote:
Hans Hagen [EMAIL PROTECTED] writes:

Hello Hans and others,

[...]

draw
  origin -- (\MPvar{length},0)
  dashed evenly % change this to what you want
  withpen pencircle scaled \MPvar{linewidth}
  withcolor \MPcolor{\MPvar{color}} ;
the color does not work for me. \MPcolor{red} is OK and red alone is
OK but not \MPcolor{\MPvar{...}}.
\MPvar{color}

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \framed and \starttabulate

2003-03-18 Thread Hans Hagen
At 10:37 AM 3/19/2003 +0900, you wrote:
Hi:

I wanted to use
   \framed
   {\starttabulate ... \stoptabulate }
but when I tried it, TeX complained about groupings and missing 
parentheses.  Is there a way to make this work?  I switched to \bTABLE, 
and that worked,  but \starttabulate is more convenient sometimes.
a \framed by default makes a so called hbox, and this conflicts with 
tabulate's halign; the resulting message comes deep down in tex and is one 
of the most confusing ones; it should be interpreted as: you are doing 
something complicated vertical in horizontal mode

Solution: force \framed to be a vbox, by setting the width/height or 
setting the align key to some value

\starttext

% unreadable (watch how we nil the strut, try it with \showstruts)

\framed[align=normal,strut=no]
  {\starttabulate
   \NC test \NC test \NC \NR
   \stoptabulate}
% more convenient (kind of startframedtext, but more tuned to this kind of 
usage)

\defineframedcontent[mine][offset=3pt]

test

\startframedcontent[mine]
\starttabulate[|l|l|]
\NC test \NC test \NC \NR
\stoptabulate
\stopframedcontent
test

\stoptext

Also, compare this (spacing) with:

\defineframedcontent[mine][offset=3pt,linecorrection=yes]

test

\startframedcontent[mine]
\starttabulate[|l|l|]
\NC test \NC test \NC \NR
\stoptabulate
\stopframedcontent
test

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: layout of xsteps-p

2003-03-17 Thread Hans Hagen
At 06:55 PM 3/12/2003 +0100, you wrote:
Gregory Vanuxem [EMAIL PROTECTED] writes:

Hello Gregory and others,

  In fact just how have the margin or edge ??? in black (with footer
 end header),
as a help I have uploaded a small tutorial on [page]
backgrounds. See: http://levana.de/context/
I added this link to the others.htm page;

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] MetaPost problem

2003-03-17 Thread Hans Hagen
At 11:19 PM 3/14/2003 -0500, you wrote:
Maybe I made a mistake and deleted the real error messages. I am really 
sorry for that. Now I attach the whole log file here. Thank you for your 
patience.
You can patch:

SUPP-MPS.TEX:\newcount\MPobjectcounter
SUPP-MPS.TEX:  {\global\advance\MPobjectcounter\plusone
SUPP-MPS.TEX:   \setobject{MP}{\number\MPobjectcounter}\vbox
SUPP-MPS.TEX: 
\setxvalue{#1}{\noexpand\getobject{MP}{\number\MPobjectcounter}}}

(\count's instead of \counters)
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Bug in latest beta

2003-03-17 Thread Hans Hagen
At 01:10 PM 3/17/2003 +0100, you wrote:
Hello,

just got 2003.03.17 and found a small bug: the auto keyword is
put among constants, while it should go among variables ...
ok, made it a variable as well

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: ConTeXt beta installation issue

2003-03-17 Thread Hans Hagen
At 10:11 AM 3/17/2003 +0100, Gerben Wierda wrote:

Probably it tries to do some guessing itself instead of relying on existing 
settings. What might influence this is that my setup separates the texmf 
part that is related to binaries (like pool files that change when binary 
versions change) and the stuff that is the fondation (like ConTeXt, LATeX, 
etc). /usr/local/teTeX/texmf.cnf starts with:

% Our directory setup as explained in $SELFAUTOPARENT/share/README.gwtex
% TEXMFMAIN contains the TEXMF tree installed by make install of the programs
TEXMFMAIN = $SELFAUTOPARENT/share/texmf
% TEXMFTE contains the main TEXMF tree from teTeX
TEXMFTE = $SELFAUTOPARENT/share/texmf.tetex
% TEXMFGW contains GW specific defaults and additions
TEXMFGW = $SELFAUTOPARENT/share/texmf.gwtex
% TEXMFLOCAL contains any local system TeXadmin overrides
TEXMFLOCAL = $SELFAUTOPARENT/share/texmf.local
% $VARTEXMF is where texconfig writes its local settings
VARTEXMF = $TEXMFLOCAL
% User texmf trees can be catered for like this...
HOMETEXMF = $HOME/Library/texmf
% Our complete search path, the last three are searched through
% ls-R exclusively, which means that you have to run texhash
% after you have added, moved or deleted files in the tree
TEXMF={$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFGW,!!$TEXMFTE,!!$TEXMFMAIN}
In this case, there is a valid TeX setup, though uncommon because the 
separation of texmf into texmf and texmf.tetex. I need this separation to 
be able to update programs and foundation separately. A new foundation 
(texmf.tetex + texmf.gwtex) does not touch anything related to the 
binaries (like pool files) in texmf.
here i also have split trees:

# example setup file / hans hagen
#
# dos2unix setuptex
# . setuptex
# mktexlsr
# texexec --make --alone
TEXROOT=/usr/local/tex

export TEXROOT

PATH=$TEXROOT/texmf-linux/bin:$PATH

export PATH

TEXMFMAIN=$TEXROOT/texmf
TEXMFLOCAL=$TEXROOT/texmf-local
TEXMFFONTS=$TEXROOT/texmf-fonts
TEXMFPROJECT=$TEXROOT/texmf-project
TEXMFLINUX=$TEXROOT/texmf-linux
VARTEXMF=$TEXROOT/texmf-var
export TEXMFMAIN
export TEXMFLOCAL
export TEXMFPROJECT
export TEXMFFONTS
export TEXMFLINUX
export VARTEXMF
# the next lines fail on dec alpha os's, so there you need
# to comment them (bug traced down by kees van marle/martin
# corrino)
HOMETEXMF=
export HOMETEXMF
TEXMFCNF=$TEXROOT/texmf{-local,}/web2c
TEXMF='{$TEXMFLINUX,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,!!$TEXMFMAIN}'
TEXFORMATS=$TEXMFLINUX/web2c
TEXPOOL=$TEXFORMATS
MPPOOL=$TEXFORMATS
export TEXMFCNF
export TEXMF
export TEXFORMATS
export TEXPOOL
export MPPOOL
now, if you split off the bin tree, it makes sense to set TEXPOOL and 
MPPOOL explicitly; that way you can be sure that the binaries find them 
your way; the texmf files use these variables and copy them to the other 
relevant pool variables.

[i installed tex on a mac here, and there i have TEXMFMACOSX as well]

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Formula numbering and counter

2003-03-17 Thread Hans Hagen
At 01:19 PM 3/17/2003 +0100, you wrote:
Hi,

I would like to change the numbering of several formulae as follows:

mathematical expression  (1.1)
mathematical expression  (1.2a)  % here is
mathematical expression  (1.2b)  % the problem
mathematical expression  (1.3)
\placeformula   \startformula a = b + c \stopformula
\placeformula{a}\startformula a = b + c \stopformula
\placesubformula{b} \startformula a = b + c \stopformula
\placeformula   \startformula a = b + c \stopformula
\placesubformula{a} \startformula a = b + c \stopformula
\placesubformula{b} \startformula a = b + c \stopformula
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: Re[2]: [NTG-context] Re: layout of xsteps-p

2003-03-14 Thread Hans Hagen
At 12:05 AM 3/14/2003 +0100, you wrote:

\setupsectionblock[after=\hskip 1cm]
will probably fail since you're in vertical mode

\def\fsection#1{\section{\bf #1}\hskip1cm\relax}
hm, will fail as well,

configuring \setuphead[section] is probably better

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] (no subject)

2003-03-14 Thread Hans Hagen
At 07:06 PM 3/13/2003 -0600, Coydell Rivers wrote:
Someone please give me a heads upon the below

\definieerpapierformaat
  [CONTEXT]
  [hoogte=27cm,
   breedte=36cm]
\stelpapierformaatin
  [CONTEXT]
  [CONTEXT]
This gives a document size of ( 14.17 x 6.3 in )

The 6.3in is the problem, it is not a full page
What size do you want?

If you are able to get a full page, please send me the test code...
can you be s bit more specific (btw, are you running the dutch user 
intercface?)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Newspaper in ConTeXt?

2003-03-14 Thread Hans Hagen
At 01:07 AM 3/14/2003 +0100, you wrote:
I seem to recall from various discussions that ConTeXt has some
features that would come useful to typeset newspaper and similar
stuff (columnsets being one of them, IIRC). Are there example of
their usage, and possibly some kind of manual?
I'm currently in the process of reimplementing the styles of the dutch math 
society journal; which has lots of graphics, 2/3 column layouts, works on 
spreads, has spread spanning stuff, two typeface collections, some 15 
different categrories/styles, etc; this is also my test suite for the 
column set mechanism, and when i finished those styles (one to be done) 
i'll start documenting column sets ...

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Fonts again in ConTeXt

2003-03-14 Thread Hans Hagen
At 09:31 AM 3/13/2003 +0100, Patrick Gundlach wrote:

 the MAP-file is a nice place for the real font selection.

I agree with that. (Did you mean it this way?)
hm, i disagree -) unless you keep your map files with your specific styles 
/ projects

 How should i tell normal users that their font-selection from the
 document is overwriten since some stupid and wrong decisions have
 been made in the past.
That is easy: You don't have the real helvetica? Then your dvi
processor (or pdfTeX) switches back to a substitution. This is the
way every printer works, that don't have the Linotype fonts built in.
but, subsitutions means ugly results, which means ugly docs, which gives 
tex a bad reputation

1) the user: he or she requests the typescript [times][..]. What does
   he want? URW? Or what? IMO I request Times-Roman, and not a
   substitue.
This is a real tricky area, there are so many times out that if you are not 
specific and embed them (in graphics, docs, etc) you end up in troubles. We 
have a few thousand Corel Draw files, mae on a win95 machine long ago, and 
cannot even open them because the font names changed (distiller 2 accepted 
the eps, distiller 5 doesn't)

The way with current ConTeXt it is now: I ask for Helvetica and get
Nimbus Sans. There is no way around this.
unless you map the names alternatively, which you will do for us; just 
prepare the lot and we can discuss it in bremen

{if tex was less powerfull with math/fonts, live would be so much more easy]

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] module: t-layout now available

2003-03-14 Thread Hans Hagen
At 01:51 PM 3/14/2003 +0100, you wrote:
Dear ConTeXt hackers,

I have just uploaded a first version of my layout module. It
displays the layout of the current page as well as some dimensions.
Get it at http://levana.de/context/
Or directly at http://levana.de/context/layout/t-layout.tex
An example pdf is at http://levana.de/context/layout/testlay.pdf
Use it with \usemodule[layout]

and show the layout with \layout
I think it is best to name third party macros like \Layout, i.e. use 
capitals; or in this case (since you kind of reimplement context's 
\showlayout, call it \ShowLayout)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[4]: [NTG-context] Displayed material, again

2003-03-13 Thread Hans Hagen
At 06:04 PM 3/11/2003 +0100, you wrote:

HH \def\synchronizeindentation
HH{%
HH \doifvalue{\??dd#1\c!springvolgendein}\v!nee\noindentation
HH \doifvalue{\??dd#1\c!springvolgendein}\v!auto\noindent}
HH}%
HH
HH saves keying and also provides a hook
Right :) I expect to see it in the core for the next release! ;)
Ha, i found out that i already had a \checknextindentation in my cont-loc 
(for different purposes -)

anyhow, i'll provide you the hook

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[3]: [NTG-context] Displayed material, again

2003-03-13 Thread Hans Hagen
At 12:47 PM 3/11/2003 +0100, you wrote:

=== BEGIN PATCH ===
\startvariables all
auto: auto
\stopvariables
ok, added, does not hurt to have that key (althougj in this case 'display' 
i smore adequate

\def\@@stopdefinitie#1%
\def\stopitemgroup
\def\dostopformula
\def\dostoptyping#1%
simple test replaced by \(do)checknextindentation

CORE-ITM.TEX:
CORE-MAT.TEX:
CORE-MIS.TEX:
CORE-SEC.TEX:
CORE-SPA.TEX:
CORE-VER.TEX:
PAGE-ONE.TEX:
PAGE-SET.TEX:
before that). Hans, can we hope for this to go into the core for
the next beta?
i'll upload a beta for you to test

Note: while I think it should be done for quotations as well, this
seems to be a feature in development so I won't touch it for
now.
added anyway

also, auto invokes \autoindentation, so for the moment you have to hook you 
rown code in there (\relax by default)

[later i will look into a proper display something; needs to work ok with 
the nex par hooks in cont-new]

happy indenting

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[5]: [NTG-context] Displayed material, again

2003-03-13 Thread Hans Hagen
At 10:36 AM 3/13/2003 +0100, you wrote:
Wednesday, March 12, 2003 Hans Hagen wrote:

Right :) I expect to see it in the core for the next release! ;)

HH Ha, i found out that i already had a
HH \checknextindentation in my cont-loc
HH (for different purposes -)
HH anyhow, i'll provide you the hook

Even better, put the indentnext=auto code in the core :)
don't hurry too much, if you define yourself a \autoindentation macro 
you'll have indentnext=auto

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Fonts again in ConTeXt

2003-03-13 Thread Hans Hagen
At 09:54 AM 3/13/2003 +0100, you wrote:

It is not a matter of having gs installed or not. Since TeX is just
looking for the tfm files, you need them. But is there any TeX System
with the tfm file for the urw variants besides TeXlive? TeTeX doesn't
have 'em and teTeX is widely distributed.
so we have to convince thomas/sebastian/fabrice/gerben to add them


The pfb files from urw are shipped with TeXlive and TeTeX.
what is the use of pfb's without the tfm's

 hm, but you can of course make a typescript: berry-adobe

Then the mapping (internally) would be

Helvetica - uhv... - phv

I think that this is a useable workaround.
or directly Helvetica - phv by an typescript that overloads

 OK. I'll do so. I guess I name it adobekb.

ok
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Fonts again in ConTeXt

2003-03-13 Thread Hans Hagen
At 10:07 AM 3/13/2003 -0500, you wrote:
On Thursday 13 March 2003 07:37 am, Hans Hagen wrote:

(snip)
Is it possible to take a deep breath and go back to the starting point, the
TeX primitive \font? It allows one to name a specific font as listed in e.g.
psfonts.map or some other designated mapping file. Control is absolute. You
specify the font and if it is listed and installed you get it, in the size
you specify.  As a practical matter I seldom need a font in  more than two
sizes, and if I do then I can just dupe the \font statement, change the name
and change the size parameter. Unfortunately Context has a much more
elaborate, indirect and confusing (to me at least) mechanism embedded.
Now, starting from this \font base, how do we add features without losing
simplicity and basic control?  Stated another way, how can one create
\font statements and alias them into the Context font handling system without
too much grief?
\definefont[whatever][somename at somesize] \whatever

[or slightly more extensive (see chinese, symbols etc, for adaptive 
definitions)]

Fonts are the most troublesome aspect of TeX in all versions, from plain
TeX on forward.  The mission is not to add complexity, difficulty and
confusion but to reduce them. We need a simpler way to install fonts and a
simpler and more direct way to call for them.
IMHO of course.
If you stick to english, fonts are less a problem since you can stick to 
tex's default encoding or whatever is at hand; however, it happens that 
most of us use more extensive char sets, and that each language has its own 
patterns, encodings, alternative glyphs etc.

Also, as soon as math shows up, one needs a consistent sub subsub system, 
so this adds to the complication.

And then, users want to combine fonts from different verdors, so we get 
typefaces (in context) and relative scaling, and specific interlinespace, 
and ... and ...



Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] layout of xsteps-p

2003-03-13 Thread Hans Hagen
At 02:00 PM 3/13/2003 +0100, you wrote:
Another thing, if i rebuild format for mptopdf (under MikTeX)
pdftex complain about :
loading : Context Support Macros / PDF
) (C:\MiKTeX\tex\context\base\supp-mpe.tex
loading : MetaPost Special Extensions
! Undefined control sequence.
l.536 \appendtoks
some old supp-mis is messing things up

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] s-mag-01

2003-03-12 Thread Hans Hagen
At 03:02 PM 3/11/2003 +, you wrote:

So I'm not sure whether I should release it as-is, or if I should wait
for texfont to change.
just release it and update it when i did the patch (which actually reminds 
me that i need to patch; sorry, too busy catching up with stabelizing some 
nasty features)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] table and MPpositiongraphic

2003-03-12 Thread Hans Hagen
Hi Patrick,

while browsing thru the source and trying some examples, I can't
sensible output of the following code. (No MP stuff is visible)
right, this is because it's old crappy code; and so you got me in debugging 
mode again

\setupcolors[state=start]

\starttext

\def\cw#1{\color[white]{#1}}

\startMPpositiongraphic{tableshade}
  initialize_area(\MPpos{\MPvar{from}},\MPpos{\MPvar{to}}) ;
  color c ; c := \MPvar{color} ;
  linear_shade(pxy,0,.4c,.9c) ;
  anchor_area(\MPanchor{\MPvar{from}}) ;
\stopMPpositiongraphic
\setMPpositiongraphic{b:x}{tableshade}{from=b:x,to=e:x,color=red}
\setMPpositiongraphic{b:y}{tableshade}{from=b:y,to=e:y,color=green}
\setMPpositiongraphic{b:z}{tableshade}{from=b:z,to=e:z,color=blue}
\starttable[|c|c|c|]
\GFC[b:z] \cw{this is a small}  \NC   \cw{table}\NC in 
which we  \NC \FR
\NC   \cw{will demonstrate} \GFC[c:y] \cw{that this}\GTC[c] 
\cw{positioning} \NC \MR
\GSC[a:x] \cw{mechanism also}   \GTC[b]   \cw{works quite well} \NC in 
tables\NC \LR
\stoptable

\stoptext

so, \startMPpositiongraphic is now named and handles vars

btw, i leave it to you to figure out the \XC alternative (which is a nicer 
way of coding)

there are a few more places where this kind of old code shows up (which is 
one reason why it's in the comments and not in manuals); last week i fixed 
something in a presentation style -) This kind of code is now reaching a 
more stable state because it's quite extensively used in some of the 
projects that we're involved in (i can show you some of the coding in 
bremen if you're interested; this kind of things is needed to make dtp 
competing/beating styles and it's a slow process to make the mechanisms 
programmable and the code readable)

btw, the textbackground features work ok in tables as well, so in a way 
this kind of things are no longer needed, unless you want to span cells in 
complicated ways

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Mac input encodings

2003-03-12 Thread Hans Hagen
At 11:06 AM 2/24/2003 +, you wrote:
Hi all,

Prompted by this weekend's discussion of input regimes, I took a look at
the one for the Mac's Western encoding (initiated by Michel Bovani), and
hopefully revised it to be nearly complete for characters (missing four
in the range 128-255). Mac users might like to take a look at this file,
and verify that it does what I suggest.
Usage: put the attached regi-mac.tex in your path, and either rebuild
your format files (i.e., texexec --make ...), or explicitly \input this
file in your source. Add the line \enableregime[mac] to your source.
Type søme tèxt with «aççents» ånd öther odd characters.
I replaced the old regi-max by this one (minus the table)

Does it work?
dunno since i didn't put it on the mac yet (working on a pc now) -)

concerning the rgime table:

\starttext

\def\showregime
  {\dosingleempty\doshowregime}
\def\doshowregime[#1]%
  {\bgroup
   \iffirstargument\enableregime[#1]\fi
   \starttabulate[|l|l|l|]
   \dostepwiserecurse{128}{255}{1}
 {\expanded
{\scantokens
   {\NC \recurselevel
\NC \rawcharacter\recurselevel
\NC \noexpand\tttf
\noexpand\meaning
\rawcharacter\recurselevel \NC \NR}}}%
   \stoptabulate
   \unskip
   \egroup}
\showregime[mac]

\stoptext

I've added this macro to context (enco-run, i.e. a runtime macro)
Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Mac input encodings

2003-03-12 Thread Hans Hagen
At 04:30 PM 2/25/2003 +0300, Victor Figurnov wrote:

I corrected Adam T. Lindsay's regi-mac.tex file (see the attachment).
Also I changed input characters to their codes -- it seems to be more
reliable.
ok, patched, \showregime[mac] now looks pretty complete

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] typesetting chapter--label for cross references

2003-03-12 Thread Hans Hagen
At 04:25 PM 2/24/2003 +0800, you wrote:
I'd like to display a cross reference, using a en-dash to separate the
chapter number from the text being cross referenced.  In the example
below, if you look at label attached to the example caption A Sample
XML file, you'll see that it is typeset as
Example~1--1

however if you look at the cross reference to the example, it is
typeset as
   Example~1.1

how do I change the period (.) separator in the cross reference to an
en-dash separator (--).
-

\defineenumeration
 [example]
 [location=serried,
  text=Example,
  before=\blank,
  after=\blank,
  way=bychapter,
  style=italic,
  separator=--]
\starttext

\chapter{One}

\in{Example}[ex:Simple-doc] has the chapter number separated from the
example number by a period, and not an en-dash.
\example[ex:Simple-doc] A Sample XML file

\startXML
?xml version=1.0?
?xml-stylesheet href=simple-doc.xsl type=text/xsl?
\stopXML
\stoptext
This is a mixture of a bug and feature. I'm not sure if the following patch 
is completely safe (so i'll have to test it for a while)

\unprotect

\def\preparethenumber#1#2#3% {\??id#1} \number \result
  {\doifelsevaluenothing{#1\c!scheider}
 {\let\numberseparator\empty
  \let#3#2}
 {\edef\numberseparator{\getvalue{#1\c!scheider}}%
  [EMAIL PROTECTED]@EA{#2  % hm, etex
\protect

the best way to handle sep's is

\definesymbol[MySep][--]

separator={\symbol[MySep]}

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: textext

2003-03-12 Thread Hans Hagen
At 11:19 PM 3/11/2003 +0100, Patrick Gundlach wrote:
Hans van der Meer [EMAIL PROTECTED] writes:

 Hi Hans

Well, I am not Hans, but perhaps I might add a comment:

 I am placing metapost figures in the text:

could you provide a small non-working example (that we can run thru
TeX)?
The following works fine here:

% interface=en output=pdf
\starttext
\def\mycommand#1{%
\startuseMPgraphic{somegraphic}
drawdot origin;
label.top(textext(#1, origin);
\stopuseMPgraphic
   \useMPgraphic{somegraphic}}
\mycommand{Hello Hans}
\stoptext
\setMPtext{some tag}{some text}

\startMPcode draw textext(\MPstring{some tag}) ; \stopMPcode

For Patrick who reads sources:

%D To be documented:
%D
%D \starttyping
%D \setMPtext{identifier}{text}
%D
%D \MPtext  {identifier}
%D \MPstring{identifier}
%D \MPbetex {identifier}
%D \stoptyping
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] problem with tables

2003-03-12 Thread Hans Hagen
At 11:26 AM 3/12/2003 +0100, Martin Kolarík wrote:
the problem occurs in the last beta too and it touches bTABLE. Both the next
conditions must be fulfiled to get an error:
1. aligncharacter=yes,alignmentcharacter={,} in setup (I used \setupTABLE)

2. grouping inside cell which is touched by setting defined in 1.
In the current release this works ok:

\setupTABLE[c][1][aligncharacter=yes]

\bTABLE
\bTR \bTD 123,0 \eTD \eTR
\bTR \bTD 13,0 \eTD \eTR
\bTR \bTD  3,0 \eTD \eTR
\eTABLE
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[5]: [NTG-context] sidebyside figures

2003-03-12 Thread Hans Hagen
At 03:00 PM 3/12/2003 +0100, you wrote:
Wednesday, March 12, 2003 Hans Hagen wrote:

HH hm, i now sometimes accept {bla,bla} things;

That's a good thing, even if I wonder how you could distinguish
between a vertical middle and a horizontal middle ... maybe we
need values hcenter and vcenter?
vertical middle is now: lohi (lowhigh) ]for instance in \framed and 
friends: align={lohi,middle}

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] layout of xsteps-p

2003-03-12 Thread Hans Hagen
At 03:51 PM 3/12/2003 +0100, you wrote:
Output of MetaPost !!!

This is MetaPost, Version 0.641 (MiKTeX 2.2) (preloaded mem=metafun
2002.10.21)  12 MAR 2003 15:44
**mpgraph
(mpgraph.mp
{randomseed:=3638}
! This can't happen (copy).
graphictextdirective-...phictextstring(EXPR2000)
interesting, maybe your mem values don't match the format values or so; do 
other miktex users have a this problem as well?

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Fonts again in ConTeXt

2003-03-12 Thread Hans Hagen
At 02:04 PM 3/12/2003 +0100, you wrote:

It is clearer: the first bit gives the encoding and the latter bit is the
name of the file containign the glyphs (uplr8a.pfb). OTOH since LaTeX already
creates a lot of font-mess, I do agree that there is no need to add more to
the trouble already there. I would like to see a few sym-links (does Windows
have something like that?) to add a few names to the tree to make sure
everything works as planned.
the tricky part is in slanted, extended and caps'd fonts, where there is no 
distinction between instances in psfnss, which is why context has more 
verbose names; also, most of the fonts we use here (in projects) are not 
free, not in the texmf tree, and i have no time (or spirit) to sort out how 
they should be reduced to 2+2+2+2 char names; so, this iw why the berry 
typescripts permit you to use the rare texmf-tree names, while additional 
fonts can follow the more verbose scheme (unless of course one sorts out 
the funny short name and names the fonts manually).

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] layout of xsteps-p

2003-03-12 Thread Hans Hagen
At 04:29 PM 3/12/2003 +0100, you wrote:
I don't know, it's the last version unmodified on Windows
but here is the log of texexec 3.1
looks like a miktex problem (if you make a minimal faling file i'm sure 
that one of the miktex context users will try it for you)

This is pdfeTeX, Version 3.141592-1.10b-2.1 (MiKTeX 2.2) (preloaded
format=cont-en 2003.3.12)  12 MAR 2003 16:25
entering extended mode
**reiserfs.tex
(reiserfs.tex{pdftex.cfg}
  

ah interesting, we have been using that for years now ithout troubles -)

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] sidebyside figures

2003-03-11 Thread Hans Hagen
Hi,

 The normal double column mechanism tries to place a graphic, stores it when
 there is no place, and flushes it as soon as possible.

 The \startcolumns mechanism works well intermixed with the standard one
 column mode.

 In your case, esp for vertical chinese, use columnsets:

 \startcolumnset

 \placefigure[tblr:1]{}{}
 \placefigure[tblr:2]{}{}

 \input tufte

 \stopcolumnset

 This will place the floats on top of the first and second column; an
 alternative usage is:

 \placefigure[tblr]{}{}
 \placefigure[tbrl]{}{}

 Think of tb meaning flush from top to bottom, and lr to mean from left to
 right; so, there are quite some ways to place/flush a graphic.
Thanks. It place the figures side by side correctly. But, there is another 
problem.
After the two figures, it force a page break and leave a large blank even 
though
the blank area can accommodate the next paragraph. I attached the test file
and waht I really want is:

One column texts
two figures sidebyside
One column texts
Well, here you run into the difference between columns and columnsets. 
Columnsets can be mixed with one column mode, but you need to balance 
(automatic balancing is pretty hard for complex columnsets, so this is not 
yet in the kernel, but manual balancing is (one can set the number of lines 
per column). However, it seems that you want something:

\starttext

\startbuffer

\startcombination
  {\externalfigure[cow][frame=on, width=3cm]} {\placefloatcaption[figure]{x}}
  {\externalfigure[cow][frame=on, width=3cm]} {\placefloatcaption[figure]{y}}
\stopcombination
\stopbuffer

\placefigure{none}{\getbuffer}

\stoptext

This special feature (separate captions) was introduced quite some time ago 
for Karel W so you should buy him a beer.

When testing this i foun dout that there is an error in the macro. A few 
days ago i added the 'distance' key to caption setups, and (of course) i 
didn't test that with free floating captions (unresolved intermediate 
macro). So, in page-flt you need to replace the following bit of trivial 
code:

\def\dodosetfloatcaption[#1][#2]#3% to do namespace for number/ascii
  {\ifnofloatnumber   % also handle trialtypesetting
 [EMAIL PROTECTED]@[EMAIL PROTECTED]
 [EMAIL PROTECTED]@[EMAIL PROTECTED]
   \else
 \verhoognummer[#1]%
 \maakhetnummer[#1]%
 \globallet\flhetnummer\hetnummer
 [EMAIL PROTECTED]@[EMAIL PROTECTED]
   {\dofloatreference
\redofloatorder{#1}%
\doschrijfnaarlijst{#1}{\flhetnummer}{#3}{#1}%
\doglobal\convertargument#3\to\flasciititle % \asciititle is global
\doifsomething{#2}
  {\rawreference\s!flt{#2}{{\flhetnummer}{\flasciititle}}}%
[EMAIL PROTECTED]@[EMAIL PROTECTED] nills
 [EMAIL PROTECTED]@[EMAIL PROTECTED]
   {\preparethenumber{\??kj#1}\flhetnummer\preparednumber
\doattributes{\??kj#1}\c!letter\c!kleur
  {\doattributes{\??kj#1}\c!kopletter\c!kopkleur
 {\labeltexts{#1}{\preparednumber}}%
   \doattributes{\??kj#1}\c!tekstletter\c!tekstkleur
 {\dotfskip{\getvalue{\??kj#1\c!afstand}}#3}}}% 
THIS LINE WAS WRONG
\fi}

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Table problem

2003-03-11 Thread Hans Hagen
At 08:50 AM 3/10/2003 +0100, you wrote:
Hi Hans,

I need to make a set of tables, which are quite simple. I wanted to use the
\starttable..\stoptable environment.
However I get very strange results in the last column (p-column)

Please have a look at the test.tex file.

Do I something in a wrong way or is there something broken?
as patrick pointed out: use p(dimension)

\starttable[|rw(1cm)|lw(3cm)|p(8cm)|]

you had something wp(8cm) and the funny w spoils things (probably takes 
prev one)

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] s-mag-01

2003-03-11 Thread Hans Hagen
At 05:15 PM 3/10/2003 -0500, Bruce D'Arcus wrote:
Just been playing a bit with the magazine style.  First, about this:

% This style is used for producing explanationary documents.
% Don't misuse it for other purposes, since it may confuse
% users. Don't change the title either, since it provides a
% way to categorize documents.
Hans, are you saying anyone using this to produce a document ought to keep 
the title specified in the style (which here seems to be {Zero Issue}?  In 
any case, this is confusing (at least to me)...
no, i mean the main title (* Way) shoul dremain unchanged.

Also, IIRC, shouldn't the grey border surround the entire page, and extend 
to the edge?  I am getting a thinner border in the shape of an L, with 
white space at the page edge.
works ok here, puzzled

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: lowerleftdoubleninequote

2003-03-11 Thread Hans Hagen
At 11:53 PM 3/10/2003 +0100, you wrote:
 What ist the correlation between 'punctuation', 'alpha' and 'def'

???

 hanging punctuation is the traditional simple model of - , ; : . and !
 hanging into the margin; pdftex goes beyond that and let's you hang any
 char into the margin, so this is why we speak of character protruding;

 fonthandling in context is currently used for hanging things but can be
 used for anything font related; the alpha, def etc setups are more or
less
 derived from my personal prferences, thanh's thesis etc What you use all
 depends on your taste
I have understand this, but I am still looking for docus to the
'fonthandler'-commands, becaus I don't
understand how this mechanism works.
The  reason, why I am interesting in fonthandlers, was: To correct the
lowerleftdoubleninequote-problem with cmr.
To be honest, I am asking myself why this is not working out of the box,
because cmr is TeX's standardfont.
in that case: grep the base path for guillemots since these are implemented 
by means of fonthandlers in the aer fonts; with regards to quotes, it may 
make sense to switch from cmr to aer; also, there is the latin modern 
coming, which will bring you all the quotes and chars you need [the latin 
modern family is officially launched at the next dante meeting]

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Table problem

2003-03-11 Thread Hans Hagen
At 07:38 PM 3/10/2003 +0100, you wrote:

To me this way of coding a table lacks logic. - However it works now.
this is the original TaBlE's way of doing things

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new version, new manuals, new files

2003-03-11 Thread Hans Hagen
At 03:22 PM 3/10/2003 +0100, you wrote:

www.pragma-ade.com/show-fil.pdf

 (made nicer, watch the new image archive),
this one is now really there

The mill.png in the cont-img.zip is broken. Gimp tells me that
i zipped and uploaded everything again

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib question

2003-03-11 Thread Hans Hagen
At 09:15 AM 3/11/2003 +0100, you wrote:
Am Dienstag, 11. März 2003 04:35 schrieb Bruce D'Arcus:
 IIRC, isn't it the case that texexec should take care of the bibtex run
 needed for mbib?  Am finding I need to run bibtex before texexec to get
 it to work...
To my knowledge, m-bib is not yet integrated in texexec.
you can do that in your tex doc with a call like:

  \installprogram{bibsomething \jobname}

I don't use bin things so i leave the right call to experts -)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] sidebyside figures

2003-03-11 Thread Hans Hagen
At 10:27 AM 3/11/2003 +0100, you wrote:

HH This special feature (separate captions) was introduced quite some 
time ago
HH for Karel W so you should buy him a beer.

Hey, I thought it was me who requested this feature? (I remember
needing it for side by side floating tables when it still wasn't
implemented ...)
actually, that was the moment it was cleaned up and moved from the 
particular style to the core files; the reason for decoupling them was in a 
special kind of float where clicking on the caption brought up a big float 
in a widget (whichin turn was based on the widget based help system) -) 
[this is why in page-flt there is still the mapping to old names used in 
'uguide']

BTW, AFAICS there is no way to make a reference (à la \infigure)
to a single element in a /combination/ ... can this be done?
there is a trick for that, but i cannot find it right now; however, the 
floatcaption command accepts a second optional arg being the ref.

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] Displayed material, again

2003-03-11 Thread Hans Hagen
At 11:08 AM 3/11/2003 +0100, you wrote:
Tuesday, March 11, 2003 Hans Hagen wrote:
HH btw, here are shorter defs:
HH \def\startdisplay
HH{\relax\ifvmode\else\endgraf\noindent\fi\ignorespaces}
HH \def\stopdisplay
HH{\par\doifnextcharelse\par\donothing\noindent}
HH watch the \relax (prevents lookahead) and \doifnextcharelse

Good to know, thanks. BTW, have you had a look at the patches I
submitted to the list around 10pm yesterday? What do you think of
them?
What patch? Yesterday around 10 i was deparately trying to figure out why 
our (linux) mail server was infected by a spammer (some kind of sendmail 
bug combined with pop3 things) and in the process (took me the whole 
morning) probably lost some mails.

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] s-mag-01

2003-03-11 Thread Hans Hagen
At 09:11 AM 3/11/2003 -0500, you wrote:

On Tuesday, March 11, 2003, at 03:00  AM, Hans Hagen wrote:

Hans, are you saying anyone using this to produce a document ought to 
keep the title specified in the style (which here seems to be {Zero 
Issue}?  In any case, this is confusing (at least to me)...
no, i mean the main title (* Way) shoul dremain unchanged.
OK, I understand that.  But I'm still unclear of the logic here.  I 
understand the style is used for producing explanationary documents, but 
surely not everyone wants to name such documents the same way,  and 
provides a way to categorize documents seems more applicable to Pragma 
than to outside users...
i have no time for that

I'm not sure how (or if) I might want to use the style, but I could 
imagine student lab manuals maybe (?).  In any case, I appreciate your 
releasing it, as it's a good learning tool at the very least.
sure, i only want to make sure that This Way is used for our stuff only; 
i have no problem with you using the style with a title other than *Way, 
like LabLog or so

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \inframed in table

2003-03-11 Thread Hans Hagen
At 11:47 AM 3/11/2003 +0100, you wrote:

how can I make sure both framed texts stay on one line without
using \hbox. There is enough space in the cell so the line break
should not occur at all.
a typical tex problem, use \noindent or \dontleavehmode; th eproblem is 
that when a command (using grouping) starts a paragraph these side effects 
show up.

\bTD \dontleavehmode \inframed{:} + \inframed{q} + ...

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[3]: [NTG-context] sidebyside figures

2003-03-11 Thread Hans Hagen
At 01:26 PM 3/11/2003 +0100, you wrote:

Yup, floatcaptions can do it all, nice. Now the question is: is it
normal for the combination to stick to the left margin? Shouldn't
hm, it probably is when you put some \maxdimen width content in it

it be centered horizontally? I can achieve the effect by
surrounding it with \midaligned{...} (i.e.
\midalgined{\startcombination ... \stopcombination}) but it would
be nice if it could be set as an option to combinations ...
Hey, since when don't you read source code any more?

\starttext

\showframe

\definieerplaats[mine][location=middle] % have to cook up a 
[english..italian] name for that one

\setupcombinations[align=left,location=top]

\placemine \bgroup \startcombination
  {\externalfigure[cow][width=3cm,height=2cm]} {cow}
  {\externalfigure[cow][width=3cm,height=1cm]} {cow}
\stopcombination \egroup
\stoptext

(this placement command also takes care of spacing, grid snapping and so, 
but should only be used in the mlv, not for instance inside floats; it's 
the same placement that is used in \startframedtext; you can define 
combinations btw)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[3]: [NTG-context] Displayed material, again

2003-03-11 Thread Hans Hagen
At 12:47 PM 3/11/2003 +0100, you wrote:

\def\synchronizeindentation
  {%
  \doifvalue{\??dd#1\c!springvolgendein}\v!nee\noindentation
   \doifvalue{\??dd#1\c!springvolgendein}\v!auto\noindent}
  }%

saves keying and also provides a hook

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Displayed material, again

2003-03-10 Thread Hans Hagen
At 05:25 PM 3/10/2003 +0100, you wrote:
Hello list,

I wish to bring the discussion again on displayed material.
Display material is material that conceptually belongs to a
paragraphs but typographically breaks it. After the display, the
paragraph can continue or not. In ConTeXt, there are many things
which should be considered displayed material: formulas,
enumerations and other itemgroups, quotations, etc. Every
start/stop pair that begins a new paragraph should actually be a
displayed area. In ConTeXt, one can achieve such result by using
[intentnext=yes] or [indentnext=no] on a case-by-case basis,
depending on whether the start/stop pair is supposed to start a
new paragraph or not. Of course, this manual way to do the thing
goes against the general principle that the computer is supposed
to do as much of the job as possible, by itself. I therefore wish
to urge Hans to implement a new indentnext option, auto, which
should give a behaviour similar to the one shown on this example:
well it's on my todo list to provide this option, but first i need to 
finish a couple of grid things; actually live would be much easier if there 
wer \bpar \epar commands -)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new version, new manuals, new files

2003-03-10 Thread Hans Hagen
At 03:22 PM 3/10/2003 +0100, Jens-Uwe Morawski wrote:

hmm, i still get the old show-fil.pdf when i download it.
The mill.png in the cont-img.zip is broken. Gimp tells me that
oeps, i mistakenly used a dos-unix conversion switch, i'll upload a new one 
asap

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] layout of xsteps-p

2003-03-10 Thread Hans Hagen
At 05:01 PM 3/10/2003 +0100, you wrote:

Is it possible to obtain the source of
xsteps-p.
I suppose that you mean the style? I'm not goint to publish undocumented 
styles (also, i took a quick look into it and could redo it in 30% less 
code nowadays [one problem is that there is more code in ther ethan used in 
the styles, esp alternative style code]

I like this layout, but it's difficult to realize the same.
what aspect is giving you troubles, i can explain those

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Displayed material, again

2003-03-10 Thread Hans Hagen
At 05:25 PM 3/10/2003 +0100, you wrote:

to do as much of the job as possible, by itself. I therefore wish
to urge Hans to implement a new indentnext option, auto, which
should give a behaviour similar to the one shown on this example:
btw, here are shorter defs:

\def\startdisplay
  {\relax\ifvmode\else\endgraf\noindent\fi\ignorespaces}
\def\stopdisplay
  {\par\doifnextcharelse\par\donothing\noindent}
watch the \relax (prevents lookahead) and \doifnextcharelse

anyway,

isn't a \stopdisplay followed by an empty line still supposed to be a 
display?, so the full model is:

\startparagraph

  text or not

  \startdisplay

  \stopdisplay

   text or not

\stopparagraph

the startparagraph and stopparagraph can be kind of automatic, but that's 
just an added bonus for those who want to use empty lines as signals 
(something which is not common, for instance in xml where proper tagging 
takes place).

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] relative font size

2003-03-09 Thread Hans Hagen
At 12:54 PM 3/8/2003 +0100, you wrote:
Jens-Uwe Morawski [EMAIL PROTECTED] [Sat, Mar 08, 2003 at 01:42:23AM CET]:
 use rscale=scale factor:

 \definetypeface[BodyFont][tt][mono][LuxiMono][default]
 [encoding=ec,rscale=0.9]
This works. Many thanks!
\showfontstrip

may help you to determine the right amount

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Paragraph indentation in enumerations?

2003-03-09 Thread Hans Hagen
At 03:33 PM 3/9/2003 +0100, you wrote:
Patrick Gundlach [EMAIL PROTECTED] writes:

 Emil Hedevang Lohse [EMAIL PROTECTED] writes:

 Hello Emil,

  There is no indentation of the paragraphs. How can I fix this?

 have you read the recent thread about Indenting in description?
I have now, and the hack from Hans works fine, thanks.
i'm uploading a new stable and beta with this functionality included; when 
using the update, throw away that patch !

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] sidebyside figures

2003-03-09 Thread Hans Hagen
Hi Lei Wang,

I have several small figures and want to place them in two columns as follows:
___  __
| | ||
| | ||
|  Figure | |   Figure|
||  ||
|__|  |__|
 Fig 1. blabla Fig 2. blabla

I tried use columns
\startcolumns[n=2]
\placefigure[here][fig:1]{blabla}{\externalfigure[fig1]}
\columns
\placefigure[here][fig:2]{blabla}{\externalfigure[fig2]}
\stopcolumns
It seems work depend on the pagebreak and not works all time.
If there are a pagebreak before or after the block of these
figures, it not works well.
The \placesidebyside and use combinations will give one
float Figure with the two pictures as subfigures. But
what I want is two figure.
The normal double column mechanism tries to place a graphic, stores it when 
there is no place, and flushes it as soon as possible.

The \startcolumns mechanism works well intermixed with the standard one 
column mode.

In your case, esp for vertical chinese, use columnsets:

\startcolumnset

\placefigure[tblr:1]{}{}
\placefigure[tblr:2]{}{}
\input tufte

\stopcolumnset

This will place the floats on top of the first and second column; an 
alternative usage is:

\placefigure[tblr]{}{}
\placefigure[tbrl]{}{}
Think of tb meaning flush from top to bottom, and lr to mean from left to 
right; so, there are quite some ways to place/flush a graphic.

(also play with: \placefigure[fxtb:2*3] and [fxbt:1*18] which gives you 
absolute placement; big floats will span columns, so something:

\definecolumnset[chinese][n=10]

\startcolumnset[chinese]

\placefigure{}{}

\stopcolumnset

should work ok

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: lowerleftdoubleninequote

2003-03-09 Thread Hans Hagen
At 10:15 PM 3/8/2003 +0100, you wrote:
Hallo!

In order to understand the appended puzzle, I am looking for documentations
about:
\definefonthandling
\startfonthandling
\usehandling
I have found the example about 'hanging punctuation', but I could'nt even
understand this
example.
What ist the correlation between 'punctuation', 'alpha' and 'def'
hanging punctuation is the traditional simple model of - , ; : . and ! 
hanging into the margin; pdftex goes beyond that and let's you hang any 
char into the margin, so this is why we speak of character protruding;

fonthandling in context is currently used for hanging things but can be 
used for anything font related; the alpha, def etc setups are more or less 
derived from my personal prferences, thanh's thesis etc What you use all 
depends on your taste

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] new version, new manuals, new files

2003-03-09 Thread Hans Hagen
Hi,

I uploaded a new version (stable and beta are now the same). This version 
inclused a few patches/extensions discussed recently. There is quite some 
new support for side floats, column sets have become rather stable (a 
manual will follow soon). Although a lot of functionality is still 'my 
little secret' to be revealed when users request it, you can ready find 
some info in

  www.pragma-ade.com/general/manuals.details.pdf

so, this manual has now moved from temp. It has currently some 80+ pages, 
and will probably tripple in size over time. This manual provides you some 
info about how to apply the relatively new layer and related things. The 
idea is that this kind of detailed trickery and/or thinsg not related to 
structuring will be discussed in details.pdf, while the structuring ends up 
in the ref manual (i'll pick up that thread soon).

I also updated

  www.pragma-ade.com/show-fil.pdf

(made nicer, watch the new image archive),

  www.pragma-ade.com/show-man.pdf

(more manuals, not all yet on the site but i need the file here and it 
gives you an idea of what is coming),

  www.pragma-ade.com/showcase.pdf

Next in my list of manuals is finishing the correspondence manual (letters 
and envelops and alike), the pstopdf manual, and a few more.

Happy reading and contexing,

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Index questions

2003-03-07 Thread Hans Hagen
At 03:37 PM 3/5/2003 +0100, you wrote:
Good evening.

Can you tell me please where can I get the file (and some documentation to
it)? Index is my worst (and maybe only) problem with ConTeXt.
I'll look into the index problems asap, (first i want to haev the new 
stable version out); the index functionality is there, it's mainly a matter 
of getting the sorting done

(well, a quick sorting hack is: \index [sortkey] {index})

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


  1   2   3   4   >