RE: [NTG-context] Absolute positioning of graphics on the page

2004-09-07 Thread Martin Kolarik
Hi Giuseppe,

try:

\setuppositioning[unit=cm,factor=0.5]

\starpositioning
  \position(1,1){top left text}
  \position(40,1){top right text}
\stoppositioning

Of course, the unit can be almost all of well known TeX units (pt, mm, em,
in, ...)

Have a nice day,

Martin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Giuseppe Bilotta
Sent: Monday, September 06, 2004 7:30 PM
To: [EMAIL PROTECTED]
Subject: [NTG-context] Absolute positioning of graphics on the page


Is this possible without using layers? IOW, it there some kind
of command that allows:

\somecommand[some setups]{content}

where the setups specify where the content should be
positioned, and towards where it should extend? (e.g.,
positioned in the top right corner, extending to the bottom
left)

This can be achieved via layers, but is it possible without?

--
Giuseppe Oblomov Bilotta

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

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


Re: [NTG-context] concatenate PDF files.

2004-09-07 Thread Alexander Klink
Hi,

On Mon, Sep 06, 2004 at 06:16:26PM +0200, Henning Hraban Ramm wrote:
 At work we use the command line tool pdcat by pdftools.com for this.
 It's commercial, but the demo also does nearly everything.
 
 I just found PDFLab for MacOS X, see
 http://fabien.iconus.ch/english/PDFLab.html
I can't recommend Multivalent (http://multivalent.sf.net)
enough. OK, it needs Java 1.4, but except for that it is quite
nice. It can do concatenation, compression, encryption, ...

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


Re: [NTG-context] m-bib module

2004-09-07 Thread Taco Hoekwater

Hi art,

You need to delete the files indicated below, since they are left over from 
an old version of the bib module. The bib style files in your tex/context/bib 
dir are newer and use commands that are not in the older m-bib that gets
loaded by context.

 (/usr/local/teTeX/share/texmf.local/tex/context/extra/m-bib/m-bib.tex
 (/usr/local/teTeX/share/texmf.local/tex/context/extra/m-bib/m-list.tex


This confusion is my fault in a way, because the newer release uses t-XXX.tex 
filenames instead of m-XXX.tex (different module prefix) and I forgot to 
advertise that. Apparently context searches for m- files before t- files.


Greetings, Taco

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


[NTG-context] Part number in formula numbers?

2004-09-07 Thread Giuseppe Bilotta
Hello,

what I'm trying to achieve is a way to have formula numbers
contain the part number together with the chapter number, as
in:

a = b   (part.chapter.formula)

instead of

a = b   (chapter.formula)

which is what you have by default, or

a = b   (part.formula)

which is the only alternative I manage to obtain.

How can I do it?

--
Giuseppe Oblomov Bilotta



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


Re: [NTG-context] concatenate PDF files.

2004-09-07 Thread Hans Hagen
Alexander Klink wrote:
Hi,
On Mon, Sep 06, 2004 at 06:16:26PM +0200, Henning Hraban Ramm wrote:
 

At work we use the command line tool pdcat by pdftools.com for this.
It's commercial, but the demo also does nearly everything.
 

I just found PDFLab for MacOS X, see
http://fabien.iconus.ch/english/PDFLab.html
   

I can't recommend Multivalent (http://multivalent.sf.net)
enough. OK, it needs Java 1.4, but except for that it is quite
nice. It can do concatenation, compression, encryption, ...
 

unfortunately mv does not handle colors well (apart from being rather slow) but it certainly looks promissing. 

Hans 

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Protruding Utopia italic

2004-09-07 Thread Sebastian Sturm
Hi,
I'm using the Utopia/Fourier setup
\setupfontsynonym   [fourier][handling=normal]
\setupfontsynonym   [Serif][handling=normal]
\setupfonthandling  [normal][left=1,right=1]
\usetypescript  [fourier][ec]
\setupbodyfont  [fourier,10pt]
\setupalign [hanging]
and it works great so far, except that protruding seems to be disabled 
when typesetting in \italic or slanted style. How can I activate 
hanging alignment of italicized text?

I'd also like to know how to use the \mathcal-Alphabet included in the 
Fourier package. $\text{\cal{...}}$ only generates the standard 
calligraphic letters known from Computer Modern.

BTW, I'm using the latest i-Installer version of ConTeXt/teTeX on OS X. 
(Console displays ConTeXt  ver: 2004.1.13  fmt: 2004.6.25  int: english 
 mes: english)

Best regards,
Sebastian Sturm
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Matrix or array and \Bigl

2004-09-07 Thread jimarin
Hi everyone,

a quick question:

how can I deal with matrices in ConTeXt ?

I tried to use what is described in the wiki as a form of dealing with the
latex environment convention and importing the amsl package...

\def\begin#1{%
   \csname start#1\endcsname}
 \def\end#1{%
   \csname stop#1\endcsname}

...

\usemodule[amsl]

then I tried:

\begin{array}{c} a + b \\ c + d \end{array}

and also,

does the tex sequence \left{ work ok in ConTeXt?


Thanks in advance.

Regards to everyone.

Jose Ignacio Marín




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


Re[2]: [NTG-context] Absolute positioning of graphics on the page

2004-09-07 Thread Giuseppe Bilotta
Tuesday, September 7, 2004 Martin Kolarik wrote:

 Hi Giuseppe,

 try:

 \setuppositioning[unit=cm,factor=0.5]

 \starpositioning
   \position(1,1){top left text}
   \position(40,1){top right text}
 \stoppositioning

 Of course, the unit can be almost all of well known TeX units (pt, mm, em,
 in, ...)

This surely works ok for top left. But how can I guarantee
that top right has its *top right* corner in the position? I
would have to calculate the coordinates manually (depending on
page site, top right text dimensions etc).

-- 
Giuseppe Oblomov Bilotta

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


Re: [NTG-context] Absolute positioning of graphics on the page

2004-09-07 Thread Hans Hagen
Giuseppe Bilotta wrote
This surely works ok for top left. But how can I guarantee
that top right has its *top right* corner in the position? I
would have to calculate the coordinates manually (depending on
page site, top right text dimensions etc).
 

why not use layers? you can flush them whenever you want, 

 \flushlayer \composedlayer \tightlayer 

also, peek into core-box.tex: collectors and such) 

Hans 

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] footnotes and tables

2004-09-07 Thread Peter Mnster
Hello,
is there a possibility to use footnotes in tables?
Unfortunately, the table gets printed over the footnote in the following
example:

\def\Line{\NC \tex{HL}  \NC horizontal line \NC\AR}
\starttext
\starttablehead
\HL
\NC command \NC meaning \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|l|]
\NC \tex{NC}\NC next column\footnote{A footnote}\NC\AR
\dorecurse{40}{\Line}
\stoptables
\stoptext

