Re: [PPower4] bug in mpmulti.sty? minimum example.

2001-10-02 Thread Marc van Dongen

Marcus Eger ([EMAIL PROTECTED]) wrote:

:  \begin{picture}(100,150)
:  \put(0,0){\fbox{\includegraphics{mist.0}}}%
:HERE ^
: 
: Thanks Ross, for the hint - though I tried it and unfortunately
: it does not solve the problem - nothing changes.

I had similar problems (although not with mpmulti).
I normally set the size of the mpost picture explicitly.

setbounds currentpicture to ``your size here'';

Just a guess.

Regards,

Marc van Dongen




Re: [PPower4] bug in mpmulti.sty? minimum example. SOLVED!!

2001-10-02 Thread Marcus Eger


Ross Moore wrote:
 
  Hi,
  I noticed a relative shift when including metapost
  figures in pdflatex using \multiinclude compared to
  \includegraphics. Since I am not a Tex-specialist,
  I've  attached a small example at the bottom.
  I'd be very be glad for a solution.
 
 You need to shield end-of-line characters with a comment symbol '%'.
 Otherwise it adds a space into the body of the picture,
 which then displaces everything afterwards by the width of a space.
 
  \begin{document}
  \begin{center}
  \begin{picture}(100,150)
  \put(0,0){\fbox{\includegraphics{mist.0}}}%
HERE ^

[snip]
\def\@mpmulti[#1]#2{%
  %% reset the options 
  \def\mpm@pause{\pause}%
HERE^
  \global\def\mpm@graphics{}%
HERE^
  %% get the arguments
  \setkeys{mpm}{#1}%
[snip]

This modification in mpmulti.sty did it!
Thanks!

Marcus

-- 
+---
| Marcus Eger
+  ---
| E-Mail: [EMAIL PROTECTED] (NEW)
| [EMAIL PROTECTED] (OLD)
| WWW:http://neuro.physik.uni-marburg.de/~eger (NEW)
+



[PPower4] bug in mpmulti.sty? minimum example.

2001-10-01 Thread Marcus Eger

Hi,
I noticed a relative shift when including metapost
figures in pdflatex using \multiinclude compared to 
\includegraphics. Since I am not a Tex-specialist,
I've  attached a small example at the bottom.
I'd be very be glad for a solution.
Thanks
  Marcus

-
A similar example has been previously posted
From: Christian Meisl ([EMAIL PROTECTED])
 Subject: pdfLaTeX und MetaPost? 
 Newsgroups: de.comp.text.tex
 Date: 2001-02-25 22:48:06 PST 
-

\documentclass[30pt,landscape]{foils}
\usepackage{graphicx}
\usepackage{mpmulti}
\DeclareGraphicsRule{*}{mps}{*}{} 

\begin{document}
\begin{center}
\begin{picture}(100,150)
\put(0,0){\fbox{\includegraphics{mist.0}}}
 from epsmaker mist.mp %%% epstopdf mist.eps
%\put(0,30){\fbox{\includegraphics{mist1.pdf}}}
\put(0,40){\fbox{\multiinclude{mist}}}
  \end{picture}
\end{center}
\end{document}


 
 mist.mp:
%beginfig(1);
%  pickup pencircle scaled 0.5mm;
%  draw (0,0)--(1cm,0);
%  label.lft(btex Das ist ein Test\dots etex,(0,0));
%endfig;
%end

 mpost mist.mp  
 mv mist.1 mist.0


-- 
+---
| Marcus Eger
+  ---
| E-Mail: [EMAIL PROTECTED] (NEW)
| [EMAIL PROTECTED] (OLD)
| WWW:http://neuro.physik.uni-marburg.de/~eger (NEW)
+



Re: [PPower4] bug in mpmulti.sty? minimum example.

2001-10-01 Thread Ross Moore

 Hi,
 I noticed a relative shift when including metapost
 figures in pdflatex using \multiinclude compared to 
 \includegraphics. Since I am not a Tex-specialist,
 I've  attached a small example at the bottom.
 I'd be very be glad for a solution.

You need to shield end-of-line characters with a comment symbol '%'.
Otherwise it adds a space into the body of the picture,
which then displaces everything afterwards by the width of a space.

 \begin{document}
 \begin{center}
 \begin{picture}(100,150)
 \put(0,0){\fbox{\includegraphics{mist.0}}}%
   HERE ^

  from epsmaker mist.mp %%% epstopdf mist.eps
 %\put(0,30){\fbox{\includegraphics{mist1.pdf}}}
 \put(0,40){\fbox{\multiinclude{mist}}}
   and here for good measure^
   in case you later decide to add
   anything afterwards to this picture.

   \end{picture}
 \end{center}
 \end{document}

Hope this helps,

Ross


 
  
  mist.mp:
 %beginfig(1);
 %  pickup pencircle scaled 0.5mm;
 %  draw (0,0)--(1cm,0);
 %  label.lft(btex Das ist ein Test\dots etex,(0,0));
 %endfig;
 %end
 
  mpost mist.mp  
  mv mist.1 mist.0
 
 
 -- 
 +---
 | Marcus Eger
 +  ---
 | E-Mail: [EMAIL PROTECTED] (NEW)
 | [EMAIL PROTECTED] (OLD)
 | WWW:http://neuro.physik.uni-marburg.de/~eger (NEW)
 +




Re: mpmulti.sty

2000-06-15 Thread Klaus Guntermann

FEYEL Frederic. writes:
  I am new with ppower4 and I wonder where I can find the file named
  'mpmulti.sty' ?

That was available on our xfig patch page. I have added a new link
to it in the demonstration file source section of the ppower4 beta page.

Thank you for pointing this out.
  Klaus
-- 
Klaus Guntermann[EMAIL PROTECTED]
FG Systemprogrammierung, FB Informatik, TU Darmstadt
Wilhelminenstr. 7, D-64283 Darmstadt



AW: mpmulti.sty

2000-06-15 Thread Vesselinov, Vladimir

Try http://www-sp.iti.informatik.tu-darmstadt.de/software/xfig/ and there "macros"

Vladimir



INA Wälzlager Schaeffler oHG
Technische Berechnung - Grundlagen

Vladimir Vesselinov

Industriestr. 1-3
91074 Herzogenaurach (Germany)

Tel.: +49 (0) 91 32 / 82 - 40 72
Fax: +49 (0) 91 32 / 82 - 33 44
E-Mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
Internet: http://www.ina.com http://www.ina.com 


-Ursprüngliche Nachricht-
Von:FEYEL Frederic. [SMTP:[EMAIL PROTECTED]]
Gesendet am:Donnerstag, 15. Juni 2000 14:17
An: [EMAIL PROTECTED]
Betreff:mpmulti.sty

Hello,

I am new with ppower4 and I wonder where I can find the file named
'mpmulti.sty' ?

Thanks,

Frederic.


--
**
* ONERA DMSE / LCME  *
* 22, Avenue de la Division Leclerc  *
* BP 72  *
* F-92322 Chatillon Cedex*
**
* Frédéric FEYEL, [EMAIL PROTECTED], http://www.onera.fr   *
* Ingénieur de Recherches*
* Tel : (00 33) (0)1 46 73 46 81 *
* Fax : (00 33) (0)1 46 73 48 91 *
**