[NTG-context] scaling externalfigure in metafun

2004-06-10 Thread Nigel King
I apologize in advance for asking what I am sure is a repeated question 
but I cannot find the answer in manuals and archives.

In Metafun externalfigure file.pdf xyscale(x,y) ; how does one find 
the size of a graphic in order to scale it appropriately

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


[NTG-context] Numbering

2004-06-10 Thread techw
Hi All!
I need to supress the numbering in floating figures. I have used:

\definefloat[figure][figures]
\setupfloat[figure][location=middle]
\setupcaption
[figure]
[location=bottom,
style=\bfx,
number=no]

But this doesn't work. What do  I need to change?
Thanks and regards,
-priya.

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


Re: [NTG-context] scaling externalfigure in metafun

2004-06-10 Thread Hans Hagen
Nigel King wrote:
I apologize in advance for asking what I am sure is a repeated 
question but I cannot find the answer in manuals and archives.

In Metafun externalfigure file.pdf xyscale(x,y) ; how does one find 
the size of a graphic in order to scale it appropriately
texexec --pdf --fig=d  pattern
will generate a file with dimensions that can be read in by MP
undocumented indeed -)
Hans
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: Re[6]: [NTG-context] Known nath bugs?

2004-06-10 Thread Sebastian Sturm
Hi,
If you could please provide some example file showing the
problems, I'll see if I can nail them down.
the problem with delimiter autosizing seems to be caused by 
MPenvironment; however, the problem with subscripts still seems very 
strange to me (since superscripts work as expected). I've included a 
test file and the PDF generated by my TeX installation.

Best regards,
Sebastian


nath_test.tex
Description: TeX document


nath_test.log
Description: Binary data


nath_test.pdf
Description: Adobe PDF document



Re: [NTG-context] Perl scripting (was: Arabic-utf-8)

2004-06-10 Thread Thomas A . Schmitz
Hey Hraban,
not to be a PITA, but with OS X 10.3, we moved up to perl 5.8.1. And in 
my gentoo installation, I'm now at perl 5.8.4, yessirre! ;-)

Best
Thomas
On Jun 7, 2004, at 9:45 PM, Henning Hraban Ramm wrote:
MacOS X has also only 5.6 if you don't install a newer one yourself,
and with newer than 5.8.0 you get endless trouble...
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \dogetobject and pdf

2004-06-10 Thread Peter Mnster
On Thu, 10 Jun 2004, Hans Hagen wrote:

 Peter Münster wrote:
 
 Hello Hans,
 I'm sorry, your patch of the May 17 works well for dvi, but not for pdf:
 the figure is again shifted down and to the left.
 
 Here an example:
 \setupoutput[pdftex]
 \starttext
 X\externalfigure[example][width=5cm]X
 \stoptext
 
 example.pdf is attached, also the resulting pdf.
 
 
 Concerning the issus with \useencoding[ffr] and FitBH:
 Do you think, you could solve the problems? If not, I'll go on trying to
 find solutions.
   
 
 i ran into that last week as well -)
 
 can you try:
 
 \def\dogetobject#1#2#3#4#5#6#7%
   {\initializepaper
\forgetall
\dontshowcomposition
\setbox\scratchbox\vbox
  {\doinsertobject{#1}{#2}}%
\setbox\scratchbox#3%
  {\vbox to #5\scaledpoint
 {\ifdim\ht\scratchbox#5\scaledpoint
\vss\hbox to #4\scaledpoint{\hss\box\scratchbox\hss}\vss
  \else\ifdim\wd\scratchbox#4\scaledpoint
\vss\hbox to #4\scaledpoint{\hss\box\scratchbox\hss}\vss
  \else
\vss\box\scratchbox
  \fi\fi}}%
\box\scratchbox
\elabelgroup}
 
 if this does not work i 'll do an upload

pdf ok now, but the dvi is shifted up and to the right... :(

Now I use a workaround in form of an environment:

\startenvironment pdf-figures
\input ifpdf.sty
\ifpdf
\def\dogetobject#1#2#3#4#5#6#7%
  {\initializepaper
   \forgetall
   \dontshowcomposition
   \setbox\scratchbox\vbox
 {\doinsertobject{#1}{#2}}%
   \setbox\scratchbox#3%
 {\vbox to #5\scaledpoint
{\ifdim\ht\scratchbox#5\scaledpoint
   \vss\hbox to #4\scaledpoint{\hss\box\scratchbox\hss}\vss
 \else\ifdim\wd\scratchbox#4\scaledpoint
   \vss\hbox to #4\scaledpoint{\hss\box\scratchbox\hss}\vss
 \else
   \vss\box\scratchbox
 \fi\fi}}%
   \box\scratchbox
   \elabelgroup}
\fi
\stopenvironment

Greetings, 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