TIA for any help, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnotes and tables

2004-09-07 Thread Willi Egger
Hello Peter,
may be the following is suiting your needs:
\def\Line{\NC \tex{HL}  \NC horizontal line \NC\AR}
\starttext
Here is some other text followed by a table.
\blank
\startlocalfootnotes[n=0]
\starttablehead
\HL
\NC command \NC meaning \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|l|]
\NC \tex{NC}\NC next column\footnote{A footnote}\NC\AR
\dorecurse{20}{\Line}
\stoptables
{\placelocalfootnotes}
\stoplocalfootnotes
\blank
The text proceeds here.
\stoptext
Willi
Peter Münster wrote:
Hello,
is there a possibility to use footnotes in tables?
Unfortunately, the table gets printed over the footnote in the following
example:
\def\Line{\NC \tex{HL}  \NC horizontal line \NC\AR}
\starttext
\starttablehead
\HL
\NC command \NC meaning \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|l|]
\NC \tex{NC}\NC next column\footnote{A footnote}\NC\AR
\dorecurse{40}{\Line}
\stoptables
\stoptext
TIA for any help, Peter
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnotes and tables

2004-09-07 Thread Peter Mnster
On Tue, 7 Sep 2004, Willi Egger wrote:

 may be the following is suiting your needs:
 
 {\placelocalfootnotes}

No, I'm sorry. I would like the footnote on the same page as the
footnotemark...
But anyway: thank you!

In my application, the table is several pages long.

If there is a way to place the footnotes in the footer, then I could play
with the pageheight and footerdistance etc. Perhaps, this would be the
solution?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] Absolute positioning of graphics on the page

2004-09-07 Thread Martin Kolarik
 This surely works ok for top left. But how can I guarantee
 that top right has its *top right* corner in the position? I
 would have to calculate the coordinates manually (depending on
 page site, top right text dimensions etc).

Yes, AFAIK the mechanism does not support this now (and I do not know, if it
sometimes will do -- it seems to me it is a relatively old part of ConTeXt
and Hans himself recommends you the layers :-).

Anyway, you would have to count positions and coordinates manually.

But there is always a way using generic TeX here:

\position(40,1){%
  \hbox to 0pt{%
\hss
\vbox to 0pt{
  -- a material to typeset or display --
  \vss
}
  }

Of course, this solution does not take into account all of ConTeXt dependent
(and very convenient and pretty) features like grid fitting etc.

It is a thing of your needs.

Have a nice day,

Martin

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


Re[2]: [NTG-context] Absolute positioning of graphics on the page

2004-09-07 Thread Giuseppe Bilotta
Tuesday, September 7, 2004 Hans Hagen wrote:

 Giuseppe Bilotta wrote


This surely works ok for top left. But how can I guarantee
that top right has its *top right* corner in the position? I
would have to calculate the coordinates manually (depending on
page site, top right text dimensions etc).
  

 why not use layers?

Because I want something simple and immediate, and layers
aren't. :)

But if it's not possible, ok, I will.

-- 
Giuseppe Oblomov Bilotta

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


[NTG-context] [BUG] location=hanging and frames

2004-09-07 Thread Nikolai Weibull
Frames with width=broad in something (enumeration) with a
location=hanging don't abide to the adjusted width of the text, it is
simply shifted to the left:

\version[temporary]
\setupframedtexts
  [width=broad]
\defineenumeration
  [example]
  [location=hanging,
   text=Example]
\starttext
\startexample
\startframedtext
\starttyping
% ls
\stoptyping
\stopframedtext
\stopexample
\stoptext

To me it sounds like a simple bug, but perhaps this is intentional?
nikolai

--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context